SDOH Clinical Care
2.0.0 - STU 2 US

This page is part of the SDOH Clinical Care for Multiple Domains (v2.0.0: STU 2) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

StructureMap: SDOHCC StructureMap Hunger Vital Sign

Official URL: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapHungerVitalSign Version: 2.0.0
Draft as of 2022-11-21 Computable Name: SDOHCCStructureMapHungerVitalSign

Generated Narrative: StructureMap

Resource StructureMap "SDOHCC-StructureMapHungerVitalSign"

url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapHungerVitalSign

version: 2.0.0

name: SDOHCCStructureMapHungerVitalSign

status: draft

date: 2022-11-21 06:34:14+0000

publisher: HL7 International - Patient Care WG

contact: HL7 International - Patient Care: http://www.hl7.org/Special/committees/patientcare

jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US)

structure

url: SDC Questionnaire Response

mode: source

alias: questionnaireResponse

structure

url: Bundle

mode: target

structure

url: Observation

mode: target

structure

url: SDOHCC Condition

mode: target

alias: sdohccCondition

structure

url: SDOHCC Observation Screening Response

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: bundle-id

Sources

-Context
*src

target

context: bundle

contextType: variable

element: id

transform: copy

Parameters

-Value[x]
*SDOHCC-BundleHungerVitalSignExample

rule

name: bundle-type

Sources

-Context
*src

target

context: bundle

contextType: variable

element: type

transform: copy

Parameters

-Value[x]
*transaction

rule

name: item

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: item

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: item

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: group-obsn

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: item

Sources

