description: 'This profile is based on the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) MedicationAgreement version 1.0.1, year 2017. A medication agreement is a prescriber’s proposal for a patient to use medication. An agreement to discontinue the use of medication is also a medication agreement.' package_name: nictiz.fhir.nl.stu3.zib2017 derivation: constraint name: Zib MedicationAgreement type: MedicationRequest elements: category: index: 13 elements: coding: index: 14 slicing: rules: open discriminator: - {path: code, type: value} min: null slices: medicationAgreementCode: match: {code: '16076005'} schema: short: MedicationAgreementCode index: 15 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 16 code: pattern: {type: Code, value: '16076005'} index: 17 display: {defaultValueString: Prescription (procedure), index: 18} reasonCode: {short: ReasonMedicationAgreement, index: 31} authoredOn: {short: MedicationAgreementDateTime, index: 22} note: {short: Comment, index: 33} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: periodOfUse: match: {url: null} schema: {short: PeriodOfUse, type: Extension, 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: short: MedicationAgreementAdditionalInformation type: Extension 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} max: 1 nl-core-episodeofcare: match: {url: null} schema: {type: Extension, url: h, index: 6} min: 0 requester: short: Prescriber index: 23 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: 24 extensions: practitionerRole: {url: h, max: 1, type: Extension, index: 26} elements: extension: index: 25 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: practitionerRole: match: {url: null} schema: {type: Extension, url: h, index: 26} max: 1 onBehalfOf: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization'] index: 27 dosageInstruction: {type: Dosage, index: 34} recorder: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner'] 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 identifier: {index: 11} context: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare', 'http://nictiz.nl/fhir/StructureDefinition/zib-Encounter'] index: 21 intent: pattern: {type: Code, value: order} index: 12 medicationReference: short: AgreedMedicine refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product'] type: Reference index: 19 slicing: slices: medicationReference: match: {} schema: short: AgreedMedicine refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Product'] type: Reference index: 19 subject: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://hl7.org/fhir/StructureDefinition/Group'] index: 20 modifierExtension: index: 7 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: stopType: match: {url: null} schema: type: Extension label: MedicatieafspraakStopType url: h index: 8 elements: valueCodeableConcept: index: 9 slicing: slices: valueCodeableConcept: match: {} schema: {index: 9} repeatPeriodCyclicalSchedule: match: {url: null} schema: {short: RepeatPeriodCyclicalSchedule, type: Extension, label: HerhaalperiodeCyclischSchema, url: h, index: 10} max: 1 reasonReference: type: Reference short: PrescriptionReason refers: ['http://hl7.org/fhir/StructureDefinition/Observation', 'http://nictiz.nl/fhir/StructureDefinition/zib-Problem'] index: 32 package_version: 2.2.3 extensions: periodOfUse: {url: h, max: 1, short: PeriodOfUse, type: Extension, index: 1} usageDuration: {url: h, max: 1, short: Duration, type: Extension, index: 2} additionalInformation: url: h short: MedicationAgreementAdditionalInformation type: Extension index: 3 elements: valueCodeableConcept: index: 4 slicing: slices: valueCodeableConcept: match: {} schema: {index: 4} medicationTreatment: {url: h, max: 1, short: Medication Treatment, type: Extension, index: 5} nl-core-episodeofcare: {url: h, min: 0, type: Extension, index: 6} class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationAgreement base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 2.2.7 required: [authoredOn, category]