Package | hl7.fhir.uv.sdc.r4b |
Type | StructureMap |
Id | Id |
FHIR Version | R4B |
Source | http://hl7.org/fhir/uv/sdc/http://hl7.org/fhir/uv/sdc/STU3/StructureMap-SDOHCC-StructureMapHungerVitalSign.html |
Url | http://hl7.org/fhir/uv/sdc/StructureMap/SDOHCC-StructureMapHungerVitalSign |
Version | 3.0.0 |
Status | draft |
Date | 2022-03-08T18:37:19+00:00 |
Name | SDOHCCStructureMapHungerVitalSign |
Title | SDOHCC StructureMap Hunger Vital Sign |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | A map that converts an SDOCC hunger vital sign questionnaire to a Bundle of Conditions and Observations |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative
Resource "SDOHCC-StructureMapHungerVitalSign"
url: http://hl7.org/fhir/uv/sdc/StructureMap/SDOHCC-StructureMapHungerVitalSign
version: 3.0.0
name: SDOHCCStructureMapHungerVitalSign
title: SDOHCC StructureMap Hunger Vital Sign
status: draft
experimental: false
date: 2022-03-08 06:37:19+0000
publisher: HL7 International - FHIR Infrastructure Work Group
contact: http://hl7.org/Special/committees/fiwg
description: A map that converts an SDOCC hunger vital sign questionnaire to a Bundle of Conditions and Observations
jurisdiction: World (m49.htm#001)
structure
url: SDC Questionnaire Response
mode: source
alias: questionnaireResponse
structure
url: Bundle
mode: target
structure
url: Observation
mode: target
structure
url: Condition
mode: target
alias: sdohccCondition
structure
url: Observation
mode: target
alias: sdohccObservation
group
name: sdohMapping
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: bundle
type: Bundle
mode: target
rule
name: rule-1
Sources
- Context * src target
context: bundle
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-BundleHungerVitalSignExample rule
name: rule-2
Sources
- Context * src target
context: bundle
contextType: variable
element: type
transform: copy
Parameters
- Value[x] * transaction rule
name: rule-3
Sources
- Context Element Variable Condition * src item answerItem1 linkId = '/88122-7' target
context: bundle
contextType: variable
element: entry
variable: entry
target
context: entry
contextType: variable
element: resource
variable: observation1
transform: create
Parameters
- Value[x] * sdohccObservation dependent
name: TransformObservation
variable: src, answerItem1, observation1, entry
dependent
name: TransformObservation1
variable: src, answerItem1, observation1, entry
rule
name: rule-4
Sources
- Context Element Variable Condition * src item answerItem2 linkId = '/88123-5' target
context: bundle
contextType: variable
element: entry
variable: entry
target
context: entry
contextType: variable
element: resource
variable: observation2
transform: create
Parameters
- Value[x] * sdohccObservation dependent
name: TransformObservation
variable: src, answerItem2, observation2, entry
dependent
name: TransformObservation2
variable: src, answerItem2, observation2, entry
rule
name: rule-5
Sources
- Context Element Variable Condition * src item answerItem3 linkId = '/88124-3' target
context: bundle
contextType: variable
element: entry
variable: entry
target
context: entry
contextType: variable
element: resource
variable: observation3
transform: create
Parameters
- Value[x] * sdohccObservation dependent
name: TransformObservation
variable: src, answerItem3, observation3, entry
dependent
name: TransformObservation3
variable: src, answerItem3, bundle, observation3, entry
rule
name: rule-6
Sources
- Context * src target
context: bundle
contextType: variable
element: entry
variable: entry
target
context: entry
contextType: variable
element: resource
variable: groupObservation
transform: create
Parameters
- Value[x] * sdohccObservation Dependents
- Name Variable * TransformGroupObservation src, bundle, groupObservation, entry rule
name: rule-7
Sources
- Context Element Condition * src item linkId = '/88124-3' and answer.valueCoding.code ='LA19952-3' target
context: bundle
contextType: variable
element: entry
variable: entry
target
context: entry
contextType: variable
element: resource
variable: condition
transform: create
Parameters
- Value[x] * sdohccCondition Dependents
- Name Variable * TransformCondition src, bundle, condition, entry
group
name: TransformObservation
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: answerItem
type: Any
mode: source
input
name: observation
type: sdohccObservation
mode: target
input
name: entry
type: Any
mode: target
rule
name: rule-8
Sources
- Context * src target
context: observation
contextType: variable
element: status
transform: copy
Parameters
- Value[x] * final rule
name: rule-9
Sources
- Context * src target
context: observation
contextType: variable
element: meta
variable: newMeta
transform: create
Parameters
- Value[x] * Meta rule
name: rule-10
rule
name: rule-11
Sources
- Context * src target
context: observation
contextType: variable
element: category
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/observation-category
parameter
value: social-history
parameter
value: Social History
rule
name: rule-12
Sources
- Context * src target
context: observation
contextType: variable
element: category
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/observation-category
parameter
value: survey
parameter
value: Survey
rule
name: rule-13
Sources
- Context * src target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-14
rule
name: rule-18
Sources
- Context Element Variable * src authored authored target
context: observation
contextType: variable
element: issued
transform: copy
Parameters
- Value[x] * authored target
context: observation
contextType: variable
element: effective
transform: copy
Parameters
- Value[x] * authored rule
name: rule-19
Sources
- Context Element Variable * answerItem answer answer target
context: observation
contextType: variable
element: value
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-20
rule
name: rule-21
Sources
- Context Element Variable * src subject qSubject target
context: observation
contextType: variable
element: subject
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-22
rule
name: rule-23
group
name: TransformObservation1
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: item
type: Any
mode: source
input
name: observation
type: sdohccObservation
mode: target
input
name: entry
type: Any
mode: target
rule
name: rule-24
Sources
- Context * src target
context: observation
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-ObservationResponseHungerVitalSignQuestion1Example Dependents
- Name Variable * SetObservationFullUrl observation, entry rule
name: rule-25
Sources
- Context Variable * item i target
context: observation
contextType: variable
element: code
variable: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 88122-7
rule
name: rule-26
Sources
- Context Element Variable * src subject qSubject target
context: observation
contextType: variable
element: performer
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-27
rule
name: rule-28
rule
name: rule-29
Sources
- Context Element Variable * src id id target
context: observation
contextType: variable
element: derivedFrom
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-30
group
name: TransformObservation2
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: item
type: Any
mode: source
input
name: observation
type: sdohccObservation
mode: target
input
name: entry
type: Any
mode: target
rule
name: rule-31
Sources
- Context * src target
context: observation
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-ObservationResponseHungerVitalSignQuestion2Example Dependents
- Name Variable * SetObservationFullUrl observation, entry rule
name: rule-32
Sources
- Context Variable * item i target
context: observation
contextType: variable
element: code
variable: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 88123-5
rule
name: rule-33
Sources
- Context Element Variable * src subject qSubject target
context: observation
contextType: variable
element: performer
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-34
rule
name: rule-35
rule
name: rule-36
Sources
- Context Element Variable * src id id target
context: observation
contextType: variable
element: derivedFrom
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-37
group
name: TransformObservation3
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: item
type: Any
mode: source
input
name: bundle
type: Any
mode: source
input
name: observation
type: sdohccObservation
mode: target
input
name: entry
type: Any
mode: target
rule
name: rule-38
Sources
- Context * src target
context: observation
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-ObservationResponseHungerVitalSignQuestion3Example Dependents
- Name Variable * SetObservationFullUrl observation, entry rule
name: rule-39
Sources
- Context Variable * item i target
context: observation
contextType: variable
element: code
variable: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 88124-3
rule
name: rule-40
Sources
- Context Element Variable * bundle entry entries target
context: observation
contextType: variable
element: derivedFrom
variable: df
transform: create
Parameters
- Value[x] * Reference Dependents
- Name Variable * TransformObservationDerived entries, df
group
name: TransformObservationDerived
typeMode: none
input
name: entries
type: Any
mode: source
input
name: df
type: Any
mode: target
rule
name: rule-41
Sources
- Context Element Variable Condition * entries resource obs1 code.coding.code = '88122-7' target
context: df
contextType: variable
element: reference
transform: reference
Parameters
- Value[x] * obs1 rule
name: rule-42
Sources
- Context Element Variable Condition * entries resource obs2 code.coding.code = '88123-5' target
context: df
contextType: variable
element: reference
transform: reference
Parameters
- Value[x] * obs2
group
name: TransformGroupObservation
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: bundle
type: Bundle
mode: source
input
name: groupObservation
type: Observation
mode: target
input
name: entry
type: Any
mode: target
rule
name: rule-43
Sources
- Context * src target
context: groupObservation
contextType: variable
element: meta
variable: newMeta
transform: create
Parameters
- Value[x] * Meta rule
name: rule-44
rule
name: rule-45
Sources
- Context * src target
context: groupObservation
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-ObservationResponseHungerVitalSignGroupingExample Dependents
- Name Variable * SetObservationFullUrl groupObservation, entry rule
name: rule-46
Sources
- Context * src target
context: groupObservation
contextType: variable
element: status
transform: copy
Parameters
- Value[x] * final rule
name: rule-47
Sources
- Context * src target
context: groupObservation
contextType: variable
element: category
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/observation-category
parameter
value: social-history
parameter
value: Social History
rule
name: rule-48
Sources
- Context * src target
context: groupObservation
contextType: variable
element: category
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/observation-category
parameter
value: survey
parameter
value: Survey
rule
name: rule-49
Sources
- Context * src target
context: groupObservation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-50
rule
name: rule-54
Sources
- Context Element Variable * src authored authored target
context: groupObservation
contextType: variable
element: effective
transform: copy
Parameters
- Value[x] * authored rule
name: rule-55
Sources
- Context Element Variable * src subject qSubject target
context: groupObservation
contextType: variable
element: subject
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-56
rule
name: rule-57
rule
name: rule-58
Sources
- Context * src target
context: groupObservation
contextType: variable
element: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 88121-9
parameter
value: Hunger Vital Sign [HVS]
rule
name: rule-59
Sources
- Context Element Variable * bundle entry entries target
context: groupObservation
contextType: variable
element: hasMember
variable: df
transform: create
Parameters
- Value[x] * Reference rule
name: rule-60
rule
name: rule-61
rule
name: rule-62
rule
name: rule-63
Sources
- Context Element Variable * src id id target
context: groupObservation
contextType: variable
element: derivedFrom
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-64
group
name: SetObservationFullUrl
typeMode: none
input
name: observation
type: Observation
mode: source
input
name: entry
type: Any
mode: target
rule
name: rule-65
Sources
- Context Element Variable * observation id id target
context: entry
contextType: variable
element: fullUrl
transform: append
parameter
value: http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/
parameter
value: id
group
name: TransformCondition
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: bundle
type: Any
mode: source
input
name: condition
type: sdohccCondition
mode: target
input
name: entry
type: Any
mode: target
rule
name: rule-66
Sources
- Context * src target
context: condition
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-ConditionFoodInsecurityExample Dependents
- Name Variable * SetConditionFullUrl condition, entry rule
name: rule-67
Sources
- Context * src target
context: condition
contextType: variable
element: meta
variable: newMeta
transform: create
Parameters
- Value[x] * Meta rule
name: rule-68
rule
name: rule-69
Sources
- Context * src target
context: condition
contextType: variable
element: clinicalStatus
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/condition-clinical
parameter
value: active
parameter
value: Active
rule
name: rule-70
Sources
- Context * src target
context: condition
contextType: variable
element: verificationStatus
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/condition-ver-status
parameter
value: unconfirmed
parameter
value: Unconfirmed
rule
name: rule-71
Sources
- Context * src target
context: condition
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-72
rule
name: rule-76
Sources
- Context * src target
context: condition
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-77
rule
name: rule-81
Sources
- Context * src target
context: condition
contextType: variable
element: code
variable: newCodeCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-82
rule
name: rule-86
rule
name: rule-90
Sources
- Context Element Variable * src authored authored target
context: condition
contextType: variable
element: onset
variable: period
transform: create
Parameters
- Value[x] * Period target
context: period
contextType: variable
element: start
transform: copy
Parameters
- Value[x] * authored rule
name: rule-91
Sources
- Context Element Variable * bundle entry entries target
context: condition
contextType: variable
element: evidence
variable: evidence
target
context: evidence
contextType: variable
element: detail
variable: detailReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-92
rule
name: rule-93
Sources
- Context Element Variable * src subject qSubject target
context: condition
contextType: variable
element: subject
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-94
rule
name: rule-95
group
name: SetConditionFullUrl
typeMode: none
input
name: condition
type: sdohccCondition
mode: source
input
name: entry
type: Any
mode: target
rule
name: rule-96
Sources
- Context Element Variable * condition id id target
context: entry
contextType: variable
element: fullUrl
transform: append
parameter
value: http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/
parameter
value: id
{
"resourceType" : "StructureMap",
"id" : "SDOHCC-StructureMapHungerVitalSign",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 \"SDOHCC-StructureMapHungerVitalSign\" </p></div><p><b>url</b>: <code>http://hl7.org/fhir/uv/sdc/StructureMap/SDOHCC-StructureMapHungerVitalSign</code></p><p><b>version</b>: 3.0.0</p><p><b>name</b>: SDOHCCStructureMapHungerVitalSign</p><p><b>title</b>: SDOHCC StructureMap Hunger Vital Sign</p><p><b>status</b>: draft</p><p><b>experimental</b>: false</p><p><b>date</b>: 2022-03-08 06:37:19+0000</p><p><b>publisher</b>: HL7 International - FHIR Infrastructure Work Group</p><p><b>contact</b>: <a href=\"http://hl7.org/Special/committees/fiwg\">http://hl7.org/Special/committees/fiwg</a></p><p><b>description</b>: A map that converts an SDOCC hunger vital sign questionnaire to a Bundle of Conditions and Observations</p><p><b>jurisdiction</b>: World <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"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=\"http://hl7.org/fhir/R4/condition.html\">Condition</a></p><p><b>mode</b>: target</p><p><b>alias</b>: sdohccCondition</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a></p><p><b>mode</b>: target</p><p><b>alias</b>: sdohccObservation</p></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: sdohMapping</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Bundle</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-1</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-BundleHungerVitalSignExample</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-2</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: type</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>transaction</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-3</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>answerItem1</td><td>linkId = '/88122-7'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: observation1</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation</p><p><b>variable</b>: src, answerItem1, observation1, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation1</p><p><b>variable</b>: src, answerItem1, observation1, entry</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-4</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>answerItem2</td><td>linkId = '/88123-5'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: observation2</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation</p><p><b>variable</b>: src, answerItem2, observation2, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation2</p><p><b>variable</b>: src, answerItem2, observation2, entry</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-5</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>answerItem3</td><td>linkId = '/88124-3'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: observation3</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation</p><p><b>variable</b>: src, answerItem3, observation3, entry</p></blockquote><blockquote><p><b>dependent</b></p><p><b>name</b>: TransformObservation3</p><p><b>variable</b>: src, answerItem3, bundle, observation3, entry</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-6</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: groupObservation</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccObservation</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>TransformGroupObservation</td><td>src, bundle, groupObservation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-7</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>src</td><td>item</td><td>linkId = '/88124-3' and answer.valueCoding.code ='LA19952-3'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: bundle</p><p><b>contextType</b>: variable</p><p><b>element</b>: entry</p><p><b>variable</b>: entry</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: resource</p><p><b>variable</b>: condition</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>sdohccCondition</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>TransformCondition</td><td>src, bundle, condition, entry</td></tr></table></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: answerItem</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-8</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: status</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>final</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-9</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-10</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-11</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: social-history</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Social History</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-12</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: survey</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Survey</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-13</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-14</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-18</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: issued</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: effective</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-19</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>answerItem</td><td>answer</td><td>answer</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: value</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-20</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-21</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-22</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-23</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation1</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: item</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-24</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignQuestion1Example</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>observation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-25</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>item</td><td>i</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88122-7</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-26</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: performer</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-27</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-28</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-29</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-30</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation2</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: item</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-31</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignQuestion2Example</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>observation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-32</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>item</td><td>i</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88123-5</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-33</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: performer</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-34</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-35</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-36</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-37</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservation3</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: item</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: sdohccObservation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-38</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignQuestion3Example</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>observation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-39</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>item</td><td>i</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88124-3</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-40</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: observation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: df</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>TransformObservationDerived</td><td>entries, df</td></tr></table></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformObservationDerived</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: entries</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: df</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-41</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>entries</td><td>resource</td><td>obs1</td><td>code.coding.code = '88122-7'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: df</p><p><b>contextType</b>: variable</p><p><b>element</b>: reference</p><p><b>transform</b>: reference</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>obs1</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-42</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td>entries</td><td>resource</td><td>obs2</td><td>code.coding.code = '88123-5'</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: df</p><p><b>contextType</b>: variable</p><p><b>element</b>: reference</p><p><b>transform</b>: reference</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>obs2</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformGroupObservation</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Bundle</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: groupObservation</p><p><b>type</b>: Observation</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-43</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-44</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-45</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ObservationResponseHungerVitalSignGroupingExample</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetObservationFullUrl</td><td>groupObservation, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-46</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: status</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>final</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-47</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: social-history</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Social History</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-48</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/observation-category</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: survey</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Survey</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-49</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-50</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-54</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: effective</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-55</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-56</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-57</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-58</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://loinc.org</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: 88121-9</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Hunger Vital Sign [HVS]</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-59</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: hasMember</p><p><b>variable</b>: df</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-60</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-61</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-62</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-63</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: groupObservation</p><p><b>contextType</b>: variable</p><p><b>element</b>: derivedFrom</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-64</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetObservationFullUrl</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: observation</p><p><b>type</b>: Observation</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-65</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>observation</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: fullUrl</p><p><b>transform</b>: append</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: id</p></blockquote></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformCondition</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: src</p><p><b>type</b>: questionnaireResponse</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: bundle</p><p><b>type</b>: Any</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: sdohccCondition</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-66</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: id</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>SDOHCC-ConditionFoodInsecurityExample</td></tr></table></blockquote><h3>Dependents</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>SetConditionFullUrl</td><td>condition, entry</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-67</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: meta</p><p><b>variable</b>: newMeta</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Meta</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-68</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-69</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: clinicalStatus</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/condition-clinical</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: active</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Active</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-70</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: verificationStatus</p><p><b>transform</b>: cc</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://terminology.hl7.org/CodeSystem/condition-ver-status</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: unconfirmed</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: Unconfirmed</p></blockquote></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-71</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-72</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-76</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: category</p><p><b>variable</b>: newCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-77</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-81</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td></tr><tr><td>*</td><td>src</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: code</p><p><b>variable</b>: newCodeCC</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>CodeableConcept</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-82</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-86</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-90</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>authored</td><td>authored</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: onset</p><p><b>variable</b>: period</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Period</td></tr></table></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: period</p><p><b>contextType</b>: variable</p><p><b>element</b>: start</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>authored</td></tr></table></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-91</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>bundle</td><td>entry</td><td>entries</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: evidence</p><p><b>variable</b>: evidence</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: evidence</p><p><b>contextType</b>: variable</p><p><b>element</b>: detail</p><p><b>variable</b>: detailReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-92</p></blockquote></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-93</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>src</td><td>subject</td><td>qSubject</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: condition</p><p><b>contextType</b>: variable</p><p><b>element</b>: subject</p><p><b>variable</b>: newReference</p><p><b>transform</b>: create</p><h3>Parameters</h3><table class=\"grid\"><tr><td>-</td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Reference</td></tr></table></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-94</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-95</p></blockquote></blockquote></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SetConditionFullUrl</p><p><b>typeMode</b>: none</p><blockquote><p><b>input</b></p><p><b>name</b>: condition</p><p><b>type</b>: sdohccCondition</p><p><b>mode</b>: source</p></blockquote><blockquote><p><b>input</b></p><p><b>name</b>: entry</p><p><b>type</b>: Any</p><p><b>mode</b>: target</p></blockquote><blockquote><p><b>rule</b></p><p><b>name</b>: rule-96</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td>*</td><td>condition</td><td>id</td><td>id</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: entry</p><p><b>contextType</b>: variable</p><p><b>element</b>: fullUrl</p><p><b>transform</b>: append</p><blockquote><p><b>parameter</b></p><p><b>value</b>: http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: id</p></blockquote></blockquote></blockquote></blockquote></div>"
},
"url" : "http://hl7.org/fhir/uv/sdc/StructureMap/SDOHCC-StructureMapHungerVitalSign",
"version" : "3.0.0",
"name" : "SDOHCCStructureMapHungerVitalSign",
"title" : "SDOHCC StructureMap Hunger Vital Sign",
"status" : "draft",
"experimental" : false,
"date" : "2022-03-08T18:37:19+00:00",
"publisher" : "HL7 International - FHIR Infrastructure Work Group",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "A map that converts an SDOCC hunger vital sign questionnaire to a Bundle of Conditions and Observations",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"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/StructureDefinition/Condition",
"mode" : "target",
"alias" : "sdohccCondition"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Observation",
"mode" : "target",
"alias" : "sdohccObservation"
}
],
"group" : [
{
"name" : "sdohMapping",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "bundle",
"type" : "Bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule-1",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "id",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOHCC-BundleHungerVitalSignExample"
}
]
}
]
},
{
"name" : "rule-2",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueString" : "transaction"
}
]
}
]
},
{
"name" : "rule-3",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "answerItem1",
"condition" : "linkId = '/88122-7'"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "observation1",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccObservation"
}
]
}
],
"dependent" : [
{
"name" : "TransformObservation",
"variable" : [
"src",
"answerItem1",
"observation1",
"entry"
]
},
{
"name" : "TransformObservation1",
"variable" : [
"src",
"answerItem1",
"observation1",
"entry"
]
}
]
},
{
"name" : "rule-4",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "answerItem2",
"condition" : "linkId = '/88123-5'"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "observation2",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccObservation"
}
]
}
],
"dependent" : [
{
"name" : "TransformObservation",
"variable" : [
"src",
"answerItem2",
"observation2",
"entry"
]
},
{
"name" : "TransformObservation2",
"variable" : [
"src",
"answerItem2",
"observation2",
"entry"
]
}
]
},
{
"name" : "rule-5",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "answerItem3",
"condition" : "linkId = '/88124-3'"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "observation3",
"transform" : "create",
"parameter" : [
{
"valueString" : "sdohccObservation"
}
]
}
],
"dependent" : [
{
"name" : "TransformObservation",
"variable" : [
"src",
"answerItem3",
"observation3",
"entry"
]
},
{
"name" : "TransformObservation3",
"variable" : [
"src",
"answerItem3",
"bundle",
"observation3",
"entry"
]
}
]
},
{
"name" : "rule-6",
"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"
]
}
]
},
{
"name" : "rule-7",
"source" : [
{
"context" : "src",
"element" : "item",
"condition" : "linkId = '/88124-3' and answer.valueCoding.code ='LA19952-3'"
}
],
"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"
]
}
]
}
]
},
{
"name" : "TransformObservation",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "answerItem",
"type" : "Any",
"mode" : "source"
},
{
"name" : "observation",
"type" : "sdohccObservation",
"mode" : "target"
},
{
"name" : "entry",
"type" : "Any",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule-8",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "status",
"transform" : "copy",
"parameter" : [
{
"valueString" : "final"
}
]
}
]
},
{
"name" : "rule-9",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "meta",
"variable" : "newMeta",
"transform" : "create",
"parameter" : [
{
"valueString" : "Meta"
}
]
}
],
"rule" : [
{
"name" : "rule-10",
"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" : "rule-11",
"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" : "rule-12",
"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" : "rule-13",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "category",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "rule-14",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"rule" : [
{
"name" : "rule-15",
"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" : "rule-16",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "food-insecurity"
}
]
}
]
},
{
"name" : "rule-17",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "newCoding",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Food Insecurity"
}
]
}
]
}
]
}
]
},
{
"name" : "rule-18",
"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" : "rule-19",
"source" : [
{
"context" : "answerItem",
"element" : "answer",
"variable" : "answer"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "value",
"variable" : "newCC",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"rule" : [
{
"name" : "rule-20",
"source" : [
{
"context" : "answer",
"element" : "valueCoding",
"variable" : "coding"
}
],
"target" : [
{
"context" : "newCC",
"contextType" : "variable",
"element" : "coding",
"variable" : "newCoding",
"transform" : "copy",
"parameter" : [
{
"valueId" : "coding"
}
]
}
]
}
]
},
{
"name" : "rule-21",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "subject",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "rule-22",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "rule-23",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
}
]
},
{
"name" : "TransformObservation1",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "item",
"type" : "Any",
"mode" : "source"
},
{
"name" : "observation",
"type" : "sdohccObservation",
"mode" : "target"
},
{
"name" : "entry",
"type" : "Any",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule-24",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "id",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOHCC-ObservationResponseHungerVitalSignQuestion1Example"
}
]
}
],
"dependent" : [
{
"name" : "SetObservationFullUrl",
"variable" : [
"observation",
"entry"
]
}
]
},
{
"name" : "rule-25",
"source" : [
{
"context" : "item",
"variable" : "i"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "88122-7"
}
]
}
]
},
{
"name" : "rule-26",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "performer",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "rule-27",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "rule-28",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
},
{
"name" : "rule-29",
"source" : [
{
"context" : "src",
"element" : "id",
"variable" : "id"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "derivedFrom",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "rule-30",
"source" : [
{
"context" : "id"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "append",
"parameter" : [
{
"valueString" : "QuestionnaireResponse/"
},
{
"valueId" : "id"
}
]
}
]
}
]
}
]
},
{
"name" : "TransformObservation2",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "item",
"type" : "Any",
"mode" : "source"
},
{
"name" : "observation",
"type" : "sdohccObservation",
"mode" : "target"
},
{
"name" : "entry",
"type" : "Any",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule-31",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "id",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOHCC-ObservationResponseHungerVitalSignQuestion2Example"
}
]
}
],
"dependent" : [
{
"name" : "SetObservationFullUrl",
"variable" : [
"observation",
"entry"
]
}
]
},
{
"name" : "rule-32",
"source" : [
{
"context" : "item",
"variable" : "i"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "88123-5"
}
]
}
]
},
{
"name" : "rule-33",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "qSubject"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "performer",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "rule-34",
"source" : [
{
"context" : "qSubject",
"element" : "reference",
"variable" : "qReference"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qReference"
}
]
}
]
},
{
"name" : "rule-35",
"source" : [
{
"context" : "qSubject",
"element" : "display",
"variable" : "qDisplay"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "qDisplay"
}
]
}
]
}
]
},
{
"name" : "rule-36",
"source" : [
{
"context" : "src",
"element" : "id",
"variable" : "id"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "derivedFrom",
"variable" : "newReference",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"rule" : [
{
"name" : "rule-37",
"source" : [
{
"context" : "id"
}
],
"target" : [
{
"context" : "newReference",
"contextType" : "variable",
"element" : "reference",
"transform" : "append",
"parameter" : [
{
"valueString" : "QuestionnaireResponse/"
},
{
"valueId" : "id"
}
]
}
]
}
]
}
]
},
{
"name" : "TransformObservation3",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "questionnaireResponse",
"mode" : "source"
},
{
"name" : "item",
"type" : "Any",
"mode" : "source"
},
{
"name" : "bundle",
"type" : "Any",
"mode" : "source"
},
{
"name" : "observation",
"type" : "sdohccObservation",
"mode" : "target"
},
{
"name" : "entry",
"type" : "Any",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule-38",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "id",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOHCC-ObservationResponseHungerVitalSignQuestion3Example"
}
]
}
],
"dependent" : [
{
"name" : "SetObservationFullUrl",
"variable" : [
"observation",
"entry"
]
}
]
},
{
"name" : "rule-39",
"source" : [
{
"context" : "item",
"variable" : "i"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "code",
"variable" : "code",
"transform" : "cc",
"parameter" : [
{
"valueString" : "http://loinc.org"
},
{
"valueString" : "88124-3"
}
]
}
]
},
{
"name" : "rule-40",
"source" : [
{
"context" : "bundle",
"element" : "entry",
"variable" : "entries"
}
],
"target" : [
{
"context" : "observation",
"contextType" : "variable",
"element" : "derivedFrom",
"variable" : "df",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"dependent" : [
{
"name" : "TransformObservationDerived",
"variable" : [
"entries",
"df"
]
}
]
}
]
},
{
"name" : "TransformObservationDerived",
"typeMode" : "none",
"input" : [
{
"name" : "entries",
"type" : "Any",
"mode" : "source"
},
{
"name" : "df",
"type" : "Any",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule-41",
"source" : [
{
"context" : "entries",
"element" : "resource",
"variable" : "obs1",
"condition" : "code.coding.code = '88122-7'"
}
],
"target" : [
{
"context" : "df",
"contextType" : "variable",
"element" : "reference",
"transform" : "reference",
"parameter" : [
{
"valueId" : "obs1"
}
]
}
]
},
{
"name" : "rule-42",
"source" : [
{
"context" : "entries",
"element" : "resource",
"variable" : "obs2",
"condition" : "code.coding.code = '88123-5'"
}
],
"target" : [
{
"context" : "df",
"contextType" : "variable",
"element" : "reference",
"transform" : "reference",
"parameter" : [
{
"valueId" : "obs2"
}
]
}
]
}
]
},
{
"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",
"type" : "Any",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule-43",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "meta",
"variable" : "newMeta",
"transform" : "create",
"parameter" : [
{
"valueString" : "Meta"
}
]
}
],
"rule" : [
{
"name" : "rule-44",
"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" : "rule-45",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "id",
"transform" : "copy",
"parameter" : [
{
"valueString" : "SDOHCC-ObservationResponseHungerVitalSignGroupingExample"
}
]
}
],
"dependent" : [
{
"name" : "SetObservationFullUrl",
"variable" : [
"groupObservation",
"entry"
]
}
]
},
{
"name" : "rule-46",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "status",
"transform" : "copy",
"parameter" : [
{
"valueString" : "final"
}
]
}
]
},
{
"name" : "rule-47",
"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" : "rule-48",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "groupObservation",
"contextType" : "variable",
"element" : "category",