Stream: implementers
Topic: Contained practitioner
healthcareEng (Feb 10 2022 at 17:01):
Hi All ,
We want to use Practitioner Resource and link it with MedicationDispense , but we dont have sufficient data to give an unique identifer for Practitioner Resource.
Is it good idea to add it in contained node of MedicationDispense.
Is it not compulsory to use identifier for a resource , when its inside contained ?
Shamil Nizamov (Feb 10 2022 at 17:18):
An example in the Contained Resources section shows how to use a contained Practitioner.
https://hl7.org/fhir/R4/references.html#contained
Lloyd McKenzie (Feb 10 2022 at 21:11):
@healthcareEng, I moved your topic so the discussion could happen in its own thread.
Lloyd McKenzie (Feb 10 2022 at 21:12):
Is the Practitioner information shared across multiple dispenses? If so, you probably want a distinct resource.
If the Practitioner details are stored in your database along with the dispense info, then a contained resource makes perfect sense.
Lloyd McKenzie (Feb 10 2022 at 21:13):
Practitioner.identifier isn't mandatory whether contained or not. However, in both contained and non-contained, you'll need a Practitioner.id. If stand-alone, then the id needs to be unique across all Practitioners. If contained, it only needs to be unique in the context of the MedicationDispense.
healthcareEng (Feb 11 2022 at 05:12):
thanks @Shamil Nizamov @Lloyd McKenzie , information was really helpful.
Kevin Mayfield (Feb 11 2022 at 14:01):
On a related note. Has anyone asked if MedicationRequest.requester become 0..*
We are often finding we have a pair of codes, one for organization and one for practitioner. We could go down the contained route to a PractitionerRole.
Lloyd McKenzie (Feb 11 2022 at 17:43):
Requester will definitely not change to support that use-case. If you need both Practitioner and Organization, the solution is always PractitionerRole.
Kevin Mayfield (Feb 11 2022 at 19:35):
I may have a solution but I'm not sure it's legal
<requester>
<reference value="#requester" />
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="RBA" />
</identifier>
<display value="The Hospital Org" />
</requester>
The identifier is pointing to a Practitioner.identifier (it's not stated above but it is)
whereas the contained reference points to PracitionerRole.
The reason for doing this put the most commonly used identifier in the Reference and users/subscriptions don't have to follow the reference to get it.
Lloyd McKenzie (Feb 11 2022 at 19:45):
The expectation if you have both a Reference.reference and a Reference.identifier, they're referring to the same entity. You can't have one refer to a Practitioner and the other to an Organization
healthcareEng (Feb 14 2022 at 10:26):
hi all,
Is there a ways to pass some extra info , in the existing resource , without voilating fhir rules.
We have some additional prescriptions data we would like to pass it it MedicationDispenseResouce.
René Spronk (Feb 14 2022 at 10:51):
See http://build.fhir.org/extensibility.html - please create a new topic if your question is unrelated to an existing topic (Contained practitioner, in this case).
Lloyd McKenzie (Feb 14 2022 at 15:29):
Keep in mind that, in general, prescription data belongs on MedicationRequest, not MedicationDispense.
healthcareEng (Feb 17 2022 at 09:58):
hi @Lloyd McKenzie ,so practitioner resource must be contained in MedicationRequest not MedicationDispense ?
Lloyd McKenzie (Feb 17 2022 at 23:55):
If you're talking about the prescriber, then yes.
healthcareEng (Mar 09 2022 at 07:29):
hi,
I am trying to run fhir validator on medication request resource,
Getting these errors (unrecoginzed property), even though documentation says these are valid fields (http://hl7.org/fhir/R4/medicationrequest.html). Any idea ?
Error @ Bundle.entry[1] (line 127, col26): Unrecognised property '@performer'
Error @ Bundle.entry[1] (line 134, col31): Unrecognised property '@dosageInstruction'
Error @ Bundle.entry[1] (line 148, col38): Unrecognised property '@dispenseRequest'
Error @ Bundle.entry[1] (line 155, col17): Unrecognised property '@contained'
Jean Duteau (Mar 09 2022 at 07:35):
It seems that you have a ‘@‘ in front of your properties?
healthcareEng (Mar 09 2022 at 08:02):
@Jean Duteau , nope. there is no @
Jean Duteau (Mar 09 2022 at 11:46):
Share your example and we can give better advice
Last updated: Apr 12 2022 at 19:14 UTC