description: Israel Core proposed constraints and extensions on the Encounter Resource package_name: rs/il.core.fhir.r4.2023 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: 22 serviceProvider: type: Reference mustSupport: true refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 30 reasonCode: index: 19 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: 20 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/ValueSet/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: null} schema: mustSupport: true array: true index: 12 elements: type: mustSupport: true index: 13 elements: coding: elements: system: pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} type: uri index: 14 code: pattern: {type: code, value: PPRF} type: code index: 15 period: {mustSupport: true, index: 16} 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: 17 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/ValueSet/il-core-encounter-class'} index: 3 status: {mustSupport: true, index: 1} class: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/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: 24} elements: extension: index: 23 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: 24} 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: 25 admitSource: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/moh-admit-source'} index: 26 destination: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 27 dischargeDisposition: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-release-type-moh'} index: 28 period: {mustSupport: true, index: 18} 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: 31 location: elements: location: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location'] index: 29 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: 21 package_version: 0.1.0 class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-encounter base: http://hl7.org/fhir/StructureDefinition/Encounter version: 0.12.1 required: [subject]