PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.8.1
    http://fhir.ashmc.co.il/StructureDefinition/med-prescription-cml
description: Asuta Ashdod medication prescription (MedicationRequest) profile for the CML interface, representing discharge prescriptions.
package_name: il.fhir.r4.ashmc
derivation: constraint
name: AsutaAshdodMedicationRequestPrescriptionCml
type: MedicationRequest
elements:
  category:
    index: 7
    slicing:
      slices:
        il-core:
          match: {}
          schema:
            index: 7
            elements:
              coding:
                elements:
                  code:
                    pattern: {type: Code, value: discharge}
                    index: 8
                  display:
                    pattern: {type: String, value: Discharge}
                    index: 9
  medication[x]:
    elements:
      coding:
        index: 13
        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: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-med-code'}
                    index: 15
                  code: {index: 16}
                required: [system, code]
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 18
                required: [system]
            atc:
              match: {system: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
              schema:
                index: 19
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
                    index: 20
                required: [system]
    required: [coding]
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 12
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 12}
  dosageInstruction:
    extensions:
      wayOfGiving: {url: 'http://fhir.ashmc.co.il/StructureDefinition/dosageWayOfGiving', min: 0, max: 1, type: Extension, index: 26}
    elements:
      extension:
        type: Extension
        url: http://fhir.ashmc.co.il/StructureDefinition/dosageWayOfGiving
        index: 26
        slicing:
          slices:
            wayOfGiving:
              match: {}
              schema: {type: Extension, url: 'http://fhir.ashmc.co.il/StructureDefinition/dosageWayOfGiving', index: 26}
              min: 0
              max: 1
      site:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 27
      route:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 28
      method:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 29
  groupIdentifier:
    elements:
      system:
        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/prescription-cml'}
        index: 21
      value: {index: 22}
    required: [value]
  identifier:
    elements:
      type:
        index: 0
        elements:
          coding:
            index: 1
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-identifier-type'}
                index: 2
              code:
                pattern: {type: Code, value: strong-id}
                index: 3
              display:
                pattern: {type: String, value: Strong Identifier}
                index: 4
        required: [coding]
      system:
        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/prescription-drug-cml'}
        index: 5
    required: [type]
  intent:
    pattern: {type: Code, value: order}
    index: 6
  courseOfTherapyType:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy'}
            index: 23
          code:
            pattern: {type: Code, value: acute}
            index: 24
          display:
            pattern: {type: String, value: Short course (acute) therapy}
            index: 25
  medication:
    choices: [medicationCodeableConcept]
    index: 11
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 11
package_version: 0.8.1
class: profile
kind: resource
url: http://fhir.ashmc.co.il/StructureDefinition/med-prescription-cml
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-request
version: 0.8.1