Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaGoal - Mappings

Active as of 2022-03-01

Mappings for the athena-goal-profile resource profile.

Mappings for athenaFlow (http://unknown.org/athenaFlow)

AthenaGoal
GoalFHIRR4_GOALVIEW
   idMakeId(%GOALGROUPID%)
   meta
      versionId%RESOURCEID%
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("GoalId"),%GOALGROUPID%)
   lifecycleStatusMapCode(%GOALSTATUS%,"GOALSTATUS")
   categoryMakeTextConcept(%GOALNAME%)
   descriptionMakeConcept(%SNOMEDCTCODE%,"http://snomed.info/sct",null,%DESCRIPTION%,false,true)
   subjectMakeReference("SUBJECT",%PID%,"Patient")
   start[x]%STARTDATE%
   target
      due[x]%ENDDATE%
   statusDate%WHENSIGNED%
   statusReason%REASONREMOVED%
   expressedByMakeReference("AUTHOR",%CREATOR%,"Practitioner")
   addressesMakeReferenceList("PROBLEM", %PROBLEMID%,"Condition")
   noteMakeAnnotation(%TARGETVALUE%)

Mappings for athenaPractice (http://unknown.org/athenaPractice)

AthenaGoal
GoalFHIRR4_GOALVIEW
   idMakeId(%GOALGROUPID%)
   meta
      versionId%RESOURCEID%
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("GoalId"),%GOALGROUPID%)
   lifecycleStatusMapCode(%GOALSTATUS%,"GOALSTATUS")
   categoryMakeTextConcept(%GOALNAME%)
   descriptionMakeConcept(%SNOMEDCTCODE%,"http://snomed.info/sct",null,%DESCRIPTION%,false,true)
   subjectMakeReference("SUBJECT",%PID%,"Patient")
   start[x]%STARTDATE%
   target
      due[x]%ENDDATE%
   statusDate%WHENSIGNED%
   statusReason%REASONREMOVED%
   expressedByMakeReference("AUTHOR",%CREATOR%,"Practitioner")
   addressesMakeReferenceList("PROBLEM", %PROBLEMID%,"Condition")
   noteMakeAnnotation(%TARGETVALUE%)

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

AthenaGoal
GoalGOL.1
   meta
      security
      security (SENSITIVECHART)
      security (CONFABBR)
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
   lifecycleStatusGOL-18-goal life cycle status
   descriptionGOL-3.2-goal ID.text
   subjectPID-3-patient ID list
   noteGOL-16-goal evaluation + NTE?

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

AthenaGoal
GoalEntity. Role, or Act, .outboundRelationship[typeCode<=OBJ].
   meta
      idn/a
      extensionn/a
      security
      security (SENSITIVECHART)
      security (CONFABBR)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/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
      idn/a
      extensionn/a
      modifierExtensionN/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)

AthenaGoal
Goal
   identifierFiveWs.identifier
   lifecycleStatusFiveWs.status
   categoryFiveWs.class
   priorityFiveWs.grade
   descriptionFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   start[x]FiveWs.planned
   target
      due[x]FiveWs.done[x]
   statusDateFiveWs.recorded
   expressedByFiveWs.source
   addressesFiveWs.why[x]