MedicationStatement

See FHIR specification

Semantical type

The FHIR resource type is also used as semantical type of the resource. Include the FHIR resource name MedicationStatement into your applications access filter if you need to use this resource.

Resource owner

If the resource contains a subject which is a Patient or Practitioner that user is the owner of the resource. Otherwise the creator of the resource is the owner.

Default value for “subject”

If a resource with no subject field is send to MIDATA, the backend will set the subject to the current user.

Read

Read a single MedicationStatement by id.

Request:

[GET] /fhir/MedicationStatement/<id>

Read specific version

Read a specific version of a single MedicationStatement by id.

Request:

[GET] /fhir/MedicationStatement/<id>/_history/<version>

Retrieve history

Retrieve all versions of a single resource.

Request:

[GET] /fhir/MedicationStatement/<id>/_history

Search for resources of type MedicationStatement

Request:

[GET] /fhir/MedicationStatement?searchParams

List of supported search parameters:

Supported query parameters:

Name Type Description
_id string The resource identity
_lastUpdated date Only return resources which were last updated as specified by the given range
_page string  
category token Returns statements of this category of medicationstatement
code token Return statements of this medication code
context reference Returns statements for a specific context (episode or episode of Care).
effective date Date when patient was taking (or not taking) the medication
identifier token Return statements with this external identifier
medication reference Return statements of this medication reference
part-of reference Returns statements that are part of another event.
patient reference Returns statements for a specific patient.
source reference Who or where the information in the statement came from
status token Return statements that match the given status
subject reference The identity of a patient, animal or group to list statements for

Create

Create a new resource of type MedicationStatement.

Request:

[POST] /fhir/MedicationStatement

Update

Updates a resource of type MedicationStatement.

Request:

[PUT] /fhir/MedicationStatement/<id>