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 PRAPARE

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

Generated Narrative: StructureMap

Resource StructureMap "SDOHCC-StructureMapPRAPARE"

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

version: 2.0.0

name: SDOHCCStructureMapPRAPARE

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-BundlePRAPAREExample

rule

name: bundle-type

Sources

-Context
*src

target

context: bundle

contextType: variable

element: type

transform: copy

Parameters

-Value[x]
*transaction

rule

name: item

Sources

-ContextElementVariable
*srcitemrootItem

Targets

-ContextContextTypeElementVariable
*bundlevariableentryentry

Dependents

-NameVariable
*rootContentsrc, rootItem, bundle

rule

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

group

name: rootContent

typeMode: none

input

name: qResponse

type: questionnaireResponse

mode: source

input

name: rootItem

mode: source

input

name: bundle

mode: target

rule

name: item

Sources

-ContextElementVariable
*rootItemitemgroupItem

Targets

-ContextContextTypeElementVariable
*bundlevariableentryentry

Dependents

-NameVariable
*groupContentqResponse, groupItem, bundle

group

name: groupContent

typeMode: none

input

name: qResponse

type: questionnaireResponse

mode: source

input

name: groupItem

mode: source

input

name: bundle

mode: target

rule

name: item

Sources

-ContextElementVariable
*groupItemitemanswerItem

Targets

-ContextContextTypeElementVariable
*bundlevariableentryentry

Dependents

-NameVariable
*itemContentqResponse, answerItem, bundle

group

name: itemContent

typeMode: none

input

name: qResponse

type: questionnaireResponse

mode: source

input

name: answerItem

mode: source

input

name: bundle

mode: target

rule

name: obsn

Sources

-ContextCondition
*answerItem(answerItem.linkId != '/93043-8/32624-9') and (answerItem.linkId != '/93041-2/93031-3') and (answerItem.linkId != '/93041-2/93030-5')

target

context: bundle

contextType: variable

element: entry

variable: entry

target

context: entry

contextType: variable

element: resource

variable: observation

transform: create

Parameters

-Value[x]
*sdohccObservation

Dependents

-NameVariable
*TransformObservationqResponse, answerItem, bundle, observation, entry, bundle

rule

name: answer

Sources

-ContextElementVariableCondition
*answerItemansweranswer(answerItem.linkId = '/93043-8/32624-9') or (answerItem.linkId = '/93041-2/93031-3') or (answerItem.linkId = '/93041-2/93030-5')

target

context: bundle

contextType: variable

element: entry

variable: entry

target

context: entry

contextType: variable

element: resource

variable: observation

transform: create

Parameters

-Value[x]
*sdohccObservation

dependent

name: TransformObservation

variable: qResponse, answerItem, bundle, observation, entry, bundle

dependent

name: SetValueCodeableConceptFromAnswer

variable: answer, observation

group

name: SetValueCodeableConceptFromAnswer

typeMode: none

input

name: answer

mode: source

input

name: observation

mode: target

rule

name: obsn-value

Sources

-Context
*answer

target

context: observation

contextType: variable

element: value

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: value

group

name: TransformObservation

typeMode: none

input

name: src

type: questionnaireResponse

mode: source

input

name: answerItem

mode: source

input

name: bundle

mode: source

input

name: observation

type: sdohccObservation

mode: target

input

name: entry

mode: target

input

name: bundle

mode: target

rule

name: obsn-full-url

Sources

-Context
*src

Targets

-ContextContextTypeElementTransform
*observationvariableiduuid

Dependents

-NameVariable
*SetObservationFullUrlobservation, entry

rule

name: obsn-status

Sources

-Context
*src

target

context: observation

contextType: variable

element: status

transform: copy

Parameters

-Value[x]
*final

rule

name: obsn-cat-social-history

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-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: 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: 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: 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: obsn-derived-from

Sources

-ContextElementVariable
*srcidid

target

context: observation

contextType: variable

element: derivedFrom

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: obsn-derived-from-reference

rule

name: obsn-code-ethnicity

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/56051-6'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 56051-6

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/56051-6'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obs-code-race

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/32624-9'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 32624-9

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/32624-9'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-farm-worker-status

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/93035-4'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93035-4

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/93035-4'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-vet-status

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/93034-7'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93034-7

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/93034-7'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-eng-prof

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/54899-0'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 54899-0

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93043-8/54899-0'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-household-size

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/63512-8'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 63512-8

rule

name: obsn-value

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/63512-8'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-housing

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/71802-3'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 71802-3

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/71802-3'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-housing-status

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/93033-9'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93033-9

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/93033-9'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-neighborhood

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/56799-0'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 56799-0

Dependents

-NameVariable
*SetValueanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93042-0/56799-0'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-education

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/82589-3'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 82589-3

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/82589-3'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-employment

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/67875-5'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 67875-5

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/67875-5'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-insurance

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/76437-3'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 76437-3

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/76437-3'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-household-income

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/63586-2'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 63586-2

rule

name: obsn-value

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/63586-2'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-material-security

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/93031-3'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93031-3

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/93031-3'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-transportation

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/93030-5'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93030-5

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93041-2/93030-5'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-soc-integ

Sources

-ContextCondition
*answerItemlinkId = '/93040-4/93029-7'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93029-7

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93040-4/93029-7'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-stress

Sources

