This page is part of the SDOH Clinical Care for Multiple Domains (v0.1.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions
Generated Narrative
url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMap-HungerVitalSignMapper-1
version: 0.1.0
name: SDOHCC_StructureMap_HungerVitalSignMapper_1
title: SDOHCC StructureMap HungerVitalSignMapper 1
status: draft
date: Dec 16, 2020 8:13:36 PM
publisher: HL7 International - Patient Care WG
contact: HL7 International - Patient Care: http://www.hl7.org/Special/committees/patientcare
jurisdiction: United States of America
structure
url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
mode: source
alias: questionnaireResponse
structure
url: http://hl7.org/fhir/StructureDefinition/Bundle
mode: target
structure
url: http://hl7.org/fhir/StructureDefinition/Observation
mode: target
structure
url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition-Base-1
mode: target
alias: sdohccCondition
structure
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-Bundle-HungerVitalSign-Example-1 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] * Observation 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] * Observation 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] * Observation 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] * Observation 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: category
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/observation-category
parameter
value: social-history
parameter
value: Social History
rule
name: rule-10
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-11
Sources
- Context * src target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-12
Sources
- * Targets
- * Rules
- * * * rule
name: rule-16
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-17
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-18
Sources
- * Targets
- * Rules
- * rule
name: rule-20
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-21
Sources
- * Targets
- * rule
name: rule-22
Sources
- * Targets
- * rule
name: rule-23
Sources
- Context Element Variable * src id srcId target
context: observation
contextType: variable
element: derivedFrom
variable: df
transform: create
Parameters
- Value[x] * Reference target
context: df
contextType: variable
element: reference
transform: reference
Parameters
- Value[x] * src
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-Observation-HungerVitalSign-Example-1 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
parameter
value: Within the past 12Mo we worried whether our food would run out before we got money to buy more
target
context: code
contextType: variable
element: text
transform: copy
Parameters
- Value[x] * (I/We) worried whether (my/our) food would run out before (I/we) got money to buy more. rule
name: rule-26
Sources
- Context Element Variable * src source qSource target
context: observation
contextType: variable
element: performer
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-27
Sources
- * Targets
- * rule
name: rule-28
Sources
- * Targets
- *
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-29
Sources
- Context * src target
context: observation
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-Observation-HungerVitalSign-Example-2 Dependents
- Name Variable * SetObservationFullUrl observation, entry rule
name: rule-30
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
parameter
value: Within the past 12Mo the food we bought just didn't last and we didn't have money to get more
target
context: code
contextType: variable
element: text
transform: copy
Parameters
- Value[x] * The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more. rule
name: rule-31
Sources
- Context Element Variable * src source qSource target
context: observation
contextType: variable
element: performer
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-32
Sources
- * Targets
- * rule
name: rule-33
Sources
- * Targets
- *
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-34
Sources
- Context * src target
context: observation
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-Observation-HungerVitalSign-Example-3 Dependents
- Name Variable * SetObservationFullUrl observation, entry rule
name: rule-35
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
parameter
value: Food insecurity risk
target
context: code
contextType: variable
element: text
transform: copy
Parameters
- Value[x] * Food insecurity risk rule
name: rule-36
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-37
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-38
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-39
Sources
- Context * src target
context: groupObservation
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-Observation-HungerVitalSignGroup-1 Dependents
- Name Variable * SetObservationFullUrl groupObservation, entry rule
name: rule-40
Sources
- Context * src target
context: groupObservation
contextType: variable
element: status
transform: copy
Parameters
- Value[x] * final rule
name: rule-41
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-42
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-43
Sources
- * Targets
- * rule
name: rule-44
Sources
- * Targets
- * rule
name: rule-45
Sources
- * Targets
- *
group
name: SetObservationFullUrl
typeMode: none
input
name: observation
type: Observation
mode: source
input
name: entry
type: any
mode: target
rule
name: rule-46
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-47
Sources
- Context * src target
context: condition
contextType: variable
element: id
transform: copy
Parameters
- Value[x] * SDOHCC-Condition-HungerVitalSign-Example-1 Dependents
- Name Variable * SetConditionFullUrl condition, entry rule
name: rule-48
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-49
Sources
- Context * src target
context: condition
contextType: variable
element: verificationStatus
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/condition-ver-status
parameter
value: confirmed
parameter
value: Confirmed
rule
name: rule-50
Sources
- Context * src target
context: condition
contextType: variable
element: category
transform: cc
parameter
value: http://hl7.org/fhir/us/core/CodeSystem/condition-category
parameter
value: health-concern
parameter
value: Health Concern
rule
name: rule-51
Sources
- Context * src target
context: condition
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-52
Sources
- * Targets
- * Rules
- * * * rule
name: rule-56
Sources
- Context * src target
context: condition
contextType: variable
element: code
variable: code
transform: cc
parameter
value: http://snomed.info/sct
parameter
value: 733423003
parameter
value: Food insecurity (finding)
target
context: code
contextType: variable
element: text
transform: copy
Parameters
- Value[x] * Food insecurity rule
name: rule-57
Sources
- Context * src target
context: condition
contextType: variable
element: verificationStatus
transform: cc
parameter
value: http://terminology.hl7.org/CodeSystem/condition-ver-status
parameter
value: confirmed
parameter
value: Confirmed
rule
name: rule-58
Sources
- Context * src 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] * 2019-08-18T12:31:35.123Z rule
name: rule-59
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-60
Sources
- * Targets
- * rule
name: rule-61
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-62
Sources
- * Targets
- * rule
name: rule-63
Sources
- * Targets
- *
group
name: SetConditionFullUrl
typeMode: none
input
name: condition
type: sdohccCondition
mode: source
input
name: entry
type: any
mode: target
rule
name: rule-64
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