This page is part of the SDOH Clinical Care for Multiple Domains (v1.1.0: STU 2 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
Resource "SDOHCC-StructureMapPRAPARE" Version "2" Updated "2021-06-28T17:12:24.937Z"
Information Source: #FLTN6h4LHljBb9Hk!
url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapPRAPARE
version: 1.1.0
name: SDOHCCStructureMapPRAPARE
title: SDOHCC StructureMap PRAPARE
status: draft
experimental: false
date: 2021-12-07T14:30:02Z
publisher: HL7 International - Patient Care WG
contact: HL7 International - Patient Care: http://www.hl7.org/Special/committees/patientcare
jurisdiction: United States of America (unknown#US)
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
mode: target
alias: sdohccCondition
structure
url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationAssessment
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-BundlePRAPAREExample 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 * src item rootItem Targets
- Context ContextType Element Variable * bundle variable entry entry Dependents
- Name Variable * rootContent src, rootItem, bundle rule
name: rule-4
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
group
name: rootContent
typeMode: none
input
name: qResponse
type: questionnaireResponse
mode: source
input
name: rootItem
type: Any
mode: source
input
name: bundle
type: Any
mode: target
rule
name: rule-5
Sources
- Context Element Variable * rootItem item groupItem Targets
- Context ContextType Element Variable * bundle variable entry entry Dependents
- Name Variable * groupContent qResponse, groupItem, bundle
group
name: groupContent
typeMode: none
input
name: qResponse
type: questionnaireResponse
mode: source
input
name: groupItem
type: Any
mode: source
input
name: bundle
type: Any
mode: target
rule
name: rule-6
Sources
- Context Element Variable * groupItem item questionItem 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
- Name Variable * TransformObservation qResponse, questionItem, bundle, observation, entry, bundle
group
name: TransformObservation
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: answerItem
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
input
name: bundle
type: Any
mode: target
rule
name: rule-7
Sources
- Context * src Targets
- Context ContextType Element Transform * observation variable id uuid Dependents
- Name Variable * SetObservationFullUrl observation, entry 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: meta
variable: newMeta
transform: create
Parameters
- Value[x] * Meta rule
name: rule-12
rule
name: rule-13
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-14
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-15
rule
name: rule-16
rule
name: rule-17
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-18
rule
name: rule-19
rule
name: rule-20
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-21
rule
name: rule-22
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-23
Sources
- Context Condition * answerItem linkId = '/93043-8/32624-9' target
context: observation
contextType: variable
element: code
variable: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 32624-9
Dependents
- Name Variable * SetValuesToComponents answerItem, observation, observation rule
name: rule-24
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-25
Sources
- Context Condition * answerItem linkId = '/93043-8/93035-4' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-26
rule
name: rule-30
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-31
Sources
- Context Condition * answerItem linkId = '/93043-8/93034-7' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-32
rule
name: rule-36
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-37
Sources
- Context Condition * answerItem linkId = '/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: rule-38
rule
name: rule-43
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-44
Sources
- Context Condition * answerItem linkId = '/93042-0/71802-3' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-45
rule
name: rule-49
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-50
Sources
- Context Condition * answerItem linkId = '/93042-0/93033-9' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-51
rule
name: rule-55
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValue answerItem, observation rule
name: rule-56
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-57
Sources
- Context Condition * answerItem linkId = '/93041-2/82589-3' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-58
rule
name: rule-62
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-63
Sources
- Context Condition * answerItem linkId = '/93041-2/67875-5' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-64
rule
name: rule-68
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-69
Sources
- Context Condition * answerItem linkId = '/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: rule-70
rule
name: rule-75
Sources
- Context Condition * answerItem linkId = '/93041-2/93031-3' target
context: observation
contextType: variable
element: code
variable: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 93031-3
Dependents
- Name Variable * SetValuesToComponents answerItem, observation, observation rule
name: rule-76
Sources
- Context Condition * answerItem linkId = '/93041-2/93031-3' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-77
rule
name: rule-81
Sources
- Context Condition * answerItem linkId = '/93041-2/93030-5' target
context: observation
contextType: variable
element: code
variable: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 93030-5
Dependents
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-82
Sources
- Context Condition * answerItem linkId = '/93041-2/93030-5' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-83
rule
name: rule-87
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-88
Sources
- Context Condition * answerItem linkId = '/93040-4/93029-7' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-89
rule
name: rule-93
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-94
Sources
- Context Condition * answerItem linkId = '/93040-4/93038-8' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-95
rule
name: rule-99
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-100
Sources
- Context Condition * answerItem linkId = '/93039-6/93028-9' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-101
rule
name: rule-105
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-106
Sources
- Context Condition * answerItem linkId = '/93039-6/93027-1' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-107
rule
name: rule-111
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-112
Sources
- Context Condition * answerItem linkId = '/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
- Name Variable * SetValueCodeableConcept answerItem, observation rule
name: rule-113
Sources
- Context Condition * answerItem linkId = '/93039-6/76501-6' target
context: observation
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-114
rule
name: rule-118
Sources
- Context Condition * answerItem linkId = '/93042-0/71802-3' and answer.valueCoding.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: rule-119
Sources
- Context Condition * answerItem linkId = '/93041-2/67875-5' and answer.valueCoding.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
group
name: SetValue
typeMode: none
input
name: answerItem
type: Any
mode: source
input
name: observation
type: Any
mode: target
rule
name: rule-120
Sources
- Context Element Variable * answerItem answer answer Targets
- Context ContextType Element Variable * observation variable id id rule
name: rule-121
group
name: SetValueCodeableConcept
typeMode: none
input
name: src
type: Any
mode: source
input
name: observation
type: Any
mode: target
rule
name: rule-122
Sources
- Context Element Variable * src answer answer target
context: observation
contextType: variable
element: value
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-123
group
name: SetValuesToComponents
typeMode: none
input
name: answerItem
type: Any
mode: source
input
name: srcObservation
type: Any
mode: source
input
name: observation
type: Any
mode: target
rule
name: rule-124
Sources
- Context Element Variable * answerItem answer answer 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: rule-125
rule
name: rule-126
group
name: SetObservationFullUrl
typeMode: none
input
name: observation
type: Observation
mode: source
input
name: entry
type: Any
mode: target
rule
name: rule-127
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-128
Sources
- Context * src Targets
- Context ContextType Element Transform * condition variable id uuid Dependents
- Name Variable * SetConditionFullUrl condition, entry rule
name: rule-129
Sources
- Context * src Targets
- Context ContextType Element Transform * condition variable id uuid Dependents
- Name Variable * SetConditionFullUrl condition, entry rule
name: rule-130
Sources
- Context * src target
context: condition
contextType: variable
element: meta
variable: newMeta
transform: create
Parameters
- Value[x] * Meta rule
name: rule-131
rule
name: rule-132
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-133
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-134
Sources
- Context * src target
context: condition
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-135
rule
name: rule-139
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-140
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-141
rule
name: rule-142
rule
name: rule-143
Sources
- Context Element Variable * src subject qSubject target
context: condition
contextType: variable
element: asserter
variable: newReference
transform: create
Parameters
- Value[x] * Reference rule
name: rule-144
rule
name: rule-145
group
name: SetConditionFullUrl
typeMode: none
input
name: condition
type: sdohccCondition
mode: source
input
name: entry
type: Any
mode: target
rule
name: rule-146
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
group
name: SetConditionCodeAndEvidence1
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: bundle
type: Any
mode: source
input
name: condition
type: Any
mode: target
rule
name: rule-147
Sources
- Context * src target
context: condition
contextType: variable
element: code
variable: newCodeCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-148
rule
name: rule-152
rule
name: rule-156
Sources
- Context * src target
context: condition
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-157
rule
name: rule-161
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-162
group
name: SetConditionCodeAndEvidence2
typeMode: none
input
name: src
type: questionnaireResponse
mode: source
input
name: bundle
type: Any
mode: source
input
name: condition
type: Any
mode: target
rule
name: rule-163
Sources
- Context * src target
context: condition
contextType: variable
element: code
variable: newCodeCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-164
rule
name: rule-168
rule
name: rule-172
Sources
- Context * src target
context: condition
contextType: variable
element: category
variable: newCC
transform: create
Parameters
- Value[x] * CodeableConcept rule
name: rule-173
rule
name: rule-177
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-178
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-179
Sources
- Context * src Targets
- Context ContextType Element Transform * groupObservation variable id uuid Dependents
- Name Variable * SetObservationFullUrl groupObservation, entry rule
name: rule-180
Sources
- Context * src target
context: groupObservation
contextType: variable
element: status
transform: copy
Parameters
- Value[x] * final rule
name: rule-181
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-182
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-183
Sources
- Context * src target
context: groupObservation
contextType: variable
element: meta
variable: newMeta
transform: create
Parameters
- Value[x] * Meta rule
name: rule-184
rule
name: rule-185
Sources
- Context Element Variable * src authored authored target
context: groupObservation
contextType: variable
element: effective
transform: copy
Parameters
- Value[x] * authored rule
name: rule-186
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-187
rule
name: rule-188
rule
name: rule-189
Sources
- Context * src target
context: groupObservation
contextType: variable
element: code
transform: cc
parameter
value: http://loinc.org
parameter
value: 93025-5
rule
name: rule-190
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-191
rule
name: rule-192
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-193