Stream: implementers
Topic: MedicationKnowledge limiting _include=monograph
Kate Dech (Mar 23 2022 at 18:25):
When there is a search parameter that is a reference, but the element is an array, are there any modifiers available to limit which specific instance gets included?
My case is with MedicationKnowledge and the monograph elements. monograph is an array backbone element. The subfields are type and source. We will have patient education monograph sources (DocumentReference) in multiple languages and at some point in the future, we may professional/clinical monograph references. We want consumers to be able to _include monograph when they search against MK. But is there a way to limit to one specific type?
When the consumer knows that are going to present the spanish version of the file, and they don't need the english version, what syntax could be used to limit which DocumentReference resource is included?
mockup here:
"monograph": [
{
"type": {
"coding": [
{
"system": "code system url here",
"code": "patient-education-monograph-en",
"display": "Patient Education Monograph (English)"
}
],
"text": "Patient Education Monograph"
},
"source": {
"reference": "DocumentReference/DRGIS.12345.en"
}
},
{
"type": {
"coding": [
{
"system": "code system url here",
"code": "patient-education-monograph-es",
"display": "Patient Education Monograph (Spanish)"
}
],
"text": "Patient Education Monograph"
},
"source": {
"reference": "DocumentReference/DRGIS.12345.es"
}
}
],
@Bapi Behera
Michele Mottini (Mar 23 2022 at 21:42):
No. You need to create a different search parameter that is specific, and then use that for the include
Last updated: Apr 12 2022 at 19:14 UTC