Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaCareTeam - Mappings

Active as of 2022-03-01

Mappings for the athena-careteam-profile resource profile.

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

AthenaCareTeam
CareTeamFHIRR4_CARETEAMVIEW
   idMakeIdWithPrefix(%RESOURCEID%,%ID_PREFIX%)
   meta
      lastUpdated%LASTUPDATED%
      securityCheckSensitive(%SENSITIVECHART%)
   identifierMakeIdentifier("U",getSiteSystem("CareTeamId"),%RESOURCEID%, %ID_PREFIX%)
   statusIsStatusCode("active",%DSTATUS%)
   name%NAME%
   subjectMakeReference("SUBJECT",%PID%,"Patient")
   participant
   participant (RESPDOCTORID)
      roleMakeConcept("405279007" ,"http://snomed.info/sct","Attending physician")
      memberMakeReference("Practitioner",%RESPPROVID%,"Practitioner")
   participant (REFDOCTORID)
      roleMakeConcept("309343006" ,"http://snomed.info/sct","Physician")
      memberMakeReference("Practitioner",%REFPROVID%,"Practitioner")
   participant (PRIMARYCAREPROVIDER)
      roleMakeConcept("446050000" ,"http://snomed.info/sct","PCP - Primary care physician")
      memberMakeReference("Practitioner",%PCPID%,"Practitioner")
   participant (RELATEDPERSONS)MakeCareTeamParticipantList("RelatedPerson",%RELPERSMEMBERS%,"RelatedPerson")

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

AthenaCareTeam
CareTeamFHIRR4_CARETEAMVIEW
   idMakeIdWithPrefix(%RESOURCEID%,%ID_PREFIX%)
   meta
      lastUpdated%LASTUPDATED%
      securityCheckSensitive(%SENSITIVECHART%)
   identifierMakeIdentifier("U",getSiteSystem("CareTeamId"),%RESOURCEID%, %ID_PREFIX%)
   statusIsStatusCode("active",%DSTATUS%)
   name%NAME%
   subjectMakeReference("SUBJECT",%PID%,"Patient")
   participant
   participant (RESPDOCTORID)
      roleMakeConcept("405279007" ,"http://snomed.info/sct","Attending physician")
      memberMakeReference("Practitioner",%RESPPROVID%,"Practitioner")
   participant (REFDOCTORID)
      roleMakeConcept("309343006" ,"http://snomed.info/sct","Physician")
      memberMakeReference("Practitioner",%REFPROVID%,"Practitioner")
   participant (PRIMARYCAREPROVIDER)
      roleMakeConcept("405279007" ,"http://snomed.info/sct","Attending physician")
      memberMakeReference("Practitioner",%PCPID%,"Practitioner")
   participant (RELATEDPERSONS)MakeCareTeamParticipantList("RelatedPerson",%RELPERSMEMBERS%,"RelatedPerson")

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

AthenaCareTeam
CareTeam
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   periodFiveWs.init
   participant
      memberFiveWs.actor
   participant (RESPDOCTORID)
      memberFiveWs.actor
   participant (REFDOCTORID)
      memberFiveWs.actor
   participant (PRIMARYCAREPROVIDER)
      memberFiveWs.actor
   participant (RELATEDPERSONS)
      memberFiveWs.actor
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]

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

AthenaCareTeam
CareTeam
   participantREL (REL.4 is always the Patient) ( or PRT?)
      roleREL.2 (or PRT-4?)
      memberREL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)
   participant (RESPDOCTORID)REL (REL.4 is always the Patient) ( or PRT?)
      roleREL.2 (or PRT-4?)
      memberREL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)
   participant (REFDOCTORID)REL (REL.4 is always the Patient) ( or PRT?)
      roleREL.2 (or PRT-4?)
      memberREL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)
   participant (PRIMARYCAREPROVIDER)REL (REL.4 is always the Patient) ( or PRT?)
      roleREL.2 (or PRT-4?)
      memberREL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)
   participant (RELATEDPERSONS)REL (REL.4 is always the Patient) ( or PRT?)
      roleREL.2 (or PRT-4?)
      memberREL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)

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

AthenaCareTeam
CareTeamEntity. Role, or Act
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   participant.participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      role.functionCode
      member.role
   participant (RESPDOCTORID).participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      role.functionCode
      member.role
   participant (REFDOCTORID).participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      role.functionCode
      member.role
   participant (PRIMARYCAREPROVIDER).participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      role.functionCode
      member.role
   participant (RELATEDPERSONS).participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      role.functionCode
      member.role