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: 27 serviceProvider: type: Reference mustSupport: true refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 33 reasonCode: index: 24 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/patient-visit-reason-moh'} array: true index: 25 min: 0 type: index: 10 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: virtual-encounters: match: {} schema: binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-virtual-type'} array: true index: 11 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: 12 min: 0 participant: index: 17 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: 18 slicing: rules: open discriminator: - {path: type, type: pattern} min: null slices: primary-performer: match: type: coding: - {code: PPRF, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} schema: mustSupport: true array: true index: 19 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: PPRF, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 20 period: {mustSupport: true, index: 21} 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: 22 required: [individual, type] serviceType: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-service-type'} index: 13 classHistory: elements: class: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-encounter-class'} index: 9 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: modeOfArrival: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival index: 1 elements: value: choices: [] index: 3 paying-entity: match: {url: null} schema: {type: Extension, short: 'Extension: Encounter Paying Entity', url: 'http://fhir.health.gov.il/StructureDefinition/ext-encounter-paying-entity', index: 4} min: 0 movement-number: match: {url: null} schema: {type: Extension, short: 'Ext: Movement Sequence-Number', url: 'http://fhir.health.gov.il/StructureDefinition/ext-movement-number', index: 5} min: 0 max: 1 status: {mustSupport: true, index: 7} class: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-encounter-class'} mustSupport: true index: 8 identifier: {mustSupport: true, index: 6} hospitalization: elements: origin: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 28 admitSource: binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-admit-source-moh'} index: 29 destination: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 30 dischargeDisposition: binding: {strength: example, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-release-type-moh'} index: 31 period: {mustSupport: true, index: 23} basedOn: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-service-request'] index: 16 partOf: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-encounter'] index: 34 location: elements: location: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location'] index: 32 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: 14 extensions: visitor-type: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-encounter-visitor-type', min: 0, max: 1, type: Extension, short: 'Extension: Israeli CORE Encounter Visitor Type', index: 15} elements: extension: type: Extension short: 'Extension: Israeli CORE Encounter Visitor Type' url: http://fhir.health.gov.il/StructureDefinition/ext-encounter-visitor-type index: 15 slicing: slices: visitor-type: match: {} schema: {type: Extension, short: 'Extension: Israeli CORE Encounter Visitor Type', url: 'http://fhir.health.gov.il/StructureDefinition/ext-encounter-visitor-type', index: 15} min: 0 max: 1 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: 26 package_version: 0.17.5 extensions: modeOfArrival: url: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival type: Extension index: 1 elements: value: choices: [] index: 3 paying-entity: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-encounter-paying-entity', min: 0, type: Extension, short: 'Extension: Encounter Paying Entity', index: 4} movement-number: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-movement-number', min: 0, max: 1, type: Extension, short: 'Ext: Movement Sequence-Number', index: 5} class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-encounter base: http://hl7.org/fhir/StructureDefinition/Encounter version: 0.17.0 required: [subject]