Page Status: updated 2022-11-25

NLLTransactionBundle (Bundle)

Page index

Introduction

The profile NLLTransactionBundle is used when managing multiple resources in a transaction. Supported profiles in an transaction bunlde are

  • MedicationRequest (Sv. Förskrivning)
  • NLLDataLock (sv.Spärr)
  • NLLMultiDoseDispensingBasis (Sv. Dosunderlag)
  • NLLMultiDoseDispConsent (Sv. Dossamtycke)
  • NLLMedicationDispense (Sv. uttag)
  • NLLDispensePaperPrescription (Sv. uttag pappersrecept)

More information about recommended scenarion is described in "Resurssamling – Bundle, Handbok för vård och apoteksaktörer - Nationella läkemedelslistan. and in Examples

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

In this use case the endpoint is [base] and not [base]/Bundle.

Overview

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
identifierΣ0..1Identifier
typeS Σ1..1codeBinding
timestampΣ0..1instant
totalΣ I0..1unsignedInt
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
relationΣ1..1string
urlΣ1..1uri
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
fullUrlS Σ0..1uri
resourceS Σ1..1NLLMedicationRequest, NLLMedicationDispense, NLLDispensePaperPrescription, NLLMultiDoseDispensingBasis, NLLMultiDoseDispConsent, NLLDataLock
id0..1string
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemΣ0..1uri
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
url1..1uriFixed Value
modifierExtensionΣ ?! I0..*Extension
methodS Σ1..1codeBinding
urlS Σ1..1uri
ifNoneMatchΣ0..1string
ifModifiedSinceΣ0..1instant
ifMatchΣ0..1string
ifNoneExistΣ0..1string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
statusS Σ1..1string
locationS Σ0..1uri
etagΣ0..1string
lastModifiedΣ0..1instant
outcomeS Σ0..1Resource
signatureΣ0..1Signature

Details

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

Provenance details, activity and reason

The resource activities and for separate resaons. Therefore this data, which usually is provided in the header x-provenance, is now sent per resource within the bundle. This is done on the extension Bundle.entry.request.extension:nllProvenanceDetails NLLProvenanceDetails which gives the possibility to provide a unique "activity" and "reason"(when needed) for each reource.

Error handling

If an error is detected on one of resources in the bundle the requests are rejected with an HTTP status of 4xx. The returned OperationOutcome will contain information about the detected issues and errors.

Supported operations

HTTP methods

Operation Supported Comment
POST yes See comment below

Example: A new resource is created by setting entry.request.method to POST. An existing resource is updated by setting entry.request.method to PUT.

The result is eighter a Bundle of type transaction-response with one entry per entry in the incoming Bundle or an OperationOutcome if the request was rejected.

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

Query operations

Search is not supported for this resource.

Examples

See Bundles - TransactionBundle