Stream: conformance
Topic: CCDA Logical Model Type Representation
Alexander Zautke (Jan 06 2020 at 11:27):
In the logical models for CCDA some elements are defined with ElementDefinition.representation = typeAttr. Even if the element has a fixed type and doesn't have an xsi:type attribute in the instance. An example would be Observation.code. Is is an error in the StructureDefintion or is this just special to CCDA? @Oliver Egger
Oliver Egger (Jan 06 2020 at 13:18):
I don't know the CCDA logical model but In CDA xsi:type can also be specified even if there is a fixed type (xsi:type may be used at other times according to the XML Schema specification.). The CDA Logical Model has added for this reason also typeAttr on Observation.code. Does this solve your question?
Alexander Zautke (Jan 06 2020 at 14:08):
Ah I see, thanks. I found it in the specification. Strange, but ok :D
Alexander Zautke (Jan 06 2020 at 16:12):
I'm currently trying to make these StructureDefinitions work in the C# API. Any chance to add elementdefinition-defaulttype (http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype) officially as a core extension? Would be nice to have a proper definition for it
Grahame Grieve (Jan 09 2020 at 21:54):
can you make a task for us to do that?
Alexander Zautke (Jan 10 2020 at 17:31):
Added J#25440
Last updated: Apr 12 2022 at 19:14 UTC