PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@1.1.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: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Zib TreatmentDirective
type: Consent
elements:
  patient:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 21
  category:
    index: 15
    elements:
      coding:
        index: 16
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: 1
          slices:
            treatmentDirective:
              match: {code: '11291000146105'}
              schema:
                _required: true
                index: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 18
                  code:
                    pattern: {type: Code, value: '11291000146105'}
                    index: 19
                  display: {defaultValueString: Treatment instructions (record artifact), index: 20}
                required: [system, code]
    required: [coding]
  except:
    index: 41
    extensions:
      restrictions: {url: h, type: Extension, short: Restrictions, index: 43}
    elements:
      extension:
        index: 42
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            restrictions:
              match: {url: null}
              schema: {type: Extension, short: Restrictions, url: h, index: 43}
      type: {index: 44}
      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/Device', 'http://hl7.org/fhir/StructureDefinition/Group']
            index: 45
            extensions:
              practitionerRole: {url: h, max: 1, type: Extension, index: 47}
            elements:
              extension:
                index: 46
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    practitionerRole:
                      match: {url: null}
                      schema: {type: Extension, url: h, index: 47}
                      max: 1
  sourceAttachment: {type: Attachment, short: AdvanceDirective, choiceOf: source, index: 34}
  organization:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization']
    index: 31
  source:
    short: AdvanceDirective
    choices: [sourceAttachment, sourceIdentifier, sourceReference, sourceReference, sourceReference, sourceReference]
    index: 33
  policy:
    elements:
      uri: {index: 40}
  sourceReference:
    short: AdvanceDirective
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective']
    type: Reference
    choiceOf: source
    index: 36
  dateTime: {index: 24}
  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, min: 1, max: 1, short: Verified, _required: true, index: 2}
              VerifiedWith:
                url: null
                short: VerifiedWith
                index: 3
                elements:
                  valueCodeableConcept:
                    index: 4
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {index: 4}
              VerificationDate: {url: null, max: 1, short: VerificationDate, index: 5}
            elements:
              extension:
                short: Verified
                index: 2
                slicing:
                  slices:
                    Verified:
                      match: {}
                      schema: {short: Verified, _required: true, index: 2}
                      min: 1
                      max: 1
                    VerifiedWith:
                      match: {}
                      schema:
                        short: VerifiedWith
                        index: 3
                        elements:
                          valueCodeableConcept:
                            index: 4
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {index: 4}
                    VerificationDate:
                      match: {}
                      schema: {short: VerificationDate, index: 5}
                      max: 1
              url:
                pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification'}
                index: 6
            required: [extension]
        comment:
          match: {url: null}
          schema: {type: Extension, url: h, index: 7}
          max: 1
        treatment:
          match: {url: null}
          schema:
            type: Extension
            short: Treatment
            url: h
            index: 8
            elements:
              valueCodeableConcept:
                index: 9
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 9}
  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: 25
    extensions:
      practitionerRole: {url: h, max: 1, type: Extension, index: 27}
    elements:
      extension:
        index: 26
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            practitionerRole:
              match: {url: null}
              schema: {type: Extension, url: h, index: 27}
              max: 1
  status: {index: 14}
  sourceIdentifier: {type: Identifier, short: AdvanceDirective, choiceOf: source, index: 35}
  identifier: {index: 13}
  period:
    elements:
      start: {short: StartDate, index: 22}
      end: {short: EndDate, index: 23}
  modifierExtension:
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        treatmentPermitted:
          match: {url: null}
          schema:
            short: TreatmentPermitted
            type: Extension
            url: h
            index: 11
            elements:
              valueCodeableConcept:
                index: 12
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 12}
  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/Device', 'http://hl7.org/fhir/StructureDefinition/Group']
        index: 28
        extensions:
          practitionerRole: {url: h, max: 1, type: Extension, index: 30}
        elements:
          extension:
            index: 29
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                practitionerRole:
                  match: {url: null}
                  schema: {type: Extension, url: h, index: 30}
                  max: 1
package_version: 1.1.1
extensions:
  verification:
    url: h
    type: Extension
    index: 1
    extensions:
      Verified: {url: null, min: 1, max: 1, short: Verified, _required: true, index: 2}
      VerifiedWith:
        url: null
        short: VerifiedWith
        index: 3
        elements:
          valueCodeableConcept:
            index: 4
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {index: 4}
      VerificationDate: {url: null, max: 1, short: VerificationDate, index: 5}
    elements:
      extension:
        short: Verified
        index: 2
        slicing:
          slices:
            Verified:
              match: {}
              schema: {short: Verified, _required: true, index: 2}
              min: 1
              max: 1
            VerifiedWith:
              match: {}
              schema:
                short: VerifiedWith
                index: 3
                elements:
                  valueCodeableConcept:
                    index: 4
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {index: 4}
            VerificationDate:
              match: {}
              schema: {short: VerificationDate, index: 5}
              max: 1
      url:
        pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification'}
        index: 6
    required: [extension]
  comment: {url: h, max: 1, type: Extension, index: 7}
  treatment:
    url: h
    type: Extension
    short: Treatment
    index: 8
    elements:
      valueCodeableConcept:
        index: 9
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {index: 9}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 2.1.0
required: [category]