PackagesCanonicalsLogsProblems
    Packages
    il.fhir.r4.ashmc@0.6.1
    http://fhir.ashmc.co.il/StructureDefinition/med-chronic-statement-cml
description: Asuta Ashdod chronic medication statement profile for the CML interface
package_name: il.fhir.r4.ashmc
derivation: constraint
name: AsutaAshdodMedChronicStatementCml
type: MedicationStatement
elements:
  extension:
    index: 0
    slicing:
      slices:
        courseOfTherapyType:
          match: {}
          schema:
            index: 0
            elements:
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: chronic, system: 'http://fhir.health.gov.il/cs/il-core-medication-course-of-therapy-type', display: Chronic therapy}
                choices: []
                index: 2
  identifier:
    elements:
      system:
        pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/identifier/med-cml-chronic'}
        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
                required: [system]
            internal:
              match: {system: 'http://fhir.ashmc.co.il/cs/internal-med-code'}
              schema:
                index: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/internal-med-code'}
                    index: 11
                  code: {index: 12}
                  display: {index: 13}
                required: [display, 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}
                  display: {index: 17}
                required: [display, system, code]
            atc:
              match: {system: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
              schema:
                index: 18
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.ashmc.co.il/cs/local-atc-med-code'}
                    index: 19
                required: [system]
package_version: 0.6.1
extensions:
  courseOfTherapyType:
    url: null
    index: 0
    elements:
      value:
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: chronic, system: 'http://fhir.health.gov.il/cs/il-core-medication-course-of-therapy-type', display: Chronic therapy}
        choices: []
        index: 2
class: profile
kind: resource
url: http://fhir.ashmc.co.il/StructureDefinition/med-chronic-statement-cml
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-medication-statement
version: 0.6.1