PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@1.3.3
    http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview
description: Profile on the Bundle resource which represents the structure of the retrieve medication overview response transaction. The output of the ['$medication-overiew'](https://simplifier.net/NictizSTU3/Medication-Overview) operation SHALL conform to this profile.
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Medication Overview response structure
type: Bundle
elements:
  type:
    pattern: {type: Code, value: searchset}
    index: 0
  total: {index: 1}
  entry:
    array: true
    min: 2
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: type}
      min: 2
      slices:
        List:
          match: {}
          schema:
            short: MedicationOveriew
            _required: true
            index: 3
            elements:
              resource:
                type: List
                index: 4
                elements:
                  subject:
                    type: Reference
                    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
                    index: 5
                  entry:
                    index: 6
                    slicing:
                      slices:
                        AdministrationAgreement:
                          match: {}
                          schema:
                            index: 6
                            elements:
                              item: {index: 7}
            required: [resource]
package_version: 1.3.3
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 2.0.1