-ContextElementCondition
*srcitem(linkId = '/88124-3') and (answer.value.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

mode: source

input

name: observation

type: sdohccObservation

mode: target

input

name: entry

mode: target

rule

name: obsn-status

Sources

-Context
*src

target

context: observation

contextType: variable

element: status

transform: copy

Parameters

-Value[x]
*final

rule

name: obsn-meta

Sources

-Context
*src

target

context: observation

contextType: variable

element: meta

variable: newMeta

transform: create

Parameters

-Value[x]
*Meta

rule

name: obsn-meta-profile

rule

name: obsn-cat-social-hist

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: obsn-cat-survey

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: obsn-cat-food-insecurity

Sources

-Context
*src

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: authored

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: answer

Sources

-ContextElementVariable
*answerItemansweranswer

target

context: observation

contextType: variable

element: value

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: value

rule

name: subject

Sources

-ContextElementVariable
*srcsubjectqSubject

target

context: observation

contextType: variable

element: subject

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: reference

rule

name: display

rule

name: obsn-entry-request

Sources

-Context
*src

Targets

-ContextContextTypeElementVariable
*entryvariablerequestrequest

rule

name: obsn-request-method

rule

name: obsn-request-url

group

name: TransformObservation1

typeMode: none

input

name: src

type: questionnaireResponse

mode: source

input

name: item

mode: source

input

name: observation

type: sdohccObservation

mode: target

input

name: entry

mode: target

rule

name: obsn1-id

Sources

-Context
*src

target

context: observation

contextType: variable

element: id

transform: copy

Parameters

-Value[x]
*SDOHCC-ObservationResponseHungerVitalSignQuestion1Example

Dependents

-NameVariable
*SetObservationFullUrlobservation, entry

rule

name: obsn1-code

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: subject

Sources

-ContextElementVariable
*srcsubjectqSubject

target

context: observation

contextType: variable

element: performer

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: reference

rule

name: display

rule

name: id

Sources

-ContextElementVariable
*srcidid

target

context: observation

contextType: variable

element: derivedFrom

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: obsn1-derived-from

group

name: TransformObservation2

typeMode: none

input

name: src

type: questionnaireResponse

mode: source

input

name: item

mode: source

input

name: observation

type: sdohccObservation

mode: target

input

name: entry

mode: target

rule

name: obns2-id

Sources

-Context
*src

target

context: observation

contextType: variable

element: id

transform: copy

Parameters

-Value[x]
*SDOHCC-ObservationResponseHungerVitalSignQuestion2Example

Dependents

-NameVariable
*SetObservationFullUrlobservation, entry

rule

name: obns2-code

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: subject

Sources

-ContextElementVariable
*srcsubjectqSubject

target

context: observation

contextType: variable

element: performer

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: reference

rule

name: display

rule

name: id

Sources

-ContextElementVariable
*srcidid

target

context: observation

contextType: variable

element: derivedFrom

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: obsn2-derived-from

group

name: TransformObservation3

typeMode: none

input

name: src

type: questionnaireResponse

mode: source

input

name: item

mode: source

input

name: bundle

mode: source

input

name: observation

type: sdohccObservation

mode: target

input

name: entry

mode: target

rule

name: obsn3-id

Sources

-Context
*src

target

context: observation

contextType: variable

element: id

transform: copy

Parameters

-Value[x]
*SDOHCC-ObservationResponseHungerVitalSignQuestion3Example

Dependents

-NameVariable
*SetObservationFullUrlobservation, entry

rule

name: obsn3-code

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: obsn3-derivedFrom

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

mode: source

input

name: df

mode: target

rule

name: resource

Sources

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

target

context: df

contextType: variable

element: reference

transform: reference

Parameters

-Value[x]
*obs1

rule

name: resource

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

mode: target

rule

name: grp-obsn-meta

Sources

-Context
*src

target

context: groupObservation

contextType: variable

element: meta

variable: newMeta

transform: create

Parameters

-Value[x]
*Meta

rule

name: grp-obsn-meta-profile

rule

name: grp-obsn-full-url

Sources

-Context
*src

target

context: groupObservation

contextType: variable

element: id

transform: copy

Parameters

-Value[x]
*SDOHCC-ObservationResponseHungerVitalSignGroupingExample

Dependents

-NameVariable
*SetObservationFullUrlgroupObservation, entry

rule

name: grp-obsn-full-status

Sources

-Context
*src

target

context: groupObservation

contextType: variable

element: status

transform: copy

Parameters

-Value[x]
*final

rule

name: grp-obsn-cat-social-history

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: grp-obsn-cat-survey

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: grp-obsn-cat-food-insecurity

Sources

-Context
*src

target

context: groupObservation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: grp-obsn-cat-coding

rule

name: grp-obsn-authored

Sources

-ContextElementVariable
*srcauthoredauthored

target

context: groupObservation

contextType: variable

element: effective

transform: copy

Parameters

-Value[x]
*authored

rule

name: subject

Sources

-ContextElementVariable
*srcsubjectqSubject

target

context: groupObservation

contextType: variable

element: subject

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: reference

rule

name: display

rule

name: grp-obsn-code

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: entry

Sources

-ContextElementVariable
*bundleentryentries

target

context: groupObservation

contextType: variable

element: hasMember

variable: df

transform: create

Parameters

-Value[x]
*Reference

rule

name: resource

rule

name: resource

rule

name: resource

rule

name: id

Sources

-ContextElementVariable
*srcidid

target

context: groupObservation

contextType: variable

element: derivedFrom

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: grp-obsn-derived-from

rule

name: grp-obsn-entry-request

Sources

-Context
*src

Targets

-ContextContextTypeElementVariable
*entryvariablerequestrequest

rule

name: grp-obsn-request-method

rule

name: grp-obsn-request-url

group

name: SetObservationFullUrl

typeMode: none

input

name: observation

type: Observation

mode: source

input

name: entry

mode: target

rule

name: id

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

mode: source

input

name: condition

type: sdohccCondition

mode: target

input

name: entry

mode: target

rule

name: condition-id

Sources

-Context
*src

target

context: condition

contextType: variable

element: id

transform: copy

Parameters

-Value[x]
*SDOHCC-ConditionFoodInsecurityExample

Dependents

-NameVariable
*SetConditionFullUrlcondition, entry

rule

name: condition-meta

Sources

-Context
*src

target

context: condition

contextType: variable

element: meta

variable: newMeta

transform: create

Parameters

-Value[x]
*Meta

rule

name: condition-meta-profile

rule

name: condition-clinical-status

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: condition-veri-status

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: condition-cat-health-concern

Sources

-Context
*src

target

context: condition

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: condition-cat-coding-health-concern

rule

name: condition-cat-food-insecurity

Sources

-Context
*src

target

context: condition

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: condition-cat-coding-food-insecurity

rule

name: condition-code

Sources

-Context
*src

target

context: condition

contextType: variable

element: code

variable: newCodeCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: condition-code-coding-food-insecurity

rule

name: condition-code-coding-lack-of-food

rule

name: authored

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: entry

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: resource

rule

name: subject

Sources

-ContextElementVariable
*srcsubjectqSubject

target

context: condition

contextType: variable

element: subject

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: reference

rule

name: display

rule

name: condition-entry-request

Sources

-Context
*src

Targets

-ContextContextTypeElementVariable
*entryvariablerequestrequest

rule

name: condition-request-method

rule

name: condition-request-url

group

name: SetConditionFullUrl

typeMode: none

input

name: condition

type: sdohccCondition

mode: source

input

name: entry

mode: target

rule

name: id

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