This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/uv/sdc/StructureMap/SDOHCC-StructureMapHungerVitalSign | Version: 3.0.0 | |||
Standards status: Trial-use | Maturity Level: 3 | Computable Name: SDOHCCStructureMapHungerVitalSign |
A map that converts an SDOCC hunger vital sign questionnaire to a Bundle of Conditions and Observations
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:33:14+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