Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Projects

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

The Social History section (obtained via NIST examples)

As per IHE, this section SHALL contain coded entries and SHOULD use the codes specified in the Antepartum Social History Value Set. If the data is not present or not available within the system no entries are required.

...

Code Block
languagexml
<component>
				<!--   Social History ******** -->
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.17"/>
					<!--  ********  Social history section template   ******** -->
					<code code="29762-2" codeSystem="2.16.840.1.113883.6.1" displayName="Social History"/>
					<title>Social History</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="soc1"/> smoking</td>
									<td>1 pack per day</td>
									<td>1947 - 1972</td>
								</tr>
								<tr>
									<td>
										<content ID="soc2"/> smoking</td>
									<td>None</td>
									<td>1973 - </td>
								</tr>
								<tr>
									<td>
										<content ID="soc3"/>Alcohol consumption</td>
									<td>None</td>
									<td>1973 - </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"/>
							<!--  ********  Social history observation template   ******** -->
							<id root="9b56c25d-9104-45ee-9fa4-e0f3afaa01c1"/>
							<code code="230056004" codeSystem="2.16.840.1.113883.6.96" displayName="Cigarette smoking">
								<originalText>
									<reference value="#soc1"/>
								</originalText>
							</code>
							<statusCode code="completed"/>
							<effectiveTime>
								<low value="1947"/>
								<high value="1972"/>
							</effectiveTime>
							<value xsi:type="ST">1 pack per day</value>
						</observation>
					</entry>
					<entry typeCode="DRIV">
						<observation classCode="OBS" moodCode="EVN">
							<templateId root="2.16.840.1.113883.10.20.22.4.38"/>
							<!--  ********  Social history observation template   ******** -->
							<id root="45efb604-7049-4a2e-ad33-d38556c9636c"/>
							<code code="230056004" codeSystem="2.16.840.1.113883.6.96" displayName="Cigarette smoking">
								<originalText>
									<reference value="#soc2"/>
								</originalText>
							</code>
							<statusCode code="completed"/>
							<effectiveTime>
								<low value="1973"/>
							</effectiveTime>
							<value xsi:type="ST">None</value>
						</observation>
					</entry>
					<entry typeCode="DRIV">
						<observation classCode="OBS" moodCode="EVN">
							<templateId root="2.16.840.1.113883.10.20.22.4.38"/>
							<!--  ********  Social history observation template   ******** -->
							<id root="37f76c51-6411-4e1d-8a37-957fd49d2cef"/>
							<code code="160573003" codeSystem="2.16.840.1.113883.6.96" displayName="Alcohol consumption">
								<originalText>
									<reference value="#soc3"/>
								</originalText>
							</code>
							<statusCode code="completed"/>
							<effectiveTime>
								<low value="1973"/>
							</effectiveTime>
							<value xsi:type="ST">None</value>
						</observation>
					</entry>
				</section>
			</component>
			<!--

 

The Vital Signs section : (obtained via NIST examples)

Use this model, and look for the specific terms listed here.

Code Block
languagexml
			<component>
				<section>
					<templateId root="2.16.840.1.113883.10.20.22.2.4.1"/>
					<code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="VITAL SIGNS"/>
					<title>Vital Signs</title>
					<text>
						<table border="1" width="100%">
							<thead>
								<tr>
									<th align="right">Date / Time: </th>
									<th>Nov 14, 1999</th>
									<th>April 7, 2000</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<th align="left">Height</th>
									<td>
										<content ID="vit1">177 cm</content>
									</td>
									<td>
										<content ID="vit2">177 cm</content>
									</td>
								</tr>
								<tr>
									<th align="left">Weight</th>
									<td>
										<content ID="vit3">86 kg</content>
									</td>
									<td>
										<content ID="vit4">88 kg</content>
									</td>
								</tr>
								<tr>
									<th align="left">Blood Pressure</th>
									<td>
										<content ID="vit5">132/86 mmHg</content>
									</td>
									<td>
										<content ID="vit6">145/88 mmHg</content>
									</td>
								</tr>
							</tbody>
						</table>
					</text>
					<entry typeCode="DRIV">
						<organizer classCode="CLUSTER" moodCode="EVN">
							<templateId root="2.16.840.1.113883.10.20.22.4.26"/>
							<!-- Vital signs organizer template -->
							<id root="c6f88320-67ad-11db-bd13-0800200c9a66"/>
							<code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED -CT" displayName="Vital signs"/>
							<statusCode code="completed"/>
							<effectiveTime value="19991114"/>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<!-- Vital Sign Observation template -->
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Height"/>
									<text>
										<reference value="#vit1"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="19991114"/>
									<value xsi:type="PQ" value="177" unit="cm"/>
									<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<!-- Vital Sign Observation template -->
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code code="3141-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Patient Body Weight - Measured"/>
									<text>
										<reference value="#vit4"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="19991114"/>
									<value xsi:type="PQ" value="86" unit="kg"/>
									<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<!-- Vital Sign Observation template -->
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code code="8480-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Intravascular Systolic"/>
									<text>
										<reference value="#vit5"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="19991114"/>
									<value xsi:type="PQ" value="132" unit="mm[Hg]"/>
									<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
								</observation>
							</component>
						</organizer>
					</entry>
					<entry typeCode="DRIV">
						<organizer classCode="CLUSTER" moodCode="EVN">
							<templateId root="2.16.840.1.113883.10.20.22.4.26"/>
							<!-- Vital signs organizer template -->
							<id root="c6f88320-67ad-11db-bd13-0800200c9a66"/>
							<code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED -CT" displayName="Vital signs"/>
							<statusCode code="completed"/>
							<effectiveTime value="20000407"/>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<!-- Vital Sign Observation template -->
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Height"/>
									<text>
										<reference value="#vit2"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20000407"/>
									<value xsi:type="PQ" value="177" unit="cm"/>
									<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<!-- Vital Sign Observation template -->
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code code="3141-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Patient Body Weight - Measured"/>
									<text>
										<reference value="#vit4"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20000407"/>
									<value xsi:type="PQ" value="88" unit="kg"/>
									<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
								</observation>
							</component>
							<component>
								<observation classCode="OBS" moodCode="EVN">
									<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
									<!-- Vital Sign Observation template -->
									<id root="c6f88321-67ad-11db-bd13-0800200c9a66"/>
									<code code="8480-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Intravascular Systolic"/>
									<text>
										<reference value="#vit6"/>
									</text>
									<statusCode code="completed"/>
									<effectiveTime value="20000407"/>
									<value xsi:type="PQ" value="145" unit="mm[Hg]"/>
									<interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
								</observation>
							</component>
						</organizer>
					</entry>
				</section>
			</component>
			

 

History of present illness

How to represent the observation date ?

...