PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.r4.medicationprocess9@2.0.0-rc.6
    http://nictiz.nl/fhir/StructureDefinition/mp-ProposalMedicationAgreement-Bundle
description: The proposal medication agreement is a proposal by a healthcare professional or the patient to the prescriber regarding the prescribing of medication. The proposal may involve stopping, starting, changing or continuing medication.
package_name: nictiz.fhir.nl.r4.medicationprocess9
derivation: constraint
name: MpProposalMedicationAgreementBundle
type: Bundle
elements:
  type:
    pattern: {type: Code, value: transaction}
    index: 0
  identifier: {short: ProposalIdentification, index: 1}
  entry:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: profile}
      min: 1
      slices:
        patient:
          match: {}
          schema:
            index: 15
            elements:
              resource: {type: Resource, index: 16}
            required: [resource]
        bodyWeight:
          match: {}
          schema:
            index: 29
            elements:
              resource: {type: Resource, index: 30}
            required: [resource]
        healthcareProvider:
          match: {}
          schema:
            index: 23
            elements:
              resource: {type: Resource, index: 24}
            required: [resource]
        proposalMedicationAgreement:
          match: {}
          schema:
            _required: true
            index: 3
            elements:
              resource:
                type: Resource
                short: Proposal
                index: 4
                elements:
                  meta:
                    index: 5
                    elements:
                      tag:
                        index: 6
                        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: 7
                              min: 1
                              max: 1
                    required: [tag]
                  extension:
                    type: Extension
                    url: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
                    index: 8
                    slicing:
                      slices:
                        proposalComment:
                          match: {}
                          schema:
                            type: Extension
                            url: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
                            index: 8
                            elements:
                              value:
                                short: Comment
                                choices: []
                                index: 10
                  identifier: {index: 11}
                  intent:
                    pattern: {type: Code, value: plan}
                    index: 12
                  authoredOn: {short: ProposalDate, index: 13}
                  requester:
                    short: Author
                    refers: ['http://hl7.org/fhir/StructureDefinition/Device', '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', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient']
                    type: Reference
                    index: 14
                extensions:
                  proposalComment:
                    url: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
                    type: Extension
                    index: 8
                    elements:
                      value:
                        short: Comment
                        choices: []
                        index: 10
                required: [authoredOn, requester]
            required: [resource]
        pharmaceuticalProduct:
          match: {}
          schema:
            index: 17
            elements:
              resource: {type: Resource, index: 18}
            required: [resource]
        bodyHeight:
          match: {}
          schema:
            index: 27
            elements:
              resource: {type: Resource, index: 28}
            required: [resource]
        healthcareProvider-Organization:
          match: {}
          schema:
            index: 25
            elements:
              resource: {type: Resource, index: 26}
            required: [resource]
        healthProfessional-Practitioner:
          match: {}
          schema:
            index: 21
            elements:
              resource: {type: Resource, index: 22}
            required: [resource]
        healthProfessional-PractitionerRole:
          match: {}
          schema:
            index: 19
            elements:
              resource: {type: Resource, index: 20}
            required: [resource]
package_version: 2.0.0-rc.6
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/mp-ProposalMedicationAgreement-Bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 2.0.0-rc.6
required: [entry, identifier]