PackagesCanonicalsLogsProblems
    Packages
    PGO.02@1.02.1
    http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
description: 'TreatmentDirective as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 3.1. A treatment instruction includes an agreed constraint in the treatment based on the oral or written living will of the patient.'
package_name: PGO.02
derivation: constraint
name: Zib TreatmentDirective
type: Consent
elements:
  patient:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 23
  category:
    index: 17
    elements:
      coding:
        index: 18
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: 1
          slices:
            treatmentDirective:
              match: {code: '11291000146105'}
              schema:
                _required: true
                index: 19
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 20
                  code:
                    pattern: {type: Code, value: '11291000146105'}
                    index: 21
                  display:
                    pattern: {type: String, value: Treatment instructions (record artifact)}
                    index: 22
                required: [system, code]
    required: [coding]
  except:
    index: 38
    extensions:
      restrictions:
        url: h
        type: Extension
        short: Restrictions
        index: 40
        elements:
          valueString: {index: 41}
    elements:
      extension:
        index: 39
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            restrictions:
              match: {url: null}
              schema:
                type: Extension
                short: Restrictions
                url: h
                index: 40
                elements:
                  valueString: {index: 41}
      type: {index: 42}
      actor:
        elements:
          reference:
            type: Reference
            refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct']
            index: 43
  sourceAttachment: {type: Attachment, short: AdvanceDirective, choiceOf: source, index: 31}
  organization:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
    index: 28
  source:
    short: AdvanceDirective
    choices: [sourceAttachment, sourceIdentifier, sourceReference, sourceReference, sourceReference, sourceReference]
    index: 30
  policy:
    elements:
      uri: {index: 37}
  sourceReference:
    short: AdvanceDirective
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective']
    type: Reference
    choiceOf: source
    index: 33
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        verification:
          match: {url: 'http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification'}
          schema:
            type: Extension
            url: h
            index: 1
            extensions:
              Verified:
                url: null
                short: Verified
                _required: true
                index: 2
                elements:
                  valueBoolean: {index: 3}
              VerifiedWith:
                url: null
                short: VerifiedWith
                index: 4
                elements:
                  valueCodeableConcept: {index: 5}
              VerificationDate:
                url: null
                short: VerificationDate
                index: 6
                elements:
                  valueDateTime: {index: 7}
            elements:
              extension:
                short: Verified
                index: 2
                slicing:
                  slices:
                    Verified:
                      match: {}
                      schema:
                        short: Verified
                        _required: true
                        index: 2
                        elements:
                          valueBoolean: {index: 3}
                    VerifiedWith:
                      match: {}
                      schema:
                        short: VerifiedWith
                        index: 4
                        elements:
                          valueCodeableConcept: {index: 5}
                    VerificationDate:
                      match: {}
                      schema:
                        short: VerificationDate
                        index: 6
                        elements:
                          valueDateTime: {index: 7}
              url:
                pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification'}
                index: 8
            required: [extension]
        comment:
          match: {url: null}
          schema:
            short: Comment
            type: Extension
            url: h
            index: 9
            elements:
              valueString: {index: 10}
        treatment:
          match: {url: null}
          schema:
            type: Extension
            short: Treatment
            url: h
            index: 11
            elements:
              valueCodeableConcept: {index: 12}
  consentingParty:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson']
    index: 26
  status: {index: 16}
  sourceIdentifier: {type: Identifier, short: AdvanceDirective, choiceOf: source, index: 32}
  period:
    elements:
      start: {short: StartDate, index: 24}
      end: {short: EndDate, index: 25}
  modifierExtension:
    index: 13
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        treatmentPermitted:
          match: {url: null}
          schema:
            short: TreatmentPermitted
            type: Extension
            url: h
            index: 14
            elements:
              valueCodeableConcept: {index: 15}
  actor:
    elements:
      reference:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct']
        index: 27
package_version: 1.02.1
extensions:
  verification:
    url: h
    type: Extension
    index: 1
    extensions:
      Verified:
        url: null
        short: Verified
        _required: true
        index: 2
        elements:
          valueBoolean: {index: 3}
      VerifiedWith:
        url: null
        short: VerifiedWith
        index: 4
        elements:
          valueCodeableConcept: {index: 5}
      VerificationDate:
        url: null
        short: VerificationDate
        index: 6
        elements:
          valueDateTime: {index: 7}
    elements:
      extension:
        short: Verified
        index: 2
        slicing:
          slices:
            Verified:
              match: {}
              schema:
                short: Verified
                _required: true
                index: 2
                elements:
                  valueBoolean: {index: 3}
            VerifiedWith:
              match: {}
              schema:
                short: VerifiedWith
                index: 4
                elements:
                  valueCodeableConcept: {index: 5}
            VerificationDate:
              match: {}
              schema:
                short: VerificationDate
                index: 6
                elements:
                  valueDateTime: {index: 7}
      url:
        pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification'}
        index: 8
    required: [extension]
  comment:
    url: h
    short: Comment
    type: Extension
    index: 9
    elements:
      valueString: {index: 10}
  treatment:
    url: h
    type: Extension
    short: Treatment
    index: 11
    elements:
      valueCodeableConcept: {index: 12}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 2.0.1
required: [category]