PackagesCanonicalsLogsProblems
    Packages
    il.tasmc.fhir.r4@0.9.6
    http://fhir.tasmc.org.il/StructureDefinition/tasmc-encounter-inpatient-care-segment
description: Sourasky (TASMC) inpatient care segment encounter profile with local constraints
package_name: il.tasmc.fhir.r4
derivation: constraint
name: TasmcEncounterInpatientCareSegment
type: Encounter
elements:
  identifier:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 2
      slices:
        adm:
          match: {type: null}
          schema:
            _required: true
            index: 1
            elements:
              type:
                index: 2
                elements:
                  coding:
                    index: 3
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-identifier-type'}
                        index: 4
                      code:
                        pattern: {type: Code, value: strong-id}
                        index: 5
                      display:
                        pattern: {type: String, value: Strong Identifier}
                        index: 6
                    required: [display, system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'}
                index: 7
            required: [type, system]
        adm-local:
          match: {type: null}
          schema:
            _required: true
            index: 8
            elements:
              type:
                index: 9
                elements:
                  coding:
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/cs/local-identifier-type'}
                        index: 11
                      code:
                        pattern: {type: Code, value: adm}
                        index: 12
                      display:
                        pattern: {type: String, value: admission}
                        index: 13
                    required: [display, system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'}
                index: 14
            required: [type, system]
        followup:
          match: {type: null}
          schema:
            index: 15
            elements:
              type:
                index: 16
                elements:
                  coding:
                    index: 17
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/cs/local-identifier-type'}
                        index: 18
                      code:
                        pattern: {type: Code, value: followup}
                        index: 19
                      display:
                        pattern: {type: String, value: Followup}
                        index: 20
                    required: [display, system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'}
                index: 21
            required: [type, system]
        release:
          match: {type: null}
          schema:
            index: 22
            elements:
              type:
                index: 23
                elements:
                  coding:
                    index: 24
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/cs/local-identifier-type'}
                        index: 25
                      code:
                        pattern: {type: Code, value: release}
                        index: 26
                      display:
                        pattern: {type: String, value: Release}
                        index: 27
                    required: [display, system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-medical-record'}
                index: 28
            required: [type, system]
  class:
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        index: 29
  serviceType:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 30
  subject:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/cml-pat-num'}
            index: 31
          value: {index: 32}
        required: [value, system]
  participant:
    index: 33
    slicing:
      slices:
        primary-performer:
          match: {}
          schema:
            index: 33
            elements:
              type:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                        index: 34
                      code:
                        pattern: {type: Code, value: PPRF}
                        index: 35
                      display:
                        pattern: {type: String, value: primary performer}
                        index: 36
  location:
    index: 37
    slicing:
      slices:
        nursing-unit:
          match: {}
          schema:
            index: 37
            elements:
              physicalType:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-location-physical-type'}
                        index: 38
                      code:
                        pattern: {type: Code, value: hospital-nursing-unit}
                        index: 39
                      display:
                        pattern: {type: String, value: Hospital nursing unit}
                        index: 40
  serviceProvider:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.tasmc.org.il/identifier/unit_id'}
            index: 41
package_version: 0.9.6
class: profile
kind: resource
url: http://fhir.tasmc.org.il/StructureDefinition/tasmc-encounter-inpatient-care-segment
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-inpatient-care-segment
version: 0.9.6