MedicationOrder search clarification

30 views
Skip to first unread message
Assigned to mphil...@gmail.com by me

Lauren Cairco Dukes

unread,
Sep 24, 2018, 1:10:16 PM9/24/18
to Cerner FHIR Developers
Hi all,

I am having some trouble understanding the search parameters here for MedicationOrder and how to use them correctly.

I have a bunch of MedicationAdministrations already in my app that return a MedicationOrder reference under the "prescription" field. Now, I want to get the MedicationOrder that has that reference.

The search parameters for MedicationOrder don't seem to allow this, unless this is maybe "identifier"? But the documentation is vague, so I can't tell if that's the right thing. Is there some better way to accomplish this? (I also tried searching by _id using that prescription, but then I get an error that I can't specify both Patient and ID on search).

Thanks in advance,

Lauren Dukes

Max Philips (Cerner)

unread,
Sep 24, 2018, 1:46:50 PM9/24/18
to Cerner FHIR Developers
Hi Lauren,

Cerner's sandbox server exposes a read by id for MedicationOrder - this should be the best way to get the details of each MedicationOrder.

For example:

From the list of MedicationAdministrations for patient 4342008:
...
"id": "8795283",
...
"prescription": {
    "reference": "MedicationOrder/24197931"
},
...

You can load the MedicationOrder for MedicationAdministration 8795283 like this:

We do advertise this capability in the conformance statement for our server:
See MedicationOrder 'interaction'.

Double checking our documentation on fhir.cerner.com, I've realized that we do not mention MedicationOrder read functionality. We'll get that updated!

Thanks,
Max (Cerner)

Lauren Cairco Dukes

unread,
Sep 24, 2018, 2:00:21 PM9/24/18
to cerner-fhir...@googlegroups.com
Thanks so much for the quick response and the documentation update, I really appreciate it!

--
You received this message because you are subscribed to a topic in the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cerner-fhir-developers/oup-nS14bN8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cerner-fhir-devel...@googlegroups.com.
To post to this group, send email to cerner-fhir...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/44269d04-4a3e-41d0-965f-1531513f43af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Max Philips (Cerner)

unread,
Sep 27, 2018, 10:25:26 AM9/27/18
to Cerner FHIR Developers
MedicationOrder read documentation is now available:

Thanks,
Max (Cerner)
Reply all
Reply to author
Forward
0 new messages