Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaAccount - Mappings

Active as of 2022-03-01

Mappings for the athena-account-profile resource profile.

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

AthenaAccount
AccountFHIRR4_ACCOUNTVIEW
   idMakeId(%ID%)
   meta
      lastUpdated%LASTUPDATED%
   extension
   extension (visitDate)
      value[x]%VISITDATE%
   extension (billStatus)
      value[x]asStringType(MapString(%BILLSTATUS%,"BILLSTATUS"))
   extension (currentCarrier)
      value[x]MakeIntType(%CURRENTCARRIER%)
   extension (patientVisitId)
      value[x]MakeIntType(%PATIENTVISITID%)
   extension (doctorId)
      value[x]MakeReference("USR",%DOCTORID%,"Practitioner")
   extension (facilityId)
      value[x]MakeReference("LOCREG",%LOCATIONID%,"Organization")
   extension (companyId)
      value[x]MakeReference("LOCREG",%COMPANYID%,"Organization")
   extension (Total Balance)MakeTotalBalance(%PATBALANCE%,%INSBALANCE%,"TotalBalance","ACCOUNT");
   extension (Insurance Balance)MakeAccountBalance(%INSBALANCE%,"InsuranceBalance","ACCOUNT")
   extension (Patient Balance)MakeAccountBalance(%PATBALANCE%,"PatientBalance","ACCOUNT")
   extension (Deposit)MakeAccountBalance(%DEPOSIT%,"Deposit","ACCOUNT")
   extension (financialClassMid)
      value[x]MakeIntType(%FINANCIALCLASSMID%)
   identifierMakeIdentifier("U",getSiteSystem("AccountId"),%ID%)
   statusMapCode(%STATUS%,"ACCOUNTSTATUS")
   typeMakeConcept(%TYPE%,"http://terminology.hl7.org/CodeSystem/v3-ActCode","patient billing account")
   subjectMakeReference("PATIENTPROFILE",%PID%,"Patient")
   servicePeriodMakePeriod(%VISITDATE%, %VISITENDDATE%)
   coverage
      coverageMakeReference("COVERAGE",%COVERAGEID%,"Coverage")
   ownerMakeReference("ORGANIZATION",%LOCATIONID%,"Organization")
   description%DESCRIPTION%
   guarantor
      partyMakeReference("Guarantor",%GUARANTORID%,"RelatedPerson")

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

AthenaAccount
AccountEntity. Role, or Act, Account
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   extension
   extension (visitDate)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (billStatus)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (currentCarrier)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (patientVisitId)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (doctorId)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (facilityId)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (companyId)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (Total Balance)
   extension (Insurance Balance)
   extension (Patient Balance)
   extension (Deposit)
   extension (financialClassMid)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   modifierExtensionN/A
   identifier.id
   status.statusCode
   type.code
   name.title
   subject.subject
   servicePeriod.coverage.insurancePolicy.effectiveTime
   coverage.coverage
      idn/a
      extensionn/a
      modifierExtensionN/A
      coverage.coverage.insurancePolicy.author
      priority.coverage.sequenceNumber
   owner.holder
   description.subjectOf.observationEvent[code="annotation"].value
   guarantor.holder.guarantorRole
      idn/a
      extensionn/a
      modifierExtensionN/A
      party.holder.guarantorRole[guarantorPerson|guarantorOrganization]
      onHold.holder.guarantorRole.statusCode
      period.holder.guarantorRole.effectiveTime

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

AthenaAccount
Account
   identifierFiveWs.identifier
   statusFiveWs.status
   typeFiveWs.class
   nameFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   servicePeriodFiveWs.done[x]