PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.6.0
    http://fhir.ashmc.co.il/StructureDefinition/med-home-statement-cml
description: Asuta Ashdod home medication statement profile for the CML interface
package_name: il.fhir.r4.ashmc
derivation: constraint
name: AsutaAshdodMedHomeStatementCml
type: MedicationStatement
elements:
  extension:
    index: 0
    slicing:
      slices:
        courseOfTherapyType:
          match: {}
          schema:
            index: 0
            elements:
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: acute, system: 'http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy', display: Short course (acute) therapy}
                choices: []
                index: 2
  identifier:
    elements:
      system:
        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/med-cml-home'}
        index: 3
  medication:
    choices: [medicationCodeableConcept]
    index: 5
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 5
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 6
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 6}
  medication[x]:
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            cml:
              match: {system: 'http://fhir.ashmc.co.il/cs/cml-med-code'}
              schema:
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/cml-med-code'}
                    index: 9
                  code: {index: 10}
                  display: {index: 11}
                required: [display, system, code]
            mv:
              match: {system: 'http://fhir.ashmc.co.il/cs/mv-med-code'}
              schema:
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/mv-med-code'}
                    index: 13
                  code: {index: 14}
                  display: {index: 15}
                required: [display, system, code]
            internal:
              match: {system: 'http://fhir.ashmc.co.il/cs/internal-med-code'}
              schema:
                index: 16
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/internal-med-code'}
                    index: 17
                  code: {index: 18}
                  display: {index: 19}
                required: [display, system, code]
            SNOMED:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 20
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 21
                  code: {index: 22}
                  display: {index: 23}
                required: [display, system, code]
            atc:
              match: {system: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
              schema:
                index: 24
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
                    index: 25
                required: [system]
package_version: 0.6.0
extensions:
  courseOfTherapyType:
    url: null
    index: 0
    elements:
      value:
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: acute, system: 'http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy', display: Short course (acute) therapy}
        choices: []
        index: 2
class: profile
kind: resource
url: http://fhir.ashmc.co.il/StructureDefinition/med-home-statement-cml
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-statement
version: 0.6.0