HL7 FHIR Implementation Guide: Sri Lanka
0.1.0 - STU1

HL7 FHIR Implementation Guide: Sri Lanka, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.1.0. This version is based on the current content of https://github.com/jembi/Sri-Lanka and changes regularly. See the Directory of published versions

## Resource Profile: MedicalHistory - Mappings

Active as of 2023-11-10

Mappings for the medical-history resource profile.

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

MedicalHistory
Condition | Event
identifier | Event.identifier
clinicalStatus | Event.status
verificationStatus | Event.status
code | Event.code
subject | Event.subject
encounter | Event.context
onset[x] | Event.occurrence[x]
evidence |
code | Event.reasonCode
note | Event.note

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

MedicalHistory
Condition | < 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)
clinicalStatus | < 303105007 |Disease phases|
verificationStatus | < 410514004 |Finding context value|
category | < 404684003 |Clinical finding|
severity | < 272141005 |Severities|
code | code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS << 420134006 |Propensity to adverse reactions| MINUS << 473010000 |Hypersensitivity condition| MINUS << 79899007 |Drug interaction| MINUS << 69449002 |Drug action| MINUS << 441742003 |Evaluation finding| MINUS << 307824009 |Administrative status| MINUS << 385356007 |Tumor stage finding|) OR < 413350009 |Finding with explicit context| OR < 272379006 |Event|
bodySite | < 442083009 |Anatomical or acquired body structure|
stage |
summary | < 254291000 |Staging and scales|
evidence |
code | < 404684003 |Clinical finding|

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

MedicalHistory
Condition | PPR message
clinicalStatus | PRB-14
verificationStatus | PRB-13
category | 'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message
severity | PRB-26 / ABS-3
code | PRB-3
subject | PID-3
encounter | PV1-19 (+PV1-54)
onset[x] | PRB-16
recordedDate | REL-11
asserter | REL-7.1 identifier + REL-7.12 type code
stage |
summary | PRB-14
note | NTE child of PRB

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

MedicalHistory
Condition | Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
clinicalStatus | Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value
verificationStatus | Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value
category | .code
severity | Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="severity"].value
code | .value
bodySite | .targetBodySiteCode
subject | .participation[typeCode=SBJ].role[classCode=PAT]
encounter | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
onset[x] | .effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at onset"].value
abatement[x] | .effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at remission"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed
recordedDate | .participation[typeCode=AUT].time
recorder | .participation[typeCode=AUT].role
asserter | .participation[typeCode=INF].role
stage | ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage/grade"]
id | n/a
extension | n/a
modifierExtension | N/A
summary | .value
assessment | .self
type | ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage type"]
evidence | .outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]
id | n/a
extension | n/a
modifierExtension | N/A
code | [code="diagnosis"].value
detail | .self
note | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

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

MedicalHistory
Condition |
identifier | FiveWs.identifier
clinicalStatus | FiveWs.status
verificationStatus | FiveWs.status
category | FiveWs.class
severity | FiveWs.grade
code | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
onset[x] | FiveWs.init
abatement[x] | FiveWs.done[x]
recordedDate | FiveWs.recorded
recorder | FiveWs.author
asserter | FiveWs.source
evidence |
code | FiveWs.why[x]
detail | FiveWs.why[x]

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

MedicalHistory
Condition |
verificationStatus | 408729009
severity | 246112005
code | 246090004
bodySite | 363698007