Populated Vital signs Section,History of Infection Section and refined few other sections

Hi,

This week I’ve worked on generating answers for Vital sign section and History of Infection section.

Here is Vital signs section


Vital Signs Section

<component>
<section>
<templateId root=”2.16.840.1.113883.10.20.1.16″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.3.25″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2″/>
<code code=”8716-3″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Coded Vital Signs”/>
<title>The vital signs section contains coded measurement results of a patient’s vital signs.</title>
<text>
<table>
<thead>
<tr>
<th>Vital Signs Element</th>
<th>Description</th>
<th>Effective Dates</th>
</tr>
</thead>
<tbody>
<tr>
<td ID = “_49” >HEAD CIRCUMFERENCE</td>
<td>21.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_45” >DIASTOLIC BLOOD PRESSURE</td>
<td>85.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_48” >Weight (kg)</td>
<td>63.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_43” >Pulse</td>
<td>15.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_41” >Respiratory rate</td>
<td>15.0</td>
<td>07-21-2014</td>
</tr>
<tr>
<td ID = “_47” >Height (cm)</td>
<td>168.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_46” >Temperature (C)</td>
<td>28.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_42” >Blood oxygen saturation</td>
<td>58.0</td>
<td>07-21-2014</td>
</tr>
<tr>
<td ID = “_44″ >SYSTOLIC BLOOD PRESSURE</td>
<td>115.0</td>
<td>07-14-2014</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”f062cf5c-1ba7-4f65-8747-a8b4cd1b925a”/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”f062cf5c-1ba7-4f65-8747-a8b4cd1b925a”/>
<code xsi:type=”CE” code=”8287-5″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HEAD CIRCUMFERENCE”/>
<text><reference value=”#_49″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<value xsi:type=”PQ” value=”21.0″ unit=”cm”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”cf940238-e7a8-47e1-86a3-ba5b00796116″/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”cf940238-e7a8-47e1-86a3-ba5b00796116″/>
<code xsi:type=”CE” code=”8462-4″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”DIASTOLIC BLOOD PRESSURE”/>
<text><reference value=”#_45″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<value xsi:type=”PQ” value=”85.0″ unit=”mmHg”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”a31fbb46-12ec-4fc7-a818-3b6724b64f36″/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”a31fbb46-12ec-4fc7-a818-3b6724b64f36″/>
<code xsi:type=”CE” code=”3141-9″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Weight (kg)”/>
<text><reference value=”#_48″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<value xsi:type=”PQ” value=”63.0″ unit=”kg”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”ee50ec3c-8e47-460d-b5ee-7ce76fa339d7″/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”ee50ec3c-8e47-460d-b5ee-7ce76fa339d7″/>
<code xsi:type=”CE” code=”8867-4″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Pulse”/>
<text><reference value=”#_43″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<value xsi:type=”PQ” value=”15.0″ unit=”rate/min”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”032b6ebc-502b-492c-9613-ba8034109dff”/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”032b6ebc-502b-492c-9613-ba8034109dff”/>
<code xsi:type=”CE” code=”9279-1″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Respiratory rate”/>
<text><reference value=”#_41″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<value xsi:type=”PQ” value=”15.0″ unit=”rate/min”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”dcde187b-6b11-4bf4-bfc9-6b4c769e0682″/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”dcde187b-6b11-4bf4-bfc9-6b4c769e0682″/>
<code xsi:type=”CE” code=”8302-2″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Height (cm)”/>
<text><reference value=”#_47″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<value xsi:type=”PQ” value=”168.0″ unit=”cm”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”a2b7c059-a41b-4517-a569-581992480299″/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”a2b7c059-a41b-4517-a569-581992480299″/>
<code xsi:type=”CE” code=”8310-5″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Temperature (C)”/>
<text><reference value=”#_46″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<value xsi:type=”PQ” value=”28.0″ unit=”DEGC”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”01170488-3714-449d-989d-e2502ff5e991″/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”01170488-3714-449d-989d-e2502ff5e991″/>
<code xsi:type=”CE” code=”2710-2″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Blood oxygen saturation”/>
<text><reference value=”#_42″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<value xsi:type=”PQ” value=”58.0″ unit=”%”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.32″/>
<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″/>
<id root=”0a752d5a-2c44-422c-9893-c266763daf88″/>
<code code=”46680005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Vital signs”/>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.2″/>
<id root=”0a752d5a-2c44-422c-9893-c266763daf88″/>
<code xsi:type=”CE” code=”8480-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”SYSTOLIC BLOOD PRESSURE”/>
<text><reference value=”#_44″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010636″/>
<value xsi:type=”PQ” value=”115.0″ unit=”mmHg”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC”/>
</observation>
</component>
</organizer>
</entry>
</section>
</component>

 

