Building on the Platform
...
Solutions
Access to Clinical Data

Retrieve Medication Statement

4min

Retrieve a patient's medication history, including current and past medications. Access details on medication names, dosage, frequency, and adherence. Ideal for tracking a patient's medication adherence and ensuring safe prescribing practices.

To access this clinical data you'll need the patient identifier, obtainable through the Retrieve Patient interaction.

Interaction

Retrieving the list of medication statements can be done by sending a GET request. The request is sent to the MedicationStatement endpoint:

https://api.<region>.founda.com/1/organizations/<org-x>/fhir/4/MedicationStatement?<parameters>

Where <region> should be defined according to the different Founda regions and <org-x> should be replaced with the Healthcare Provider's organization ID that you are integrated with.

The response contains a Bundle with 0, 1 or N matching MedicationStatements. The full MedicationStatement resource can be retrieved with the identifier of the selected MedicationStatement from the result set.

Profile

Founda adheres to recognized standards (IHE, HL7 FHIR) to ensure compatibility and harmonization among diverse systems. If there is a profile available for an interaction, it is recommended and preferred to follow the prescribed transactions.

The Retrieve MedicationStatement interaction with the Founda Platform is based on the IHE QEDm profile. To indicate that the request and response should comply with PCC-44, the _profile parameter should be included to the search set: .../MedicationStatement?_profile=https://profiles.ihe.net/ITI/QEDm.

Parameters

In order to comply with the PCC-44 transaction, the interaction should at least support the parameter in the table below. Additional search parameters, as defined in the FHIR MedicationStatement resource, can be used as well.

Parameters combination

Type

Required

Description

patient

reference

Yes

The patient to search data for

patient + _include=MedicationStatement::medication

reference + token



The patient to search data for + the parameter for specifying if medication resource should be included in the response

Example API call