ERA FHIR specification
1.0.0 - draft

ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

OperationDefinition: MedicationListFI Get Custom Medication Data - Prescriptions With a Certain ATC Code

Official URL: https://eradocumentation.atostek.com/OperationDefinition/MedicationListFi-get-medication-custom-data-atc Version: 1.0.0
Draft as of 2026-10-28 Computable Name: MedicationListFi-Get-Medication-Custom-Data-Atc

The search returns information about prescriptions and their dispensations. The search results can be limited if the patient has restricted the sharing of their personal health information.

The search result is stored in the client's registry in ERA's database and returned to the client. If the search is performed successfully but returns no results, an empty Bundle is returned.

URL: [base]/$MedicationListFi-get-medication-custom-data

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INrequestPurpose1..1Coding

Purpose of requesting medication information. Expressed using a code from the Kanta code system 'urn:oid:1.2.246.537.5.40110.2006' (Sähköinen lääkemääräys - Reseptikyselyn syy). Provide both the system and the code.

INserviceEventId0..1Identifier

Identifier of a service event, if request is done from a open service event.

INpatientIdentifier1..1Identifier

Identifier of the patient. Provide both the system 'urn:oid:1.2.246.21' and the value (the actual patient id).

INatcCode1..1Coding

ATC code of the drug. A code from the Kanta code system 'urn:oid:1.2.246.537.6.32.2007' (Fimea - ATC Luokitus). Provide both the system and the code.

INauthoredOn1..1Period

Time period for which medication history is requested. The length of the search period can be at most 36 months, but the period can be at any point in the patient's medication history. An exception to this are pharmacies and hospital pharmacies, for which the search is limited to 42 months prior to the current time point. The accepted date format is YYYY-MM-DD.

OUTreturn1..1Bundle

Kanta medication list