PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@orf-2.0.0-ballot
    http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consent
description: Profile to specify if the patient gave an informed consent to this order; in particulars for spitex \nand  transfer to retirement home etc.
package_name: ch.fhir.ig.ch
derivation: constraint
name: ChOrfConsent
type: Consent
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        consentCode:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentcode', index: 1}
          min: 0
          max: 1
        consentNote:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentnote', index: 2}
          min: 0
          max: 1
  status:
    pattern: {type: Code, value: active}
    index: 3
  scope:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: patient-privacy, system: 'http://terminology.hl7.org/CodeSystem/consentscope'}
    index: 4
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 59284-0, system: 'http://loinc.org'}
    index: 5
  policyRule:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '385432009', system: 'http://snomed.info/sct'}
    index: 6
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: '385432009', system: 'http://snomed.info/sct'}
        index: 7
package_version: orf-2.0.0-ballot
extensions:
  consentCode: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentcode', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
  consentNote: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentnote', min: 0, max: 1, type: Extension, mustSupport: true, index: 2}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 2.0.0-ballot