FHIR Chat · SearchCoveragePlan & FormularyDrug together with _profile · Da Vinci PDex Drug Formulary

Stream: Da Vinci PDex Drug Formulary

Topic: SearchCoveragePlan & FormularyDrug together with _profile


view this post on Zulip Tushar Nair (Mar 05 2021 at 18:03):

From a user standpoint - if a query is made to find a Formulary drug to figure out the available drug plan and cost sharing options, the information to be fetched in return is going to be a combination of MedicationKnowledge & List (CovergaePlan). Example somebody looked up Acetaminophen. The query should ideally be able to return all such MedicationKnowledge resources satisfying the Drug Name paameter and along with that it should also return the 'List' (CoveragePlan profile) in which the MedicationKnowledge resource is referred as an entry item. I am using this query -[base]/MedicationKnowledge?_profile=http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-FormularyDrug&DrugName=Acetaminophen&_revinclude=List:item. But I am unable to find a way to emphasize that the 'List' should also be such which complies to the Davinci CoveragePlan profile: http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-CoveragePlan. Is there a better way to query this or a workaround by which I could filter the List as well by the profile? I would be grateful if you could shed some light on this.Thank you in advance. @Saul Kravitz @Lloyd McKenzie

view this post on Zulip Saul Kravitz (Mar 05 2021 at 20:17):

@Tushar Nair
I suspect most clients would want to retrieve the CoveragePlan info once, and constrain searches in the formulary to one PlanID.
That is how the MITRE reference client works. Using the _revinclude may work, but support for _revinclude is not required by the current IG.
Support for _profile search parameter is also not currently required. So, if you are building a client, you shouldn't expect that to work.

Here is an example, using Rxnorm code instead of name, since it returns less data. If you want to filter to include only MedicationKnowledge instances that are compliant with the IG, you could add a PlanID search parameter, or look for a PlanID extension in the returned data. There is currently no way to filter List instances, other than looking for the CoveragePlan specific extensions, or by querying using the IG-specific searchParameters (e.g., PlanID). If you are doing reverse include, the only LIst instances that should reference a FOrmularyDrug (MedicationKnowledge) instance should be the right ones.

https://davinci-drug-formulary-ri.logicahealth.org/fhir/MedicationKnowledge?code=1049225&_revinclude=List:item

view this post on Zulip Tushar Nair (Mar 09 2021 at 03:47):

Saul Kravitz Thank you!


Last updated: Apr 12 2022 at 19:14 UTC