History of Infection section looks like


 

History of Infection:

<component>
<section>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.1.16.2.1.1″/>
<code code=”XX-HistoryOfInfection” codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF INFECTION”/>
<title>The history of infection section shall contain a narrative description of any infections the patient may have contracted prior to the patient’s current condition</title>
<text>
<table>
<thead>
<tr>
<th>History Of Infection Element</th>
<th>Description</th>
<th>Effective Dates</th>
</tr>
</thead>
<tbody>
<tr>
<td ID = “_52” >History of Genital Herpes</td>
<td>NO</td>
<td>07-22-2014</td>
</tr>
<tr>
<td ID = “_50” >PATIENT LIVES WITH CONFIRMED TB CASE</td>
<td>UNKNOWN</td>
<td>07-21-2014</td>
</tr>
<tr>
<td ID = “_53” >Exposed to Genital Herpes</td>
<td>false</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_54″ >HIV INFECTED</td>
<td>NEGATIVE</td>
<td>07-22-2014</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode=”DRIV”>
<observation classCode=”OBS” moodCode=”EVN”>
<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.1.16.5.6″/>
<id root=”353d7481-73ca-4f38-847f-41bb8f604ae7″/>
<code code=”402888002″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”History of Genital Herpes”/>
<text><reference value=”#_52″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010634″/>
<value xsi:type=”CD” code=”402888002″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”History of Genital Herpes”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
</observation>
</entry>
<entry typeCode=”DRIV”>
<observation classCode=”OBS” moodCode=”EVN”>
<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.1.16.5.6″/>
<id root=”8e0f10bd-7720-423c-95b3-05432eea4ac3″/>
<code code=”170464005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”PATIENT LIVES WITH CONFIRMED TB CASE”/>
<text><reference value=”#_50″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<value xsi:type=”CD” code=”170464005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”PATIENT LIVES WITH CONFIRMED TB CASE”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
</observation>
</entry>
<entry typeCode=”DRIV”>
<observation classCode=”OBS” moodCode=”EVN”>
<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.1.16.5.6″/>
<id root=”bbc61551-4d6c-47fa-a763-d784fb0f1e52″/>
<code code=”240480009″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Exposed to Genital Herpes”/>
<text><reference value=”#_53″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<value xsi:type=”CD” code=”240480009″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Exposed to Genital Herpes”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
</observation>
</entry>
<entry typeCode=”DRIV”>
<observation classCode=”OBS” moodCode=”EVN”>
<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.1.16.5.6″/>
<id root=”cb521e78-9cb1-4f57-8e9f-c8a9aa6b4459″/>
<code code=”165816005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”HIV INFECTED”/>
<text><reference value=”#_54″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140728010635″/>
<value xsi:type=”CD” code=”165816005″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”HIV INFECTED”/>
<interpretationCode code=”N” codeSystem=”2.16.840.1.113883.5.83″/>
<methodCode codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
<targetSiteCode xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT”/>
</observation>
</entry>
</section>
</component>


I’ve also refined following sections

  • Chief complaint
  • History of present Illness
  • Review of System
  • Social History
  • History of Pregnancy

currently  I’m working on History of past Illness section.Updated wiki page and committed code at github

 

 

 

Populated Family Medical History and Pregnancy History Sections with data

This week I’ve worked on generating answers for family medical history section and Pregnancy history section and I’ll be adding few more concepts to these sections once we decide the best approach to handle concepts whose data type is N/A.

let us see how these sections look like

 


 

Family Medical History Section :

