Stream: implementers
Topic: Medicationstatement referencing person
Ravindra Kondiparthi (Oct 15 2020 at 23:47):
I would like to profile medication statement to allow person along with patient for subject.reference.
Example:{
"resourceType": "Medication",
"id": "med0309"
"subject":"Person/1234"}
But we noticed below information in https://www.hl7.org/fhir/person.html. Is that more of a guidance ?
"Person instances are never directly referenced as actors (authors, subjects, performers, etc.) "
Any help is appreciated?
Thanks
Ravi
Vassil Peytchev (Oct 16 2020 at 00:09):
MedicationUsage.subject is restricted to references to Patient or Group. You can't use Person there.
(MedicationUsage is the current name for the resource formerly known as MedicationStatement)
Jean Duteau (Oct 16 2020 at 00:32):
And Person is never used as a reference to anything. It is purely for amalgamating demographic and administrative information. The line you quoted from the specification is not just guidance it is an actual rule.
Lloyd McKenzie (Oct 16 2020 at 01:20):
Can you explain your use-case @Ravindra Kondiparthi? Why would you want Person in addition to Patient?
Last updated: Apr 12 2022 at 19:14 UTC