PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.r4.zib2020@0.1.0-beta1
    http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationUse2
description: MedicationUse2 is a statement on the historic, current or intended use of a certain medicine.
package_name: nictiz.fhir.nl.r4.zib2020
derivation: constraint
name: NlcoreMedicationUse2
type: MedicationStatement
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        prescriber:
          match: {url: null}
          schema:
            index: 1
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole']
                index: 4
        pharmaceuticalTreatmentIdentifier:
          match: {url: null}
          schema: {type: Extension, url: 'http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier', index: 5}
          min: 0
        copyIndicator:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-CopyIndicator
            index: 6
            elements:
              value:
                choices: []
                index: 8
        author:
          match: {url: null}
          schema: {type: Extension, url: 'http://nictiz.nl/fhir/StructureDefinition/ext-MedicationUse.Author', index: 9}
          min: 0
  identifier: {short: Identification, index: 10}
  medication:
    choices: [medicationReference]
    index: 12
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 12
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-PharmaceuticalProduct']
    index: 13
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-PharmaceuticalProduct']
            index: 13
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient']
    index: 14
  context:
    type: Reference
    short: RelationContact / RelationEpisodeOfCare
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Encounter', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-EpisodeOfCare']
    index: 15
    extensions:
      relatedEpisodeOfCare:
        url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
        type: Extension
        index: 17
        elements:
          value:
            short: RelationEpisodeOfCare
            choices: []
            index: 19
    elements:
      extension:
        index: 16
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            relatedEpisodeOfCare:
              match: {url: null}
              schema:
                type: Extension
                url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
                index: 17
                elements:
                  value:
                    short: RelationEpisodeOfCare
                    choices: []
                    index: 19
  informationSource:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-ContactPerson', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient']
    index: 20
  dosage: {type: Dosage, index: 21}
package_version: 0.1.0-beta1
extensions:
  prescriber:
    url: null
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole']
        index: 4
  pharmaceuticalTreatmentIdentifier: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier', min: 0, type: Extension, index: 5}
  copyIndicator:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-CopyIndicator
    type: Extension
    index: 6
    elements:
      value:
        choices: []
        index: 8
  author: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-MedicationUse.Author', min: 0, type: Extension, index: 9}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationUse2
base: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse2
version: null