PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.dgmc@0.11.2
    http://fhir.dgmc.health.gov.il/StructureDefinition/medication-administration
description: DGMC profile For Medication Administration From Chameleon
package_name: il.fhir.r4.dgmc
derivation: constraint
name: MedicationAdministration
type: MedicationAdministration
elements:
  dosage:
    elements:
      route:
        elements:
          coding:
            index: 54
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                internal:
                  match: {system: null}
                  schema:
                    array: true
                    index: 55
                    elements:
                      system:
                        binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-med-route-uri'}
                        index: 56
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    array: true
                    index: 57
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 58
                    required: [system]
  medication[x]:
    elements:
      coding:
        index: 38
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            internal:
              match: {system: null}
              schema:
                _required: true
                index: 39
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-internal-drug-code-uri'}
                    index: 40
                  code: {index: 41}
                  display: {index: 42}
                  userSelected:
                    pattern: {type: Boolean, value: true}
                    index: 43
                required: [display, system, userSelected, code]
            atc:
              match: {system: 'http://www.whocc.no/atc'}
              schema:
                index: 44
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                    index: 45
                  userSelected:
                    pattern: {type: Boolean, value: false}
                    index: 46
                required: [system]
            external:
              match: {system: null}
              schema:
                index: 47
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-external-drug-code-uri'}
                    index: 48
                  code: {index: 49}
                  userSelected:
                    pattern: {type: Boolean, value: false}
                    index: 50
                required: [system, code]
    required: [coding]
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 37
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 37}
  statusReason:
    index: 29
    slicing:
      rules: open
      discriminator:
      - {path: coding, type: exists}
      min: null
      slices:
        code:
          match: {}
          schema:
            array: true
            index: 30
            elements:
              coding:
                index: 31
                elements:
                  system:
                    binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-not-administered-reason-uri'}
                    index: 32
            required: [coding]
        text:
          match: {}
          schema:
            array: true
            index: 33
            elements:
              coding: {index: 34}
  extension:
    index: 25
    slicing:
      slices:
        recorded:
          match: {}
          schema:
            index: 25
            elements:
              value:
                choices: []
                index: 27
            required: [value]
  contained:
    type: Medication
    index: 0
    elements:
      id:
        pattern: {type: String, value: Cocktail}
        index: 1
      identifier:
        index: 2
        elements:
          system:
            binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-cocktail-drug-code-uri'}
            index: 3
          value: {index: 4}
        required: [value, system]
      code: {index: 5}
      ingredient:
        elements:
          item:
            choices: []
            index: 7
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                itemCodeableConcept:
                  match: {}
                  schema:
                    choices: [itemCodeableConcept]
                    index: 9
                  min: 0
                  max: 1
          itemCodeableConcept:
            type: CodeableConcept
            choiceOf: item
            index: 10
            slicing:
              slices:
                itemCodeableConcept:
                  match: {}
                  schema: {type: CodeableConcept, choiceOf: item, index: 10}
                  min: 0
                  max: 1
          item[x]:
            elements:
              coding:
                index: 11
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: system, type: value}
                  min: null
                  slices:
                    internal:
                      match: {system: null}
                      schema:
                        array: true
                        index: 12
                        elements:
                          system:
                            binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-internal-drug-code-uri'}
                            index: 13
                          userSelected:
                            pattern: {type: Boolean, value: true}
                            index: 14
                    atc:
                      match: {system: 'http://www.whocc.no/atc'}
                      schema:
                        index: 15
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                            index: 16
                          userSelected:
                            pattern: {type: Boolean, value: false}
                            index: 17
                        required: [system]
                    external:
                      match: {system: null}
                      schema:
                        index: 18
                        elements:
                          system:
                            binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-external-drug-code-uri'}
                            index: 19
                          code: {index: 20}
                          userSelected:
                            pattern: {type: Boolean, value: false}
                            index: 21
                        required: [system, code]
                    snomed:
                      match: {system: 'http://snomed.info/sct'}
                      schema:
                        index: 22
                        elements:
                          system:
                            pattern: {type: Uri, value: 'http://snomed.info/sct'}
                            index: 23
                          code: {index: 24}
                        required: [system, code]
    required: [id, identifier, code]
  identifier:
    elements:
      system:
        binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/cml-med-execution-uri'}
        index: 28
    required: [system]
  performer:
    elements:
      function:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/med-admin-perform-function'}
                index: 51
              code:
                pattern: {type: Code, value: performer}
                index: 52
              display:
                pattern: {type: String, value: Performer}
                index: 53
  medication:
    choices: [medicationCodeableConcept]
    index: 36
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 36
package_version: 0.11.2
extensions:
  recorded:
    url: null
    index: 25
    elements:
      value:
        choices: []
        index: 27
    required: [value]
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/medication-administration
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-administration
version: 0.11.2