Bundle-t-retrieve-and-transform-PHMR
type: OperationDefinition
node role: treeRoot
resource.id:
  value: Bundle-t-retrieve-and-transform-PHMR
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Generated Narrative: OperationDefinition Bundle-t-retrieve-and-transform-PHMR URL: [base]/Bundle/$retrieve-and-transform-PHMR Parameters Use Name Scope Cardinality Type Binding Documentation IN url 1..1 string (uri) This is the element DocumentReference.content.attachment.url for metadata about the PHMR document as returned from the DocumentReference search operation performing a query to national document sharing infrastructure IN consentOverride 0..1 boolean Signifies, when set to true, that the retrieve of a document shall be performed with override of any withholding of information possibly performed by the national document sharing service in accordance with patient's consents. Override of consents constitutes a form of break-the-glass invocation, known in Danish as værdispring. The preferred method is to call this operation without consent override and to only call with consent override when necessary. IN reason 0..1 string Mandatory when input element consentOverride is set to true. The string input is intended as a placeholder for the user's rationale for choosing to override consents. The value is logged in the Infrastructure. OUT bundle 0..1 Bundle
operation definition.url:
  value: http://ehealth.sundhed.dk/fhir/OperationDefinition/Bundle-t-retrieve-and-transform-PHMR
operation definition.version:
  value: 10.0.1
operation definition.name:
  value: retrieve-and-transform-PHMR
operation definition.title:
  value: Retrieve and transform PHMR document
operation definition.status:
  value: active
operation definition.kind:
  value: operation
operation definition.date:
  value: 2026-08-11T06:32:53+00:00
operation definition.publisher:
  value: Den telemedicinske infrastruktur (eHealth Infrastructure)
operation definition.contact:
  index: 0
  contact detail.name:
    value: Den telemedicinske infrastruktur (eHealth Infrastructure)
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://ehealth.sundhed.dk
operation definition.description:
  value: Retrieves a DK-HL7 Personal Health Monitoring Report (PHMR) XML document from national document sharing infrastructure and transforms the PHMR XML document to FHIR Observation (ehealth-observation profile) resources.Input (url) is the element DocumentReference.content.attachment.url for metadata about the PHMR document as returned from the DocumentReference search operation performing a query to national document sharing infrastructure. The url, which shall be used as-is in this operation, is an encoding of the XDS DocumentEntry.uniqueId, XDS DocumentEntry.repositoryUniqueId and XDS DocumentEntry.homeCommunityId metadata attributes needed to retrieve the document. Input (consentOverride) signifies, when set to true, that the retrieve of a document shall be performed with override of any withholding of information possibly performed by the national document sharing service in accordance with patient's consents. Override of consents constitutes a form of break-the-glass invocation, known in Danish as værdispring. The preferred method is to call this operation without consent override and to only call with consent override when necessary. Input (reason) is mandatory when input element consentOverride is set to true. The string input is intended as a placeholder for the user's rationale for choosing to override consents. The value is logged in the Infrastructure.The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing one or more FHIR Observation (ehealth-observation profile) resources and referenced resources such as FHIR Organization.
operation definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: DK
    coding.display:
      value: Denmark
operation definition.affects state:
  value: false
operation definition.code:
  value: retrieve-and-transform-PHMR
operation definition.resource:
  value: Bundle
  index: 0
operation definition.system:
  value: false
operation definition.type:
  value: true
operation definition.instance:
  value: false
operation definition.parameter:
  index: 0
  operation definition.parameter.name:
    value: url
  operation definition.parameter.use:
    value: in
  operation definition.parameter.min:
    value: 1
  operation definition.parameter.max:
    value: 1
  operation definition.parameter.documentation:
    value: This is the element DocumentReference.content.attachment.url for metadata about the PHMR document as returned from the DocumentReference search operation performing a query to national document sharing infrastructure
  operation definition.parameter.type:
    value: string
  operation definition.parameter.search type:
    value: uri
operation definition.parameter:
  index: 1
  operation definition.parameter.name:
    value: consentOverride
  operation definition.parameter.use:
    value: in
  operation definition.parameter.min:
    value: 0
  operation definition.parameter.max:
    value: 1
  operation definition.parameter.documentation:
    value: Signifies, when set to true, that the retrieve of a document shall be performed with override of any withholding of information possibly performed by the national document sharing service in accordance with patient's consents. Override of consents constitutes a form of break-the-glass invocation, known in Danish as værdispring. The preferred method is to call this operation without consent override and to only call with consent override when necessary.
  operation definition.parameter.type:
    value: boolean
operation definition.parameter:
  index: 2
  operation definition.parameter.name:
    value: reason
  operation definition.parameter.use:
    value: in
  operation definition.parameter.min:
    value: 0
  operation definition.parameter.max:
    value: 1
  operation definition.parameter.documentation:
    value: Mandatory when input element consentOverride is set to true. The string input is intended as a placeholder for the user's rationale for choosing to override consents. The value is logged in the Infrastructure.
  operation definition.parameter.type:
    value: string
operation definition.parameter:
  index: 3
  operation definition.parameter.name:
    value: bundle
  operation definition.parameter.use:
    value: out
  operation definition.parameter.min:
    value: 0
  operation definition.parameter.max:
    value: 1
  operation definition.parameter.type:
    value: Bundle