Patient Referral Act Validation

42 views
Skip to first unread message

dan venton

unread,
Jul 1, 2016, 3:13:05 PM7/1/16
to Edge Test Tool (ETT)
The validator seems to be complaining that my RSON entryRelationship isn't my SUBJ entryRelationship. I suspect that validator is incorrectly saying ALL entryRelationships have to have SUBJ etc.

Sample:

<act classCode="PCPR" moodCode="RQO">

<templateId root="2.16.840.1.113883.10.20.22.4.140" />

<id root="1.3.6.1.4.1.22812.3.9999907.521.4.19" extension="984001" />

<id root="30343839-3130-0000-0000-000000000000" />

<code nullFlavor="OTH" codeSystem="2.16.840.1.113883.6.96">

<translation code="42" codeSystem="1.3.6.1.4.1.22812.18.9.3"/>

</code>

<statusCode code="active" />

<effectiveTime value="20160701135120-0400" />

<priorityCode code="42" codeSystem="1.3.6.1.4.1.22812.18.9.3" />

<entryRelationship typeCode="SUBJ">

<observation classCode="OBS" moodCode="RQO">

<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4" />

<statusCode code="completed" />

<priorityCode nullFlavor="UNK" />

<value xsi:type="CD" code="170939002" codeSystem="2.16.840.1.113883.6.96"/>

</observation>

</entryRelationship>

<entryRelationship typeCode="RSON">

<observation classCode="OBS" moodCode="EVN">

<templateId root="2.16.840.1.113883.10.20.22.4.19" extension="2014-06-09" />

<templateId root="2.16.840.1.113883.10.20.22.4.19" />

<id root="1.3.6.1.4.1.22812.3.9999907.521.4.1.3" extension="984002" />

<id root="30343839-3230-0000-0000-000000000000" />

<code code="55607006" codeSystem="2.16.840.1.113883.6.96"/>

<text>Reason For Referral/Patient Referral/Reason For Referral Problem Text</text>

<statusCode code="completed" />

<effectiveTime xsi:type="IVL_TS">

<low value="20160701135120-0400"/>

</effectiveTime>

<entryRelationship typeCode="REFR">

<observation classCode="OBS" moodCode="EVN">

<templateId root="2.16.840.1.113883.10.20.22.4.113" />

<code code="75328-5" codeSystem="2.16.840.1.113883.6.1" />

<statusCode code="completed" />

<effectiveTime value="20160701135120-0400" />

<value xsi:type="ST">

Reason For Referral/Patient Referral/Reason For Referral Prognosis Text

</value>

</observation>

</entryRelationship>

</observation>

</entryRelationship>

</act>


Validator:
Error - Consol Patient Referral Act MAY contain zero or more [0..*] entryRelationship, where its type is Entry Relationship (CONF:1098-31604) each SHALL contain exactly one [1..1] observation, where (CONF:1098-31605) observation SHALL contain exactly one [1..1] @moodCode="RQO" (CodeSystem: 2.16.840.1.113883.5.1001 HL7ActMood) (CONF:1098-31607)
/ClinicalDocument/component/structuredBody/component/section/entry/act/entryRelationship[2]/observation
Line number: 724
Error - Consol Patient Referral Act MAY contain zero or more [0..*] entryRelationship, where its type is Entry Relationship (CONF:1098-31604) each SHALL contain exactly one [1..1] observation, where (CONF:1098-31605) observation SHALL contain exactly one [1..1] code (CONF:1098-31608)/@code="ASSERTION" assertion (CodeSystem: 2.16.840.1.113883.5.4 HL7ActCode) (CONF:1098-31619, CONF:1098-31620)
/ClinicalDocument/component/structuredBody/component/section/entry/act/entryRelationship[2]/observation
Line number: 724
Error - Consol Patient Referral Act MAY contain zero or more [0..*] entryRelationship, where its type is Entry Relationship (CONF:1098-31604) each SHALL contain exactly one [1..1] observation, where (CONF:1098-31605) observation SHALL contain exactly one [1..1] value with @xsi:type="CD", which SHOULD be selected from ValueSet Care Model 2.16.840.1.113883.11.20.9.61 STATIC 2014-06-19 (CONF:1098-31611)
/ClinicalDocument/component/structuredBody/component/section/entry/act/entryRelationship[2]/observation
Line number: 724
Error - Consol Patient Referral Act MAY contain zero or more [0..*] entryRelationship, where its type is Entry Relationship (CONF:1098-31604) entryRelationship SHALL contain exactly one [1..1] @typeCode="SUBJ" (CONF:1098-31613)
/ClinicalDocument/component/structuredBody/component/section/entry/act/entryRelationship[2]

Nagesh Bashyam

unread,
Jul 6, 2016, 8:28:31 AM7/6/16
to dan venton, Edge Test Tool (ETT)

Dan

 

We have confirmed this to be an issue and we opened a defect to fix the issue.

 

Thanks

Dragon

--
You received this message because you are subscribed to the Google Groups "Edge Test Tool (ETT)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to edge-test-too...@googlegroups.com.
To post to this group, send email to edge-te...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/edge-test-tool/dcc78bcd-aab4-481b-9433-a7027dd53cd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nagesh.bashyam (Dragon)

unread,
Aug 5, 2016, 12:59:00 PM8/5/16
to Edge Test Tool (ETT)
The fix for this issue is now deployed as part of the 8/5/2016 C-CDA Validator release. 
Reply all
Reply to author
Forward
0 new messages