Stream: C-CDA
Topic: Issue with performer/functionCode on a problem element
Dave Carlson (MIE) (Feb 03 2022 at 22:49):
Getting this error:
C-CDA MDHT Conformance Error: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:hl7-org:v3":functionCode}'. One of '{"urn:hl7-org:v3":realmCode, "urn:hl7-org:v3":typeId, "urn:hl7-org:v3":templateId, "urn:hl7-org:sdtc":functionCode, "urn:hl7-org:v3":time, "urn:hl7-org:v3":modeCode, "urn:hl7-org:v3":assignedEntity}' is expected.
This is having a performer section starting this way, within an entry/act for a Problem:
<performer typeCode="PRF">
<functionCode code="CP" displayName="Consulting" codeSystem="2.16.840.1.113883.12.443" codeSystemName="Provider Role">
<originalText>Managed By</originalText>
</functionCode>
<time>
<low nullFlavor="UNK"/>
<high nullFlavor="UNK"/>
</time>
...
</performer>
Is functionCode not eligible to be in a performer outside of the header? Am I missing something else? If I remove the functionCode, it passes validation.
Last updated: Apr 12 2022 at 19:14 UTC