description: Israel Core proposed constraints and extensions on the ILCoreObservation Resource for laboratory observations package_name: rs/il.core.fhir.r4 derivation: constraint name: ILCoreObservationLab type: Observation elements: category: index: 0 slicing: rules: open discriminator: - {path: $this, type: value} min: 1 slices: il-core: match: {} schema: _required: true index: 1 elements: coding: pattern: type: Coding value: {code: '108252007', system: 'http://snomed.info/sct', display: Laboratory procedure (procedure)} type: Coding index: 2 specimen: {mustSupport: true, index: 21} valueQuantity: type: Quantity mustSupport: true choiceOf: value index: 13 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, mustSupport: true, choiceOf: value, index: 13} value: mustSupport: true choices: [valueString] index: 18 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 18 min: 0 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 19 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 19} min: 0 max: 1 component: elements: value: choices: [valueCodeableConcept] index: 23 slicing: slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 23 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 24 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 24} effectiveDateTime: type: dateTime mustSupport: true choiceOf: effective index: 9 slicing: slices: effectiveDateTime: match: {} schema: {type: dateTime, mustSupport: true, choiceOf: effective, index: 9} min: 0 max: 1 effective: choices: [] index: 6 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: effectiveDateTime: match: {} schema: mustSupport: true choices: [effectiveDateTime] index: 8 min: 0 max: 1 code: elements: coding: {index: 3} required: [coding] valueCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: value index: 16 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 16} subject: {index: 4} performer: {index: 10} dataAbsentReason: {mustSupport: true, index: 20} package_version: 0.12.0-snapshots class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-observation-lab base: http://fhir.health.gov.il/StructureDefinition/il-core-observation version: 0.12.0 required: [category, performer, subject]