Monday, June 11, 2012

Still More Stupid CCD Tricks

It has been a while since I posted one of these. Here are some mis-coded vital sign observations.

These developers do not understand the physical quantity data type. The bad values are highlighted. They also do not know how to validate a document against the cda schema, because this one fails.


<entry typeCode="DRIV">
<organizer classCode="CLUSTER" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.35"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1"/>
<templateId root="2.16.840.1.113883.10.20.1.32"/>
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Vital signs"/>
<statusCode code="completed"/>
<effectiveTime value="20120604"/>
<component>
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.31"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.2"/>
<templateId root="2.16.840.1.113883.3.88.11.83.14"/>
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Height"/>
<text>
<reference value="#vital0"/>
</text>
<statusCode code="completed"/>
<effectiveTime value="20120604"/>
<value unit="[in_us]" value="63inches" xsi:type="PQ"/>
</observation>
</component>
<component>
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.31"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.2"/>
<templateId root="2.16.840.1.113883.3.88.11.83.14"/>
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="3141-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Weight"/>
<text>
<reference value="#vital4"/>
</text>
<statusCode code="completed"/>
<effectiveTime value="20120604"/>
<value unit="[lb_av]" value="154lbs" xsi:type="PQ"/>
</observation>
</component>
<component>
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.31"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.2"/>
<templateId root="2.16.840.1.113883.3.88.11.83.14"/>
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="8310-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Temperature"/>
<text>
<reference value="#vital12"/>
</text>
<statusCode code="completed"/>
<effectiveTime value="20120604"/>
<value unit="[degF]" value="98" xsi:type="PQ"/>
</observation>
</component>
<component>
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.31"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.2"/>
<templateId root="2.16.840.1.113883.3.88.11.83.14"/>
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="8480-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Blood Pressure Systolic"/>
<text>
<reference value="#vital16"/>
</text>
<statusCode code="completed"/>
<effectiveTime value="20120604"/>
<value unit="mm[Hg]" value="right 120" xsi:type="PQ"/>
</observation>
</component>
<component>
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.31"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.2"/>
<templateId root="2.16.840.1.113883.3.88.11.83.14"/>
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="8462-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Blood Pressure Diastolic"/>
<text>
<reference value="#vital20"/>
</text>
<statusCode code="completed"/>
<effectiveTime value="20120604"/>
<value unit="mm[Hg]" value="80 and left 110" xsi:type="PQ"/>
</observation>
</component>

No comments:

Post a Comment