description: Israel Core proposed constraints and extensions on the Encounter Resource package_name: rs/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: 28 serviceProvider: type: Reference mustSupport: true refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 36 reasonCode: index: 25 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: moh-reason-code: match: {} schema: binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-visit-reason-moh'} array: true index: 26 min: 0 type: index: 9 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: 10 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: 11 min: 0 participant: index: 16 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: 17 slicing: rules: open discriminator: - {path: type, type: value} min: null slices: primary-performer: match: {type: null} schema: mustSupport: true array: true index: 18 elements: type: mustSupport: true index: 19 elements: coding: elements: system: pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} type: uri index: 20 code: pattern: {type: code, value: PPRF} type: code index: 21 period: {mustSupport: true, index: 22} 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: 23 required: [individual, type] serviceType: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-service-type'} index: 12 classHistory: elements: class: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-encounter-class'} index: 8 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: mode-of-arrival: 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 max: 1 status: {mustSupport: true, index: 6} class: binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-encounter-class'} mustSupport: true index: 7 identifier: {mustSupport: true, index: 5} 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: 30} elements: extension: index: 29 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: 30} 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: 31 admitSource: binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-admit-source-moh'} index: 32 destination: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 33 dischargeDisposition: binding: {strength: example, valueSet: 'http://fhir.health.gov.il/ValueSet/patient-release-type-moh'} index: 34 period: {mustSupport: true, index: 24} basedOn: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-service-request'] index: 15 partOf: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-encounter'] index: 37 location: elements: location: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location'] index: 35 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: 13 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: 14} elements: extension: type: Extension short: 'Extension: Israeli CORE Encounter Visitor Type' url: http://fhir.health.gov.il/StructureDefinition/ext-encounter-visitor-type index: 14 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: 14} 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: 27 package_version: 0.14.1 extensions: mode-of-arrival: 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, max: 1, type: Extension, short: 'Extension: Encounter Paying Entity', index: 4} class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-encounter base: http://hl7.org/fhir/StructureDefinition/Encounter version: 0.14.0 required: [subject]