Page Status: updated 2022-11-22

NLLMultiDoseDispensingBasis (Basic)

Page index

Introduction

The profile NLLMultiDoseDispensingBasis is based on the Basic resource. NLLMultiDoseDispensingBasis contains information used as basis for decisions in connection with the production of multi dose dispense bags. Multi-dose medication dispensing means that patients get their medications machine dispensed into one unit for each dose occasion and packed in disposable bags.

Regarding information about how the "must support"-property is used in the Swedish National MedicationList, please refer to the page Resources

Overview

idS Σ0..1string
id0..1string
extensionI0..*Extension
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileΣ0..*canonical(StructureDefinition)
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
tagΣ0..*Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
nllStatusS I0..1Extension(code)Binding
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueReferenceReference(NLLPharmacyLocation)
nllUrgentProductionS I0..1Extension(boolean)
nllLastUpdatedS I0..1Extension(dateTime)
modifierExtension?! I0..*Extension
identifierΣ0..*Identifier
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ1..1codeFixed Value
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
subjectS Σ I1..1Reference(NLLPatient)
createdΣ0..1date
authorΣ I0..1Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)

Contained resources

References to other resources are based on contained resources in the following cases.

Element Resource Case
nllProducingPharmacy Location Allways

For more information about references and contained resources see Resources - References.

Details

Description of all elements can be found here, Element descriptions.

Mapping of FHIR element names to the National Medication List names can be found here, Element language mappings.

Supported operations

HTTP methods

Operation Supported Comment
Search (GET, POST) yes See below for supported search options.
Insert (POST) yes Create a new multi dose dispense basis.
Update (PUT) yes Change a multi dose dispense basis.
Delete (DEL) no
Operation (GET, POST) yes See below for supported extended operations.

When interacting with this resource a set of HTTP-headers must be included in the request, see HTTP Header and Authorization.

Query operations

Supported Queries

The following query alternatives are available for this resource.

  1. ../Basic/[id]
  2. ../Basic/[id]/_history
  3. ../Basic?[parameters]
    Parameter chain:
    code=multidosedispbasis
    &patient._id=[id]
    {&nllStatus=[text]}

Note that it is not possible to combine query (3) with (1) and/or (2).

Compartment searches

Supported searches on a compartment. This kind of search returns a bundle with the related resources.

  1. ../Basic/[id]/Provenance returnes all related provenances.

Include & reverse includes

Supported usage of include and revinclude. This kind of search returns a bundle of both the base resource and the related resources specified in the parameter.

  1. ../Basic?[parameters]&_revinclude=Provenance:target:Basic returns one or more Basic resources together with their Provenances. The Provenance returned is the one pointing at the returned version of the Basic resource. See above for a list of valid parameters.

Example: ../Basic?patient._id=<uuid>&code=multidosedispbasis&_revinclude=Provenance:target:Basic returns the patient's multi dose dispensing basis including one provenance.

For generic information about how to search in FHIR look here.

Search parameters

The table below shows all supported search parameters.

Parameter Description Comment
Basic/[id] A read based on the logical ID (UUID) of a multi dose dispense
../Basic/<uuid>
_history A vread to get all versions of a dispense
../Basic/<uuid>/_history
code Type of resource, mandatory
..?code=multidosedispbasis
patient._id Logical id of the patient
..&patient._id=<uuid>
nllStatus Status of the multi dose dispense (sv: dosunderlag).
..&nllStatus=EJ_GODKANT
Note that the status supplied in this parameter will only match the status of the current (i.e. latest version of the) multi dose dispense.

Other operations

Operation Comment
$getAllInvalid

Invocations

URL: [base]/Basic/$getAllInvalid

This operation does NOT change content

Parameters (In)

NameCardinalityTypeDocumentation
producingPharmacy1..1string

The producing pharmacy's gln.

Return Values (Out)

NameCardinalityTypeDocumentation
return1..1Bundle

The returned Bundle contains Basic resources based on the profile NLLMultiDoseDispensingBasis. NLLPatient with a selection of attributes id and identifier (personnummer).

Can be invoked with a HTTP POST or GET. This operation is invoked by a pharmacy producing dose packaged medications. The operation returns a list of all MultiDoseDispensingBasis (sv. Dosunderlag) with status="EJ_GODKAND" (not approved by pharmacist) belonging to patients handled by the invoking pharmacy.