PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.12.0-snapshots
    http://fhir.health.gov.il/StructureDefinition/il-core-encounter
description: Israel Core proposed constraints and extensions on the Encounter Resource
package_name: il.core.fhir.r4
derivation: constraint
name: ILCoreEncounter
type: Encounter
elements:
  diagnosis:
    elements:
      condition:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-condition', 'http://fhir.health.gov.il/StructureDefinition/il-core-procedure']
        index: 20
  serviceProvider:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
    index: 28
  reasonCode:
    index: 17
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        moh-reason-code:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/moh-reason-codes'}
            array: true
            index: 18
          min: 0
  type:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        virtual-encounters:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/cs/il-core-virtual-type'}
            array: true
            index: 5
          min: 0
        doctor-to-doctor-consultation:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-doctor-to-doctor'}
            array: true
            index: 6
          min: 0
  participant:
    index: 10
    elements:
      individual:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://fhir.health.gov.il/StructureDefinition/il-core-related-person']
        index: 11
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        primary-performer:
          match:
            type:
              coding:
              - {code: PPRF, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: primary performer}
          schema:
            array: true
            index: 12
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPRF, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: primary performer}
                index: 13
              period: {mustSupport: true, index: 14}
              individual:
                type: Reference
                mustSupport: true
                refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner', 'http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role', 'http://fhir.health.gov.il/StructureDefinition/il-core-related-person']
                index: 15
            required: [individual, type]
  serviceType:
    binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-service-type'}
    index: 7
  classHistory:
    elements:
      class:
        binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/cs/il-core-encounter-class'}
        index: 3
  status: {mustSupport: true, index: 1}
  class:
    binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/cs/il-core-encounter-class'}
    mustSupport: true
    index: 2
  identifier: {mustSupport: true, index: 0}
  hospitalization:
    extensions:
      movement-number: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-movement-number', min: 0, max: 1, type: Extension, short: 'Ext: Movement Sequence-Number', index: 22}
    elements:
      extension:
        index: 21
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            movement-number:
              match: {url: null}
              schema: {type: Extension, short: 'Ext: Movement Sequence-Number', url: 'http://fhir.health.gov.il/StructureDefinition/ext-movement-number', index: 22}
              min: 0
              max: 1
      origin:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization']
        index: 23
      admitSource:
        binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/moh-admit-source'}
        index: 24
      destination:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization']
        index: 25
      dischargeDisposition:
        binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/moh-discharge-disposition'}
        index: 26
  period: {mustSupport: true, index: 16}
  basedOn:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-service-request']
    index: 9
  partOf:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-encounter']
    index: 29
  location:
    elements:
      location:
        type: Reference
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location']
        index: 27
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-group', 'http://fhir.health.gov.il/StructureDefinition/il-core-patient']
    index: 8
  reasonReference:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-condition', 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', 'http://fhir.health.gov.il/StructureDefinition/il-core-procedure', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation']
    index: 19
package_version: 0.12.0-snapshots
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-encounter
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 0.12.0
required: [subject]