PackagesCanonicalsLogsProblems
    Packages
    de.gematik.tiflow.erezept@2.0.0
    https://gematik.de/fhir/tiflow-erezept/StructureDefinition/GEM-ERPEU-PR-Consent
description: Records the consent of the patient for an operation in the context of ePrescription.
package_name: de.gematik.tiflow.erezept
derivation: constraint
name: GEM_ERPEU_PR_Consent
type: Consent
elements:
  status:
    pattern: {type: Code, value: active}
    index: 0
  scope:
    elements:
      coding:
        index: 1
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            index: 2
          code:
            pattern: {type: Code, value: patient-privacy}
            index: 3
          display:
            pattern: {type: String, value: Privacy Consent}
            index: 4
    required: [coding]
  category:
    binding: {strength: required, valueSet: 'https://gematik.de/fhir/tiflow-erezept/ValueSet/GEM-ERPEU-VS-ConsentType'}
    index: 5
  patient:
    index: 6
    elements:
      identifier:
        type: Identifier
        index: 7
        elements:
          assigner:
            mustSupport: true
            index: 8
            elements:
              identifier: {type: Identifier, mustSupport: true, index: 9}
    required: [identifier]
  dateTime: {mustSupport: true, index: 10}
  policyRule:
    binding: {strength: required, valueSet: 'https://gematik.de/fhir/tiflow-erezept/ValueSet/GEM-ERPEU-VS-Consent-PolicyRule'}
    mustSupport: true
    index: 11
package_version: 2.0.0
class: profile
kind: resource
url: https://gematik.de/fhir/tiflow-erezept/StructureDefinition/GEM-ERPEU-PR-Consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 2.0.0
required: [patient]