Stream: IG creation
Topic: new must support extension issue
Eric Haas (Nov 20 2020 at 18:35):
Must support not properly showing on practitioner and organization in two places (extension is in Structured Definition properly):
there are 2 elements that should be marked as MS but only one is being rendered in the differential view:;
https://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-diagnosticreport-note.html
https://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-provenance.html
Here is the relevant source snippet for provenance - note the extension has valueBoolean = true for the first two profiles and false for the rest...
( source files are here: https://github.com/HL7/US-Core/ )
{
"id": "Provenance.agent.who",
"path": "Provenance.agent.who",
"min": 1,
"max": "1",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"http://hl7.org/fhir/StructureDefinition/Device"
],
"_targetProfile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
}
]
}
]
}
Grahame Grieve (Nov 23 2020 at 23:40):
@Eric Haas this is an error in the source.
Grahame Grieve (Nov 23 2020 at 23:40):
you have
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
],
"_targetProfile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
}
]
}
]
}
],
Grahame Grieve (Nov 23 2020 at 23:40):
it should be
Grahame Grieve (Nov 23 2020 at 23:41):
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
],
"_targetProfile": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": true
}
]
}, {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": true
}
]
}, {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
}
]
}, {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
"valueBoolean": false
}
]
}
]
}
],
Last updated: Apr 12 2022 at 19:14 UTC