eHealth Infrastructure
5.0.0 - release Denmark flag

This page is part of the FUT Infrastructure (v5.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions

: Deprecate document - XML Representation

Active as of 2025-08-11

Raw xml | Download


<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="DocumentReference-t-deprecate-document"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Operation</div>
  </text>
  <url
       value="http://ehealth.sundhed.dk/fhir/OperationDefinition/DocumentReference-t-deprecate-document"/>
  <version value="5.0.0"/>
  <name value="deprecate-document"/>
  <title value="Deprecate document"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2025-08-11T11:41:57+00:00"/>
  <publisher
             value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
  <contact>
    <name value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <description
               value="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."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="DK"/>
      <display value="Denmark"/>
    </coding>
  </jurisdiction>
  <affectsState value="true"/>
  <code value="deprecate-document"/>
  <resource value="DocumentReference"/>
  <system value="false"/>
  <type value="true"/>
  <instance value="false"/>
  <parameter>
    <name value="documentId"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <type value="string"/>
    <searchType value="token"/>
  </parameter>
  <parameter>
    <name value="cpr"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <type value="string"/>
    <searchType value="string"/>
  </parameter>
</OperationDefinition>