Stream: dotnet
Topic: Possible Snapshot generator issue
Kurt Allen (Jan 22 2020 at 19:00):
In the StructureDefinition.differential is it required that each element have the Type
explicitly defined even if the type is unchanged from the base element.
If the answer is yes (type required), then the mistake is mine.
If not ...
If I run the c# snapshot generator in a profile with an element define in the differential
that does not have the type explicitly defined in the differential I get type set to _code values
as below. If I set Type explicitly then all is fine.
Is this a bug or a feature :-)
-- Input --
{
"id": "Extension.extension:landMark.url",
"path": "Extension.extension.url",
"fixedUrl": "landMark"
}
- output --
"type": [
{
"_code": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString": "string"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString": "xsd:string"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString": "xsd:string"
},
}
Kurt Allen (Jan 22 2020 at 19:19):
(deleted)
Last updated: Apr 12 2022 at 19:14 UTC