<component>
<section>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.3.14″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.3.15″/>
<templateId root=”2.16.840.1.113883.10.20.1.4″/>
<code code=”10157-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF FAMILY MEMBER DISEASES “/>
<title>The family history section shall include entries for family history as described in the Entry Content Modules</title>
<text>
<table>
<thead>
<tr>
<th>Relation</th>
<th>Age</th>
<th>Diagnosis</th>
</tr>
</thead>
<tbody>
<tr>
<td>PARTNER OR SPOUSE</td>
<td>47.0</td>
<td ID = “_25” >UNKNOWN</td>
</tr>
<tr>
<td>Child</td>
<td>23.0</td>
<td ID = “_28″ >UNKNOWN</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.23″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.15″/>
<statusCode code=”completed”/>
<subject typeCode=”SBJ”>
<relatedSubject classCode=”PRS”>
<code code=”10157-6″ codeSystem=”2.16.840.1.113883.5.111″ codeSystemName=”RoleCode”/>
<addr><country> </country></addr>
<telecom nullFlavor=”UNK”/>
<subject>
<name/>
<administrativeGenderCode code=”A”/>
<birthTime nullFlavor=”UNK”/>
</subject>
</relatedSubject>
</subject>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.3″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13″/>
<templateId root=”2.16.840.1.113883.10.20.1.22″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10157-6″/>
<text><reference value=”#_25″/></text>
<statusCode code=”completed”/>
<effectiveTime nullFlavor=”UNK” value=”20140720013223″/>
<value xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.26″/>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.1.23″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.15″/>
<statusCode code=”completed”/>
<subject typeCode=”SBJ”>
<relatedSubject classCode=”PRS”>
<code code=”10157-6″ codeSystem=”2.16.840.1.113883.5.111″ codeSystemName=”RoleCode”/>
<addr><country> </country></addr>
<telecom nullFlavor=”UNK”/>
<subject>
<name/>
<administrativeGenderCode code=”A”/>
<birthTime nullFlavor=”UNK”/>
</subject>
</relatedSubject>
</subject>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.3″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13″/>
<templateId root=”2.16.840.1.113883.10.20.1.22″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10157-6″/>
<text><reference value=”#_28″/></text>
<statusCode code=”completed”/>
<effectiveTime nullFlavor=”UNK” value=”20140720013223″/>
<value xsi:type=”CE” codeSystem=”2.16.840.1.113883.6.26″/>
</observation>
</component>
</organizer>
</entry>
</section>
</component>
Pregnancy History Section:

<component>
<section>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4″/>
<code code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<title>The pregnancy history section contains coded entries describing the patient history of pregnancies</title>
<text>
<table>
<thead>
<tr>
<th>Pregnancy History Element</th>
<th>Description</th>
<th>Effective Dates</th>
</tr>
</thead>
<tbody>
<tr>
<td ID = “_37” >BIRTH WEIGHT, QUALITATIVE</td>
<td>NORMAL</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_29” >NUMBER OF BIRTHS FROM CURRENT PREGNANCY</td>
<td>1.0</td>
<td>07-17-2014</td>
</tr>
<tr>
<td ID = “_34” >Gravida</td>
<td>1.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_18” >LAST MENSTRUAL PERIOD</td>
<td>2014-07-01 00:00:00.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_40” >number of full term pregnancies</td>
<td>1.0</td>
<td>07-16-2014</td>
</tr>
<tr>
<td ID = “_32” >TOTAL NUMBER OF LIVING CHILDREN</td>
<td>1.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_30” >Number of preterm births</td>
<td>1.0</td>
<td>07-16-2014</td>
</tr>
<tr>
<td ID = “_33” >Number of abortions/miscarriages</td>
<td>0.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_38” >Menstrual status</td>
<td>CURRENTLY PREGNANT</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_1” >PREGNANCY STATUS</td>
<td>YES</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_35” >gestational age at birth (weeks)</td>
<td>30.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_36” >Duration of labor</td>
<td>7.0</td>
<td>07-14-2014</td>
</tr>
<tr>
<td ID = “_39″ >ESTIMATED DATE OF CONFINEMENT</td>
<td>2014-10-02 00:00:00.0</td>
<td>07-14-2014</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_37″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>NORMAL</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_29″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>1.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_34″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>1.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_18″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>2014-07-01 00:00:00.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_40″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>1.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_32″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>1.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_30″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>1.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_33″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>0.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_38″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>CURRENTLY PREGNANT</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_1″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>YES</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_35″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>30.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_36″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>7.0</value>
</observation>
</component>
</organizer>
</entry>
<entry typeCode=”DRIV”>
<organizer classCode=”CLUSTER” moodCode=”EVN”>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1″/>
<id root=”id”/>
<code code=”118185001″ codeSystem=”2.16.840.1.113883.6.96″ codeSystemName=”SNOMED CT” displayName=”Pregnancy Finding”/>
<statusCode code=”completed”/>
<component>
<observation classCode=”OBS” moodCode=”EVN”>
<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.5″/>
<id root=”id”/>
<code xsi:type=”CE” code=”10162-6″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PREGNANCIES”/>
<text><reference value=”#_39″/></text>
<statusCode code=”completed”/>
<effectiveTime value=”20140720013224″/>
<value xsi:type=”ST”>2014-10-02 00:00:00.0</value>
</observation>
</component>
</organizer>
</entry>
</section>
</component>

 


