description: Israel Core proposed constraints and extensions on the Observation Resource package_name: il.core.fhir.r4 derivation: constraint name: ILCoreObservation type: Observation elements: category: {mustSupport: true, index: 3} referenceRange: elements: low: constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} index: 25 high: constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} index: 26 age: elements: low: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 27 high: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 28 hasMember: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-observation', 'http://fhir.health.gov.il/StructureDefinition/il-core-questionnaire-response', 'http://hl7.org/fhir/StructureDefinition/MolecularSequence'] index: 29 derivedFrom: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-document-reference', 'http://fhir.health.gov.il/StructureDefinition/il-core-imaging-study', 'http://fhir.health.gov.il/StructureDefinition/il-core-media', 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', 'http://fhir.health.gov.il/StructureDefinition/il-core-questionnaire-response', 'http://hl7.org/fhir/StructureDefinition/MolecularSequence'] index: 30 encounter: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-encounter'] index: 6 method: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/observation-methods'} index: 22 specimen: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-specimen'] index: 23 valueQuantity: type: Quantity constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} choiceOf: value index: 12 slicing: slices: valueQuantity: match: {} schema: type: Quantity constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} choiceOf: value index: 12 min: 0 max: 1 value: constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choices: [valueCodeableConcept] index: 14 slicing: slices: valueCodeableConcept: match: {} schema: constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choices: [valueCodeableConcept] index: 14 min: 0 max: 1 component: elements: code: binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-observation-code'} index: 31 value: constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choices: [valueCodeableConcept] index: 38 slicing: slices: valueCodeableConcept: match: {} schema: constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choices: [valueCodeableConcept] index: 38 min: 0 max: 1 valueQuantity: type: Quantity constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} choiceOf: value index: 36 slicing: slices: valueQuantity: match: {} schema: type: Quantity constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} choiceOf: value index: 36 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choiceOf: value index: 39 slicing: slices: valueCodeableConcept: match: {} schema: type: CodeableConcept constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choiceOf: value index: 39 min: 0 max: 1 referenceRange: type: BackboneElement index: 40 elements: low: constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} index: 41 high: constraint: il-obs-ucum: {human: SHOULD use UCUM for coded quantity units, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'system.empty() or system = ''http://unitsofmeasure.org'''} index: 42 age: elements: low: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 43 high: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 44 status: {mustSupport: true, index: 2} code: binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-observation-code'} mustSupport: true index: 4 valueCodeableConcept: type: CodeableConcept constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choiceOf: value index: 15 slicing: slices: valueCodeableConcept: match: {} schema: type: CodeableConcept constraint: il-obs-value-cc: {human: SHOULD use SNOMED-CT or LOINC Answers for coded results, source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: warning, expression: 'coding.where(system=''http://snomed.info/sct'' and code.exists()).exists() OR coding.where(system=''http://loinc.org'' and code.startsWith(''LA'')).exists()'} choiceOf: value index: 15 min: 0 max: 1 bodySite: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'} index: 21 device: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device', 'http://hl7.org/fhir/StructureDefinition/DeviceMetric'] index: 24 basedOn: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-medication-request', 'http://fhir.health.gov.il/StructureDefinition/il-core-service-request', 'http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation', 'http://hl7.org/fhir/StructureDefinition/NutritionOrder'] index: 0 partOf: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-imaging-study', 'http://fhir.health.gov.il/StructureDefinition/il-core-immunization', 'http://fhir.health.gov.il/StructureDefinition/il-core-procedure', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationDispense'] index: 1 subject: type: Reference mustSupport: true refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device', 'http://fhir.health.gov.il/StructureDefinition/il-core-group', 'http://fhir.health.gov.il/StructureDefinition/il-core-location', 'http://fhir.health.gov.il/StructureDefinition/il-core-patient'] index: 5 performer: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization', 'http://fhir.health.gov.il/StructureDefinition/il-core-patient', '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', 'http://hl7.org/fhir/StructureDefinition/CareTeam'] index: 7 dataAbsentReason: constraint: il-obs-not-performed: {human: 'dataAbsentReason - if an IL-Core ''not-performed-reason'' code is supplied, ''not performed'' code MUST be supplied as well', source: 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', severity: error, expression: 'coding.where(system=''http://fhir.health.gov.il/cs/il-core-not-performed-reason'').exists() implies coding.where(system=''http://terminology.hl7.org/CodeSystem/data-absent-reason'' and code=''not-performed'').exists()'} index: 16 elements: coding: index: 17 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: not-performed-reason: match: {system: 'http://fhir.health.gov.il/cs/il-core-not-performed-reason'} schema: index: 18 elements: system: pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-core-not-performed-reason'} index: 19 code: {index: 20} required: [system, code] package_version: 0.12.0-snapshots class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-observation base: http://hl7.org/fhir/StructureDefinition/Observation version: 0.12.0