Prescriptions and medication list is sendt to the national systems: Reseptformidleren (RF) which again forwards to Kjernejournal (KJ) for patients listed there.
NOTE: To be able to process and do necessary consistency check, the latest $getMedication must be within a predefined timeframe, and must include a lookup in Reseptformidleren.
- EHR sends compiled list of Medication as a Bundle with specified format
- SFM analyses content and creates PLL and prescription in national format
- SFM does QA as specified
- OperationOutcome is returned to EHR
- SFM add signing to the new PLL and prescription
- SFM sends one or more M1/prescriptions to RF (in turn also forwarded to KJ)
- SFM sends one or more M5/withdrawals to RF (in turn also forwardet to KJ
- SFM sendt PLL (M25) to RF
- SFM returns response to EHR
Check data (Step 3)
Based on input in @sendMedication SFM does consistency checks and other checks before sending information to RF. The following checks are performed:
- Lookup in RF has been performed within the last 4 hours and the most recent lookup must include RF lookup.
- All head of chain delivered in last lookup ($getMedication) are represented in the bundle.
- All medicatonStatements represented in previous getMedication/sendMedication are represented within the new sendMedication
- Check which medication statements that should lead to M1, M5 and be included in M25.1
- Check if reference numbers are required and retrieve reference numbers if needed
- Check user rights to deliver prescriptions to RF
There are several other checks that are planned but not implemented in version 1. These includes checks like:
- Medication active in FEST
- Interaction control
- Double medication control
- CAVE control