Invocations

URL: [base]/Patient/$sendMedication

Parameters (In)

NameCardinalityTypeDocumentation
medication1..1Bundle(sfm-MedicationBundle)

Medication bundle document containing medicatiation and other prescription info. Patient must be present in the bundle, with sufficient info for messages to Reseptformidleren. See $getMedication

Return Values (Out)

NameCardinalityTypeDocumentation
prescriptionCount1..1integer

the number of prescription signed and sent to Reseptformidleren

recallCount1..1integer

the number of withdrawals sent to Reseptformidleren

PllResult0..1

Result of PLL delivery to Reseptformidleren

PllResult.PllmessageID1..1string

MessageID for M25.1 sent to Reseptformidleren

PllResult.resultCode1..1Coding

Ok, or error code from Reseptformidleren or SFM

prescriptionOperationResult0..*

Result of prescription delivery (M1) or prescription recall (M5) to Reseptformidleren

prescriptionOperationResult.reseptID1..1string

ReseptID involved in the operation

prescriptionOperationResult.refnum0..1string

Referansenumber assigned to prescription when relevant for M1

prescriptionOperationResult.resultCode1..1Coding

Ok, or error code from Reseptformidleren or SFM

This operation is complex, and require that the Practitioner performing the operation presents a valid HelseID token with identity information, and that the authorisation is available in Helsepersonellregisteret