PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.8.1
    http://fhir.ashmc.co.il/StructureDefinition/med-order-cml
description: 'Asuta Ashdod medication order (MedicationRequest) profile for the CML interface. For cocktail (compound) orders, a contained Medication resource with id ''Cocktail'' SHALL be used and medicationReference SHALL reference ''#Cocktail''. The contained resource SHALL have: identifier.system = http://fhir.ashmc.co.il/identifier/cocktail-order-cml (1..1); code.text (1..1) holding a free-text summary of the mixture; and one or more ingredient entries, each with itemCodeableConcept.coding sliced by system exactly as medicationCodeableConcept.coding is sliced on this profile (cml 1..1 fixed to http://fhir.ashmc.co.il/cs/cml-med-code, snomed 0..1 fixed to http://snomed.info/sct, atc 0..1 fixed to http://fhir.ashmc.co.il/cs/local-atc-med-code), and strength as a Ratio whose denominator is fixed to 1 Hour (http://unitsofmeasure.org#h). This structure is illustrated in full in the cocktail example instance but is not separately profiled, since it only ever exists as a contained resource within this profile.'
package_name: il.fhir.r4.ashmc
derivation: constraint
name: AsutaAshdodMedicationRequestOrderCml
type: MedicationRequest
elements:
  category:
    index: 13
    slicing:
      slices:
        il-core:
          match: {}
          schema: {_required: true, index: 14}
          min: 1
          max: 1
  encounter: {index: 28}
  medication[x]:
    elements:
      coding:
        index: 18
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            cml:
              match: {system: 'http://fhir.ashmc.co.il/cs/cml-med-code'}
              schema:
                _required: true
                index: 19
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-med-code'}
                    index: 20
                  code: {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}
                  display: {index: 25}
                required: [display, system, code]
            atc:
              match: {system: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
              schema:
                index: 26
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
                    index: 27
                required: [system]
    required: [coding]
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 17
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 17}
  extension:
    index: 1
    slicing:
      slices:
        confirmedBy:
          match: {}
          schema: {type: Extension, url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-confirmed-by', index: 2}
          min: 0
          max: 1
        orderType:
          match: {}
          schema: {type: Extension, url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-order-type', index: 3}
          min: 1
          max: 1
        totalDailyDose:
          match: {}
          schema: {type: Extension, url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-daily-dose', index: 4}
          min: 0
          max: 1
        protocolName:
          match: {}
          schema: {type: Extension, url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-protocol-name', index: 5}
          min: 0
          max: 1
  contained: {index: 0}
  dosageInstruction:
    extensions:
      wayOfGiving: {url: 'http://fhir.ashmc.co.il/StructureDefinition/dosageWayOfGiving', min: 0, max: 1, type: Extension, index: 29}
    elements:
      extension:
        type: Extension
        url: http://fhir.ashmc.co.il/StructureDefinition/dosageWayOfGiving
        index: 29
        slicing:
          slices:
            wayOfGiving:
              match: {}
              schema: {type: Extension, url: 'http://fhir.ashmc.co.il/StructureDefinition/dosageWayOfGiving', index: 29}
              min: 0
              max: 1
  identifier:
    elements:
      type:
        index: 6
        elements:
          coding:
            index: 7
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-identifier-type'}
                index: 8
              code:
                pattern: {type: Code, value: strong-id}
                index: 9
              display:
                pattern: {type: String, value: Strong Identifier}
                index: 10
        required: [coding]
      system:
        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/med-order-cml'}
        index: 11
    required: [type]
  intent:
    pattern: {type: Code, value: order}
    index: 12
  medication:
    choices: [medicationCodeableConcept]
    index: 16
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 16
package_version: 0.8.1
extensions:
  confirmedBy: {url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-confirmed-by', min: 0, max: 1, type: Extension, index: 2}
  orderType: {url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-order-type', min: 1, max: 1, type: Extension, index: 3}
  totalDailyDose: {url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-daily-dose', min: 0, max: 1, type: Extension, index: 4}
  protocolName: {url: 'http://fhir.ashmc.co.il/StructureDefinition/ext-protocol-name', min: 0, max: 1, type: Extension, index: 5}
class: profile
kind: resource
url: http://fhir.ashmc.co.il/StructureDefinition/med-order-cml
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-request
version: 0.8.1
required: [encounter, extension, category]