Updated Endpoints: Added Support for the _LastUpdated Search Parameter to the Medication Request and Immunization FHIR R4 Endpoints

Summary

The medication request and immunization endpoint data can now be filtered by the _LastUpdated parameter. Additionally, a new attribute, Meta.lastupdated, is now available for these resources.

Products

athenaClinicals, athenaClinicals for Hospitals & Health Systems

Roles

Management/Technical

Available

January 12, 2023

Highlights

  • Added ability to filter data by the Last updated Parameter
  • Added additional attribute, Meta.lastupdated

Setup

  • N/A

Is this a breaking change

No, this is not a breaking change

Endpoints affected

  • MedicationRequest
  • Immunization

New Endpoints

  • N/A

Resources

Refer to the following resources for more information:

  • https://docs.athenahealth.com/api/fhir-r4/medication-request?f=r4
  • https://docs.athenahealth.com/api/fhir-r4/immunization?f=r4

What is changing

The medication request and immunization endpoint data can now be filtered by the last updated parameter.  

Additionally, a new attribute, Meta.lastupdated, is now available for these resources.

Why we’re making the change

We’re making this change to enable API users to pull different data in lieu of the all-time data set resulting in an increase in API call performance and a decrease in load on our infrastructure.

What will current users of the endpoint need to update in their code

Current users who want to filter the resource output based on the last updated date can now add a _lastUpdated parameter in the URL using the following URL convention: 

a-<practice_id>.E-<enterprise_id>&intent=<order or plan>&_lastUpdated={gt|lt|ge|le}[date]

For example: 

/MedicationRequest?patient=a-11287.E-3605&intent=order,plan&&_lastUpdated=lt2015

What will happen if users of the endpoint do not update their code

This is an additive change. Nothing will happen if changes are not made.

Was this information helpful? Yes | No Thank you for your feedback! What went wrong? Incomplete or incorrect information | Irrelevant Content | Others
Submit

On this Page