eHealth Infrastructure
3.3.0 - release Denmark flag

This page is part of the FUT Infrastructure (v3.3.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

OperationDefinition: Deprecate document

Official URL: https://document-transformation.devtest.systematic-ehealth.com/fhir/OperationDefinition/DocumentReference-t-deprecate-document Version: 3.3.0
Active as of 2024-11-05 Computable Name: deprecate-document

Deprecates a shared document. The operation takes a documentIdentifier and cpr-number as parameters and finds the DocumentReference with the corresponding masterIdentifier. masterIdentifier should be unique for DocumentReference so if less than 0 or more than 1 are found the operation throws and exception. If the found documentReference has a patient which cpr number matches the provided value the document is deprecated. iti-57 is used to deprecate the document on XDS. On successthe documentReference status is updated to superseded and updated in the database.

Generated Narrative: OperationDefinition DocumentReference-t-deprecate-document

URL: [base]/DocumentReference/$deprecate-document

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INdocumentId0..1string
(token)
INcpr0..1string
(string)