Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaSubscription - Mappings

Active as of 2022-03-01

Mappings for the athena-subscription-profile resource profile.

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

AthenaSubscription
SubscriptionFHIRR4_SUBSCRIPTIONVIEW
   idMakeId(%ID%)
   meta
      lastUpdated%LASTMODIFIED%
   extension
   extension (OWNER)
      value[x]MakeReference("USR",%OWNER%,"Practitioner")
   extension (SOURCEID)
      value[x]%SOURCEID%
   extension (SOURCENAME)
      value[x]%SOURCENAME%
   statusMapCode(%STATUS%,"SUBSCRIPTION_STATUS")
   contact
   contact (PHONE)
      value%CONTACTPHONE%
   contact (CONTACTEMAIL)
      value%CONTACTEMAIL%
   end%ENDDATE%
   reason%REASON%
   criteria%CRITERIA%
   error%ERROR%
   channel
      typeMapCode(%CHANNEL_TYPE%,"SUBSCRIPTION_CHANNEL_TYPE")
      endpoint%ENDPOINT%
      header%HEADER%

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

AthenaSubscription
SubscriptionFHIRR4_SUBSCRIPTIONVIEW
   idMakeId(%ID%)
   meta
      lastUpdated%LASTMODIFIED%
   extension
   extension (OWNER)
      value[x]MakeReference("USR",%OWNER%,"Practitioner")
   extension (SOURCEID)
      value[x]%SOURCEID%
   extension (SOURCENAME)
      value[x]%SOURCENAME%
   statusMapCode(%STATUS%,"SUBSCRIPTION_STATUS")
   contact
   contact (PHONE)
      value%CONTACTPHONE%
   contact (CONTACTEMAIL)
      value%CONTACTEMAIL%
   end%ENDDATE%
   reason%REASON%
   criteria%CRITERIA%
   error%ERROR%
   channel
      typeMapCode(%CHANNEL_TYPE%,"SUBSCRIPTION_CHANNEL_TYPE")
      endpoint%ENDPOINT%
      header%HEADER%

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

AthenaSubscription
SubscriptionEntity. Role, or Act, N/A
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   extension
   extension (OWNER)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (SOURCEID)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   extension (SOURCENAME)
      idn/a
      extensionn/a
      urlN/A
      value[x]N/A
   modifierExtensionN/A
   contact
   contact (PHONE)
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   contact (CONTACTEMAIL)
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   channel
      idn/a
      extensionn/a
      modifierExtensionN/A

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

AthenaSubscription
Subscription
   statusFiveWs.status
   contactFiveWs.subject[x], FiveWs.subject
   contact (PHONE)FiveWs.subject[x], FiveWs.subject
   contact (CONTACTEMAIL)FiveWs.subject[x], FiveWs.subject
   endFiveWs.done[x]
   reasonFiveWs.why[x]