spelled out name of the IHE Profile
0.0.1-current - ci-build

spelled out name of the IHE Profile, published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 0.0.1-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/supplement-template/ and changes regularly. See the Directory of published versions

## Resource Profile: ToDoLaugh - Mappings

Draft as of 2023-12-01

Mappings for the IHE.ToDo.laugh resource profile.

### Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

ToDoLaugh
Observation | Event
identifier | Event.identifier
status | Event.status
code | Event.code
subject | Event.subject
encounter | Event.context
effective[x] | Event.occurrence[x]
effective[x] (effectiveDateTime) | Event.occurrence[x]
performer | Event.performer.actor

### Mappings for SNOMED CT Concept Domain Binding (http://snomed.info/conceptdomain)

ToDoLaugh
Observation | < 363787002 |Observable entity|
status | < 445584004 |Report by finality status|
code | < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
bodySite | < 123037004 |Body structure|
component |
code | < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
value[x] | 363714003 |Interprets| < 441742003 |Evaluation finding|
interpretation | < 260245000 |Findings values|
component (humorous) |
code | < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
value[x] | 363714003 |Interprets| < 441742003 |Evaluation finding|
interpretation | < 260245000 |Findings values|
component (funny-bone) |
code | < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
value[x] | 363714003 |Interprets| < 441742003 |Evaluation finding|
interpretation | < 260245000 |Findings values|
component (giddy) |
code | < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
value[x] | 363714003 |Interprets| < 441742003 |Evaluation finding|
interpretation | < 260245000 |Findings values|
component (position) |
code | < 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
value[x] | 363714003 |Interprets| < 441742003 |Evaluation finding|
interpretation | < 260245000 |Findings values|

### Mappings for HL7 v2 Mapping (http://hl7.org/v2)

ToDoLaugh
Observation | OBX
identifier | OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4.
status | OBX-11
category |
coding | C*E.1-8, C*E.10-22
coding (activity) | C*E.1-8, C*E.10-22
text | C*E.9. But note many systems use C*E.2 for this
code | OBX-3
coding | C*E.1-8, C*E.10-22
coding (loincCode1) | C*E.1-8, C*E.10-22
coding (snomedCode2) | C*E.1-8, C*E.10-22
text | C*E.9. But note many systems use C*E.2 for this
subject | PID-3
encounter | PV1
effective[x] | OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)
effective[x] (effectiveDateTime) | OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)
performer | OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'
note | NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)
bodySite | OBX-20
component | containment by OBX-4?
code | OBX-3
value[x] | OBX.2, OBX.5, OBX.6
dataAbsentReason | N/A
interpretation | OBX-8
referenceRange | OBX.7
component (humorous) | containment by OBX-4?
code | OBX-3
value[x] | OBX.2, OBX.5, OBX.6
dataAbsentReason | N/A
interpretation | OBX-8
referenceRange | OBX.7
component (funny-bone) | containment by OBX-4?
code | OBX-3
value[x] | OBX.2, OBX.5, OBX.6
dataAbsentReason | N/A
interpretation | OBX-8
referenceRange | OBX.7
component (giddy) | containment by OBX-4?
code | OBX-3
value[x] | OBX.2, OBX.5, OBX.6
dataAbsentReason | N/A
interpretation | OBX-8
referenceRange | OBX.7
component (position) | containment by OBX-4?
code | OBX-3
value[x] | OBX.2, OBX.5, OBX.6
dataAbsentReason | N/A
interpretation | OBX-8
referenceRange | OBX.7

### Mappings for RIM Mapping (http://hl7.org/v3)

ToDoLaugh
Observation | Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
text | Act.text?
identifier | id
status | status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of "revise"
category | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
id | n/a
extension | n/a
coding | union(., ./translation)
coding (activity) | union(., ./translation)
text | ./originalText[mediaType/code="text/plain"]/data
code | code
id | n/a
extension | n/a
coding | union(., ./translation)
coding (loincCode1) | union(., ./translation)
coding (snomedCode2) | union(., ./translation)
text | ./originalText[mediaType/code="text/plain"]/data
subject | participation[typeCode=RTGT]
encounter | inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
effective[x] | effectiveTime
effective[x] (effectiveDateTime) | effectiveTime
performer | participation[typeCode=PRF]
note | subjectOf.observationEvent[code="annotation"].value
bodySite | targetSiteCode
component | outBoundRelationship[typeCode=COMP]
id | n/a
extension | n/a
modifierExtension | N/A
code | code
value[x] | value
dataAbsentReason | value.nullFlavor
interpretation | interpretationCode
referenceRange | outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
component (humorous) | outBoundRelationship[typeCode=COMP]
id | n/a
extension | n/a
modifierExtension | N/A
code | code
value[x] | value
dataAbsentReason | value.nullFlavor
interpretation | interpretationCode
referenceRange | outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
component (funny-bone) | outBoundRelationship[typeCode=COMP]
id | n/a
extension | n/a
modifierExtension | N/A
code | code
value[x] | value
dataAbsentReason | value.nullFlavor
interpretation | interpretationCode
referenceRange | outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
component (giddy) | outBoundRelationship[typeCode=COMP]
id | n/a
extension | n/a
modifierExtension | N/A
code | code
value[x] | value
dataAbsentReason | value.nullFlavor
interpretation | interpretationCode
referenceRange | outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
component (position) | outBoundRelationship[typeCode=COMP]
id | n/a
extension | n/a
modifierExtension | N/A
code | code
value[x] | value
dataAbsentReason | value.nullFlavor
interpretation | interpretationCode
referenceRange | outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]

### Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

ToDoLaugh
Observation |
identifier | FiveWs.identifier
status | FiveWs.status
category | FiveWs.class
code | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
effective[x] | FiveWs.done[x]
effective[x] (effectiveDateTime) | FiveWs.done[x]
performer | FiveWs.actor
component |
code | FiveWs.what[x]
component (humorous) |
code | FiveWs.what[x]
component (funny-bone) |
code | FiveWs.what[x]
component (giddy) |
code | FiveWs.what[x]
component (position) |
code | FiveWs.what[x]

### Mappings for SNOMED CT Attribute Binding (http://snomed.org/attributebinding)

ToDoLaugh
Observation |
code | 116680003 |Is a|
bodySite | 718497002 |Inherent location|
component |
value[x] | 363714003 |Interprets|
interpretation | 363713009 |Has interpretation|
component (humorous) |
value[x] | 363714003 |Interprets|
interpretation | 363713009 |Has interpretation|
component (funny-bone) |
value[x] | 363714003 |Interprets|
interpretation | 363713009 |Has interpretation|
component (giddy) |
value[x] | 363714003 |Interprets|
interpretation | 363713009 |Has interpretation|
component (position) |
value[x] | 363714003 |Interprets|
interpretation | 363713009 |Has interpretation|