PackagesCanonicalsLogsProblems
    Packages
    il.laniado.fhir.r4@0.3.1
    http://fhir.laniado.org.il/StructureDefinition/encounter-department
description: This resource represents a department movement during an encounter, starting with the first location.
package_name: il.laniado.fhir.r4
derivation: constraint
name: EncounterDepartment
type: Encounter
elements:
  meta:
    elements:
      source:
        pattern: {type: Uri, value: 'http://emr.laniado.org.il'}
        index: 0
  identifier:
    array: true
    min: 2
    index: 1
    elements:
      system: {index: 2}
      value: {short: The value that is unique within the system., index: 3}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 2
      slices:
        strong-id:
          match: {system: 'http://fhir.laniado.org.il/Identifier/id-encounter-department'}
          schema:
            short: Strong encounter department identification.
            mustSupport: true
            _required: true
            index: 4
            elements:
              type:
                index: 5
                elements:
                  coding:
                    index: 6
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-identifier-type'}
                        index: 7
                      code:
                        pattern: {type: Code, value: strong-id}
                        index: 8
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/id-encounter-department'}
                index: 9
              value: {short: Strong encounter department identification., index: 10}
            required: [type]
        DEP:
          match: {system: 'http://fhir.laniado.org.il/Identifier/encounter-department'}
          schema:
            short: Department movement identifier
            _required: true
            index: 11
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/encounter-department'}
                index: 12
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 13
                  identifier:
                    index: 14
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 15
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 16
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 17
                required: [identifier]
  class:
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        index: 18
  participant:
    index: 19
    slicing:
      slices:
        reffering-practitioner:
          match: {}
          schema:
            index: 19
            elements:
              individual:
                type: Reference
                refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner']
                index: 20
        referring-practitioner:
          match: {}
          schema: {array: true, index: 21}
          min: 0
  serviceProvider:
    type: Reference
    refers: ['http://fhir.laniado.org.il/StructureDefinition/laniado-organization']
    index: 22
package_version: 0.3.1
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/encounter-department
base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-encounter-inpatient-care-segment
version: 0.3.1