Mappings for the athena-careplan-profile resource profile.
| AthenaCarePlan |
| CarePlan | FHIRR4_CAREPLANVIEW |
| id | MakeId(%RESOURCEID%) |
| meta | |
| versionId | %CAREPLANID% |
| lastUpdated | %WHENUPDATED% |
| security | CheckSensitive(%SENSITIVECHART%) |
| code | %CONFABBR% |
| tag | MakeChangeTagList(%DCHANGE%) |
| identifier | MakeIdentifier("U",getSiteSystem("CarePlanId"),%RESOURCEID%) |
| status | MapCode(%STATUS%,"CAREPLANSTATUS",true) |
| intent | IsIntentCode("plan",%INTENT%) |
| category (us-core) | MapConceptForCarePlanList(%CODE%,%RESOURCEID%,"CAREPLAN-CATEGORY") |
| description | %COMMENTS% |
| subject | MakeReference("SUBJECT",%PID%,"Patient") |
| encounter | MakeReference("ENCOUNTER",%SDID%,"Encounter") |
| period | MakePeriod(%COMMITTEDDATE%) |
| created | %WHENUPDATED% |
| author | MakeReference("AUTHOR",%CREATOR%,"Practitioner") |
| contributor (RESPDOCTORID) | MakeReference("Practitioner",%RESPDOCTORID%,"Practitioner") |
| contributor (REFDOCTORID) | MakeReference("Practitioner",%REFDOCTORID%,"Practitioner") |
| contributor (PRIMARYCAREDOCTORID) | MakeReference("Practitioner",%PRIMARYCAREDOCTORID%,"Practitioner") |
| contributor (RELATEDPERSON) | MakeCarePlanParticipantList("RelatedPerson", %CARETEAMMEMBERS%, "RelatedPerson") |
| careTeam | MakeReference("CareTeam",%CARETEAMID%,"CareTeam") |
| addresses | MakeReferenceList("PROBLEM", %PROBLEMID%,"Condition") |
| goal | MakeReferenceList("GOAL", %GOAL%,"Goal") |
| activity | MakeActivityList(%RESOURCEID%) |
| note | MakeAnnotation(%COMMENTS%) |
| AthenaCarePlan |
| CarePlan | FHIRR4_CAREPLANVIEW |
| id | MakeId(%RESOURCEID%) |
| meta | |
| versionId | %CAREPLANID% |
| lastUpdated | %WHENUPDATED% |
| security | CheckSensitive(%SENSITIVECHART%) |
| code | %CONFABBR% |
| tag | MakeChangeTagList(%DCHANGE%) |
| identifier | MakeIdentifier("U",getSiteSystem("CarePlanId"),%RESOURCEID%) |
| status | MapCode(%STATUS%,"CAREPLANSTATUS",true) |
| intent | IsIntentCode("plan",%INTENT%) |
| category (us-core) | MapConceptForCarePlanList(%CODE%,%RESOURCEID%,"CAREPLAN-CATEGORY") |
| description | %COMMENTS% |
| subject | MakeReference("SUBJECT",%PID%,"Patient") |
| encounter | MakeReference("ENCOUNTER",%SDID%,"Encounter") |
| period | MakePeriod(%COMMITTEDDATE%) |
| created | %WHENUPDATED% |
| author | MakeReference("AUTHOR",%CREATOR%,"Practitioner") |
| contributor (RESPDOCTORID) | MakeReference("Practitioner",%RESPDOCTORID%,"Practitioner") |
| contributor (REFDOCTORID) | MakeReference("Practitioner",%REFDOCTORID%,"Practitioner") |
| contributor (PRIMARYCAREDOCTORID) | MakeReference("Practitioner",%PRIMARYCAREDOCTORID%,"Practitioner") |
| contributor (RELATEDPERSON) | MakeCarePlanParticipantList("RelatedPerson", %CARETEAMMEMBERS%, "RelatedPerson") |
| careTeam | MakeReference("CareTeam",%CARETEAMID%,"CareTeam") |
| addresses | MakeReferenceList("PROBLEM", %PROBLEMID%,"Condition") |
| goal | MakeReferenceList("GOAL", %GOAL%,"Goal") |
| activity | MakeActivityList(%RESOURCEID%) |
| note | MakeAnnotation(%COMMENTS%) |
| AthenaCarePlan |
| CarePlan | Entity. Role, or Act, Act[classCode=PCPR, moodCode=INT] |
| meta | |
| id | n/a |
| extension | n/a |
| security | |
| 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 |
| instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target |
| instantiatesUri | .outboundRelationship[typeCode=DEFN].target |
| status | .statusCode planned = new active = active completed = completed |
| subject | .participation[typeCode=PAT].role[classCode=PAT] |
| encounter | . |
| period | .effectiveTime |
| created | .participation[typeCode=AUT].time |
| addresses | .actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN] |
| goal | .outboundRelationship[typeCode<=OBJ]. |
| activity | .outboundRelationship[typeCode=COMP].target |
| id | n/a |
| extension | n/a |
| modifierExtension | N/A |
| outcomeReference | .inboundRelationship[typeCode=FLFS].source |
| progress | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value |
| reference | .outboundRelationship[typeCode=COMP].target |
| detail | .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target |
| id | n/a |
| extension | n/a |
| modifierExtension | N/A |
| kind | .inboundRelationship[typeCode=COMP].source[classCode=LIST].code |
| instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target |
| instantiatesUri | .outboundRelationship[typeCode=DEFN].target |
| code | .code |
| goal | .outboundRelationship[typeCode<=OBJ]. |
| status | .statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted |
| doNotPerform | actionNegationInd |
| scheduled[x] | .effectiveTime |
| location | .participation[typeCode=LOC].role |
| performer | .participation[typeCode=PFM] |
| product[x] | .participation[typeCode=PRD].role |
| dailyAmount | .outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity |
| quantity | .outboundRelationship[typeCode=COMP][classCode=SPLY].quantity |
| description | .text |
| note | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value |