description: The response proposal medication agreement is a response from the prescriber to the proposal medication agreement. In this response, the prescriber indicates whether they agree (after which an (adjusted) medication agreement will follow) or disagree (and the reason for this). package_name: nictiz.fhir.nl.r4.medicationprocess9 derivation: constraint name: MpReplyProposalMedicationAgreement type: Communication elements: meta: index: 0 elements: tag: index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: actionable: match: {code: actionable, system: 'http://terminology.hl7.org/CodeSystem/common-tags'} schema: pattern: type: Coding value: {code: actionable, system: 'http://terminology.hl7.org/CodeSystem/common-tags'} _required: true index: 2 min: 1 max: 1 required: [tag] identifier: {short: Identification, index: 3} basedOn: short: RelationToProposalData refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement', 'http://nictiz.nl/fhir/StructureDefinition/mp-ProposalMedicationAgreement-Bundle'] type: Reference index: 4 subject: type: Reference short: Patient refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient'] index: 5 sent: {short: ResponseDate, index: 6} sender: short: Author refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', '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-HealthProfessional-PractitionerRole'] type: Reference index: 7 extension: index: 8 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: relationToNewMedicationAgreement: match: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-Communication.RelationToNewMedicationAgreement'} schema: type: Extension short: RelationToNewMedicationAgreement index: 9 elements: url: pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/ext-Communication.RelationToNewMedicationAgreement'} index: 10 value: choices: [valueReference] index: 12 valueReference: type: Reference choiceOf: value refers: ['http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement'] index: 13 required: [valueReference, value] payload: index: 14 elements: content: extensions: {} elements: extension: elements: value: short: ResponseMedicationAgreementDecision choices: [] index: 21 required: [value] contentString: {short: ResponseMedicationAgreementExplanation, type: string, choiceOf: content, index: 17} content[x]: extensions: contentCodeableConcept: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-Communication.Payload.ContentCodeableConcept', min: 1, type: Extension, index: 19} elements: extension: index: 18 slicing: slices: contentCodeableConcept: match: {} schema: {type: Extension, url: 'http://nictiz.nl/fhir/StructureDefinition/ext-Communication.Payload.ContentCodeableConcept', index: 19} min: 1 required: [extension] package_version: 2.0.0-rc.7 extensions: relationToNewMedicationAgreement: url: http://nictiz.nl/fhir/StructureDefinition/ext-Communication.RelationToNewMedicationAgreement type: Extension short: RelationToNewMedicationAgreement index: 9 elements: url: pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/ext-Communication.RelationToNewMedicationAgreement'} index: 10 value: choices: [valueReference] index: 12 valueReference: type: Reference choiceOf: value refers: ['http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement'] index: 13 required: [valueReference, value] class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/mp-ReplyProposalMedicationAgreement base: http://hl7.org/fhir/StructureDefinition/Communication version: 2.0.0-rc.7 required: [sent, basedOn, identifier, subject, payload, sender]