PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.10.0
    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
  medication:
    choices: [medicationCodeableConcept]
    index: 3
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 3
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 4
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 4}
  medication[x]:
    elements:
      coding:
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            internal:
              match: {system: null}
              schema:
                _required: true
                index: 6
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-internal-drug-code-uri'}
                    index: 7
                  code: {index: 8}
                  display: {index: 9}
                  userSelected: {index: 10}
                required: [display, system, userSelected, code]
            external:
              match: {system: null}
              schema:
                index: 11
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-external-drug-code-uri'}
                    index: 12
                  code: {index: 13}
                required: [system, code]
            SNOMED:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 15
                  code: {index: 16}
                required: [system, code]
    required: [coding]
  groupIdentifier:
    index: 17
    elements:
      system:
        binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-prescription-group'}
        index: 18
      value: {index: 19}
    required: [value, system]
package_version: 0.10.0
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.10.0
required: [id, groupIdentifier]