This page is part of the SDOH Clinical Care for Multiple Domains (v2.0.0: STU 2) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Draft as of 2022-11-21 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="SDOHCC-StructureMapHungerVitalSign"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: StructureMap</b><a name="SDOHCC-StructureMapHungerVitalSign"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource StructureMap "SDOHCC-StructureMapHungerVitalSign" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapHungerVitalSign</code></p><p><b>version</b>: 2.0.0</p><p><b>name</b>: SDOHCCStructureMapHungerVitalSign</p><p><b>status</b>: draft</p><p><b>date</b>: 2022-11-21 06:34:14+0000</p><p><b>publisher</b>: HL7 International - Patient Care WG</p><p><b>contact</b>: HL7 International - Patient Care: <a href="http://www.hl7.org/Special/committees/patientcare">http://www.hl7.org/Special/committees/patientcare</a></p><p><b>jurisdiction</b>: United States of America <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/4.0.0/CodeSystem-ISO3166Part1.html">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>structure</b></p><p><b>url</b>: <a href="http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html">SDC Questionnaire Response</a></p><p><b>mode</b>: source</p><p><b>alias</b>: questionnaireResponse</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href="http://hl7.org/fhir/R4/bundle.html">Bundle</a></p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a></p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href="StructureDefinition-SDOHCC-Condition.html">SDOHCC Condition</a></p><p><b>mode</b>: target</p><p><b>alias</b>: sdohccCondition</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href="StructureDefinition-SDOHCC-ObservationScreeningResponse.html">SDOHCC Observation Screening Response</a></p><p><b>mode</b>: target</p><p><b>alias</b>: sdohccObservation</p></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: sdohMapping</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Bundle</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: bundle-id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-BundleHungerVitalSignExample</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: bundle-type</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: type</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>transaction</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: item</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>answerItem1</td><td>linkId = '/88122-7'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: observation1</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation</p><p><b>variable</b>: src, answerItem1, observation1, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation1</p><p><b>variable</b>: src, answerItem1, observation1, entry</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: item</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>answerItem2</td><td>linkId = '/88123-5'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: observation2</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation</p><p><b>variable</b>: src, answerItem2, observation2, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation2</p><p><b>variable</b>: src, answerItem2, observation2, entry</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: item</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>answerItem3</td><td>linkId = '/88124-3'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: observation3</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation</p><p><b>variable</b>: src, answerItem3, observation3, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation3</p><p><b>variable</b>: src, answerItem3, bundle, observation3, entry</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: group-obsn</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: groupObservation</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>TransformGroupObservation</td><td>src, bundle, groupObservation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: item</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>(linkId = '/88124-3') and (answer.value.code = 'LA19952-3')</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: condition</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccCondition</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>TransformCondition</td><td>src, bundle, condition, entry</td></tr></table></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: answerItem</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-status</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: status</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>final</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-meta</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-meta-profile</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-social-hist</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: social-history</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Social History</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-survey</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: survey</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Survey</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-food-insecurity</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: authored</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: issued</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: effective</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: answer</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>answerItem</td><td>answer</td><td>answer</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: value</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: value</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-entry-request</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><h3>Targets</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>ContextType</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>entry</td><td>variable</td><td>request</td><td>request</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-request-method</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-request-url</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation1</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: item</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn1-id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignQuestion1Example</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>observation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn1-code</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>item</td><td>i</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88122-7</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: performer</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn1-derived-from</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation2</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: item</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obns2-id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignQuestion2Example</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>observation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obns2-code</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>item</td><td>i</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88123-5</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: performer</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn2-derived-from</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation3</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: item</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn3-id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignQuestion3Example</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>observation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn3-code</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>item</td><td>i</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88124-3</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn3-derivedFrom</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: df</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>TransformObservationDerived</td><td>entries, df</td></tr></table></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservationDerived</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: entries</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: df</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: resource</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>entries</td><td>resource</td><td>obs1</td><td>code.coding.code = '88122-7'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: df</p><p><b>contextType</b>: variable</p><p><b>element</b>: reference</p><p><b>transform</b>: reference</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>obs1</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: resource</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>entries</td><td>resource</td><td>obs2</td><td>code.coding.code = '88123-5'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: df</p><p><b>contextType</b>: variable</p><p><b>element</b>: reference</p><p><b>transform</b>: reference</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>obs2</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformGroupObservation</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Bundle</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: groupObservation</p><p><b>type</b>: Observation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-meta</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-meta-profile</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-full-url</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignGroupingExample</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>groupObservation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-full-status</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: status</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>final</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-cat-social-history</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: social-history</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Social History</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-cat-survey</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: survey</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Survey</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-cat-food-insecurity</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-authored</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: effective</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-code</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88121-9</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Hunger Vital Sign [HVS]</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: entry</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: hasMember</p><p><b>variable</b>: df</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: resource</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: resource</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: resource</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-derived-from</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-entry-request</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><h3>Targets</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>ContextType</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>entry</td><td>variable</td><td>request</td><td>request</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-request-method</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-request-url</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetObservationFullUrl</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: Observation</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>observation</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: fullUrl</p><p><b>transform</b>: append</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: id</p></blockquote></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformCondition</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: sdohccCondition</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ConditionFoodInsecurityExample</td></tr></table></blockquote><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetConditionFullUrl</td><td>condition, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-meta</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-meta-profile</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-clinical-status</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: clinicalStatus</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/condition-clinical</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: active</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Active</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-veri-status</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: verificationStatus</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/condition-ver-status</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: unconfirmed</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Unconfirmed</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat-health-concern</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat-coding-health-concern</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat-food-insecurity</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat-coding-food-insecurity</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-code</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: newCodeCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-code-coding-food-insecurity</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-code-coding-lack-of-food</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: authored</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: onset</p><p><b>variable</b>: period</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Period</td></tr></table></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: period</p><p><b>contextType</b>: variable</p><p><b>element</b>: start</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: entry</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: evidence</p><p><b>variable</b>: evidence</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: evidence</p><p><b>contextType</b>: variable</p><p><b>element</b>: detail</p><p><b>variable</b>: detailReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: resource</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class="grid"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-entry-request</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><h3>Targets</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>ContextType</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>entry</td><td>variable</td><td>request</td><td>request</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: condition-request-method</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-request-url</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetConditionFullUrl</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: sdohccCondition</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: id</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>condition</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: fullUrl</p><p><b>transform</b>: append</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: id</p></blockquote></blockquote></blockquote></blockquote></div>
</text>
<url
value="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapHungerVitalSign"/>
<version value="2.0.0"/>
<name value="SDOHCCStructureMapHungerVitalSign"/>
<status value="draft"/>
<date value="2022-11-21T18:34:14+00:00"/>
<publisher value="HL7 International - Patient Care WG"/>
<contact>
<name value="HL7 International - Patient Care"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/patientcare"/>
</telecom>
</contact>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
<display value="United States of America"/>
</coding>
<text value="United States of America"/>
</jurisdiction>
<structure>
<url
value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse"/>
<mode value="source"/>
<alias value="questionnaireResponse"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
<mode value="target"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<mode value="target"/>
</structure>
<structure>
<url
value="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition"/>
<mode value="target"/>
<alias value="sdohccCondition"/>
</structure>
<structure>
<url
value="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse"/>
<mode value="target"/>
<alias value="sdohccObservation"/>
</structure>
<group>
<name value="sdohMapping"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="questionnaireResponse"/>
<mode value="source"/>
</input>
<input>
<name value="bundle"/>
<type value="Bundle"/>
<mode value="target"/>
</input>
<rule>
<name value="bundle-id"/>
<source>
<context value="src"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
<element value="id"/>
<transform value="copy"/>
<parameter>
<valueString value="SDOHCC-BundleHungerVitalSignExample"/>
</parameter>
</target>
</rule>
<rule>
<name value="bundle-type"/>
<source>
<context value="src"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
<element value="type"/>
<transform value="copy"/>
<parameter>
<valueString value="transaction"/>
</parameter>
</target>
</rule>
<rule>
<name value="item"/>
<source>
<context value="src"/>
<element value="item"/>
<variable value="answerItem1"/>
<condition value="linkId = '/88122-7'"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
<element value="entry"/>
<variable value="entry"/>
</target>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="resource"/>
<variable value="observation1"/>
<transform value="create"/>
<parameter>
<valueString value="sdohccObservation"/>
</parameter>
</target>
<dependent>
<name value="TransformObservation"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="answerItem1">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="observation1">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
<dependent>
<name value="TransformObservation1"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="answerItem1">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="observation1">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="item"/>
<source>
<context value="src"/>
<element value="item"/>
<variable value="answerItem2"/>
<condition value="linkId = '/88123-5'"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
<element value="entry"/>
<variable value="entry"/>
</target>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="resource"/>
<variable value="observation2"/>
<transform value="create"/>
<parameter>
<valueString value="sdohccObservation"/>
</parameter>
</target>
<dependent>
<name value="TransformObservation"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="answerItem2">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="observation2">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
<dependent>
<name value="TransformObservation2"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="answerItem2">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="observation2">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="item"/>
<source>
<context value="src"/>
<element value="item"/>
<variable value="answerItem3"/>
<condition value="linkId = '/88124-3'"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
<element value="entry"/>
<variable value="entry"/>
</target>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="resource"/>
<variable value="observation3"/>
<transform value="create"/>
<parameter>
<valueString value="sdohccObservation"/>
</parameter>
</target>
<dependent>
<name value="TransformObservation"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="answerItem3">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="observation3">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
<dependent>
<name value="TransformObservation3"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="answerItem3">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="bundle">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="observation3">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="group-obsn"/>
<source>
<context value="src"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
<element value="entry"/>
<variable value="entry"/>
</target>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="resource"/>
<variable value="groupObservation"/>
<transform value="create"/>
<parameter>
<valueString value="sdohccObservation"/>
</parameter>
</target>
<dependent>
<name value="TransformGroupObservation"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="bundle">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="groupObservation">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="item"/>
<source>
<context value="src"/>
<element value="item"/>
<condition
value="(linkId = '/88124-3') and (answer.value.code = 'LA19952-3')"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
<element value="entry"/>
<variable value="entry"/>
</target>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="resource"/>
<variable value="condition"/>
<transform value="create"/>
<parameter>
<valueString value="sdohccCondition"/>
</parameter>
</target>
<dependent>
<name value="TransformCondition"/>
<variable value="src">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="bundle">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="condition">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
</group>
<group>
<name value="TransformObservation"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="questionnaireResponse"/>
<mode value="source"/>
</input>
<input>
<name value="answerItem"/>
<mode value="source"/>
</input>
<input>
<name value="observation"/>
<type value="sdohccObservation"/>
<mode value="target"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="obsn-status"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="status"/>
<transform value="copy"/>
<parameter>
<valueString value="final"/>
</parameter>
</target>
</rule>
<rule>
<name value="obsn-meta"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="meta"/>
<variable value="newMeta"/>
<transform value="create"/>
<parameter>
<valueString value="Meta"/>
</parameter>
</target>
<rule>
<name value="obsn-meta-profile"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newMeta"/>
<contextType value="variable"/>
<element value="profile"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="obsn-cat-social-hist"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="category"/>
<transform value="cc"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
</parameter>
<parameter>
<valueString value="social-history"/>
</parameter>
<parameter>
<valueString value="Social History"/>
</parameter>
</target>
</rule>
<rule>
<name value="obsn-cat-survey"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="category"/>
<transform value="cc"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
</parameter>
<parameter>
<valueString value="survey"/>
</parameter>
<parameter>
<valueString value="Survey"/>
</parameter>
</target>
</rule>
<rule>
<name value="obsn-cat-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="category"/>
<variable value="newCC"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<rule>
<name value="obsn-cat-coding"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCC"/>
<contextType value="variable"/>
<element value="coding"/>
<variable value="newCoding"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<rule>
<name value="obsn-cat-coding-system"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"/>
</parameter>
</target>
</rule>
<rule>
<name value="obsn-cat-coding-code"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="food-insecurity"/>
</parameter>
</target>
</rule>
<rule>
<name value="obsn-cat-coding-display"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Food Insecurity"/>
</parameter>
</target>
</rule>
</rule>
</rule>
<rule>
<name value="authored"/>
<source>
<context value="src"/>
<element value="authored"/>
<variable value="authored"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="issued"/>
<transform value="copy"/>
<parameter>
<valueId value="authored"/>
</parameter>
</target>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="effective"/>
<transform value="copy"/>
<parameter>
<valueId value="authored"/>
</parameter>
</target>
</rule>
<rule>
<name value="answer"/>
<source>
<context value="answerItem"/>
<element value="answer"/>
<variable value="answer"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="value"/>
<variable value="newCC"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<rule>
<name value="value"/>
<source>
<context value="answer"/>
<element value="value"/>
<variable value="coding"/>
</source>
<target>
<context value="newCC"/>
<contextType value="variable"/>
<element value="coding"/>
<variable value="newCoding"/>
<transform value="copy"/>
<parameter>
<valueId value="coding"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="qSubject"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="subject"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="reference"/>
<source>
<context value="qSubject"/>
<element value="reference"/>
<variable value="qReference"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="copy"/>
<parameter>
<valueId value="qReference"/>
</parameter>
</target>
</rule>
<rule>
<name value="display"/>
<source>
<context value="qSubject"/>
<element value="display"/>
<variable value="qDisplay"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueId value="qDisplay"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="obsn-entry-request"/>
<source>
<context value="src"/>
</source>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="request"/>
<variable value="request"/>
</target>
<rule>
<name value="obsn-request-method"/>
<source>
<context value="src"/>
</source>
<target>
<context value="request"/>
<contextType value="variable"/>
<element value="method"/>
<transform value="copy"/>
<parameter>
<valueString value="POST"/>
</parameter>
</target>
</rule>
<rule>
<name value="obsn-request-url"/>
<source>
<context value="src"/>
</source>
<target>
<context value="request"/>
<contextType value="variable"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString value="Observation"/>
</parameter>
</target>
</rule>
</rule>
</group>
<group>
<name value="TransformObservation1"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="questionnaireResponse"/>
<mode value="source"/>
</input>
<input>
<name value="item"/>
<mode value="source"/>
</input>
<input>
<name value="observation"/>
<type value="sdohccObservation"/>
<mode value="target"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="obsn1-id"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="id"/>
<transform value="copy"/>
<parameter>
<valueString
value="SDOHCC-ObservationResponseHungerVitalSignQuestion1Example"/>
</parameter>
</target>
<dependent>
<name value="SetObservationFullUrl"/>
<variable value="observation">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="obsn1-code"/>
<source>
<context value="item"/>
<variable value="i"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="code"/>
<variable value="code"/>
<transform value="cc"/>
<parameter>
<valueString value="http://loinc.org"/>
</parameter>
<parameter>
<valueString value="88122-7"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="qSubject"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="performer"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="reference"/>
<source>
<context value="qSubject"/>
<element value="reference"/>
<variable value="qReference"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="copy"/>
<parameter>
<valueId value="qReference"/>
</parameter>
</target>
</rule>
<rule>
<name value="display"/>
<source>
<context value="qSubject"/>
<element value="display"/>
<variable value="qDisplay"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueId value="qDisplay"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="id"/>
<source>
<context value="src"/>
<element value="id"/>
<variable value="id"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="derivedFrom"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="obsn1-derived-from"/>
<source>
<context value="id"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="append"/>
<parameter>
<valueString value="QuestionnaireResponse/"/>
</parameter>
<parameter>
<valueId value="id"/>
</parameter>
</target>
</rule>
</rule>
</group>
<group>
<name value="TransformObservation2"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="questionnaireResponse"/>
<mode value="source"/>
</input>
<input>
<name value="item"/>
<mode value="source"/>
</input>
<input>
<name value="observation"/>
<type value="sdohccObservation"/>
<mode value="target"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="obns2-id"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="id"/>
<transform value="copy"/>
<parameter>
<valueString
value="SDOHCC-ObservationResponseHungerVitalSignQuestion2Example"/>
</parameter>
</target>
<dependent>
<name value="SetObservationFullUrl"/>
<variable value="observation">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="obns2-code"/>
<source>
<context value="item"/>
<variable value="i"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="code"/>
<variable value="code"/>
<transform value="cc"/>
<parameter>
<valueString value="http://loinc.org"/>
</parameter>
<parameter>
<valueString value="88123-5"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="qSubject"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="performer"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="reference"/>
<source>
<context value="qSubject"/>
<element value="reference"/>
<variable value="qReference"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="copy"/>
<parameter>
<valueId value="qReference"/>
</parameter>
</target>
</rule>
<rule>
<name value="display"/>
<source>
<context value="qSubject"/>
<element value="display"/>
<variable value="qDisplay"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueId value="qDisplay"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="id"/>
<source>
<context value="src"/>
<element value="id"/>
<variable value="id"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="derivedFrom"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="obsn2-derived-from"/>
<source>
<context value="id"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="append"/>
<parameter>
<valueString value="QuestionnaireResponse/"/>
</parameter>
<parameter>
<valueId value="id"/>
</parameter>
</target>
</rule>
</rule>
</group>
<group>
<name value="TransformObservation3"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="questionnaireResponse"/>
<mode value="source"/>
</input>
<input>
<name value="item"/>
<mode value="source"/>
</input>
<input>
<name value="bundle"/>
<mode value="source"/>
</input>
<input>
<name value="observation"/>
<type value="sdohccObservation"/>
<mode value="target"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="obsn3-id"/>
<source>
<context value="src"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="id"/>
<transform value="copy"/>
<parameter>
<valueString
value="SDOHCC-ObservationResponseHungerVitalSignQuestion3Example"/>
</parameter>
</target>
<dependent>
<name value="SetObservationFullUrl"/>
<variable value="observation">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="obsn3-code"/>
<source>
<context value="item"/>
<variable value="i"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="code"/>
<variable value="code"/>
<transform value="cc"/>
<parameter>
<valueString value="http://loinc.org"/>
</parameter>
<parameter>
<valueString value="88124-3"/>
</parameter>
</target>
</rule>
<rule>
<name value="obsn3-derivedFrom"/>
<source>
<context value="bundle"/>
<element value="entry"/>
<variable value="entries"/>
</source>
<target>
<context value="observation"/>
<contextType value="variable"/>
<element value="derivedFrom"/>
<variable value="df"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<dependent>
<name value="TransformObservationDerived"/>
<variable value="entries">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="df">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
</group>
<group>
<name value="TransformObservationDerived"/>
<typeMode value="none"/>
<input>
<name value="entries"/>
<mode value="source"/>
</input>
<input>
<name value="df"/>
<mode value="target"/>
</input>
<rule>
<name value="resource"/>
<source>
<context value="entries"/>
<element value="resource"/>
<variable value="obs1"/>
<condition value="code.coding.code = '88122-7'"/>
</source>
<target>
<context value="df"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="reference"/>
<parameter>
<valueId value="obs1"/>
</parameter>
</target>
</rule>
<rule>
<name value="resource"/>
<source>
<context value="entries"/>
<element value="resource"/>
<variable value="obs2"/>
<condition value="code.coding.code = '88123-5'"/>
</source>
<target>
<context value="df"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="reference"/>
<parameter>
<valueId value="obs2"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="TransformGroupObservation"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="questionnaireResponse"/>
<mode value="source"/>
</input>
<input>
<name value="bundle"/>
<type value="Bundle"/>
<mode value="source"/>
</input>
<input>
<name value="groupObservation"/>
<type value="Observation"/>
<mode value="target"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="grp-obsn-meta"/>
<source>
<context value="src"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="meta"/>
<variable value="newMeta"/>
<transform value="create"/>
<parameter>
<valueString value="Meta"/>
</parameter>
</target>
<rule>
<name value="grp-obsn-meta-profile"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newMeta"/>
<contextType value="variable"/>
<element value="profile"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="grp-obsn-full-url"/>
<source>
<context value="src"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="id"/>
<transform value="copy"/>
<parameter>
<valueString
value="SDOHCC-ObservationResponseHungerVitalSignGroupingExample"/>
</parameter>
</target>
<dependent>
<name value="SetObservationFullUrl"/>
<variable value="groupObservation">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="grp-obsn-full-status"/>
<source>
<context value="src"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="status"/>
<transform value="copy"/>
<parameter>
<valueString value="final"/>
</parameter>
</target>
</rule>
<rule>
<name value="grp-obsn-cat-social-history"/>
<source>
<context value="src"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="category"/>
<transform value="cc"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
</parameter>
<parameter>
<valueString value="social-history"/>
</parameter>
<parameter>
<valueString value="Social History"/>
</parameter>
</target>
</rule>
<rule>
<name value="grp-obsn-cat-survey"/>
<source>
<context value="src"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="category"/>
<transform value="cc"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
</parameter>
<parameter>
<valueString value="survey"/>
</parameter>
<parameter>
<valueString value="Survey"/>
</parameter>
</target>
</rule>
<rule>
<name value="grp-obsn-cat-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="category"/>
<variable value="newCC"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<rule>
<name value="grp-obsn-cat-coding"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCC"/>
<contextType value="variable"/>
<element value="coding"/>
<variable value="newCoding"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<rule>
<name value="grp-obsn-cat-coding-system"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"/>
</parameter>
</target>
</rule>
<rule>
<name value="grp-obsn-cat-coding-code"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="food-insecurity"/>
</parameter>
</target>
</rule>
<rule>
<name value="grp-obsn-cat-coding-display"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Food Insecurity"/>
</parameter>
</target>
</rule>
</rule>
</rule>
<rule>
<name value="grp-obsn-authored"/>
<source>
<context value="src"/>
<element value="authored"/>
<variable value="authored"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="effective"/>
<transform value="copy"/>
<parameter>
<valueId value="authored"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="qSubject"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="subject"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="reference"/>
<source>
<context value="qSubject"/>
<element value="reference"/>
<variable value="qReference"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="copy"/>
<parameter>
<valueId value="qReference"/>
</parameter>
</target>
</rule>
<rule>
<name value="display"/>
<source>
<context value="qSubject"/>
<element value="display"/>
<variable value="qDisplay"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueId value="qDisplay"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="grp-obsn-code"/>
<source>
<context value="src"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="code"/>
<transform value="cc"/>
<parameter>
<valueString value="http://loinc.org"/>
</parameter>
<parameter>
<valueString value="88121-9"/>
</parameter>
<parameter>
<valueString value="Hunger Vital Sign [HVS]"/>
</parameter>
</target>
</rule>
<rule>
<name value="entry"/>
<source>
<context value="bundle"/>
<element value="entry"/>
<variable value="entries"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="hasMember"/>
<variable value="df"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="resource"/>
<source>
<context value="entries"/>
<element value="resource"/>
<variable value="obs1"/>
<condition value="code.coding.code = '88122-7'"/>
</source>
<target>
<context value="df"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="reference"/>
<parameter>
<valueId value="obs1"/>
</parameter>
</target>
</rule>
<rule>
<name value="resource"/>
<source>
<context value="entries"/>
<element value="resource"/>
<variable value="obs2"/>
<condition value="code.coding.code = '88123-5'"/>
</source>
<target>
<context value="df"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="reference"/>
<parameter>
<valueId value="obs2"/>
</parameter>
</target>
</rule>
<rule>
<name value="resource"/>
<source>
<context value="entries"/>
<element value="resource"/>
<variable value="obs3"/>
<condition value="code.coding.code = '88124-3'"/>
</source>
<target>
<context value="df"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="reference"/>
<parameter>
<valueId value="obs3"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="id"/>
<source>
<context value="src"/>
<element value="id"/>
<variable value="id"/>
</source>
<target>
<context value="groupObservation"/>
<contextType value="variable"/>
<element value="derivedFrom"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="grp-obsn-derived-from"/>
<source>
<context value="id"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="append"/>
<parameter>
<valueString value="QuestionnaireResponse/"/>
</parameter>
<parameter>
<valueId value="id"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="grp-obsn-entry-request"/>
<source>
<context value="src"/>
</source>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="request"/>
<variable value="request"/>
</target>
<rule>
<name value="grp-obsn-request-method"/>
<source>
<context value="src"/>
</source>
<target>
<context value="request"/>
<contextType value="variable"/>
<element value="method"/>
<transform value="copy"/>
<parameter>
<valueString value="POST"/>
</parameter>
</target>
</rule>
<rule>
<name value="grp-obsn-request-url"/>
<source>
<context value="src"/>
</source>
<target>
<context value="request"/>
<contextType value="variable"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString value="Observation"/>
</parameter>
</target>
</rule>
</rule>
</group>
<group>
<name value="SetObservationFullUrl"/>
<typeMode value="none"/>
<input>
<name value="observation"/>
<type value="Observation"/>
<mode value="source"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="id"/>
<source>
<context value="observation"/>
<element value="id"/>
<variable value="id"/>
</source>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="fullUrl"/>
<transform value="append"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/"/>
</parameter>
<parameter>
<valueId value="id"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="TransformCondition"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="questionnaireResponse"/>
<mode value="source"/>
</input>
<input>
<name value="bundle"/>
<mode value="source"/>
</input>
<input>
<name value="condition"/>
<type value="sdohccCondition"/>
<mode value="target"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="condition-id"/>
<source>
<context value="src"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="id"/>
<transform value="copy"/>
<parameter>
<valueString value="SDOHCC-ConditionFoodInsecurityExample"/>
</parameter>
</target>
<dependent>
<name value="SetConditionFullUrl"/>
<variable value="condition">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
<variable value="entry">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/original-item-type">
<valueUrl value="id"/>
</extension>
</variable>
</dependent>
</rule>
<rule>
<name value="condition-meta"/>
<source>
<context value="src"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="meta"/>
<variable value="newMeta"/>
<transform value="create"/>
<parameter>
<valueString value="Meta"/>
</parameter>
</target>
<rule>
<name value="condition-meta-profile"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newMeta"/>
<contextType value="variable"/>
<element value="profile"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="condition-clinical-status"/>
<source>
<context value="src"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="clinicalStatus"/>
<transform value="cc"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
</parameter>
<parameter>
<valueString value="active"/>
</parameter>
<parameter>
<valueString value="Active"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-veri-status"/>
<source>
<context value="src"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="verificationStatus"/>
<transform value="cc"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
</parameter>
<parameter>
<valueString value="unconfirmed"/>
</parameter>
<parameter>
<valueString value="Unconfirmed"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-cat-health-concern"/>
<source>
<context value="src"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="category"/>
<variable value="newCC"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<rule>
<name value="condition-cat-coding-health-concern"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCC"/>
<contextType value="variable"/>
<element value="coding"/>
<variable value="newCoding"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<rule>
<name value="condition-cat-coding-system-health-concern"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/core/CodeSystem/condition-category"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-cat-coding-code-health-concern"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="health-concern"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-cat-coding-display-health-concern"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Health Concern"/>
</parameter>
</target>
</rule>
</rule>
</rule>
<rule>
<name value="condition-cat-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="category"/>
<variable value="newCC"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<rule>
<name value="condition-cat-coding-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCC"/>
<contextType value="variable"/>
<element value="coding"/>
<variable value="newCoding"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<rule>
<name value="condition-cat-coding-system-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-cat-coding-code-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="food-insecurity"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-cat-coding-display-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Food Insecurity"/>
</parameter>
</target>
</rule>
</rule>
</rule>
<rule>
<name value="condition-code"/>
<source>
<context value="src"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="code"/>
<variable value="newCodeCC"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<rule>
<name value="condition-code-coding-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCodeCC"/>
<contextType value="variable"/>
<element value="coding"/>
<variable value="newCoding"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<rule>
<name value="condition-code-coding-system-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://snomed.info/sct"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-code-coding-code-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="733423003"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-code-coding-display-food-insecurity"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Food insecurity"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="condition-code-coding-lack-of-food"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCodeCC"/>
<contextType value="variable"/>
<element value="coding"/>
<variable value="newCoding2"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<rule>
<name value="condition-code-coding-system-lack-of-food"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding2"/>
<contextType value="variable"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/sid/icd-10-cm"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-code-coding-code-lack-of-food"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding2"/>
<contextType value="variable"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Z59.4"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-code-coding-display-lack-of-food"/>
<source>
<context value="src"/>
</source>
<target>
<context value="newCoding2"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString
value="Lack of adequate food and safe drinking water"/>
</parameter>
</target>
</rule>
</rule>
</rule>
<rule>
<name value="authored"/>
<source>
<context value="src"/>
<element value="authored"/>
<variable value="authored"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="onset"/>
<variable value="period"/>
<transform value="create"/>
<parameter>
<valueString value="Period"/>
</parameter>
</target>
<target>
<context value="period"/>
<contextType value="variable"/>
<element value="start"/>
<transform value="copy"/>
<parameter>
<valueId value="authored"/>
</parameter>
</target>
</rule>
<rule>
<name value="entry"/>
<source>
<context value="bundle"/>
<element value="entry"/>
<variable value="entries"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="evidence"/>
<variable value="evidence"/>
</target>
<target>
<context value="evidence"/>
<contextType value="variable"/>
<element value="detail"/>
<variable value="detailReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="resource"/>
<source>
<context value="entries"/>
<element value="resource"/>
<variable value="obs3"/>
<condition value="code.coding.code = '88124-3'"/>
</source>
<target>
<context value="detailReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="reference"/>
<parameter>
<valueId value="obs3"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="qSubject"/>
</source>
<target>
<context value="condition"/>
<contextType value="variable"/>
<element value="subject"/>
<variable value="newReference"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<rule>
<name value="reference"/>
<source>
<context value="qSubject"/>
<element value="reference"/>
<variable value="qReference"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="reference"/>
<transform value="copy"/>
<parameter>
<valueId value="qReference"/>
</parameter>
</target>
</rule>
<rule>
<name value="display"/>
<source>
<context value="qSubject"/>
<element value="display"/>
<variable value="qDisplay"/>
</source>
<target>
<context value="newReference"/>
<contextType value="variable"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueId value="qDisplay"/>
</parameter>
</target>
</rule>
</rule>
<rule>
<name value="condition-entry-request"/>
<source>
<context value="src"/>
</source>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="request"/>
<variable value="request"/>
</target>
<rule>
<name value="condition-request-method"/>
<source>
<context value="src"/>
</source>
<target>
<context value="request"/>
<contextType value="variable"/>
<element value="method"/>
<transform value="copy"/>
<parameter>
<valueString value="POST"/>
</parameter>
</target>
</rule>
<rule>
<name value="condition-request-url"/>
<source>
<context value="src"/>
</source>
<target>
<context value="request"/>
<contextType value="variable"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString value="Condition"/>
</parameter>
</target>
</rule>
</rule>
</group>
<group>
<name value="SetConditionFullUrl"/>
<typeMode value="none"/>
<input>
<name value="condition"/>
<type value="sdohccCondition"/>
<mode value="source"/>
</input>
<input>
<name value="entry"/>
<mode value="target"/>
</input>
<rule>
<name value="id"/>
<source>
<context value="condition"/>
<element value="id"/>
<variable value="id"/>
</source>
<target>
<context value="entry"/>
<contextType value="variable"/>
<element value="fullUrl"/>
<transform value="append"/>
<parameter>
<valueString
value="http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/"/>
</parameter>
<parameter>
<valueId value="id"/>
</parameter>
</target>
</rule>
</group>
</StructureMap>
IG © 2020+ HL7 International - Patient Care WG. Package hl7.fhir.us.sdoh-clinicalcare#2.0.0 based on FHIR 4.0.1. Generated 2022-11-21
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change