PackagesCanonicalsLogsProblems
    Packages
    rs/nictiz.fhir.nl.r4.medicationprocess9@2.0.0-beta.1
    http://nictiz.nl/fhir/StructureDefinition/mp-MedicationUse2
description: MedicationUse2 is a statement on the historic, current or intended use of a certain medicine.
package_name: rs/nictiz.fhir.nl.r4.medicationprocess9
derivation: constraint
name: MpMedicationUse2
type: MedicationStatement
elements:
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '422979000', system: 'http://snomed.info/sct'}
    type: CodeableConcept
    index: 27
    extensions:
      additionalCategory:
        url: http://nictiz.nl/fhir/StructureDefinition/ext-AdditionalCategory
        type: Extension
        isModifier: false
        index: 29
        elements:
          value:
            short: Type of medication usage
            choices: []
            index: 31
    elements:
      extension:
        index: 28
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            additionalCategory:
              match: {url: null}
              schema:
                type: Extension
                isModifier: false
                url: http://nictiz.nl/fhir/StructureDefinition/ext-AdditionalCategory
                index: 29
                elements:
                  value:
                    short: Type of medication usage
                    choices: []
                    index: 31
  dosage: {type: Dosage, short: DosingInstructions / InstructionsForUse, index: 71}
  derivedFrom:
    index: 50
    slicing:
      rules: open
      discriminator:
      - {path: extension.value, type: pattern}
      min: null
      slices:
        relationMedicationAgreement:
          match:
            extension: {value: null}
          schema:
            short: RelationMedicationAgreement
            refers: ['http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement']
            type: Reference
            index: 51
            extensions:
              resourceCategory:
                url: http://nictiz.nl/fhir/StructureDefinition/ext-ResourceCategory
                type: Extension
                index: 53
                elements:
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '33633005', system: 'http://snomed.info/sct'}
                    choices: []
                    type: CodeableConcept
                    index: 55
            elements:
              extension:
                index: 52
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    resourceCategory:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://nictiz.nl/fhir/StructureDefinition/ext-ResourceCategory
                        index: 53
                        elements:
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '33633005', system: 'http://snomed.info/sct'}
                            choices: []
                            type: CodeableConcept
                            index: 55
        relationAdministrationAgreement:
          match:
            extension: {value: null}
          schema:
            short: RelationAdministrationAgreement
            refers: ['http://nictiz.nl/fhir/StructureDefinition/mp-AdministrationAgreement']
            type: Reference
            index: 56
            extensions:
              resourceCategory:
                url: http://nictiz.nl/fhir/StructureDefinition/ext-ResourceCategory
                type: Extension
                index: 58
                elements:
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '422037009', system: 'http://snomed.info/sct'}
                    choices: []
                    type: CodeableConcept
                    index: 60
            elements:
              extension:
                index: 57
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    resourceCategory:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://nictiz.nl/fhir/StructureDefinition/ext-ResourceCategory
                        index: 58
                        elements:
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '422037009', system: 'http://snomed.info/sct'}
                            choices: []
                            type: CodeableConcept
                            index: 60
        relationMedicationDispense:
          match:
            extension: {value: null}
          schema:
            short: RelationMedicationDispense
            refers: ['http://nictiz.nl/fhir/StructureDefinition/mp-MedicationDispense']
            type: Reference
            index: 61
            extensions:
              resourceCategory:
                url: http://nictiz.nl/fhir/StructureDefinition/ext-ResourceCategory
                type: Extension
                index: 63
                elements:
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '373784005', system: 'http://snomed.info/sct'}
                    choices: []
                    type: CodeableConcept
                    index: 65
            elements:
              extension:
                index: 62
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    resourceCategory:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://nictiz.nl/fhir/StructureDefinition/ext-ResourceCategory
                        index: 63
                        elements:
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '373784005', system: 'http://snomed.info/sct'}
                            choices: []
                            type: CodeableConcept
                            index: 65
  reasonCode:
    index: 66
    slicing:
      rules: open
      discriminator:
      - {path: text, type: exists}
      min: null
      slices:
        reasonForUse:
          match: {}
          schema:
            index: 67
            elements:
              text: {short: ReasonForUse, index: 68}
            required: [text]
  statusReason:
    short: ReasonModificationOrDiscontinuationOfUse
    binding: {strength: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.43--20221115122002'}
    index: 26
  note:
    index: 69
    elements:
      text: {short: Comment, index: 70}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        renderedDosageInstruction:
          match: {url: null}
          schema: {type: Extension, url: 'http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction', index: 1}
          min: 0
        prescriber:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationUse2.Prescriber
            index: 2
            elements:
              value:
                choices: []
                index: 4
        asAgreedIndicator:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-AsAgreedIndicator
            index: 5
            elements:
              value:
                choices: []
                index: 7
        pharmaceuticalTreatmentIdentifier:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
            index: 8
            elements:
              value:
                choices: []
                index: 10
        copyIndicator:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-CopyIndicator
            index: 11
            elements:
              value:
                choices: []
                index: 13
        author:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationUse2.Author
            index: 14
            elements:
              value:
                choices: []
                index: 16
  status: {short: UseIndicator, index: 25}
  effective:
    choices: []
    index: 44
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectivePeriod:
          match: {}
          schema:
            short: PeriodOfUse
            choices: [effectivePeriod]
            index: 46
  identifier: {short: Identification, index: 24}
  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: 38
    extensions:
      relationEpisodeOfCare:
        url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
        type: Extension
        index: 40
        elements:
          value:
            short: RelationEpisodeOfCare
            choices: []
            index: 42
    elements:
      extension:
        index: 39
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            relationEpisodeOfCare:
              match: {url: null}
              schema:
                type: Extension
                url: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
                index: 40
                elements:
                  value:
                    short: RelationEpisodeOfCare
                    choices: []
                    index: 42
  dateAsserted: {short: MedicationUseDateTime, index: 48}
  medicationReference:
    short: ProductUsed
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/mp-PharmaceuticalProduct']
    type: Reference
    choiceOf: medication
    index: 36
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: ProductUsed
            refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://nictiz.nl/fhir/StructureDefinition/mp-PharmaceuticalProduct']
            type: Reference
            choiceOf: medication
            index: 36
  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: 49
  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: 37
  modifierExtension:
    index: 17
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        stopType:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-StopType
            index: 18
            elements:
              value:
                short: MedicationUseStopType
                choices: []
                index: 20
        repeatPeriodCyclicalSchedule:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule
            index: 21
            elements:
              value:
                choices: []
                index: 23
  effectivePeriod:
    short: PeriodOfUse
    type: Period
    choiceOf: effective
    index: 47
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {short: PeriodOfUse, type: Period, choiceOf: effective, index: 47}
  medication:
    choices: []
    index: 33
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            short: ProductUsed
            choices: [medicationReference]
            index: 35
package_version: 2.0.0-beta.1
extensions:
  renderedDosageInstruction: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction', min: 0, type: Extension, index: 1}
  prescriber:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationUse2.Prescriber
    type: Extension
    index: 2
    elements:
      value:
        choices: []
        index: 4
  asAgreedIndicator:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-AsAgreedIndicator
    type: Extension
    index: 5
    elements:
      value:
        choices: []
        index: 7
  pharmaceuticalTreatmentIdentifier:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
    type: Extension
    index: 8
    elements:
      value:
        choices: []
        index: 10
  copyIndicator:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-CopyIndicator
    type: Extension
    index: 11
    elements:
      value:
        choices: []
        index: 13
  author:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationUse2.Author
    type: Extension
    index: 14
    elements:
      value:
        choices: []
        index: 16
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/mp-MedicationUse2
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.0.0
required: [category]