How can we send Patient preferred pharmacy?

We have requirement to link patient preferred pharmacy with patient and then send through FHIR specification. I have researched and found that we can use location resource for pharmacy but I could not found how can we do link between Location and Patient resource. Also, In Patient resource there is no field for Location reference.

Additionally, I have looked CareTeam resource but it does not have Location reference field available.

How can we achieve this?

1 Like

Location refers to a physical building. The Pharmacy - as in ‘the group of people responsible for dispensing medications’ would actually be an Organization. CareTeam would be appropriate and can link to Organizations.

3 Likes

Thanks Lloyd.

There are couple of things if we use CareTeam resource with Organization resource:

  1. How can we define Organization type as Pharmacy because I have looked the valuesets of organization type and could not find anything which says type as Pharmacy.
    https://www.hl7.org/fhir/valueset-organization-type.html

  2. Additionaly, do we need to skip participant.role attribute in CareTeam resource because I could not find any role which suggest that it is a pharmacy?
    https://www.hl7.org/fhir/valueset-participant-role.html

  1. The value set for Organization.type is defined with a strength of ‘example’. That means there’s no expectation that implementers will use those codes or that they’re anywhere near complete. You can (and should) draw codes from elsewhere or define your own codes if need-be.

  2. The same holds for CareTeam.participant.role

You can, if you wish, submit a change proposal asking for a ‘standard’ code to be defined and added to the value set, but there’s little chance that these value sets will ever be ‘complete’

Thanks Lloyd.

That means, It is not mandatory to use Organization.type and CareTeam.participant.role from the FHIR provided examples and hence we can define our own Or any CodeableCencept which which represents type and role, Is this correct?

So, we can use use like following way:

  1. We can use CareTeam.participant.role as shown below:
    “type”: [
    {
    “coding”: [
    {
    “system”: “http://terminology.hl7.org/CodeSystem/v3-RoleCode”,
    “code”: “PHARM”,
    “display”: “Pharmacy”
    }
    ]
    }
    ],:

  2. I found one Snomed for Pharmacy so, we can use Organization.type as shown below:
    “type”: [
    {
    “coding”: [
    {
    “system”: “http://snomed.info/sct”,
    “code”: “310080006”,
    “display”: “Pharmacy service”
    }
    ]
    }
    ],

Will it works? Do we use it like this way?

1 Like

Yes, that would be fine.

Thanks Lloyd. Appreciated your help!