Stream: Specialty Medications
Topic: Search Conventions
Krzysztof Wilczek (Jun 24 2021 at 20:10):
Hi @Frank McKinney , I wanted to seek your guidance on how to extend Specialty Medication IG search conventions to provide more search criteria to the FHIR Server - I need to pass parameters which cannot be simply resolved by _include or _revinclude or by appending query parameter to the URL.
I am considering two options:
- Adding Parameters with specific Types to provide context to the FHIR Server to match proper patient and filter out the search results
- Creating custom Parameters with Type of string which will include just specific identifiers/match filters
In my context I will be always matching in FHIR Server the Patient within Organization by using "official" identifiers from Requester's system. For example:
- I could include the requester-patient of type Patient like
"resource" : {
"resourceType" : "Patient",
"identifier" : [
{
"use" : "official",
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
"code" : "PI",
"display" : "Patient internal identifier"
}
]
},
"system" : "http://vendor.com/ab",
"value" : "6bcd8467-0473-4836-9128-2e7972f23177",
"assigner" : {
"display" : "AB Vendor"
}
}
],
- or just a string parameter like:
{
"name" : "requester-patient-id",
"valueString" : "6bcd8467-0473-4836-9128-2e7972f23177"
},
Do you have some thoughts / recommendations on that?
Last updated: Apr 12 2022 at 19:14 UTC