PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@2.1.1
    http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse
description: 'This profile is based on the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) MedicationUse version 1.0.1, year 2017.\r\n\r\nMedicationUse is a statement on the historic, current or intended use of a certain medicine.'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Zib MedicationUse
type: MedicationStatement
elements:
  category:
    index: 12
    elements:
      coding:
        index: 13
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            medicationUseCode:
              match: {code: '6'}
              schema:
                short: MedicationUseCode
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.3'}
                    index: 15
                  code:
                    pattern: {type: Code, value: '6'}
                    index: 16
  taken: {short: UseIndicator, index: 29}
  dosage: {type: Dosage, index: 32}
  reasonCode:
    elements:
      text: {short: ReasonForUse, index: 30}
  note: {short: Comment, index: 31}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        asAgreedIndicator:
          match: {url: null}
          schema:
            short: AsAgreedIndicator
            type: Extension
            url: h
            index: 1
            elements:
              valueBoolean:
                index: 2
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {index: 2}
        prescriber:
          match: {url: null}
          schema: {short: Prescriber, type: Extension, url: h, index: 3}
        author:
          match: {url: null}
          schema: {short: Author, type: Extension, url: h, index: 4}
          max: 1
        medicationTreatment:
          match: {url: null}
          schema: {short: Medical Treatment, type: Extension, url: h, index: 5}
          max: 1
        reasonForChangeOrDiscontinuationOfUse:
          match: {url: null}
          schema:
            type: Extension
            short: ReasonForChangeOrDiscontinuationOfUse
            url: h
            index: 6
            elements:
              valueCodeableConcept:
                index: 7
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 7}
  status: {short: MedicationUseStopType, index: 11}
  identifier: {index: 10}
  dateAsserted: {short: MedicationUseDateTime, index: 24}
  medicationReference:
    short: ProductUsed
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product']
    type: Reference
    index: 17
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: ProductUsed
            refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product']
            type: Reference
            index: 17
  informationSource:
    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
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 28
  modifierExtension:
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        repeatPeriodCyclicalSchedule:
          match: {url: null}
          schema: {short: RepeatPeriodCyclicalSchedule, type: Extension, label: HerhaalperiodeCyclischSchema, url: h, index: 9}
          max: 1
  effectivePeriod:
    type: Period
    short: PeriodOfUse
    index: 18
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema:
            type: Period
            short: PeriodOfUse
            index: 18
            extensions:
              Duration:
                url: h
                type: Extension
                short: Duration
                index: 20
                elements:
                  valueDuration:
                    index: 21
                    slicing:
                      slices:
                        valueDuration:
                          match: {}
                          schema: {index: 21}
            elements:
              extension:
                index: 19
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Duration:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: Duration
                        url: h
                        index: 20
                        elements:
                          valueDuration:
                            index: 21
                            slicing:
                              slices:
                                valueDuration:
                                  match: {}
                                  schema: {index: 21}
              start: {short: StartDate, index: 22}
              end: {short: EndDate, index: 23}
package_version: 2.1.1
extensions:
  asAgreedIndicator:
    url: h
    short: AsAgreedIndicator
    type: Extension
    index: 1
    elements:
      valueBoolean:
        index: 2
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema: {index: 2}
  prescriber: {url: h, short: Prescriber, type: Extension, index: 3}
  author: {url: h, max: 1, short: Author, type: Extension, index: 4}
  medicationTreatment: {url: h, max: 1, short: Medical Treatment, type: Extension, index: 5}
  reasonForChangeOrDiscontinuationOfUse:
    url: h
    type: Extension
    short: ReasonForChangeOrDiscontinuationOfUse
    index: 6
    elements:
      valueCodeableConcept:
        index: 7
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {index: 7}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 2.2.8
required: [dateAsserted, category]