PackagesCanonicalsLogsProblems
    Packages
    rs/il.fhir.r4.dgmc@0.1.11
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-encounter-case
description: DGMC Encounter Namer Case
package_name: rs/il.fhir.r4.dgmc
derivation: constraint
name: DGMCEncounterNamerCase
type: Encounter
elements:
  meta:
    elements:
      security:
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality'}
            type: uri
            index: 0
          code:
            pattern: {type: code, value: R}
            type: code
            index: 1
          display:
            pattern: {type: string, value: restricted}
            type: string
            index: 2
        required: [code, display, system]
  identifier:
    index: 3
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        nmr-case:
          match: {system: null}
          schema:
            _required: true
            index: 4
            elements:
              system:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/nmr-case-number-uri'}
                index: 5
              value: {index: 6}
            required: [system, value]
  type:
    index: 7
    slicing:
      slices:
        admission-type:
          match: {}
          schema:
            index: 7
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/admission-type'}
                index: 8
                elements:
                  system: {index: 9}
                  code: {index: 10}
                  display: {index: 11}
                required: [code, display, system]
        home-check-in:
          match: {}
          schema:
            index: 12
            elements:
              coding:
                pattern:
                  type: Coding
                  value: {code: '9', system: 'http://fhir.dgmc.health.gov.il/cs/home-check-in'}
                type: Coding
                index: 13
                elements:
                  display:
                    pattern: {type: string, value: צ'ק-אין מהבית}
                    type: string
                    index: 14
                required: [display]
            required: [coding]
  subject:
    extensions:
      visitor-type:
        url: null
        index: 15
        elements:
          value:
            choices: []
            index: 17
    elements:
      extension:
        index: 15
        slicing:
          slices:
            visitor-type:
              match: {}
              schema:
                index: 15
                elements:
                  value:
                    choices: []
                    index: 17
  period:
    elements:
      start: {index: 18}
    required: [start]
  hospitalization:
    elements:
      admitSource:
        index: 19
        elements:
          coding:
            binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-admit-source-moh'}
            index: 20
            elements:
              system: {index: 21}
              code: {index: 22}
              display: {index: 23}
            required: [code, display, system]
        required: [coding]
      dietPreference:
        binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/encounter-diet-pref-uri'}
        index: 24
    required: [admitSource]
  serviceProvider:
    elements:
      reference: {index: 25}
    required: [reference]
package_version: 0.1.11
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-encounter-case
base: http://fhir.health.gov.il/StructureDefinition/il-core-encounter
version: 0.1.10
required: [identifier]