Mappings for the athena-goal-profile resource profile.
AthenaGoal |
Goal | FHIRR4_GOALVIEW |
id | MakeId(%GOALGROUPID%) |
meta | |
versionId | %RESOURCEID% |
lastUpdated | %WHENUPDATED% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
tag | MakeChangeTagList(%CHANGE%) |
identifier | MakeIdentifier("U",getSiteSystem("GoalId"),%GOALGROUPID%) |
lifecycleStatus | MapCode(%GOALSTATUS%,"GOALSTATUS") |
category | MakeTextConcept(%GOALNAME%) |
description | MakeConcept(%SNOMEDCTCODE%,"http://snomed.info/sct",null,%DESCRIPTION%,false,true) |
subject | MakeReference("SUBJECT",%PID%,"Patient") |
start[x] | %STARTDATE% |
target | |
due[x] | %ENDDATE% |
statusDate | %WHENSIGNED% |
statusReason | %REASONREMOVED% |
expressedBy | MakeReference("AUTHOR",%CREATOR%,"Practitioner") |
addresses | MakeReferenceList("PROBLEM", %PROBLEMID%,"Condition") |
note | MakeAnnotation(%TARGETVALUE%) |
AthenaGoal |
Goal | FHIRR4_GOALVIEW |
id | MakeId(%GOALGROUPID%) |
meta | |
versionId | %RESOURCEID% |
lastUpdated | %WHENUPDATED% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
tag | MakeChangeTagList(%CHANGE%) |
identifier | MakeIdentifier("U",getSiteSystem("GoalId"),%GOALGROUPID%) |
lifecycleStatus | MapCode(%GOALSTATUS%,"GOALSTATUS") |
category | MakeTextConcept(%GOALNAME%) |
description | MakeConcept(%SNOMEDCTCODE%,"http://snomed.info/sct",null,%DESCRIPTION%,false,true) |
subject | MakeReference("SUBJECT",%PID%,"Patient") |
start[x] | %STARTDATE% |
target | |
due[x] | %ENDDATE% |
statusDate | %WHENSIGNED% |
statusReason | %REASONREMOVED% |
expressedBy | MakeReference("AUTHOR",%CREATOR%,"Practitioner") |
addresses | MakeReferenceList("PROBLEM", %PROBLEMID%,"Condition") |
note | MakeAnnotation(%TARGETVALUE%) |
AthenaGoal |
Goal | Entity. Role, or Act, .outboundRelationship[typeCode<=OBJ]. |
meta | |
id | n/a |
extension | n/a |
security | |
security (SENSITIVECHART) | |
security (CONFABBR) | |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | Act.text? |
contained | N/A |
extension | 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 |