GATEKEEPER Implementation Guide, published by GATEKEEPER project. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/gatekeeper-project/gk-fhir-ig/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.eu/fhir/ig/gk/StructureDefinition/Observation-eu-pgl-gk | Version: 0.1.0 | |||
Draft as of 2024-02-22 | Computable Name: ObservationPugliaGK |
This profile represents the constraints applied to the Observation resource used for a case study in the Puglia Pilot.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Observation
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | S | 0..* | Observation | Measurements and simple assertions |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
workflow-researchStudy | S | 1..1 | Reference(ResearchStudy) | Associated research study URL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy |
status | S | 1..1 | code | registered | preliminary | final | amended + |
code | S | 1..1 | CodeableConcept | Type of observation (code / type) Binding: Research Study Observations - Puglia (Gatekeeper) (required) |
subject | S | 1..1 | Reference(Patient) | Who and/or what the observation is about |
effective[x] | SC | 1..1 | dateTime, Period, Timing, instant | Clinically relevant time/time-period for observation GK-obs-pgl-eft-1: If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. GK-obs-pgl-eft-2: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. |
value[x] | SC | 1..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | Actual result GK-obs-pgl-vl-1: If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' GK-obs-pgl-vl-2: If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer GK-obs-pgl-vl-3: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' GK-obs-pgl-vl-4: If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.code | required | VsPugliaResearchStudyObservationsGKhttp://hl7.eu/fhir/ig/gk/ValueSet/ValueSet-PugliaResearchStudyObservations-gk from this IG |
Id | Grade | Path(s) | Details | Requirements |
GK-obs-pgl-eft-1 | error | Observation.effective[x] | If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci') and Observation.effective.ofType(dateTime) | |
GK-obs-pgl-eft-2 | error | Observation.effective[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. : (Observation.code.coding.code = 'healthcare-costs-drugs' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number' or Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.effective.ofType(Period) and Observation.effectivePeriod.start.exists() and Observation.effectivePeriod.end.exists() | |
GK-obs-pgl-vl-1 | error | Observation.value[x] | If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' : Observation.code.coding.code = '30525-0' and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'a' | |
GK-obs-pgl-vl-2 | error | Observation.value[x] | If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer : (Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number') and Observation.value.ofType(integer) | |
GK-obs-pgl-vl-3 | error | Observation.value[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'urn:iso:std:iso:4217' and Observation.valueQuantity.code = 'EUR' | |
GK-obs-pgl-vl-4 | error | Observation.value[x] | If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' : (Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'd' |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | SC | 0..* | Observation | Measurements and simple assertions |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
workflow-researchStudy | S | 1..1 | Reference(ResearchStudy) | Associated research study URL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!SΣ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): Codes providing the status of an observation. |
code | SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: Research Study Observations - Puglia (Gatekeeper) (required) |
subject | SΣ | 1..1 | Reference(Patient) | Who and/or what the observation is about |
effective[x] | SΣC | 1..1 | Clinically relevant time/time-period for observation GK-obs-pgl-eft-1: If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. GK-obs-pgl-eft-2: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. | |
effectiveDateTime | dateTime | |||
effectivePeriod | Period | |||
effectiveTiming | Timing | |||
effectiveInstant | instant | |||
value[x] | SΣC | 1..1 | Actual result GK-obs-pgl-vl-1: If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' GK-obs-pgl-vl-2: If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer GK-obs-pgl-vl-3: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' GK-obs-pgl-vl-4: If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' | |
valueQuantity | Quantity | |||
valueCodeableConcept | CodeableConcept | |||
valueString | string | |||
valueBoolean | boolean | |||
valueInteger | integer | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueSampledData | SampledData | |||
valueTime | time | |||
valueDateTime | dateTime | |||
valuePeriod | Period | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | |
Observation.code | required | VsPugliaResearchStudyObservationsGKhttp://hl7.eu/fhir/ig/gk/ValueSet/ValueSet-PugliaResearchStudyObservations-gk from this IG |
Id | Grade | Path(s) | Details | Requirements |
GK-obs-pgl-eft-1 | error | Observation.effective[x] | If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci') and Observation.effective.ofType(dateTime) | |
GK-obs-pgl-eft-2 | error | Observation.effective[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. : (Observation.code.coding.code = 'healthcare-costs-drugs' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number' or Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.effective.ofType(Period) and Observation.effectivePeriod.start.exists() and Observation.effectivePeriod.end.exists() | |
GK-obs-pgl-vl-1 | error | Observation.value[x] | If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' : Observation.code.coding.code = '30525-0' and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'a' | |
GK-obs-pgl-vl-2 | error | Observation.value[x] | If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer : (Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number') and Observation.value.ofType(integer) | |
GK-obs-pgl-vl-3 | error | Observation.value[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'urn:iso:std:iso:4217' and Observation.valueQuantity.code = 'EUR' | |
GK-obs-pgl-vl-4 | error | Observation.value[x] | If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' : (Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'd' |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Observation | SC | 0..* | Observation | Measurements and simple assertions | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
workflow-researchStudy | S | 1..1 | Reference(ResearchStudy) | Associated research study URL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | Business Identifier for observation | ||||
basedOn | Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order | ||||
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event | ||||
status | ?!SΣ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): Codes providing the status of an observation. | ||||
category | 0..* | CodeableConcept | Classification of type of observation Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |||||
code | SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: Research Study Observations - Puglia (Gatekeeper) (required) | ||||
subject | SΣ | 1..1 | Reference(Patient) | Who and/or what the observation is about | ||||
focus | Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record | ||||
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this observation is made | ||||
effective[x] | SΣC | 1..1 | Clinically relevant time/time-period for observation GK-obs-pgl-eft-1: If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. GK-obs-pgl-eft-2: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. | |||||
effectiveDateTime | dateTime | |||||||
effectivePeriod | Period | |||||||
effectiveTiming | Timing | |||||||
effectiveInstant | instant | |||||||
issued | Σ | 0..1 | instant | Date/Time this version was made available | ||||
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Who is responsible for the observation | ||||
value[x] | SΣC | 1..1 | Actual result GK-obs-pgl-vl-1: If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' GK-obs-pgl-vl-2: If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer GK-obs-pgl-vl-3: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' GK-obs-pgl-vl-4: If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' | |||||
valueQuantity | Quantity | |||||||
valueCodeableConcept | CodeableConcept | |||||||
valueString | string | |||||||
valueBoolean | boolean | |||||||
valueInteger | integer | |||||||
valueRange | Range | |||||||
valueRatio | Ratio | |||||||
valueSampledData | SampledData | |||||||
valueTime | time | |||||||
valueDateTime | dateTime | |||||||
valuePeriod | Period | |||||||
dataAbsentReason | C | 0..1 | CodeableConcept | Why the result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
interpretation | 0..* | CodeableConcept | High, low, normal, etc. Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
note | 0..* | Annotation | Comments about the observation | |||||
bodySite | 0..1 | CodeableConcept | Observed body part Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | |||||
method | 0..1 | CodeableConcept | How it was done Binding: ObservationMethods (example): Methods for simple observations. | |||||
specimen | 0..1 | Reference(Specimen) | Specimen used for this observation | |||||
device | 0..1 | Reference(Device | DeviceMetric) | (Measurement) Device | |||||
referenceRange | C | 0..* | BackboneElement | Provides guide for interpretation | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
low | C | 0..1 | SimpleQuantity | Low Range, if relevant | ||||
high | C | 0..1 | SimpleQuantity | High Range, if relevant | ||||
type | 0..1 | CodeableConcept | Reference range qualifier Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||
appliesTo | 0..* | CodeableConcept | Reference range population Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||
age | 0..1 | Range | Applicable age range, if relevant | |||||
text | 0..1 | string | Text based reference range in an observation | |||||
hasMember | Σ | 0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group | ||||
derivedFrom | Σ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from | ||||
component | Σ | 0..* | BackboneElement | Component results | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | Σ | 1..1 | CodeableConcept | Type of component observation (code / type) Binding: LOINCCodes (example): Codes identifying names of simple observations. | ||||
value[x] | Σ | 0..1 | Actual component result | |||||
valueQuantity | Quantity | |||||||
valueCodeableConcept | CodeableConcept | |||||||
valueString | string | |||||||
valueBoolean | boolean | |||||||
valueInteger | integer | |||||||
valueRange | Range | |||||||
valueRatio | Ratio | |||||||
valueSampledData | SampledData | |||||||
valueTime | time | |||||||
valueDateTime | dateTime | |||||||
valuePeriod | Period | |||||||
dataAbsentReason | C | 0..1 | CodeableConcept | Why the component result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
interpretation | 0..* | CodeableConcept | High, low, normal, etc. Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
referenceRange | 0..* | See referenceRange (Observation) | Provides guide for interpretation of component result | |||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Observation.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | ||||
Observation.category | preferred | ObservationCategoryCodeshttp://hl7.org/fhir/ValueSet/observation-category from the FHIR Standard | ||||
Observation.code | required | VsPugliaResearchStudyObservationsGKhttp://hl7.eu/fhir/ig/gk/ValueSet/ValueSet-PugliaResearchStudyObservations-gk from this IG | ||||
Observation.dataAbsentReason | extensible | DataAbsentReasonhttp://hl7.org/fhir/ValueSet/data-absent-reason from the FHIR Standard | ||||
Observation.interpretation | extensible | ObservationInterpretationCodeshttp://hl7.org/fhir/ValueSet/observation-interpretation from the FHIR Standard | ||||
Observation.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Observation.method | example | ObservationMethodshttp://hl7.org/fhir/ValueSet/observation-methods from the FHIR Standard | ||||
Observation.referenceRange.type | preferred | ObservationReferenceRangeMeaningCodeshttp://hl7.org/fhir/ValueSet/referencerange-meaning from the FHIR Standard | ||||
Observation.referenceRange.appliesTo | example | ObservationReferenceRangeAppliesToCodeshttp://hl7.org/fhir/ValueSet/referencerange-appliesto from the FHIR Standard | ||||
Observation.component.code | example | LOINCCodes (a valid code from LOINC)http://hl7.org/fhir/ValueSet/observation-codes from the FHIR Standard | ||||
Observation.component.dataAbsentReason | extensible | DataAbsentReasonhttp://hl7.org/fhir/ValueSet/data-absent-reason from the FHIR Standard | ||||
Observation.component.interpretation | extensible | ObservationInterpretationCodeshttp://hl7.org/fhir/ValueSet/observation-interpretation from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
GK-obs-pgl-eft-1 | error | Observation.effective[x] | If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci') and Observation.effective.ofType(dateTime) | |
GK-obs-pgl-eft-2 | error | Observation.effective[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. : (Observation.code.coding.code = 'healthcare-costs-drugs' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number' or Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.effective.ofType(Period) and Observation.effectivePeriod.start.exists() and Observation.effectivePeriod.end.exists() | |
GK-obs-pgl-vl-1 | error | Observation.value[x] | If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' : Observation.code.coding.code = '30525-0' and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'a' | |
GK-obs-pgl-vl-2 | error | Observation.value[x] | If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer : (Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number') and Observation.value.ofType(integer) | |
GK-obs-pgl-vl-3 | error | Observation.value[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'urn:iso:std:iso:4217' and Observation.valueQuantity.code = 'EUR' | |
GK-obs-pgl-vl-4 | error | Observation.value[x] | If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' : (Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'd' |
This structure is derived from Observation
Differential View
This structure is derived from Observation
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | S | 0..* | Observation | Measurements and simple assertions |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
workflow-researchStudy | S | 1..1 | Reference(ResearchStudy) | Associated research study URL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy |
status | S | 1..1 | code | registered | preliminary | final | amended + |
code | S | 1..1 | CodeableConcept | Type of observation (code / type) Binding: Research Study Observations - Puglia (Gatekeeper) (required) |
subject | S | 1..1 | Reference(Patient) | Who and/or what the observation is about |
effective[x] | SC | 1..1 | dateTime, Period, Timing, instant | Clinically relevant time/time-period for observation GK-obs-pgl-eft-1: If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. GK-obs-pgl-eft-2: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. |
value[x] | SC | 1..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | Actual result GK-obs-pgl-vl-1: If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' GK-obs-pgl-vl-2: If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer GK-obs-pgl-vl-3: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' GK-obs-pgl-vl-4: If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.code | required | VsPugliaResearchStudyObservationsGKhttp://hl7.eu/fhir/ig/gk/ValueSet/ValueSet-PugliaResearchStudyObservations-gk from this IG |
Id | Grade | Path(s) | Details | Requirements |
GK-obs-pgl-eft-1 | error | Observation.effective[x] | If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci') and Observation.effective.ofType(dateTime) | |
GK-obs-pgl-eft-2 | error | Observation.effective[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. : (Observation.code.coding.code = 'healthcare-costs-drugs' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number' or Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.effective.ofType(Period) and Observation.effectivePeriod.start.exists() and Observation.effectivePeriod.end.exists() | |
GK-obs-pgl-vl-1 | error | Observation.value[x] | If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' : Observation.code.coding.code = '30525-0' and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'a' | |
GK-obs-pgl-vl-2 | error | Observation.value[x] | If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer : (Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number') and Observation.value.ofType(integer) | |
GK-obs-pgl-vl-3 | error | Observation.value[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'urn:iso:std:iso:4217' and Observation.valueQuantity.code = 'EUR' | |
GK-obs-pgl-vl-4 | error | Observation.value[x] | If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' : (Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'd' |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | SC | 0..* | Observation | Measurements and simple assertions |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
workflow-researchStudy | S | 1..1 | Reference(ResearchStudy) | Associated research study URL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!SΣ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): Codes providing the status of an observation. |
code | SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: Research Study Observations - Puglia (Gatekeeper) (required) |
subject | SΣ | 1..1 | Reference(Patient) | Who and/or what the observation is about |
effective[x] | SΣC | 1..1 | Clinically relevant time/time-period for observation GK-obs-pgl-eft-1: If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. GK-obs-pgl-eft-2: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. | |
effectiveDateTime | dateTime | |||
effectivePeriod | Period | |||
effectiveTiming | Timing | |||
effectiveInstant | instant | |||
value[x] | SΣC | 1..1 | Actual result GK-obs-pgl-vl-1: If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' GK-obs-pgl-vl-2: If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer GK-obs-pgl-vl-3: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' GK-obs-pgl-vl-4: If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' | |
valueQuantity | Quantity | |||
valueCodeableConcept | CodeableConcept | |||
valueString | string | |||
valueBoolean | boolean | |||
valueInteger | integer | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueSampledData | SampledData | |||
valueTime | time | |||
valueDateTime | dateTime | |||
valuePeriod | Period | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | |
Observation.code | required | VsPugliaResearchStudyObservationsGKhttp://hl7.eu/fhir/ig/gk/ValueSet/ValueSet-PugliaResearchStudyObservations-gk from this IG |
Id | Grade | Path(s) | Details | Requirements |
GK-obs-pgl-eft-1 | error | Observation.effective[x] | If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci') and Observation.effective.ofType(dateTime) | |
GK-obs-pgl-eft-2 | error | Observation.effective[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. : (Observation.code.coding.code = 'healthcare-costs-drugs' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number' or Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.effective.ofType(Period) and Observation.effectivePeriod.start.exists() and Observation.effectivePeriod.end.exists() | |
GK-obs-pgl-vl-1 | error | Observation.value[x] | If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' : Observation.code.coding.code = '30525-0' and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'a' | |
GK-obs-pgl-vl-2 | error | Observation.value[x] | If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer : (Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number') and Observation.value.ofType(integer) | |
GK-obs-pgl-vl-3 | error | Observation.value[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'urn:iso:std:iso:4217' and Observation.valueQuantity.code = 'EUR' | |
GK-obs-pgl-vl-4 | error | Observation.value[x] | If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' : (Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'd' |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Observation | SC | 0..* | Observation | Measurements and simple assertions | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
workflow-researchStudy | S | 1..1 | Reference(ResearchStudy) | Associated research study URL: http://hl7.org/fhir/StructureDefinition/workflow-researchStudy | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | Business Identifier for observation | ||||
basedOn | Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order | ||||
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event | ||||
status | ?!SΣ | 1..1 | code | registered | preliminary | final | amended + Binding: ObservationStatus (required): Codes providing the status of an observation. | ||||
category | 0..* | CodeableConcept | Classification of type of observation Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |||||
code | SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: Research Study Observations - Puglia (Gatekeeper) (required) | ||||
subject | SΣ | 1..1 | Reference(Patient) | Who and/or what the observation is about | ||||
focus | Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record | ||||
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this observation is made | ||||
effective[x] | SΣC | 1..1 | Clinically relevant time/time-period for observation GK-obs-pgl-eft-1: If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. GK-obs-pgl-eft-2: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. | |||||
effectiveDateTime | dateTime | |||||||
effectivePeriod | Period | |||||||
effectiveTiming | Timing | |||||||
effectiveInstant | instant | |||||||
issued | Σ | 0..1 | instant | Date/Time this version was made available | ||||
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Who is responsible for the observation | ||||
value[x] | SΣC | 1..1 | Actual result GK-obs-pgl-vl-1: If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' GK-obs-pgl-vl-2: If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer GK-obs-pgl-vl-3: If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' GK-obs-pgl-vl-4: If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' | |||||
valueQuantity | Quantity | |||||||
valueCodeableConcept | CodeableConcept | |||||||
valueString | string | |||||||
valueBoolean | boolean | |||||||
valueInteger | integer | |||||||
valueRange | Range | |||||||
valueRatio | Ratio | |||||||
valueSampledData | SampledData | |||||||
valueTime | time | |||||||
valueDateTime | dateTime | |||||||
valuePeriod | Period | |||||||
dataAbsentReason | C | 0..1 | CodeableConcept | Why the result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
interpretation | 0..* | CodeableConcept | High, low, normal, etc. Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
note | 0..* | Annotation | Comments about the observation | |||||
bodySite | 0..1 | CodeableConcept | Observed body part Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | |||||
method | 0..1 | CodeableConcept | How it was done Binding: ObservationMethods (example): Methods for simple observations. | |||||
specimen | 0..1 | Reference(Specimen) | Specimen used for this observation | |||||
device | 0..1 | Reference(Device | DeviceMetric) | (Measurement) Device | |||||
referenceRange | C | 0..* | BackboneElement | Provides guide for interpretation | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
low | C | 0..1 | SimpleQuantity | Low Range, if relevant | ||||
high | C | 0..1 | SimpleQuantity | High Range, if relevant | ||||
type | 0..1 | CodeableConcept | Reference range qualifier Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||
appliesTo | 0..* | CodeableConcept | Reference range population Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||
age | 0..1 | Range | Applicable age range, if relevant | |||||
text | 0..1 | string | Text based reference range in an observation | |||||
hasMember | Σ | 0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group | ||||
derivedFrom | Σ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from | ||||
component | Σ | 0..* | BackboneElement | Component results | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | Σ | 1..1 | CodeableConcept | Type of component observation (code / type) Binding: LOINCCodes (example): Codes identifying names of simple observations. | ||||
value[x] | Σ | 0..1 | Actual component result | |||||
valueQuantity | Quantity | |||||||
valueCodeableConcept | CodeableConcept | |||||||
valueString | string | |||||||
valueBoolean | boolean | |||||||
valueInteger | integer | |||||||
valueRange | Range | |||||||
valueRatio | Ratio | |||||||
valueSampledData | SampledData | |||||||
valueTime | time | |||||||
valueDateTime | dateTime | |||||||
valuePeriod | Period | |||||||
dataAbsentReason | C | 0..1 | CodeableConcept | Why the component result is missing Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
interpretation | 0..* | CodeableConcept | High, low, normal, etc. Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
referenceRange | 0..* | See referenceRange (Observation) | Provides guide for interpretation of component result | |||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Observation.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | ||||
Observation.category | preferred | ObservationCategoryCodeshttp://hl7.org/fhir/ValueSet/observation-category from the FHIR Standard | ||||
Observation.code | required | VsPugliaResearchStudyObservationsGKhttp://hl7.eu/fhir/ig/gk/ValueSet/ValueSet-PugliaResearchStudyObservations-gk from this IG | ||||
Observation.dataAbsentReason | extensible | DataAbsentReasonhttp://hl7.org/fhir/ValueSet/data-absent-reason from the FHIR Standard | ||||
Observation.interpretation | extensible | ObservationInterpretationCodeshttp://hl7.org/fhir/ValueSet/observation-interpretation from the FHIR Standard | ||||
Observation.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard | ||||
Observation.method | example | ObservationMethodshttp://hl7.org/fhir/ValueSet/observation-methods from the FHIR Standard | ||||
Observation.referenceRange.type | preferred | ObservationReferenceRangeMeaningCodeshttp://hl7.org/fhir/ValueSet/referencerange-meaning from the FHIR Standard | ||||
Observation.referenceRange.appliesTo | example | ObservationReferenceRangeAppliesToCodeshttp://hl7.org/fhir/ValueSet/referencerange-appliesto from the FHIR Standard | ||||
Observation.component.code | example | LOINCCodes (a valid code from LOINC)http://hl7.org/fhir/ValueSet/observation-codes from the FHIR Standard | ||||
Observation.component.dataAbsentReason | extensible | DataAbsentReasonhttp://hl7.org/fhir/ValueSet/data-absent-reason from the FHIR Standard | ||||
Observation.component.interpretation | extensible | ObservationInterpretationCodeshttp://hl7.org/fhir/ValueSet/observation-interpretation from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
GK-obs-pgl-eft-1 | error | Observation.effective[x] | If Observation.code.coding.code is '30525-0' or 'risk-score-ddci' or 'risk-score-cci', the Type of effective[x] MUST be dateTime. : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci') and Observation.effective.ofType(dateTime) | |
GK-obs-pgl-eft-2 | error | Observation.effective[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits' or 'hospitalizations-number' or 'hospitalizations-unplanned-number' or 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of effective[x] MUST be Period and start and end MUST be present. : (Observation.code.coding.code = 'healthcare-costs-drugs' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number' or Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.effective.ofType(Period) and Observation.effectivePeriod.start.exists() and Observation.effectivePeriod.end.exists() | |
GK-obs-pgl-vl-1 | error | Observation.value[x] | If Observation.code.coding.code is '30525-0', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'a' : Observation.code.coding.code = '30525-0' and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'a' | |
GK-obs-pgl-vl-2 | error | Observation.value[x] | If Observation.code.coding.code is 'risk-score-ddci' or 'risk-score-cci' or 'hospitalizations-number' or 'hospitalizations-unplanned-number', the Type of value[x] MUST be integer : (Observation.code.coding.code = 'risk-score-ddci' or Observation.code.coding.code = 'risk-score-cci' or Observation.code.coding.code = 'hospitalizations-number' or Observation.code.coding.code = 'hospitalizations-unplanned-number') and Observation.value.ofType(integer) | |
GK-obs-pgl-vl-3 | error | Observation.value[x] | If Observation.code.coding.code is 'healthcare-costs-drugs' or 'healthcare-costs-hospitalizations' or 'healthcare-costs-hospitalizations-unplanned' or 'healthcare-costs-outpatient-visits', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'urn:iso:std:iso:4217' and valueQuantity.code MUST be 'EUR' : (Observation.code.coding.code = '30525-0' or Observation.code.coding.code = 'healthcare-costs-hospitalizations' or Observation.code.coding.code = 'healthcare-costs-hospitalizations-unplanned' or Observation.code.coding.code = 'healthcare-costs-outpatient-visits') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'urn:iso:std:iso:4217' and Observation.valueQuantity.code = 'EUR' | |
GK-obs-pgl-vl-4 | error | Observation.value[x] | If Observation.code.coding.code is 'hospitalizations-length-of-stay' or 'hospitalizations-unplanned-length-of-stay', the Type of value[x] MUST be Quatity and valueQuantity.value, valueQuantity.system and valueQuantity.code MUST be present and valueQuantity.system MUST be 'http://unitsofmeasure.org' and valueQuantity.code MUST be 'd' : (Observation.code.coding.code = 'hospitalizations-length-of-stay' or Observation.code.coding.code = 'hospitalizations-unplanned-length-of-stay') and Observation.value.ofType(Quatity) and Observation.valueQuantity.value.exists() and Observation.valueQuantity.system.exists() and Observation.valueQuantity.code.exists() and Observation.valueQuantity.system = 'http://unitsofmeasure.org' and Observation.valueQuantity.code = 'd' |
This structure is derived from Observation
Other representations of profile: CSV, Excel, Schematron