QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## Resource Profile: QICoreGoal - Mappings

Mappings for the qicore-goal resource profile.

### Mappings for Argonaut-DQ-DSTU2 (http://unknown.org/Argonaut-DQ-DSTU2)

QICoreGoal
Goal | Goal
lifecycleStatus | Goal.status
description | Goal.description
subject | Goal.subject

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

QICoreGoal
Goal | GOL.1
lifecycleStatus | GOL-18-goal life cycle status
description | GOL-3.2-goal ID.text
subject | PID-3-patient ID list
note | GOL-16-goal evaluation + NTE?

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

QICoreGoal
Goal | Entity. Role, or Act, .outboundRelationship[typeCode<=OBJ].
text | Act.text?
contained | N/A
modifierExtension | N/A
identifier | .id
lifecycleStatus | .statusCode in-progress = active (classCode = OBJ) cancelled = aborted
achievementStatus | .statusCode achieved = complete sustaining = active
priority | .priorityCode
description | .text
subject | .participation[typeCode=PAT].role[classCode=PAT]
target |
id | n/a
extension | n/a
modifierExtension | N/A
addresses | .outboundRelationship[typeCode=SUBJ].target[classCode=CONC]
note | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

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

QICoreGoal
Goal |
identifier | FiveWs.identifier
lifecycleStatus | FiveWs.status
category | FiveWs.class
priority | FiveWs.grade
description | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
start[x] | FiveWs.planned
target |
due[x] | FiveWs.done[x]
due[x] (dueDate) | FiveWs.done[x]
statusDate | FiveWs.recorded
expressedBy | FiveWs.source
addresses | FiveWs.why[x]