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: 17 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: 18 age: elements: low: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 19 high: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 20 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: 21 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: 22 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: 14 specimen: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-specimen'] index: 15 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'''} index: 10 value: mustSupport: true choices: [] index: 9 component: elements: code: binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-observation-code'} 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'''} index: 24 valueCodeableConcept: type: CodeableConcept binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-observation-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()'} index: 25 referenceRange: type: BackboneElement index: 26 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: 27 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: 28 age: elements: low: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 29 high: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/age-units'} index: 30 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 binding: {strength: preferred, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-observation-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()'} index: 11 bodySite: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'} index: 13 device: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device', 'http://hl7.org/fhir/StructureDefinition/DeviceMetric'] index: 16 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-preformed'').exists()'} index: 12 package_version: 0.11.1 class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-observation base: http://hl7.org/fhir/StructureDefinition/Observation version: 0.11.0