Calling the API

The API can be accessed at https://api.legemiddelverket.no/fhir-r4-hresept and follows the API specification defined in the FHIR standard. The resources can be fetched through the following pattern:

GET api.legemiddelverket.no/fhir-r4-hresept/[delta?]/[resourceType]/[id?]/[_history?]

Where the allowed resource types are:

  • MedicinalProduct
  • MedicinalProductPackaged
  • PlanDefinition
  • ActivityDefinition
  • MedicinalProductAuthorization

If delta is included the incemental Delta API is called, otherwise the snapshot is used (see Data update cycle). The Delta API provides the option to include all previous versions of the resources through the _history option.

If an id is provided, a specific resource is returned - if not, a list of entities are returned allowing one to fetch all entities of a given type.

Note that the API only provides read access to each resource.