HL7 FHIR® Implementation Guide: Ophthalmology Retinal, Release 1
0.1.0 - STU 1 Ballot

HL7 FHIR® Implementation Guide: Ophthalmology Retinal, Release 1, published by HL7 International - Patient Care WG. 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/HL7/fhir-eyecare-ig/ and changes regularly. See the Directory of published versions

## Resource Profile: ProcedureBase - Mappings

Mappings for the procedure-base resource profile.

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

ProcedureBase
Procedure | Event
identifier | Event.identifier
instantiatesCanonical | Event.instantiatesCanonical
instantiatesUri | Event.instantiatesUri
basedOn | Event.basedOn
partOf | Event.partOf
status | Event.status
statusReason | Event.statusReason
code | Event.code
subject | Event.subject
encounter | Event.context
performed[x] | Event.occurrence[x]
performer | Event.performer
function | Event.performer.function
actor | Event.performer.actor
reasonCode | Event.reasonCode
reasonReference | Event.reasonReference
note | Event.note

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

ProcedureBase
Procedure | Entity. Role, or Act, Procedure[moodCode=EVN]
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target
instantiatesUri | .outboundRelationship[typeCode=DEFN].target
basedOn | .outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code
partOf | .inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]
status | statusCode
statusReason | .reason.Observation.value
category | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
code | .code
subject | .participation[typeCode=SBJ].role
encounter | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
performed[x] | .effectiveTime
recorder | .participation[typeCode=AUT].role
asserter | .participation[typeCode=INF].role
performer | .participation[typeCode=PRF]
id | n/a
extension | n/a
modifierExtension | N/A
function | .functionCode
actor | .role
onBehalfOf | .scoper
location | .participation[typeCode=LOC].role[classCode=SDLOC]
reasonCode | .reasonCode
reasonReference | .reasonCode
bodySite | .targetSiteCode
id | n/a
extension |
extension (bodySiteEye) |
id | n/a
url | N/A
value[x] | N/A
coding | union(., ./translation)
text | ./originalText[mediaType/code="text/plain"]/data
outcome | .outboundRelationship[typeCode=OUT].target.text
report | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]
complication | .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value
complicationDetail | .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value
followUp | .outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code
note | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
focalDevice | .participation[typeCode=DEV].role[classCode=MANU]
id | n/a
extension | n/a
modifierExtension | N/A
action | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="procedure device action"].value=:procedure device action codes
manipulated | .participation[typeCode=DEV].role[classCode=SDLOC]
usedReference | .participation[typeCode=DEV].role[classCode=MANU] or .participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)
usedCode | participation[typeCode=Dev].role[classCode=MANU]

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

ProcedureBase
Procedure |
identifier | FiveWs.identifier
status | FiveWs.status
category | FiveWs.class
code | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
performed[x] | FiveWs.done[x]
recorder | FiveWs.author
asserter | FiveWs.source
performer |
actor | FiveWs.actor
location | FiveWs.where[x]
reasonCode | FiveWs.why[x]
reasonReference | FiveWs.why[x]

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

ProcedureBase
Procedure |
identifier | Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4
code | OBR-44/OBR-45
subject | PID-3
encounter | PV1-19
performed[x] | OBR-7
performer |
function | Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25
actor | ORC-19/PRT-5
bodySite | OBX-20
coding | C*E.1-8, C*E.10-22
text | C*E.9. But note many systems use C*E.2 for this
note | NTE