Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: Athena Consent Profile - Mappings

Active as of 2022-03-01

Mappings for the athena-consent-profile resource profile.

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

Athena Consent Profile
ConsentFHIRR4_CONSENTVIEW
   idMakeId(%ID%)
   meta
      lastUpdated (athena-financialClassMid)%DB_UPDATED_DATE%
      security
      security (SENSITIVE-CHART)CheckSensitive(%SENSITIVECHART%)
      security (type)
         system (uri)getSiteCodeSystem("ConfidentialDocument")
         code (code)%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   extension
   extension (encounter)
      value[x]MakeReference("ENCOUNTER",%SDID%,"Encounter")
   extension (period)
      value[x]MakePeriod(%STARTDATE%, %STOPDATE%)
   identifierMakeIdentifier("U",getSiteSystem("AdvanceDirectiveId"),%ID%)
   status%STATUS%
   scopeMapConcept(%CONSENTSCOPECODE%, "CONSENTSCOPECODE")
   category
      codingMapCoding(%DESCRIPTION%,"ADVANCEDIRECTIVE")
      text%DESCRIPTION%
   patientMakeReference("PATIENT",%PID%, "Patient")
   dateTime%DB_CREATE_DATE%
   performerMakeReference("Practitioner",%USRID%,"Practitioner")

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

Athena Consent Profile
ConsentFHIRR4_CONSENTVIEW
   idMakeId(%ID%)
   meta
      lastUpdated (athena-financialClassMid)%DB_UPDATED_DATE%
      security
      security (SENSITIVE-CHART)CheckSensitive(%SENSITIVECHART%)
      security (type)
         system (uri)getSiteCodeSystem("ConfidentialDocument")
         code (code)%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   extension
   extension (encounter)
      value[x]MakeReference("ENCOUNTER",%SDID%,"Encounter")
   extension (period)
      value[x]MakePeriod(%STARTDATE%, %STOPDATE%)
   identifierMakeIdentifier("U",getSiteSystem("AdvanceDirectiveId"),%ID%)
   status%STATUS%
   scopeMapConcept(%CONSENTSCOPECODE%, "CONSENTSCOPECODE")
   category
      codingMapCoding(%DESCRIPTION%,"ADVANCEDIRECTIVE")
      text%DESCRIPTION%
   patientMakeReference("PATIENT",%PID%, "Patient")
   dateTime%DB_CREATE_DATE%
   performerMakeReference("Practitioner",%USRID%,"Practitioner")

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

Athena Consent Profile
ConsentEvent
   identifierEvent.identifier
   statusEvent.status
   categoryEvent.code
   patientEvent.subject
   dateTimeEvent.occurrence[x]
   performerEvent.performer
   organizationEvent.performer

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

Athena Consent Profile
ConsentCON
   meta
      security
      security (SENSITIVE-CHART)
      security (type)
         system (uri)C*E.3
         versionC*E.7
         code (code)C*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
   statusHL7 Table 0498 - Consent Status
   categoryHL7 Table 0497 - Consent Type
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   dateTimeField 13/ Consent Decision Date
   performerField 24/ ConsenterID
   source[x]Field 19 Informational Material Supplied Indicator

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

Athena Consent Profile
ConsentEntity. Role, or Act, FinancialConsent
   meta
      idn/a
      extensionn/a
      security
      security (SENSITIVE-CHART)
      security (type)
         idn/a
         extensionn/a
         system (uri)./codeSystem
         version./codeSystemVersion
         code (code)./code
         displayCV.displayName
         userSelectedCD.codingRationale
   textAct.text?
   containedN/A
   extension
   extension (encounter)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (period)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   modifierExtensionN/A
   identifier.id
   status.statusCode
   categoryCNTRCT
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   patientRole
   dateTimeFinancialConsent effectiveTime
   policy
      idn/a
      extensionn/a
      modifierExtensionN/A
   verification
      idn/a
      extensionn/a
      modifierExtensionN/A
   provision
      idn/a
      extensionn/a
      modifierExtensionN/A
      actor
         idn/a
         extensionn/a
         modifierExtensionN/A
      dataRole
         idn/a
         extensionn/a
         modifierExtensionN/A

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

Athena Consent Profile
Consent
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   patientFiveWs.subject[x], FiveWs.subject
   dateTimeFiveWs.recorded
   performerFiveWs.actor
   organizationFiveWs.witness