Populating sfm-MedicationStatement
Attributes that must be returned when statement received has not been changed.
- All attributes received within a MedicationStatement must be returned except from the following (if returned SFM will not process them):
- deliverysummary
- reseptinfo:rfstatus
- reseptinfo:dispencesummary
- reseptinfo:recallinfo
- createresept
Attributes required in all statements
- Identifier (PLL-id and/or reseptid)
- status
- medication
- subject
- dosage
- sequence
- applicationarea
- typeofuse
- reginfo
- rekvirent
- seponert av (if discontinued)
- reseptinfo
- itemgroup
- dssn
- typeresept
- lastchanged
Aditional attributes required when resept
- genericSubstitution
- genericSubstitutionAccepted
- reseptInfo
- reseptdate
- expirationdate
- festUpdate
- numberofpackages (if package prescribed)
- reit
- amount (if non-package prescribed)
Attributes that should be included if present
- comment
- discontinuationinformation
- administrationdetails
- administrationofmediation
- reseptinfo
- conscription
- helfoapplication
- freecard
- guardiantransparencyreservation
- ownpractice
- indoctorsname
- refnum
- speciality
- dispatchrequest
- earliestdispence
- dischargedhospital
- lockedresept
- reimbursementparagraph
- reimbursmentcode
- plomedicationmanagement
- note
- recallinfo
- ereseptdosering
- createeresept
- slvApplication
Note on ereseptdosering / resept amendments
When mapping sfm-reseptamendment, avoid using the dosingrule extension under ereseptdosering in ways that Reseptformidleren (RF) rejects. Fields marked as deprecated or “should not be used” in the Simplifier implementation guide must not be populated for production traffic.