SDOH Clinical Care
1.0.0 - STU 1

This page is part of the SDOH Clinical Care for Multiple Domains (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

: SDOHCC StructureMap PRAPARE - XML Representation

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="SDOHCC-StructureMapPRAPARE"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2021-06-28T17:12:24.937+00:00"/>
    <source value="#FLTN6h4LHljBb9Hk"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>url</b>: <code>http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapPRAPARE</code></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: SDOHCCStructureMapPRAPARE</p><p><b>title</b>: SDOHCC StructureMap PRAPARE</p><p><b>status</b>: draft</p><p><b>experimental</b>: false</p><p><b>date</b>: Aug 5, 2021 8:07:39 PM</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>: <span title="Codes: {urn:iso:std:iso:3166 US}">United States of America</span></p><blockquote><p><b>structure</b></p><p><b>url</b>: <a href="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse">http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse</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/StructureDefinition/Bundle">http://hl7.org/fhir/StructureDefinition/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/StructureDefinition/Observation">http://hl7.org/fhir/StructureDefinition/Observation</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/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition">http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/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="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationAssessment">http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationAssessment</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>: rule-1</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-BundlePRAPAREExample</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-2</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>: rule-3</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>item</td><td>rootItem</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>bundle</td><td>variable</td><td>entry</td><td>entry</td></tr></table><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>rootContent</td><td>src, rootItem, bundle</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-4</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><blockquote><p><b>group</b></p><p><b>name</b>: rootContent</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: qResponse</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: rootItem</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-5</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>rootItem</td><td>item</td><td>groupItem</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>bundle</td><td>variable</td><td>entry</td><td>entry</td></tr></table><h3>Dependents</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>groupContent</td><td>qResponse, groupItem, bundle</td></tr></table></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: groupContent</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: qResponse</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: groupItem</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-6</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>groupItem</td><td>item</td><td>questionItem</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>: observation</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>TransformObservation</td><td>qResponse, questionItem, bundle, observation, entry, bundle</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>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Any</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>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-7</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>Transform</b></td></tr><tr><td>*</td><td>observation</td><td>variable</td><td>id</td><td>uuid</td></tr></table><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>: rule-8</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>: rule-9</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>: rule-10</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>: rule-11</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>: rule-12</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-13</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>: rule-14</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>: rule-15</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-16</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-17</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>: rule-18</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-19</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-20</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>: rule-21</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-22</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93043-8/56051-6'</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>: 56051-6</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-23</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93043-8/32624-9'</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>: 32624-9</p></blockquote></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>SetValuesToComponents</td><td>answerItem, observation, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-24</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93043-8/93035-4'</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>: 93035-4</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-25</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93043-8/93035-4'</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>: rule-26</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-30</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93043-8/93034-7'</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>: 93034-7</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-31</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93043-8/93034-7'</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>: rule-32</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-36</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93043-8/54899-0'</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>: 54899-0</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-37</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93042-0/63512-8'</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>: 63512-8</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-38</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-43</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93042-0/71802-3'</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>: 71802-3</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-44</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93042-0/71802-3'</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>: rule-45</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-49</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93042-0/93033-9'</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>: 93033-9</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-50</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93042-0/93033-9'</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>: rule-51</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-55</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93042-0/56799-0'</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>: 56799-0</p></blockquote></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>SetValue</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-56</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/82589-3'</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>: 82589-3</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-57</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/82589-3'</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>: rule-58</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-62</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/67875-5'</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>: 67875-5</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-63</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/67875-5'</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>: rule-64</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-68</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/76437-3'</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>: 76437-3</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-69</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/63586-2'</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>: 63586-2</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-70</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-75</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/93031-3'</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>: 93031-3</p></blockquote></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>SetValuesToComponents</td><td>answerItem, observation, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-76</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/93031-3'</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>: rule-77</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-81</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/93030-5'</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>: 93030-5</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-82</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/93030-5'</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>: rule-83</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-87</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93040-4/93029-7'</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>: 93029-7</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-88</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93040-4/93029-7'</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>: rule-89</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-93</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93040-4/93038-8'</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>: 93038-8</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-94</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93040-4/93038-8'</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>: rule-95</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-99</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93039-6/93028-9'</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>: 93028-9</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-100</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93039-6/93028-9'</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>: rule-101</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-105</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93039-6/93027-1'</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>: 93027-1</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-106</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93039-6/93027-1'</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>: rule-107</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-111</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93039-6/93026-3'</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>: 93026-3</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-112</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93039-6/76501-6'</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>: 76501-6</p></blockquote></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>SetValueCodeableConcept</td><td>answerItem, observation</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-113</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93039-6/76501-6'</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>: rule-114</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-118</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93042-0/71802-3' and answer.valueCoding.code ='LA30190-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>: 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><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformCondition</p><p><b>variable</b>: src, bundle, condition, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: SetConditionCodeAndEvidence1</p><p><b>variable</b>: src, bundle, condition</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-119</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Context</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>linkId = '/93041-2/67875-5' and answer.valueCoding.code ='LA17956-6'</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><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformCondition</p><p><b>variable</b>: src, bundle, condition, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: SetConditionCodeAndEvidence2</p><p><b>variable</b>: src, bundle, condition</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetValue</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: answerItem</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-120</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><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>observation</td><td>variable</td><td>id</td><td>id</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: rule-121</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetValueCodeableConcept</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-122</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>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>: rule-123</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetValuesToComponents</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: answerItem</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: srcObservation</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-124</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>: component</p><p><b>variable</b>: newComponent</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: newComponent</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>: rule-125</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-126</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>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-127</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>type</b>: Any</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>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-128</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>Transform</b></td></tr><tr><td>*</td><td>condition</td><td>variable</td><td>id</td><td>uuid</td></tr></table><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>: rule-129</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>Transform</b></td></tr><tr><td>*</td><td>condition</td><td>variable</td><td>id</td><td>uuid</td></tr></table><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>: rule-130</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>: rule-131</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-132</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>: rule-133</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>: rule-134</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>: rule-135</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-139</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>: rule-140</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>: rule-141</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-142</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-143</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>: asserter</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>: rule-144</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-145</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>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-146</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><blockquote><p><b>group</b></p><p><b>name</b>: SetConditionCodeAndEvidence1</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>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-147</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>: rule-148</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-152</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-156</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>: rule-157</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-161</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>: rule-162</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetConditionCodeAndEvidence2</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>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-163</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>: rule-164</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-168</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-172</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>: rule-173</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-177</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>: rule-178</p></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>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-179</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>Transform</b></td></tr><tr><td>*</td><td>groupObservation</td><td>variable</td><td>id</td><td>uuid</td></tr></table><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>: rule-180</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>: rule-181</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>: rule-182</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>: rule-183</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>: rule-184</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-185</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>: rule-186</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>: rule-187</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-188</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-189</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>: 93025-5</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-190</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>: rule-191</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-192</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>: rule-193</p></blockquote></blockquote></blockquote></div>
  </text>
  <url
       value="http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapPRAPARE"/>
  <version value="1.0.0"/>
  <name value="SDOHCCStructureMapPRAPARE"/>
  <title value="SDOHCC StructureMap PRAPARE"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2021-08-05T20:07:39+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"/>
    </coding>
  </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-ObservationAssessment"/>
    <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="rule-1"/>
      <source>
        <context value="src"/>
      </source>
      <target>
        <context value="bundle"/>
        <contextType value="variable"/>
        <element value="id"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="SDOHCC-BundlePRAPAREExample"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="rule-2"/>
      <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="rule-3"/>
      <source>
        <context value="src"/>
        <element value="item"/>
        <variable value="rootItem"/>
      </source>
      <target>
        <context value="bundle"/>
        <contextType value="variable"/>
        <element value="entry"/>
        <variable value="entry"/>
      </target>
      <dependent>
        <name value="rootContent"/>
        <variable value="src"/>
        <variable value="rootItem"/>
        <variable value="bundle"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-4"/>
      <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"/>
        <variable value="bundle"/>
        <variable value="groupObservation"/>
        <variable value="entry"/>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="rootContent"/>
    <typeMode value="none"/>
    <input>
      <name value="qResponse"/>
      <type value="questionnaireResponse"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="rootItem"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="bundle"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-5"/>
      <source>
        <context value="rootItem"/>
        <element value="item"/>
        <variable value="groupItem"/>
      </source>
      <target>
        <context value="bundle"/>
        <contextType value="variable"/>
        <element value="entry"/>
        <variable value="entry"/>
      </target>
      <dependent>
        <name value="groupContent"/>
        <variable value="qResponse"/>
        <variable value="groupItem"/>
        <variable value="bundle"/>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="groupContent"/>
    <typeMode value="none"/>
    <input>
      <name value="qResponse"/>
      <type value="questionnaireResponse"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="groupItem"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="bundle"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-6"/>
      <source>
        <context value="groupItem"/>
        <element value="item"/>
        <variable value="questionItem"/>
      </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="observation"/>
        <transform value="create"/>
        <parameter>
          <valueString value="sdohccObservation"/>
        </parameter>
      </target>
      <dependent>
        <name value="TransformObservation"/>
        <variable value="qResponse"/>
        <variable value="questionItem"/>
        <variable value="bundle"/>
        <variable value="observation"/>
        <variable value="entry"/>
        <variable value="bundle"/>
      </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"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="bundle"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="observation"/>
      <type value="sdohccObservation"/>
      <mode value="target"/>
    </input>
    <input>
      <name value="entry"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <input>
      <name value="bundle"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-7"/>
      <source>
        <context value="src"/>
      </source>
      <target>
        <context value="observation"/>
        <contextType value="variable"/>
        <element value="id"/>
        <transform value="uuid"/>
      </target>
      <dependent>
        <name value="SetObservationFullUrl"/>
        <variable value="observation"/>
        <variable value="entry"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-8"/>
      <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="rule-9"/>
      <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="rule-10"/>
      <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="rule-11"/>
      <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="rule-12"/>
        <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="rule-13"/>
      <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="rule-14"/>
      <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="rule-15"/>
        <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="rule-16"/>
        <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="rule-17"/>
      <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="rule-18"/>
        <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="rule-19"/>
        <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="rule-20"/>
      <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="rule-21"/>
        <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="rule-22"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93043-8/56051-6&#39;"/>
      </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="56051-6"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-23"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93043-8/32624-9&#39;"/>
      </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="32624-9"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValuesToComponents"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-24"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93043-8/93035-4&#39;"/>
      </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="93035-4"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-25"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93043-8/93035-4&#39;"/>
      </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="rule-26"/>
        <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="rule-27"/>
          <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="rule-28"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="sdoh-category-unspecified"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-29"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="SDOH Category Unspecified"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-30"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93043-8/93034-7&#39;"/>
      </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="93034-7"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-31"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93043-8/93034-7&#39;"/>
      </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="rule-32"/>
        <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="rule-33"/>
          <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="rule-34"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="veteran-status"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-35"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Veteran Status"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-36"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93043-8/54899-0&#39;"/>
      </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="54899-0"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-37"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93042-0/63512-8&#39;"/>
      </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="63512-8"/>
        </parameter>
      </target>
      <rule>
        <name value="rule-38"/>
        <source>
          <context value="answerItem"/>
          <element value="answer"/>
          <variable value="answer"/>
        </source>
        <target>
          <context value="observation"/>
          <contextType value="variable"/>
          <element value="value"/>
          <variable value="newQty"/>
          <transform value="create"/>
          <parameter>
            <valueString value="Quantity"/>
          </parameter>
        </target>
        <rule>
          <name value="rule-39"/>
          <source>
            <context value="answer"/>
            <element value="value"/>
            <variable value="vs"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="value"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vs"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-40"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="unit"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="{#}"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-41"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="system"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="http://unitsofmeasure.org"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-42"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="{#}"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-43"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93042-0/71802-3&#39;"/>
      </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="71802-3"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-44"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93042-0/71802-3&#39;"/>
      </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="rule-45"/>
        <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="rule-46"/>
          <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="rule-47"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="homelessness"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-48"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Homelessness"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-49"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93042-0/93033-9&#39;"/>
      </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="93033-9"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-50"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93042-0/93033-9&#39;"/>
      </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="rule-51"/>
        <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="rule-52"/>
          <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="rule-53"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="housing-instability"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-54"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Housing Instability"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-55"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93042-0/56799-0&#39;"/>
      </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="56799-0"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValue"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-56"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/82589-3&#39;"/>
      </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="82589-3"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-57"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/82589-3&#39;"/>
      </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="rule-58"/>
        <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="rule-59"/>
          <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="rule-60"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="educational-attainment"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-61"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Educational Attainment"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-62"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/67875-5&#39;"/>
      </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="67875-5"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-63"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/67875-5&#39;"/>
      </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="rule-64"/>
        <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="rule-65"/>
          <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="rule-66"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="employment-status"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-67"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Employment Status"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-68"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/76437-3&#39;"/>
      </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="76437-3"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-69"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/63586-2&#39;"/>
      </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="63586-2"/>
        </parameter>
      </target>
      <rule>
        <name value="rule-70"/>
        <source>
          <context value="answerItem"/>
          <element value="answer"/>
          <variable value="answer"/>
        </source>
        <target>
          <context value="observation"/>
          <contextType value="variable"/>
          <element value="value"/>
          <variable value="newQty"/>
          <transform value="create"/>
          <parameter>
            <valueString value="Quantity"/>
          </parameter>
        </target>
        <rule>
          <name value="rule-71"/>
          <source>
            <context value="answer"/>
            <element value="value"/>
            <variable value="vs"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="value"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vs"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-72"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="unit"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="/a"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-73"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="system"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="http://unitsofmeasure.org"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-74"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newQty"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="/a"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-75"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/93031-3&#39;"/>
      </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="93031-3"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValuesToComponents"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-76"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/93031-3&#39;"/>
      </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="rule-77"/>
        <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="rule-78"/>
          <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="rule-79"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="sdoh-category-unspecified"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-80"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="SDOH Category Unspecified"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-81"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/93030-5&#39;"/>
      </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="93030-5"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-82"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93041-2/93030-5&#39;"/>
      </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="rule-83"/>
        <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="rule-84"/>
          <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="rule-85"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="transportation-insecurity"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-86"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Transportation Insecurity"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-87"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93040-4/93029-7&#39;"/>
      </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="93029-7"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-88"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93040-4/93029-7&#39;"/>
      </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="rule-89"/>
        <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="rule-90"/>
          <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="rule-91"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="sdoh-category-unspecified"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-92"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="SDOH Category Unspecified"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-93"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93040-4/93038-8&#39;"/>
      </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="93038-8"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-94"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93040-4/93038-8&#39;"/>
      </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="rule-95"/>
        <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="rule-96"/>
          <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="rule-97"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="stress"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-98"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Stress"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-99"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93039-6/93028-9&#39;"/>
      </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="93028-9"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-100"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93039-6/93028-9&#39;"/>
      </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="rule-101"/>
        <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="rule-102"/>
          <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="rule-103"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="sdoh-category-unspecified"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-104"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="SDOH Category Unspecified"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-105"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93039-6/93027-1&#39;"/>
      </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="93027-1"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-106"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93039-6/93027-1&#39;"/>
      </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="rule-107"/>
        <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="rule-108"/>
          <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="rule-109"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="sdoh-category-unspecified"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-110"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="SDOH Category Unspecified"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-111"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93039-6/93026-3&#39;"/>
      </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="93026-3"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-112"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93039-6/76501-6&#39;"/>
      </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="76501-6"/>
        </parameter>
      </target>
      <dependent>
        <name value="SetValueCodeableConcept"/>
        <variable value="answerItem"/>
        <variable value="observation"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-113"/>
      <source>
        <context value="answerItem"/>
        <condition value="linkId = &#39;/93039-6/76501-6&#39;"/>
      </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="rule-114"/>
        <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="rule-115"/>
          <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="rule-116"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="sdoh-category-unspecified"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-117"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="SDOH Category Unspecified"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-118"/>
      <source>
        <context value="answerItem"/>
        <condition
                   value="linkId = &#39;/93042-0/71802-3&#39; and answer.valueCoding.code =&#39;LA30190-5&#39;"/>
      </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"/>
        <variable value="bundle"/>
        <variable value="condition"/>
        <variable value="entry"/>
      </dependent>
      <dependent>
        <name value="SetConditionCodeAndEvidence1"/>
        <variable value="src"/>
        <variable value="bundle"/>
        <variable value="condition"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-119"/>
      <source>
        <context value="answerItem"/>
        <condition
                   value="linkId = &#39;/93041-2/67875-5&#39; and answer.valueCoding.code =&#39;LA17956-6&#39;"/>
      </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"/>
        <variable value="bundle"/>
        <variable value="condition"/>
        <variable value="entry"/>
      </dependent>
      <dependent>
        <name value="SetConditionCodeAndEvidence2"/>
        <variable value="src"/>
        <variable value="bundle"/>
        <variable value="condition"/>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="SetValue"/>
    <typeMode value="none"/>
    <input>
      <name value="answerItem"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="observation"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-120"/>
      <source>
        <context value="answerItem"/>
        <element value="answer"/>
        <variable value="answer"/>
      </source>
      <target>
        <context value="observation"/>
        <contextType value="variable"/>
        <element value="id"/>
        <variable value="id"/>
      </target>
      <rule>
        <name value="rule-121"/>
        <source>
          <context value="answer"/>
          <element value="value"/>
          <variable value="vs"/>
        </source>
        <target>
          <context value="observation"/>
          <contextType value="variable"/>
          <element value="value"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vs"/>
          </parameter>
        </target>
      </rule>
    </rule>
  </group>
  <group>
    <name value="SetValueCodeableConcept"/>
    <typeMode value="none"/>
    <input>
      <name value="src"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="observation"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-122"/>
      <source>
        <context value="src"/>
        <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="rule-123"/>
        <source>
          <context value="answer"/>
          <element value="valueCoding"/>
          <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>
  </group>
  <group>
    <name value="SetValuesToComponents"/>
    <typeMode value="none"/>
    <input>
      <name value="answerItem"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="srcObservation"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="observation"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-124"/>
      <source>
        <context value="answerItem"/>
        <element value="answer"/>
        <variable value="answer"/>
      </source>
      <target>
        <context value="observation"/>
        <contextType value="variable"/>
        <element value="component"/>
        <variable value="newComponent"/>
      </target>
      <target>
        <context value="newComponent"/>
        <contextType value="variable"/>
        <element value="value"/>
        <variable value="newCC"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <rule>
        <name value="rule-125"/>
        <source>
          <context value="answer"/>
          <element value="valueCoding"/>
          <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>
        <name value="rule-126"/>
        <source>
          <context value="srcObservation"/>
          <element value="code"/>
          <variable value="code"/>
        </source>
        <target>
          <context value="newComponent"/>
          <contextType value="variable"/>
          <element value="code"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="code"/>
          </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"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-127"/>
      <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"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="condition"/>
      <type value="sdohccCondition"/>
      <mode value="target"/>
    </input>
    <input>
      <name value="entry"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-128"/>
      <source>
        <context value="src"/>
      </source>
      <target>
        <context value="condition"/>
        <contextType value="variable"/>
        <element value="id"/>
        <transform value="uuid"/>
      </target>
      <dependent>
        <name value="SetConditionFullUrl"/>
        <variable value="condition"/>
        <variable value="entry"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-129"/>
      <source>
        <context value="src"/>
      </source>
      <target>
        <context value="condition"/>
        <contextType value="variable"/>
        <element value="id"/>
        <transform value="uuid"/>
      </target>
      <dependent>
        <name value="SetConditionFullUrl"/>
        <variable value="condition"/>
        <variable value="entry"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-130"/>
      <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="rule-131"/>
        <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="rule-132"/>
      <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="rule-133"/>
      <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="rule-134"/>
      <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="rule-135"/>
        <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="rule-136"/>
          <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="rule-137"/>
          <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="rule-138"/>
          <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="rule-139"/>
      <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="rule-140"/>
      <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="rule-141"/>
        <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="rule-142"/>
        <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="rule-143"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="qSubject"/>
      </source>
      <target>
        <context value="condition"/>
        <contextType value="variable"/>
        <element value="asserter"/>
        <variable value="newReference"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Reference"/>
        </parameter>
      </target>
      <rule>
        <name value="rule-144"/>
        <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="rule-145"/>
        <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>
  </group>
  <group>
    <name value="SetConditionFullUrl"/>
    <typeMode value="none"/>
    <input>
      <name value="condition"/>
      <type value="sdohccCondition"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="entry"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-146"/>
      <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>
  <group>
    <name value="SetConditionCodeAndEvidence1"/>
    <typeMode value="none"/>
    <input>
      <name value="src"/>
      <type value="questionnaireResponse"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="bundle"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="condition"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-147"/>
      <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="rule-148"/>
        <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="rule-149"/>
          <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="rule-150"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="32911000"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-151"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Homeless"/>
            </parameter>
          </target>
        </rule>
      </rule>
      <rule>
        <name value="rule-152"/>
        <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="rule-153"/>
          <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="rule-154"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding2"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Z59.0"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-155"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding2"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Homelessness"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-156"/>
      <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="rule-157"/>
        <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="rule-158"/>
          <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="rule-159"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="homelessness"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-160"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Homelessness"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-161"/>
      <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="rule-162"/>
        <source>
          <context value="entries"/>
          <element value="resource"/>
          <variable value="obs"/>
          <condition value="code.coding.code = &#39;71802-3&#39;"/>
        </source>
        <target>
          <context value="detailReference"/>
          <contextType value="variable"/>
          <element value="reference"/>
          <transform value="reference"/>
          <parameter>
            <valueId value="obs"/>
          </parameter>
        </target>
      </rule>
    </rule>
  </group>
  <group>
    <name value="SetConditionCodeAndEvidence2"/>
    <typeMode value="none"/>
    <input>
      <name value="src"/>
      <type value="questionnaireResponse"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="bundle"/>
      <type value="Any"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="condition"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-163"/>
      <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="rule-164"/>
        <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="rule-165"/>
          <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="rule-166"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="73438004"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-167"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Unemployed"/>
            </parameter>
          </target>
        </rule>
      </rule>
      <rule>
        <name value="rule-168"/>
        <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="rule-169"/>
          <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="rule-170"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding2"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Z56.0"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-171"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding2"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Unemployment, unspecified"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-172"/>
      <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="rule-173"/>
        <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="rule-174"/>
          <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="rule-175"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="employment-status"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="rule-176"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="newCoding"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="Employment Status"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="rule-177"/>
      <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="rule-178"/>
        <source>
          <context value="entries"/>
          <element value="resource"/>
          <variable value="obs"/>
          <condition value="code.coding.code = &#39;67875-5&#39;"/>
        </source>
        <target>
          <context value="detailReference"/>
          <contextType value="variable"/>
          <element value="reference"/>
          <transform value="reference"/>
          <parameter>
            <valueId value="obs"/>
          </parameter>
        </target>
      </rule>
    </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"/>
      <type value="Any"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rule-179"/>
      <source>
        <context value="src"/>
      </source>
      <target>
        <context value="groupObservation"/>
        <contextType value="variable"/>
        <element value="id"/>
        <transform value="uuid"/>
      </target>
      <dependent>
        <name value="SetObservationFullUrl"/>
        <variable value="groupObservation"/>
        <variable value="entry"/>
      </dependent>
    </rule>
    <rule>
      <name value="rule-180"/>
      <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="rule-181"/>
      <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="rule-182"/>
      <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="rule-183"/>
      <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="rule-184"/>
        <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="rule-185"/>
      <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="rule-186"/>
      <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="rule-187"/>
        <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="rule-188"/>
        <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="rule-189"/>
      <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="93025-5"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="rule-190"/>
      <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="rule-191"/>
        <source>
          <context value="entries"/>
          <element value="resource"/>
          <variable value="obs"/>
          <condition value="status.exists() and hasMember.exists().not()"/>
        </source>
        <target>
          <context value="df"/>
          <contextType value="variable"/>
          <element value="reference"/>
          <transform value="reference"/>
          <parameter>
            <valueId value="obs"/>
          </parameter>
        </target>
      </rule>
    </rule>
    <rule>
      <name value="rule-192"/>
      <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="rule-193"/>
        <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>
</StructureMap>