Closed jbraschler closed 6 years ago
As a follow-up, the case that was causing the INTEGRITY_CHECK error above uses the Art-Décor specified format of:
<reference typeCode="RPLC">
<externalObservation classCode="OBS" moodCode="EVN">
<templateId root="1.2.208.176.7.1.10.100"></templateId>
<templateId root="2.16.840.1.113883.10.12.326"></templateId>
<id extension="E21BB745-40BA-5855-B2C2-65622D3B9823" root="488CB1DA-6DB0-11E8-AE21-0050568B75C0"></id>
</externalObservation>
</reference>
for the Condition reference to a replacement. Note that the Art-Décor for the Condition Observation does not specifiy that the reference element come from the DK External Condition Replacement Reference (Body) template (1.2.208.176.7.1.10.125). If we include the templates from (1.2.208.176.7.1.10.125) in the document included at the top, the Conditions do not generate the INTEGRITY_CHECK error. So the following works to replace a condition:
<reference typeCode="RPLC">
<templateId root="1.2.208.176.7.1.10.117"></templateId>
<templateId root="2.16.840.1.113883.10.12.324"></templateId>
<templateId root="1.2.208.176.7.1.10.125"></templateId>
<externalObservation classCode="OBS" moodCode="EVN">
<templateId root="1.2.208.176.7.1.10.100"></templateId>
<templateId root="2.16.840.1.113883.10.12.326"></templateId>
<id extension="E21BB745-40BA-5855-B2C2-65622D3B9823" root="488CB1DA-6DB0-11E8-AE21-0050568B75C0"></id>
</externalObservation>
</reference>
Please update the reference element in Condition Observation (1.2.208.176.7.1.10.36) in Art-Décor to use the DK External Condition Replacement Reference (Body) template (1.2.208.176.7.1.10.125) if that is the intent.
RESOLUTION We have removed the check for templateId on the reference. It will be deployed with the next release.
We're encountering an issue when we try to send a document that contains a Condition Observation (this occurs for both Major and Minor conditions) that was submitted in a previous document. We're including the External Condition Observation reference with typeCode="RPLC" with the same identifier as instructed in the document specification in order to replace an existing condition, but we're still getting an INTEGRITY_CHECK error response with a CONDITION_OBSERVATION_ALREADY_EXISTS integrity code.
Submitted Document:
Response: