PackagesCanonicalsLogsProblems
    Packages
    laniado.test.fhir.r4@0.1.62
    http://fhir.laniado.org.il/StructureDefinition/encounter-admission
description: This is the base Encounter. Each session has at least one Department movement.
package_name: laniado.test.fhir.r4
derivation: constraint
name: EncounterAdmission
type: Encounter
elements:
  extension:
    index: 0
    slicing:
      slices:
        modeOfArrival:
          match: {}
          schema:
            index: 0
            elements:
              value[x]:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-huva'}
                    index: 1
        hearot:
          match: {}
          schema: {type: Extension, url: 'http://fhir.laniado.org.il/StructureDefinition/ext-administrative-encounter-note', index: 2}
          min: 0
        reasonCancelled:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled', index: 3}
          min: 0
          max: 1
  identifier:
    index: 4
    elements:
      system: {index: 5}
      value: {short: The value that is unique within the system., index: 6}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        mispar-ishpuz:
          match: {system: 'http://fhir.laniado.org.il/Identifier/mispar-ishpuz'}
          schema:
            short: Hospitalization number (מספר אשפוז)
            mustSupport: true
            _required: true
            index: 7
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/mispar-ishpuz'}
                index: 8
              value:
                short: An Hospitalization number
                constraint:
                  mispar-ishpuz: {human: The hospitalization number must meet the specified requirements, source: 'http://fhir.laniado.org.il/StructureDefinition/encounter-admission', severity: error, expression: 'matches(''^20[0-9]{8}$'')'}
                index: 9
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 10
                  identifier:
                    index: 11
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 12
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 13
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 14
                required: [identifier]
  type:
    index: 15
    slicing:
      slices:
        s-yechida:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.laniado.org.il/ValueSet/s-yechida'}
            _required: true
            index: 16
            elements:
              coding:
                index: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/s-yechida'}
                    index: 18
                  code: {index: 19}
                required: [code]
            required: [coding]
  subject:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-patient']
    index: 20
  reasonCode:
    index: 21
    slicing:
      slices:
        moh-reason-code:
          match: {}
          schema: {index: 21}
          max: 1
        complaint:
          match: {}
          schema:
            index: 22
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-teluna'}
                    index: 23
  serviceProvider:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization']
    index: 24
  partOf:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/encounter-admission']
    index: 25
package_version: 0.1.62
extensions:
  modeOfArrival:
    url: null
    index: 0
    elements:
      value[x]:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.laniado.org.il/CodeSystem/k-huva'}
            index: 1
  hearot: {url: 'http://fhir.laniado.org.il/StructureDefinition/ext-administrative-encounter-note', min: 0, type: Extension, index: 2}
  reasonCancelled: {url: 'http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled', min: 0, max: 1, type: Extension, index: 3}
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/encounter-admission
base: http://fhir.health.gov.il/StructureDefinition/il-core-encounter
version: null
required: [identifier, type]