CH:MHD-1
The CH:MHD-1 (Update Document Metadata) transaction allows a Document Source actor (e.g. a primary system) to update document metadata on the Document Recipient (i.e. the eMedication service). What this means in practice, for the eMedication service, is that, as for the ITI-57 transaction this is an MHD-like alternative to, a Document Source is allowed to flag a document as to be deleted by the eMedication service. The same kind of business logic and constraints apply as for the XDS counterpart.
Because of this, the only attribute that it is allowed to be modified from the original document metadata (DocumentReference
), is the deletionStatus
extension of the document reference. Not only this is the only allowed change, but because of this, it is mandatory to be set as urn:e-health-suisse:2019:deletionStatus:deletionRequested
.
Processing of Deletion Requests
For now, the eMedication service processes deletion requests immediately. This means that a document for which the metadata update is accepted, will be immediately deleted and hence neither the document nor its metadata will be available any more.
Security Considerations
Note that beside the security considerations expressed (directly or indirectly) by the CH EPR FHIR profile, the eMedication service implementation supports only, for now, the SAML Token option, which means that the authorization token conveyed with the HTTP request must be an XUA token.