Structured Data Capture
3.0.0-preview - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0-preview: STU 3 Draft) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

StructureMap: SDOHCC StructureMap Hunger Vital Sign

Official URL: http://hl7.org/fhir/uv/sdc/StructureMap/SDOHCC-StructureMapHungerVitalSign Version: 3.0.0-preview
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-preview

name: SDOHCCStructureMapHungerVitalSign

title: SDOHCC StructureMap Hunger Vital Sign

status: draft

experimental: false

date: 2022-02-16 07:40:22+1100

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

-ContextElementVariableCondition
*srcitemanswerItem1linkId = '/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

-ContextElementVariableCondition
*srcitemanswerItem2linkId = '/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

-ContextElementVariableCondition
*srcitemanswerItem3linkId = '/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

-NameVariable
*TransformGroupObservationsrc, bundle, groupObservation, entry

rule

name: rule-7

Sources

-ContextElementCondition
*srcitemlinkId = '/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

-NameVariable
*TransformConditionsrc, 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

-ContextElementVariable
*srcauthoredauthored

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

-ContextElementVariable
*answerItemansweranswer

target

context: observation

contextType: variable

element: value

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: rule-20

rule

name: rule-21

Sources

-ContextElementVariable
*srcsubjectqSubject

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

-NameVariable
*SetObservationFullUrlobservation, entry

rule

name: rule-25

Sources

-ContextVariable
*itemi

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

-ContextElementVariable
*srcsubjectqSubject

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

-ContextElementVariable
*srcidid

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

-NameVariable
*SetObservationFullUrlobservation, entry

rule

name: rule-32

Sources

-ContextVariable
*itemi

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

-ContextElementVariable
*srcsubjectqSubject

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

-ContextElementVariable
*srcidid

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

-NameVariable
*SetObservationFullUrlobservation, entry

rule

name: rule-39

Sources

-ContextVariable
*itemi

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

-ContextElementVariable
*bundleentryentries

target

context: observation

contextType: variable

element: derivedFrom

variable: df

transform: create

Parameters

-Value[x]
*Reference

Dependents

-NameVariable
*TransformObservationDerivedentries, 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

-ContextElementVariableCondition
*entriesresourceobs1code.coding.code = '88122-7'

target

context: df

contextType: variable

element: reference

transform: reference

Parameters

-Value[x]
*obs1

rule

name: rule-42

Sources

-ContextElementVariableCondition
*entriesresourceobs2code.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

-NameVariable
*SetObservationFullUrlgroupObservation, 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

-ContextElementVariable
*srcauthoredauthored

target

context: groupObservation

contextType: variable

element: effective

transform: copy

Parameters

-Value[x]
*authored

rule

name: rule-55

Sources

-ContextElementVariable
*srcsubjectqSubject

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

-ContextElementVariable
*bundleentryentries

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

-ContextElementVariable
*srcidid

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

-ContextElementVariable
*observationidid

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

-NameVariable
*SetConditionFullUrlcondition, 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

-ContextElementVariable
*srcauthoredauthored

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

-ContextElementVariable
*bundleentryentries

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

-ContextElementVariable
*srcsubjectqSubject

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

-ContextElementVariable
*conditionidid

target

context: entry

contextType: variable

element: fullUrl

transform: append

parameter

value: http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/

parameter

value: id