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