PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2015@1.0.0
    http://nictiz.nl/fhir/StructureDefinition/zib-MedicationAgreement
description: 'This profile is based the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB)  nl.zorg.MedicatieAfspraak version 1.0, year 2017.'
package_name: nictiz.fhir.nl.stu3.zib2015
derivation: constraint
name: ZIB-Medication-Agreement
type: MedicationRequest
elements:
  category:
    index: 12
    elements:
      coding:
        index: 13
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            MedicationAgreementCode:
              match: {code: '16076005'}
              schema:
                short: MedicationAgreementCode
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 15
                  code:
                    pattern: {type: Code, value: '16076005'}
                    index: 16
                  display:
                    pattern: {type: String, value: Prescription (procedure)}
                    index: 17
  reasonCode: {short: MedicationAgreementReason, index: 28}
  medicationCodeableConcept: {type: CodeableConcept, short: AgreedMedicine, choiceOf: medication, index: 20}
  authoredOn: {short: MedicationAgreementDateTime, index: 24}
  note: {short: Comment, index: 30}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        periodOfUse:
          match: {url: null}
          schema: {type: Extension, short: PeriodOfUse, url: h, index: 1}
          max: 1
        usageDuration:
          match: {url: null}
          schema: {short: Duration, type: Extension, url: h, index: 2}
          max: 1
        additionalInformation:
          match: {url: null}
          schema:
            type: Extension
            short: MedicationAgreementAdditionalInformation
            url: h
            index: 3
            elements:
              valueCodeableConcept:
                index: 4
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 4}
        medicationTreatment:
          match: {url: null}
          schema: {short: Medication Treatment, type: Extension, url: h, index: 5}
          min: 0
          max: 1
  requester:
    short: Prescriber
    index: 25
    elements:
      agent:
        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/Device']
        index: 26
  supportingInformation: {short: MedicationAgreementAdditionalInformation, index: 23}
  status: {short: CanceledIndicator, index: 11}
  dosageInstruction: {type: Dosage, index: 31}
  recorder:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner']
    index: 27
  identifier:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        MedicationAgreementIdentifier:
          match: {system: null}
          schema: {index: 10}
          max: 1
  medicationReference:
    short: AgreedMedicine
    refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product']
    type: Reference
    choiceOf: medication
    index: 21
  subject:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 22
  modifierExtension:
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        stopType:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 7
            elements:
              valueCodeableConcept:
                index: 8
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {index: 8}
  medication:
    short: AgreedMedicine
    choices: [medicationCodeableConcept, medicationReference]
    index: 19
  reasonReference:
    type: Reference
    short: PrescriptionReason
    refers: ['http://hl7.org/fhir/StructureDefinition/Observation', 'http://nictiz.nl/fhir/StructureDefinition/zib-Concern']
    index: 29
package_version: 1.0.0
extensions:
  periodOfUse: {url: h, max: 1, type: Extension, short: PeriodOfUse, index: 1}
  usageDuration: {url: h, max: 1, short: Duration, type: Extension, index: 2}
  additionalInformation:
    url: h
    type: Extension
    short: MedicationAgreementAdditionalInformation
    index: 3
    elements:
      valueCodeableConcept:
        index: 4
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {index: 4}
  medicationTreatment: {url: h, min: 0, max: 1, short: Medication Treatment, type: Extension, index: 5}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationAgreement
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: '1.0'
required: [authoredOn, category]