PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.11.2
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-perscription
description: DGMC Medication Request for Prescription
package_name: il.fhir.r4.dgmc
derivation: constraint
name: DGMCPerscription
type: MedicationRequest
elements:
  id: {index: 0}
  identifier:
    elements:
      system:
        binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-med-prescription'}
        index: 1
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {system: 'http://fhir.dgmc.health.gov.il/cs/prescription-category'}
    array: true
    index: 2
    slicing:
      slices:
        dgmc:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://fhir.dgmc.health.gov.il/cs/prescription-category'}
            array: true
            index: 2
          min: 0
  medication:
    choices: [medicationCodeableConcept]
    index: 4
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 4
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 5
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 5}
  medication[x]:
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            internal:
              match: {system: null}
              schema:
                _required: true
                index: 7
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-internal-drug-code-uri'}
                    index: 8
                  code: {index: 9}
                  display: {index: 10}
                  userSelected: {index: 11}
                required: [display, system, userSelected, code]
            external:
              match: {system: null}
              schema:
                index: 12
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-external-drug-code-uri'}
                    index: 13
                  code: {index: 14}
                required: [system, code]
            SNOMED:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 15
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 16
                  code: {index: 17}
                required: [system, code]
    required: [coding]
  groupIdentifier:
    index: 18
    elements:
      system:
        binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-prescription-group'}
        index: 19
      value: {index: 20}
    required: [value, system]
package_version: 0.11.2
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-perscription
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-request
version: 0.11.2
required: [id, groupIdentifier]