This page is part of the SDOH Clinical Care for Multiple Domains (v2.0.0: STU 2) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Draft as of 2022-11-21 |
{
"resourceType" : "StructureMap",
"id" : "SDOHCC-StructureMapPRAPARE",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: StructureMap</b><a name=\"SDOHCC-StructureMapPRAPARE\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource StructureMap "SDOHCC-StructureMapPRAPARE" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapPRAPARE</code></p><p><b>version</b>: 2.0.0</p><p><b>name</b>: SDOHCCStructureMapPRAPARE</p><p><b>status</b>: draft</p><p><b>date</b>: 2022-11-21 06:34:14+0000</p><p><b>publisher</b>: HL7 International - Patient Care WG</p><p><b>contact</b>: HL7 International - Patient Care: <a href=\"http://www.hl7.org/Special/committees/patientcare\">http://www.hl7.org/Special/committees/patientcare</a></p><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-ISO3166Part1.html\">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html\">SDC Questionnaire Response</a></p><p><b>mode</b>: source</p><p><b>alias</b>: questionnaireResponse</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a></p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"StructureDefinition-SDOHCC-Condition.html\">SDOHCC Condition</a></p><p><b>mode</b>: target</p><p><b>alias</b>: sdohccCondition</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"StructureDefinition-SDOHCC-ObservationScreeningResponse.html\">SDOHCC Observation Screening Response</a></p><p><b>mode</b>: target</p><p><b>alias</b>: sdohccObservation</p></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: sdohMapping</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Bundle</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: bundle-id</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-BundlePRAPAREExample</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: bundle-type</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: type</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>transaction</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: item</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></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>: bundle-group-obsn</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: groupObservation</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>TransformGroupObservation</td><td>src, bundle, groupObservation, entry</td></tr></table></blockquote></blockquote><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>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: item</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></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>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: item</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>groupItem</td><td>item</td><td>answerItem</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>itemContent</td><td>qResponse, answerItem, bundle</td></tr></table></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: itemContent</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>: answerItem</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn</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>(answerItem.linkId != '/93043-8/32624-9') and (answerItem.linkId != '/93041-2/93031-3') and (answerItem.linkId != '/93041-2/93030-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>: 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, answerItem, bundle, observation, entry, bundle</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: answer</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>answerItem</td><td>answer</td><td>answer</td><td>(answerItem.linkId = '/93043-8/32624-9') or (answerItem.linkId = '/93041-2/93031-3') or (answerItem.linkId = '/93041-2/93030-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>: 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><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation</p><p><b>variable</b>: qResponse, answerItem, bundle, observation, entry, bundle</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: SetValueCodeableConceptFromAnswer</p><p><b>variable</b>: answer, observation</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetValueCodeableConceptFromAnswer</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: answer</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-value</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>answer</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: value</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: value</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: answerItem</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-full-url</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><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>: obsn-status</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: status</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>final</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-social-history</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: social-history</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Social History</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-survey</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: survey</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Survey</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-meta</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-meta-profile</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: authored</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: issued</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: effective</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: performer</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-derived-from</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>: obsn-derived-from-reference</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-ethnicity</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>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obs-code-race</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></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-farm-worker-status</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-vet-status</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-eng-prof</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>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-household-size</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>: obsn-value</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-housing</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-housing-status</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-neighborhood</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>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-education</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-employment</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-insurance</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>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-household-income</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>: obsn-value</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-material-security</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></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-transportation</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></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-soc-integ</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-stress</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-incarceration</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-refugee</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-safety</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>: obsn-cat</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>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-code-dom-violence</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>: obsn-cat</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>: obsn-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-homeless</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.value.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>: condition-unemployed</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.value.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><p><b>rule</b></p><p><b>name</b>: obsn-entry-request</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><h3>Targets</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>ContextType</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>entry</td><td>variable</td><td>request</td><td>request</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-request-method</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-request-url</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetValue</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: answerItem</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: answer</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>answerItem</td><td>answer</td><td>answer</td></tr></table><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>: value</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>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: answer</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>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>: value</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>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: srcObservation</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: answer</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>answerItem</td><td>answer</td><td>answer</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: 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>: value</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: code</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetObservationFullUrl</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: Observation</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: id</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>observation</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: fullUrl</p><p><b>transform</b>: append</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: id</p></blockquote></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformCondition</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: sdohccCondition</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-full-url</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><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>: conditionMeta</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-meta-profile</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-clinical-status</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: clinicalStatus</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/condition-clinical</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: active</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Active</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-verification-status</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: verificationStatus</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/condition-ver-status</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: unconfirmed</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Unconfirmed</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-onset</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>: subject</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: subject</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: 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>: reference</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-entry-request</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><h3>Targets</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>ContextType</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>entry</td><td>variable</td><td>request</td><td>request</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: condition-request-method</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-request-url</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetConditionFullUrl</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: sdohccCondition</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: id</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>condition</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: fullUrl</p><p><b>transform</b>: append</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: id</p></blockquote></blockquote></blockquote></blockquote><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>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-code</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: newCodeCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-coding</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: entry</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: evidence</p><p><b>variable</b>: evidence</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: evidence</p><p><b>contextType</b>: variable</p><p><b>element</b>: detail</p><p><b>variable</b>: detailReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-evidence</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>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-code</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: newCodeCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-coding</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-cat-coding</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: entry</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: evidence</p><p><b>variable</b>: evidence</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: evidence</p><p><b>contextType</b>: variable</p><p><b>element</b>: detail</p><p><b>variable</b>: detailReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: condition-evidence</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>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsnFullUrl</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>: grp-obsn-status</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: status</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>final</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-cat-social-history</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: social-history</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Social History</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-cat-survey</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: survey</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Survey</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grpObsMeta</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-meta-profile</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: authored</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: effective</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-subject</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-subj-ref</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-subj-display</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-code</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 93025-5</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-has-member</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>: grp-obsn-has-member-reference</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-derived-from</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: grp-obsn-derived-from-reference</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-entry-request</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><h3>Targets</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>ContextType</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>entry</td><td>variable</td><td>request</td><td>request</td></tr></table><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-request-method</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: obsn-request-url</p></blockquote></blockquote></blockquote></div>"
},
"url" : "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapPRAPARE",
"version" : "2.0.0",
"name" : "SDOHCCStructureMapPRAPARE",
"status" : "draft",
"date" : "2022-11-21T18:34:14+00:00",
"publisher" : "HL7 International - Patient Care WG",
"contact" : [
{
"name" : "HL7 International - Patient Care",
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/patientcare"
}
]
}
],
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "US",
"display" : "United States of America"
}
],
"text" : "United States of America"
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse",
"mode" : "source",
"alias" : "questionnaireResponse"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Observation",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition",
"mode" : "target",
"alias" : "sdohccCondition"
},
{
"url" : "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse",
"mode" : "target",
"alias" : "sdohccObservation"
}
],
"group" : [
{
"name" : "sdohMapping",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "bundle",
"type" : "Bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "bundle-id",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "id",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOHCC-BundlePRAPAREExample"
}
]
}
]
},
{
"name" : "bundle-type",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueString" : "transaction"
}
]
}
]
},
{
"name" : "item",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "rootItem"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
}
],
"dependent" : [
{
"name" : "rootContent",
"variable" : [
"src",
"rootItem",
"bundle"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "bundle-group-obsn",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "groupObservation",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccObservation"
}
]
}
],
"dependent" : [
{
"name" : "TransformGroupObservation",
"variable" : [
"src",
"bundle",
"groupObservation",
"entry"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
}
]
},
{
"name" : "rootContent",
"typeMode" : "none",
"input" : [
{
"name" : "qResponse",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "rootItem",
"mode" : "source"
},
{
"name" : "bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "item",
"source" : [
{
"context" : "rootItem",
"element" : "item",
"variable" : "groupItem"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
}
],
"dependent" : [
{
"name" : "groupContent",
"variable" : [
"qResponse",
"groupItem",
"bundle"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
}
]
},
{
"name" : "groupContent",
"typeMode" : "none",
"input" : [
{
"name" : "qResponse",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "groupItem",
"mode" : "source"
},
{
"name" : "bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "item",
"source" : [
{
"context" : "groupItem",
"element" : "item",
"variable" : "answerItem"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
}
],
"dependent" : [
{
"name" : "itemContent",
"variable" : [
"qResponse",
"answerItem",
"bundle"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
}
]
},
{
"name" : "itemContent",
"typeMode" : "none",
"input" : [
{
"name" : "qResponse",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "answerItem",
"mode" : "source"
},
{
"name" : "bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "obsn",
"source" : [
{
"context" : "answerItem",
"condition" : "(answerItem.linkId != '/93043-8/32624-9') and (answerItem.linkId != '/93041-2/93031-3') and (answerItem.linkId != '/93041-2/93030-5')"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "observation",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccObservation"
}
]
}
],
"dependent" : [
{
"name" : "TransformObservation",
"variable" : [
"qResponse",
"answerItem",
"bundle",
"observation",
"entry",
"bundle"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "answer",
"source" : [
{
"context" : "answerItem",
"element" : "answer",
"variable" : "answer",
"condition" : "(answerItem.linkId = '/93043-8/32624-9') or (answerItem.linkId = '/93041-2/93031-3') or (answerItem.linkId = '/93041-2/93030-5')"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "observation",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccObservation"
}
]
}
],
"dependent" : [
{
"name" : "TransformObservation",
"variable" : [
"qResponse",
"answerItem",
"bundle",
"observation",
"entry",
"bundle"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
},
{
"name" : "SetValueCodeableConceptFromAnswer",
"variable" : [
"answer",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValueCodeableConceptFromAnswer",
"typeMode" : "none",
"input" : [
{
"name" : "answer",
"mode" : "source"
},
{
"name" : "observation",
"mode" : "target"
}
],
"rule" : [
{
"name" : "obsn-value",
"source" : [
{
"context" : "answer"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "value",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "answer",
"element" : "value",
"variable" : "coding"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "copy",
"parameter" : [
{
"valueId" : "coding"
}
]
}
]
}
]
}
]
},
{
"name" : "TransformObservation",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "answerItem",
"mode" : "source"
},
{
"name" : "bundle",
"mode" : "source"
},
{
"name" : "observation",
"type" : "sdohccObservation",
"mode" : "target"
},
{
"name" : "entry",
"mode" : "target"
},
{
"name" : "bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "obsn-full-url",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "id",
"transform" : "uuid"
}
],
"dependent" : [
{
"name" : "SetObservationFullUrl",
"variable" : [
"observation",
"entry"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-status",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "status",
"transform" : "copy",
"parameter" : [
{
"valueString" : "final"
}
]
}
]
},
{
"name" : "obsn-cat-social-history",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://terminology.hl7.org/CodeSystem/observation-category"
},
{
"valueString" : "social-history"
},
{
"valueString" : "Social History"
}
]
}
]
},
{
"name" : "obsn-cat-survey",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://terminology.hl7.org/CodeSystem/observation-category"
},
{
"valueString" : "survey"
},
{
"valueString" : "Survey"
}
]
}
]
},
{
"name" : "obsn-meta",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "meta",
"variable" : "newMeta",
"transform" : "create",
"parameter" : [
{
"valueString" : "Meta"
}
]
}
],
"rule" : [
{
"name" : "obsn-meta-profile",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newMeta",
"contextType" : "variable",
"element" : "profile",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse"
}
]
}
]
}
]
},
{
"name" : "authored",
"source" : [
{
"context" : "src",
"element" : "authored",
"variable" : "authored"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "issued",
"transform" : "copy",
"parameter" : [
{
"valueId" : "authored"
}
]
},
{
"context" : "observation",
"contextType" : "variable",
"element" : "effective",
"transform" : "copy",
"parameter" : [
{
"valueId" : "authored"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "subject",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "reference",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "display",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "performer",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "reference",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "display",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
},
{
"name" : "obsn-derived-from",
"source" : [
{
"context" : "src",
"element" : "id",
"variable" : "id"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "derivedFrom",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "obsn-derived-from-reference",
"source" : [
{
"context" : "id"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "append",
"parameter" : [
{
"valueString" : "QuestionnaireResponse/"
},
{
"valueId" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-code-ethnicity",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/56051-6'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "56051-6"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/56051-6'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obs-code-race",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/32624-9'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "32624-9"
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/32624-9'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-farm-worker-status",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/93035-4'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93035-4"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/93035-4'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-vet-status",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/93034-7'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93034-7"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/93034-7'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "veteran-status"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Veteran Status"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-eng-prof",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/54899-0'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "54899-0"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93043-8/54899-0'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-household-size",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/63512-8'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "63512-8"
}
]
}
],
"rule" : [
{
"name" : "obsn-value",
"source" : [
{
"context" : "answerItem",
"element" : "answer",
"variable" : "answer"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "value",
"variable" : "newQty",
"transform" : "create",
"parameter" : [
{
"valueString" : "Quantity"
}
]
}
],
"rule" : [
{
"name" : "obsn-qty-value",
"source" : [
{
"context" : "answer",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs"
}
]
}
]
},
{
"name" : "obsn-qty-unit",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "unit",
"transform" : "copy",
"parameter" : [
{
"valueString" : "{#}"
}
]
}
]
},
{
"name" : "obsn-qty-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://unitsofmeasure.org"
}
]
}
]
},
{
"name" : "obsn-qty-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "{#}"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/63512-8'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-housing",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/71802-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "71802-3"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/71802-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "homelessness"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Homelessness"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-housing-status",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/93033-9'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93033-9"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/93033-9'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "housing-instability"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Housing Instability"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-neighborhood",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/56799-0'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "56799-0"
}
]
}
],
"dependent" : [
{
"name" : "SetValue",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93042-0/56799-0'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-education",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/82589-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "82589-3"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/82589-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "educational-attainment"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Educational Attainment"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-employment",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/67875-5'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "67875-5"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/67875-5'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "employment-status"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Employment Status"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-insurance",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/76437-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "76437-3"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/76437-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "health-insurance-coverage-status"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Health Insurance Coverage Status"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-household-income",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/63586-2'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "63586-2"
}
]
}
],
"rule" : [
{
"name" : "obsn-value",
"source" : [
{
"context" : "answerItem",
"element" : "answer",
"variable" : "answer"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "value",
"variable" : "newQty",
"transform" : "create",
"parameter" : [
{
"valueString" : "Quantity"
}
]
}
],
"rule" : [
{
"name" : "obsn-qty-value",
"source" : [
{
"context" : "answer",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs"
}
]
}
]
},
{
"name" : "obsn-qty-unit",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "unit",
"transform" : "copy",
"parameter" : [
{
"valueString" : "/a"
}
]
}
]
},
{
"name" : "obsn-qty-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://unitsofmeasure.org"
}
]
}
]
},
{
"name" : "obsn-qty-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newQty",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "/a"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/63586-2'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-material-security",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/93031-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93031-3"
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/93031-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "material-hardship"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Material Hardship"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-transportation",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/93030-5'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93030-5"
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93041-2/93030-5'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "transportation-insecurity"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Transportation Insecurity"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-soc-integ",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93040-4/93029-7'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93029-7"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93040-4/93029-7'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "social-connection"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Social Connection"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-stress",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93040-4/93038-8'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93038-8"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93040-4/93038-8'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "stress"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Stress"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-incarceration",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/93028-9'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93028-9"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/93028-9'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-refugee",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/93027-1'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93027-1"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/93027-1'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-safety",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/93026-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93026-3"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/93026-3'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "sdoh-category-unspecified"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOH Category Unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "obsn-code-dom-violence",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/76501-6'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "76501-6"
}
]
}
],
"dependent" : [
{
"name" : "SetValueCodeableConcept",
"variable" : [
"answerItem",
"observation"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-cat",
"source" : [
{
"context" : "answerItem",
"condition" : "linkId = '/93039-6/76501-6'"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "obsn-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "obsn-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "intimate-partner-violence"
}
]
}
]
},
{
"name" : "obsn-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Intimate Partner Violence"
}
]
}
]
}
]
}
]
},
{
"name" : "condition-homeless",
"source" : [
{
"context" : "answerItem",
"condition" : "(linkId = '/93042-0/71802-3') and (answer.value.code = 'LA30190-5')"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "condition",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccCondition"
}
]
}
],
"dependent" : [
{
"name" : "TransformCondition",
"variable" : [
"src",
"bundle",
"condition",
"entry"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
},
{
"name" : "SetConditionCodeAndEvidence1",
"variable" : [
"src",
"bundle",
"condition"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "condition-unemployed",
"source" : [
{
"context" : "answerItem",
"condition" : "(linkId = '/93041-2/67875-5') and (answer.value.code = 'LA17956-6')"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "condition",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccCondition"
}
]
}
],
"dependent" : [
{
"name" : "TransformCondition",
"variable" : [
"src",
"bundle",
"condition",
"entry"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
},
{
"name" : "SetConditionCodeAndEvidence2",
"variable" : [
"src",
"bundle",
"condition"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-entry-request",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "entry",
"contextType" : "variable",
"element" : "request",
"variable" : "request"
}
],
"rule" : [
{
"name" : "obsn-request-method",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "request",
"contextType" : "variable",
"element" : "method",
"transform" : "copy",
"parameter" : [
{
"valueString" : "POST"
}
]
}
]
},
{
"name" : "obsn-request-url",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "request",
"contextType" : "variable",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Observation"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"typeMode" : "none",
"input" : [
{
"name" : "answerItem",
"mode" : "source"
},
{
"name" : "observation",
"mode" : "target"
}
],
"rule" : [
{
"name" : "answer",
"source" : [
{
"context" : "answerItem",
"element" : "answer",
"variable" : "answer"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "id",
"variable" : "id"
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "answer",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValueCodeableConcept",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "observation",
"mode" : "target"
}
],
"rule" : [
{
"name" : "answer",
"source" : [
{
"context" : "src",
"element" : "answer",
"variable" : "answer"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "value",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "answer",
"element" : "value",
"variable" : "coding"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "copy",
"parameter" : [
{
"valueId" : "coding"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValuesToComponents",
"typeMode" : "none",
"input" : [
{
"name" : "answerItem",
"mode" : "source"
},
{
"name" : "srcObservation",
"mode" : "source"
},
{
"name" : "observation",
"mode" : "target"
}
],
"rule" : [
{
"name" : "answer",
"source" : [
{
"context" : "answerItem",
"element" : "answer",
"variable" : "answer"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "component",
"variable" : "newComponent"
},
{
"context" : "newComponent",
"contextType" : "variable",
"element" : "value",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "answer",
"element" : "value",
"variable" : "coding"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "copy",
"parameter" : [
{
"valueId" : "coding"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "srcObservation",
"element" : "code",
"variable" : "code"
}
],
"target" : [
{
"context" : "newComponent",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueId" : "code"
}
]
}
]
}
]
}
]
},
{
"name" : "SetObservationFullUrl",
"typeMode" : "none",
"input" : [
{
"name" : "observation",
"type" : "Observation",
"mode" : "source"
},
{
"name" : "entry",
"mode" : "target"
}
],
"rule" : [
{
"name" : "id",
"source" : [
{
"context" : "observation",
"element" : "id",
"variable" : "id"
}
],
"target" : [
{
"context" : "entry",
"contextType" : "variable",
"element" : "fullUrl",
"transform" : "append",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/"
},
{
"valueId" : "id"
}
]
}
]
}
]
},
{
"name" : "TransformCondition",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "bundle",
"mode" : "source"
},
{
"name" : "condition",
"type" : "sdohccCondition",
"mode" : "target"
},
{
"name" : "entry",
"mode" : "target"
}
],
"rule" : [
{
"name" : "condition-full-url",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "id",
"transform" : "uuid"
}
],
"dependent" : [
{
"name" : "SetConditionFullUrl",
"variable" : [
"condition",
"entry"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "conditionMeta",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "meta",
"variable" : "newMeta",
"transform" : "create",
"parameter" : [
{
"valueString" : "Meta"
}
]
}
],
"rule" : [
{
"name" : "condition-meta-profile",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newMeta",
"contextType" : "variable",
"element" : "profile",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition"
}
]
}
]
}
]
},
{
"name" : "condition-clinical-status",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "clinicalStatus",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://terminology.hl7.org/CodeSystem/condition-clinical"
},
{
"valueString" : "active"
},
{
"valueString" : "Active"
}
]
}
]
},
{
"name" : "condition-verification-status",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "verificationStatus",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://terminology.hl7.org/CodeSystem/condition-ver-status"
},
{
"valueString" : "unconfirmed"
},
{
"valueString" : "Unconfirmed"
}
]
}
]
},
{
"name" : "condition-cat",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "condition-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "condition-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/core/CodeSystem/condition-category"
}
]
}
]
},
{
"name" : "condition-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "health-concern"
}
]
}
]
},
{
"name" : "condition-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Health Concern"
}
]
}
]
}
]
}
]
},
{
"name" : "condition-onset",
"source" : [
{
"context" : "src",
"element" : "authored",
"variable" : "authored"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "onset",
"variable" : "period",
"transform" : "create",
"parameter" : [
{
"valueString" : "Period"
}
]
},
{
"context" : "period",
"contextType" : "variable",
"element" : "start",
"transform" : "copy",
"parameter" : [
{
"valueId" : "authored"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "subject",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "reference",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "display",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "asserter",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "reference",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "display",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
},
{
"name" : "condition-entry-request",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "entry",
"contextType" : "variable",
"element" : "request",
"variable" : "request"
}
],
"rule" : [
{
"name" : "condition-request-method",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "request",
"contextType" : "variable",
"element" : "method",
"transform" : "copy",
"parameter" : [
{
"valueString" : "POST"
}
]
}
]
},
{
"name" : "condition-request-url",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "request",
"contextType" : "variable",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Condition"
}
]
}
]
}
]
}
]
},
{
"name" : "SetConditionFullUrl",
"typeMode" : "none",
"input" : [
{
"name" : "condition",
"type" : "sdohccCondition",
"mode" : "source"
},
{
"name" : "entry",
"mode" : "target"
}
],
"rule" : [
{
"name" : "id",
"source" : [
{
"context" : "condition",
"element" : "id",
"variable" : "id"
}
],
"target" : [
{
"context" : "entry",
"contextType" : "variable",
"element" : "fullUrl",
"transform" : "append",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/"
},
{
"valueId" : "id"
}
]
}
]
}
]
},
{
"name" : "SetConditionCodeAndEvidence1",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "bundle",
"mode" : "source"
},
{
"name" : "condition",
"mode" : "target"
}
],
"rule" : [
{
"name" : "condition-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "code",
"variable" : "newCodeCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "condition-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCodeCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "condition-code-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://snomed.info/sct"
}
]
}
]
},
{
"name" : "condition-code-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "32911000"
}
]
}
]
},
{
"name" : "condition-code-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Homeless"
}
]
}
]
}
]
},
{
"name" : "condition-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCodeCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding2",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "condition-code-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding2",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/sid/icd-10-cm"
}
]
}
]
},
{
"name" : "condition-code-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding2",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Z59.0"
}
]
}
]
},
{
"name" : "condition-code-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding2",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Homelessness"
}
]
}
]
}
]
}
]
},
{
"name" : "condition-cat",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "condition-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "condition-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "condition-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "homelessness"
}
]
}
]
},
{
"name" : "condition-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Homelessness"
}
]
}
]
}
]
}
]
},
{
"name" : "entry",
"source" : [
{
"context" : "bundle",
"element" : "entry",
"variable" : "entries"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "evidence",
"variable" : "evidence"
},
{
"context" : "evidence",
"contextType" : "variable",
"element" : "detail",
"variable" : "detailReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "condition-evidence",
"source" : [
{
"context" : "entries",
"element" : "resource",
"variable" : "obs",
"condition" : "code.coding.code = '71802-3'"
}
],
"target" : [
{
"context" : "detailReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "reference",
"parameter" : [
{
"valueId" : "obs"
}
]
}
]
}
]
}
]
},
{
"name" : "SetConditionCodeAndEvidence2",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "bundle",
"mode" : "source"
},
{
"name" : "condition",
"mode" : "target"
}
],
"rule" : [
{
"name" : "condition-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "code",
"variable" : "newCodeCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "condition-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCodeCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "condition-code-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://snomed.info/sct"
}
]
}
]
},
{
"name" : "condition-code-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "73438004"
}
]
}
]
},
{
"name" : "condition-code-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Unemployed"
}
]
}
]
}
]
},
{
"name" : "condition-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCodeCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding2",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "condition-code-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding2",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/sid/icd-10-cm"
}
]
}
]
},
{
"name" : "condition-code-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding2",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Z56.0"
}
]
}
]
},
{
"name" : "condition-code-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding2",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Unemployment, unspecified"
}
]
}
]
}
]
}
]
},
{
"name" : "condition-cat",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "condition-cat-coding",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "condition-cat-coding-system",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"
}
]
}
]
},
{
"name" : "condition-cat-coding-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "employment-status"
}
]
}
]
},
{
"name" : "condition-cat-coding-display",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Employment Status"
}
]
}
]
}
]
}
]
},
{
"name" : "entry",
"source" : [
{
"context" : "bundle",
"element" : "entry",
"variable" : "entries"
}
],
"target" : [
{
"context" : "condition",
"contextType" : "variable",
"element" : "evidence",
"variable" : "evidence"
},
{
"context" : "evidence",
"contextType" : "variable",
"element" : "detail",
"variable" : "detailReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "condition-evidence",
"source" : [
{
"context" : "entries",
"element" : "resource",
"variable" : "obs",
"condition" : "code.coding.code = '67875-5'"
}
],
"target" : [
{
"context" : "detailReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "reference",
"parameter" : [
{
"valueId" : "obs"
}
]
}
]
}
]
}
]
},
{
"name" : "TransformGroupObservation",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "bundle",
"type" : "Bundle",
"mode" : "source"
},
{
"name" : "groupObservation",
"type" : "Observation",
"mode" : "target"
},
{
"name" : "entry",
"mode" : "target"
}
],
"rule" : [
{
"name" : "grp-obsnFullUrl",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "id",
"transform" : "uuid"
}
],
"dependent" : [
{
"name" : "SetObservationFullUrl",
"variable" : [
"groupObservation",
"entry"
],
"_variable" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/tools/StructureDefinition/original-item-type",
"valueUrl" : "id"
}
]
}
]
}
]
},
{
"name" : "grp-obsn-status",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "status",
"transform" : "copy",
"parameter" : [
{
"valueString" : "final"
}
]
}
]
},
{
"name" : "grp-obsn-cat-social-history",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "category",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://terminology.hl7.org/CodeSystem/observation-category"
},
{
"valueString" : "social-history"
},
{
"valueString" : "Social History"
}
]
}
]
},
{
"name" : "grp-obsn-cat-survey",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "category",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://terminology.hl7.org/CodeSystem/observation-category"
},
{
"valueString" : "survey"
},
{
"valueString" : "Survey"
}
]
}
]
},
{
"name" : "grpObsMeta",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "meta",
"variable" : "newMeta",
"transform" : "create",
"parameter" : [
{
"valueString" : "Meta"
}
]
}
],
"rule" : [
{
"name" : "grp-obsn-meta-profile",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newMeta",
"contextType" : "variable",
"element" : "profile",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse"
}
]
}
]
}
]
},
{
"name" : "authored",
"source" : [
{
"context" : "src",
"element" : "authored",
"variable" : "authored"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "effective",
"transform" : "copy",
"parameter" : [
{
"valueId" : "authored"
}
]
}
]
},
{
"name" : "grp-obsn-subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "subject",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "grp-obsn-subj-ref",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "grp-obsn-subj-display",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
},
{
"name" : "grp-obsn-code",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "93025-5"
}
]
}
]
},
{
"name" : "grp-obsn-has-member",
"source" : [
{
"context" : "bundle",
"element" : "entry",
"variable" : "entries"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "hasMember",
"variable" : "df",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "grp-obsn-has-member-reference",
"source" : [
{
"context" : "entries",
"element" : "resource",
"variable" : "obs",
"condition" : "status.exists() and hasMember.exists().not()"
}
],
"target" : [
{
"context" : "df",
"contextType" : "variable",
"element" : "reference",
"transform" : "reference",
"parameter" : [
{
"valueId" : "obs"
}
]
}
]
}
]
},
{
"name" : "grp-obsn-derived-from",
"source" : [
{
"context" : "src",
"element" : "id",
"variable" : "id"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "derivedFrom",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "grp-obsn-derived-from-reference",
"source" : [
{
"context" : "id"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "append",
"parameter" : [
{
"valueString" : "QuestionnaireResponse/"
},
{
"valueId" : "id"
}
]
}
]
}
]
},
{
"name" : "obsn-entry-request",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "entry",
"contextType" : "variable",
"element" : "request",
"variable" : "request"
}
],
"rule" : [
{
"name" : "obsn-request-method",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "request",
"contextType" : "variable",
"element" : "method",
"transform" : "copy",
"parameter" : [
{
"valueString" : "POST"
}
]
}
]
},
{
"name" : "obsn-request-url",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "request",
"contextType" : "variable",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Observation"
}
]
}
]
}
]
}
]
}
]
}
IG © 2020+ HL7 International - Patient Care WG. Package hl7.fhir.us.sdoh-clinicalcare#2.0.0 based on FHIR 4.0.1. Generated 2022-11-21
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change