Page Status: updated 2025-03-31

NLLPrintOriginal

Page index

Definition

Invocations

URL: [base]/MedicationRequest/[id]/$print

This operation changes content

Return Values (Out)

NameCardinalityTypeDocumentation
nllDispenseList0..*MedicationDispense

Prints additional dispenses made for this prescription that are not included on the pdf.

nllTreatmentEndDate0..1date

Last date for ending this treatment (sv: senaste datum för avslut)

nllTreatmentReviewDate0..1date

Last date for review (sv: senaste datum för uppföljning)

nllUsageEndDate0..1date

End date for dosage usage (sv: sista doseringsdag)

nllUsageStartDate0..1date

Start date for dosage usage (sv: första doseringsdag)

pdf1..1Binary

A Base64 encoded PDF file of the prescription original

Can be invoked with a HTTP POST.

This operation changes the format of the prescription (MedicationRequest) from digital to paper based. After a successful call, the returned PDF is printed out and serves as the prescription. Further dispenses will have to be made based on the information included on the printed prescription. Apart from the PDF, this operation will also return information about any dispenses that are not included on the printed prescription as a list of MedicationDispenses (the PDF only includes the 2 latest dispenses). In addition one of "treatment end date" or "treatment review date" may occur in the response.

Under certain circumstances, it is possible to generate a new PDF print-out from a paper based prescription that has already been printed. The new generated PDF will then contain the information "Receptkopia" (prescription copy) visible on the print-out.

A Provenance object must be included in the HTTP header X-Provenance.

Examples

See Examples - NLLPrintOriginal.