currently I’m working on vital signs section.I’ve also updated this wiki page and committed code at github.

thanks 🙂

 

GSoC Week 8

This week I’ve added few data elements like spouse, Natural father of fetus and Ethnicity into our cda message. I’ve also generated answers for review of system section.  Interacted with other open source developers on openhie-shr forum. I am currently working on adding Menstrual History organizer to review of systems section.


Review of system section

<component>
<section>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.3.18″/>
<code code=”10187-3″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”REVIEW OF SYSTEMS”/>
<title>The review of systems section shall contain a narrative description of the responses the patient gave to a set of routine questions on the functions of each anatomic body system.</title>
<text>
<table>
<thead>
<tr>
<th>Review of System Element</th>
<th>Description</th>
<th>Effective Dates</th>
</tr>
</thead>
<tbody>
<tr>
<td ID = “_477003” >Review of systems, HEENT</td>
<td>VISION DIFFICULTIES</td>
<td>07-08-2014</td>
</tr>
<tr>
<td ID = “_477004” >Review of systems, general</td>
<td>FEVER</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477005” >Review of systems, Obstetrical/Pregnancy</td>
<td>WEIGHT GAIN</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477006” >Review of systems, gastrointestinal</td>
<td>NEGATIVE</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477007” >Review of systems, genitourinary</td>
<td>NEGATIVE</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477008” >Review of systems, musculoskeletal</td>
<td>NEGATIVE</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477009” >Review of systems, cardiopulmonary</td>
<td>NEGATIVE</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477010” >Review of systems, developmental</td>
<td>MEMORY PROBLEMS</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477011” >Review of systems, central nervous system</td>
<td>MEMORY PROBLEMS</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477002” >LAST MENSTRUAL PERIOD</td>
<td>2014-07-02 00:00:00.0</td>
<td>07-07-2014</td>
</tr>
<tr>
<td ID = “_477012” >Total Mensus Monthly</td>
<td>2 to 4 times a month</td>
<td>07-08-2014</td>
</tr>
<tr>
<td ID = “_477013” >Duration of menstrual period</td>
<td>2.0</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477014” >CURRENTLY USING BIRTH CONTROL</td>
<td>true</td>
<td>06-27-2014</td>
</tr>
<tr>
<td ID = “_477015” >Age of menarche</td>
<td>2.0</td>
<td>06-27-2014</td>
</tr>
</tbody>
</table>
</text>
</section>
</component>


Tasks Accomplished:

  • Resolved all errors in CDA message.
  • Generated answers review of systems section.
  • Added spouse,natural father of fetus and ethinicity data elements to CDA message.
  • optimized and cleaned code.

committed code at github

updated this wiki page

 

Week 7-Started with generating answers (OpenMRS data) into particular sections

This week I was involved in generating answers for Social History section, History of present Illness section and Chief Complaint section of our APHP CDA message.

let’s see how these sections look now


<component>
<section>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.3.4″/>
<code code=”10164-2″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”HISTORY OF PRESENT ILLNES”/>
<title>This contains a narrative description of the patient’s Present Illness histroy</title>
<text><paragraph>This patient was only recently discharged for a recurrent GI bleed as described below. She presented to the ER today c/o a dark stool yesterday but a normal brown stool today. She was hypotensive in the 80?s resolved after.

