PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.research@1.0.0-cc1
    https://gematik.de/fhir/epa-research/StructureDefinition/epa-research-medication-request
description: null
package_name: de.gematik.epa.research
derivation: constraint
name: EPAResearchMedicationRequest
type: MedicationRequest
elements:
  meta:
    elements:
      tag:
        mustSupport: true
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            TagSourceProfile:
              match: {system: 'https://gematik.de/fhir/epa-research/sid/source-profile'}
              schema:
                mustSupport: true
                _required: true
                index: 1
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://gematik.de/fhir/epa-research/sid/source-profile'}
                    index: 2
                required: [system]
    required: [tag]
  extension:
    type: Extension
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-request-linked-statement-extension
    index: 3
    slicing:
      slices:
        medicationRequestLinkedStatement:
          match: {}
          schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-request-linked-statement-extension', index: 3}
          min: 0
        multiplePrescription:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
            index: 4
            extensions:
              indicator:
                url: null
                index: 5
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 7
              counter:
                url: null
                index: 8
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 10
                  value[x]:
                    elements:
                      numerator:
                        mustSupport: true
                        index: 11
                        elements:
                          value: {mustSupport: true, index: 12}
                      denominator:
                        mustSupport: true
                        index: 13
                        elements:
                          value: {mustSupport: true, index: 14}
              period:
                url: null
                index: 15
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 17
                  value[x]:
                    elements:
                      start: {mustSupport: true, index: 18}
                      end: {mustSupport: true, index: 19}
              id:
                url: null
                index: 20
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 22
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 23}
                      value: {mustSupport: true, index: 24}
            elements:
              extension:
                index: 5
                slicing:
                  slices:
                    indicator:
                      match: {}
                      schema:
                        index: 5
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 7
                    counter:
                      match: {}
                      schema:
                        index: 8
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 10
                          value[x]:
                            elements:
                              numerator:
                                mustSupport: true
                                index: 11
                                elements:
                                  value: {mustSupport: true, index: 12}
                              denominator:
                                mustSupport: true
                                index: 13
                                elements:
                                  value: {mustSupport: true, index: 14}
                    period:
                      match: {}
                      schema:
                        index: 15
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 17
                          value[x]:
                            elements:
                              start: {mustSupport: true, index: 18}
                              end: {mustSupport: true, index: 19}
                    id:
                      match: {}
                      schema:
                        index: 20
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 22
                          value[x]:
                            elements:
                              system: {mustSupport: true, index: 23}
                              value: {mustSupport: true, index: 24}
        isBvg:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
            index: 25
            elements:
              value:
                mustSupport: true
                choices: []
                index: 27
  subject:
    elements:
      reference: {index: 28}
      identifier: {type: Identifier, index: 29}
  requester: {index: 30}
  note: {index: 31}
package_version: 1.0.0-cc1
extensions:
  medicationRequestLinkedStatement: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-request-linked-statement-extension', min: 0, type: Extension, index: 3}
  multiplePrescription:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension
    type: Extension
    mustSupport: true
    index: 4
    extensions:
      indicator:
        url: null
        index: 5
        elements:
          value:
            mustSupport: true
            choices: []
            index: 7
      counter:
        url: null
        index: 8
        elements:
          value:
            mustSupport: true
            choices: []
            index: 10
          value[x]:
            elements:
              numerator:
                mustSupport: true
                index: 11
                elements:
                  value: {mustSupport: true, index: 12}
              denominator:
                mustSupport: true
                index: 13
                elements:
                  value: {mustSupport: true, index: 14}
      period:
        url: null
        index: 15
        elements:
          value:
            mustSupport: true
            choices: []
            index: 17
          value[x]:
            elements:
              start: {mustSupport: true, index: 18}
              end: {mustSupport: true, index: 19}
      id:
        url: null
        index: 20
        elements:
          value:
            mustSupport: true
            choices: []
            index: 22
          value[x]:
            elements:
              system: {mustSupport: true, index: 23}
              value: {mustSupport: true, index: 24}
    elements:
      extension:
        index: 5
        slicing:
          slices:
            indicator:
              match: {}
              schema:
                index: 5
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 7
            counter:
              match: {}
              schema:
                index: 8
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 10
                  value[x]:
                    elements:
                      numerator:
                        mustSupport: true
                        index: 11
                        elements:
                          value: {mustSupport: true, index: 12}
                      denominator:
                        mustSupport: true
                        index: 13
                        elements:
                          value: {mustSupport: true, index: 14}
            period:
              match: {}
              schema:
                index: 15
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 17
                  value[x]:
                    elements:
                      start: {mustSupport: true, index: 18}
                      end: {mustSupport: true, index: 19}
            id:
              match: {}
              schema:
                index: 20
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 22
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 23}
                      value: {mustSupport: true, index: 24}
  isBvg:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-bvg-extension
    type: Extension
    mustSupport: true
    index: 25
    elements:
      value:
        mustSupport: true
        choices: []
        index: 27
class: profile
kind: resource
url: https://gematik.de/fhir/epa-research/StructureDefinition/epa-research-medication-request
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.0.0-cc1