This chapter is a placeholder for more detailed information during the API implementation phase.

New prescription

Whenever issuing a new prescription for a patient, the EHR system will build the bundle to document the medication list for the patient. For the new prescription, being either an sfm-MedicationStatement or an sfm-BandaProduct, the flag reseptdetail/createresept must be set to true.

ReseptID

The creating EHR system is responsible for creating a unique GUID for the identifier:

  • Reseptid for sfm-MedicationStatement

  • identifier for sfm-BandaProduct

Referansenummer (reference number)

The reference number serves as a tag for the prescription or prescriptions, in a format suitable for the patient to carry to the pharmacy for correct dispense of medication or other products.

The reference number will be automatically added to the prescription by SFM in the case of:

  • Låst resept (disclosed prescription)

  • Prescription to a patient without national ID

  • Anonymous prescription under special legislation "I legens navn"

A reference number may also be requested from the EHR system by setting the value "0": reseptInfo/refum = 0

The reference numbers issued from Reseptformidleren will be returned as a result parameter from the $sendMedication command.

The general rule is to issue one reference number for all the prescriptions in a single sendMedication operation, and the resulting reference number is returned in a parameter named Referansenummer.

The exception is when normal prescriptions requiring a reference number are issued together with anonymous ("I legens navn") prescriptions. SFM will then select a separate reference number for the two groups and return the actual reference number for each prescription sent to RF.

Søk i Utviklerportalen

Søket er fullført!