Lab at discharge: Glucose 112, BUN 16, creatinine 1.1, electrolytes normal. H. pylori antibody pending. Admission hematocrit 16%, discharge hematocrit 29%. WBC 7300, platelet count 256,000. Urinalysis normal.

Urine culture: No growth. INR 1.1, PTT 40.She was transfused with 6 units of packed red blood cells with GI evaluation 12 September: Colonoscopy showed single red clot.
<paragraph></text>
</section>
</component>

<component>
<section>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1″/>
<code code=”10154-3″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Chief Complaint”/>
<title>This contains a narrative description of the patient’s chief complaint</title>
<text><paragraph>latest obs</paragraph></text>
</section>
</component>

<component>
<section>
<templateId root=”2.16.840.1.113883.10.20.1.15″/>
<templateId root=”1.3.6.1.4.1.19376.1.5.3.1.3.16″/>
<code code=”29762-2″ codeSystem=”2.16.840.1.113883.6.1″ codeSystemName=”LOINC” displayName=”Social History”/>
<title>The social history section shall contain a narrative description of the person’s beliefs, home life, community life, work life, hobbies, and risky habits</title>
<text>
<table Border=”1″ width=”100%”>
<thead>
<tr>
<th>Social History Element</th>
<th>Description</th>
<th>Effective Dates</th>
</tr>
</thead>
<tbody>
<tr>
<td> <content ID = “476981” >Alcohol use status</content></td>
<td>Never</td>
<td>00/03/2014</td>
</tr>
<tr>
<td> <content ID = “476984” >Smoker</content></td>
<td>NO</td>
<td>00/27/2014</td>
</tr>
<tr>
<td> <content ID = “476988” >Patient-generated history: Social history section text</content></td>
<td>paulo sigei omolo’s social history</td>
<td>00/04/2014</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode=”DRIV”>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.22.4.38″/>
<id root=”1bb01069-296e-41c9-ba33-0a044815bec9″/>
<code code=”159449″ codeSystem=”2.16.840.1.113883.6.96″ displayName=”Alcohol use status”>
<originalText><reference value=”#476981″/></originalText>
</code>
<statusCode code=”completed”/>
<effectiveTime>
<low value=”20140703120000″/>
<high/>
</effectiveTime>
<value xsi:type=”ST”>Never</value>
</observation>
</entry>
<entry typeCode=”DRIV”>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.22.4.38″/>
<id root=”9142ac72-aea2-4303-bad5-5b1a0823cb6c”/>
<code code=”152722″ codeSystem=”2.16.840.1.113883.6.96″ displayName=”Smoker”>
<originalText><reference value=”#476984″/></originalText>
</code>
<statusCode code=”completed”/>
<effectiveTime>
<low value=”20140627120000″/>
<high/>
</effectiveTime>
<value xsi:type=”ST”>NO</value>
</observation>
</entry>
<entry typeCode=”DRIV”>
<observation classCode=”OBS” moodCode=”EVN”>
<templateId root=”2.16.840.1.113883.10.20.22.4.38″/>
<id root=”3d14761d-57b4-427e-af71-94f3f620a4e0″/>
<code code=”162143″ codeSystem=”2.16.840.1.113883.6.96″ displayName=”Patient-generated history: Social history section text”>
<originalText><reference value=”#476988″/></originalText>
</code>
<statusCode code=”completed”/>
<effectiveTime>
<low value=”20140704120000″/>
<high/>
</effectiveTime>
<value xsi:type=”ST”>paulo sigei omolo’s social history</value>
</observation>
</entry>
</section>
</component>


Tasks Accomplished :

  • Generated answers for few sections.
  • worked on representation of those answers .
  • integrated cda document validation code into our module.
  • worked on representation of cda document validation results on Error page.

Challenges faced:

  • “Missing Resource Exception” whiling integrating cda document validation in our module.

after going through many resources and links I figured out that two jars “emf.ecore” and “emf.common” must be added to classpath of “tomcat or any runtime environment you are using”. It Worked! no exception any more :)

during this week I’ve also interacted with other few developers on “eclipse emf forum” to get help on resolving my blocker.

Screenshot of cda document validation error page:

error

committed code  at githubÂ