-ContextCondition
*answerItemlinkId = '/93040-4/93038-8'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93038-8

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93040-4/93038-8'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-incarceration

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/93028-9'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93028-9

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/93028-9'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-refugee

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/93027-1'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93027-1

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/93027-1'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-safety

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/93026-3'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 93026-3

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/93026-3'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: obsn-code-dom-violence

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/76501-6'

target

context: observation

contextType: variable

element: code

variable: code

transform: cc

parameter

value: http://loinc.org

parameter

value: 76501-6

Dependents

-NameVariable
*SetValueCodeableConceptanswerItem, observation

rule

name: obsn-cat

Sources

-ContextCondition
*answerItemlinkId = '/93039-6/76501-6'

target

context: observation

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: obsn-cat-coding

rule

name: condition-homeless

Sources

-ContextCondition
*answerItem(linkId = '/93042-0/71802-3') and (answer.value.code = 'LA30190-5')

target

context: bundle

contextType: variable

element: entry

variable: entry

target

context: entry

contextType: variable

element: resource

variable: condition

transform: create

Parameters

-Value[x]
*sdohccCondition

dependent

name: TransformCondition

variable: src, bundle, condition, entry

dependent

name: SetConditionCodeAndEvidence1

variable: src, bundle, condition

rule

name: condition-unemployed

Sources

-ContextCondition
*answerItem(linkId = '/93041-2/67875-5') and (answer.value.code = 'LA17956-6')

target

context: bundle

contextType: variable

element: entry

variable: entry

target

context: entry

contextType: variable

element: resource

variable: condition

transform: create

Parameters

-Value[x]
*sdohccCondition

dependent

name: TransformCondition

variable: src, bundle, condition, entry

dependent

name: SetConditionCodeAndEvidence2

variable: src, bundle, condition

rule

name: obsn-entry-request

Sources

-Context
*src

Targets

-ContextContextTypeElementVariable
*entryvariablerequestrequest

rule

name: obsn-request-method

rule

name: obsn-request-url

group

name: SetValue

typeMode: none

input

name: answerItem

mode: source

input

name: observation

mode: target

rule

name: answer

Sources

-ContextElementVariable
*answerItemansweranswer

Targets

-ContextContextTypeElementVariable
*observationvariableidid

rule

name: value

group

name: SetValueCodeableConcept

typeMode: none

input

name: src

mode: source

input

name: observation

mode: target

rule

name: answer

Sources

-ContextElementVariable
*srcansweranswer

target

context: observation

contextType: variable

element: value

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: value

group

name: SetValuesToComponents

typeMode: none

input

name: answerItem

mode: source

input

name: srcObservation

mode: source

input

name: observation

mode: target

rule

name: answer

Sources

-ContextElementVariable
*answerItemansweranswer

target

context: observation

contextType: variable

element: component

variable: newComponent

target

context: newComponent

contextType: variable

element: value

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: value

rule

name: code

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-full-url

Sources

-Context
*src

Targets

-ContextContextTypeElementTransform
*conditionvariableiduuid

Dependents

-NameVariable
*SetConditionFullUrlcondition, entry

rule

name: conditionMeta

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-verification-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

Sources

-Context
*src

target

context: condition

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: condition-cat-coding

rule

name: condition-onset

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

Sources

-ContextElementVariable
*srcsubjectqSubject

target

context: condition

contextType: variable

element: asserter

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

group

name: SetConditionCodeAndEvidence1

typeMode: none

input

name: src

type: questionnaireResponse

mode: source

input

name: bundle

mode: source

input

name: condition

mode: target

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-coding

rule

name: condition-coding

rule

name: condition-cat

Sources

-Context
*src

target

context: condition

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: condition-cat-coding

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: condition-evidence

group

name: SetConditionCodeAndEvidence2

typeMode: none

input

name: src

type: questionnaireResponse

mode: source

input

name: bundle

mode: source

input

name: condition

mode: target

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-coding

rule

name: condition-coding

rule

name: condition-cat

Sources

-Context
*src

target

context: condition

contextType: variable

element: category

variable: newCC

transform: create

Parameters

-Value[x]
*CodeableConcept

rule

name: condition-cat-coding

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: condition-evidence

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-obsnFullUrl

Sources

-Context
*src

Targets

-ContextContextTypeElementTransform
*groupObservationvariableiduuid

Dependents

-NameVariable
*SetObservationFullUrlgroupObservation, entry

rule

name: grp-obsn-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: grpObsMeta

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

Sources

-ContextElementVariable
*srcauthoredauthored

target

context: groupObservation

contextType: variable

element: effective

transform: copy

Parameters

-Value[x]
*authored

rule

name: grp-obsn-subject

Sources

-ContextElementVariable
*srcsubjectqSubject

target

context: groupObservation

contextType: variable

element: subject

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: grp-obsn-subj-ref

rule

name: grp-obsn-subj-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: 93025-5

rule

name: grp-obsn-has-member

Sources

-ContextElementVariable
*bundleentryentries

target

context: groupObservation

contextType: variable

element: hasMember

variable: df

transform: create

Parameters

-Value[x]
*Reference

rule

name: grp-obsn-has-member-reference

rule

name: grp-obsn-derived-from

Sources

-ContextElementVariable
*srcidid

target

context: groupObservation

contextType: variable

element: derivedFrom

variable: newReference

transform: create

Parameters

-Value[x]
*Reference

rule

name: grp-obsn-derived-from-reference

rule

name: obsn-entry-request

Sources

-Context
*src

Targets

-ContextContextTypeElementVariable
*entryvariablerequestrequest

rule

name: obsn-request-method

rule

name: obsn-request-url