id,content,fhirpath,topic train_0,FHIR path expression for a name associated with the patient,Patient.name.given,Patient train_1,FHIR path expression for an identifier of patient,Patient.identifier,Patient train_2,FHIR path expression for administrative gender of patient,Patient.gender,Patient train_3,FHIR path expression for active patient records,Patient.active,Patient train_4,FHIR path expression for patient's date of birth,Patient.birthDate,Patient train_5,FHIR path expression for patients marked as deceased,Patient.deceased.exists() and Patient.deceased != false,Patient train_6,FHIR path expression for time of measurement,Observation.effectiveDateTime,Observation train_7,FHIR path expression for systolic blood pressure value,Observation.component.where(code.coding.exists(system='http://loinc.org' and code='8480-6')).first().valueQuantity.value,Observation train_8,FHIR path expression for diastolic blood pressure value,Observation.component.where(code.coding.exists(system='http://loinc.org' and code='8462-4')).first().valueQuantity.value,Observation train_9,FHIR path expression for time of complication,AdverseEvent.date,AdverseEvent train_10,FHIR path expression for SNOMED-CT code for the complication,AdverseEvent.event.coding.where(system='http://snomed.info/sct').first().code,AdverseEvent train_11,FHIR path expression for unique identifier of the encounter that this complication occurs,AdverseEvent.encounter.reference,AdverseEvent train_12,FHIR path expression for identifier of the surgery episode this phase is part of,AdverseEvent.extension('http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare').valueReference,AdverseEvent train_13,FHIR path expression for condition onset date,Condition.onsetDateTime.toDate(),Condition train_14,FHIR path expression for condition abatement date,Condition.abatementDateTime.toDate(),Condition train_15,FHIR path expression for ICD-10 code for the condition,Condition.code.coding.where(system='http://hl7.org/fhir/sid/icd-10').code.first(),Condition train_16,FHIR path expression for identifier of the encounter that this diagnosis is done,Condition.encounter.reference,Condition train_17,FHIR path expression for episode start time,EpisodeOfCare.period.start,EpisodeOfCare train_18,FHIR path expression for episode end time (Patient discharge),EpisodeOfCare.period.end,EpisodeOfCare train_19,FHIR path expression for unique identifier for the main episode (OperationEpisode),EpisodeOfCare.id,EpisodeOfCare train_20,FHIR path expression for pre operative diagnosis for the episode,EpisodeOfCare.diagnosis.where(role.coding.exists(code='pre-op')).select(condition.resolve().code.coding.where(system='http://hl7.org/fhir/sid/icd-10').first().code).distinct(),EpisodeOfCare train_21,FHIR path expression for pre operative diagnosis for the episode,EpisodeOfCare.diagnosis.where(role.coding.exists(code='CM')).select(condition.resolve().code.coding.where(system='http://hl7.org/fhir/sid/icd-10').first().code).distinct(),EpisodeOfCare train_22,FHIR path expression for encounter start time,Encounter.period.start,Encounter train_23,FHIR path expression for encounter end time,Encounter.period.end,Encounter train_24,FHIR path expression for encounter type,Encounter.type.coding.where(system='http://snomed.info/sct').code,Encounter train_25,FHIR path expression for identifier of this encounter,Encounter.id,Encounter train_26,FHIR path expression for unique identifier for the main episode (OperationEpisode) that this ICU stay takes place,Encounter.episodeOfCare,Encounter train_27,FHIR path expression for unique id of the ICU or Ward Unit that this operation takes place,Encounter.location.location.identifier.value,Encounter train_28,FHIR path expression for duration in hours in ICU or WARD,"utl:getPeriod(Encounter.period.start, Encounter.period.end, 'hours')",Encounter train_29,FHIR path expression for unique id of the ICU Unit that this operation takes place,Encounter.location.location.identifier.value,Encounter train_30,FHIR path expression for duration in hours in ICU,"utl:getPeriod(Encounter.period.start, Encounter.period.end, 'hours')",Encounter train_31,FHIR path expression for time of measurement,Observation.effectiveDateTime,Observation train_32,FHIR path expression for LOINC code for the lab test,Observation.code.coding.where(system='http://loinc.org').first().code,Observation train_33,FHIR path expression for numeric lab result,Observation.valueQuantity.value,Observation train_34,FHIR path expression for unit for the lab result,Observation.valueQuantity.code,Observation train_35,FHIR path expression for interpretation of the lab result,Observation.interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').code,Observation train_36,FHIR path expression for identifier of the encounter that this assessment is done,Observation.encounter.reference,Observation train_37,FHIR path expression for identifier of the surgery episode this phase is part of,Observation.extension('http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare').valueReference,Observation train_38,FHIR path expression for time of assessment,MedicationAdministration.effectiveDateTime.nav:orElse(MedicationAdministration.effectivePeriod.start),MedicationAdministration train_39,FHIR path expression for ATC or RxNorm code for the medication,MedicationAdministration.medicationCodeableConcept.coding.where(system='http://www.whocc.no/atc').first().code,MedicationAdministration train_40,FHIR path expression for dose administered,MedicationAdministration.dosage.dose.value,MedicationAdministration train_41,FHIR path expression for unit for the dose (UCUM code),MedicationAdministration.dosage.dose.code,MedicationAdministration train_42,FHIR path expression for identifier of the surgery episode that this medication is given,MedicationAdministration.context.reference,MedicationAdministration train_43,FHIR path expression for time of the procedure,Procedure.performedPeriod.start,Procedure train_44,FHIR path expression for code for the performed procedure,Procedure.code.coding.where(system='http://hl7.org/fhir/sid/ex-icd-10-procedures').first().code,Procedure train_45,FHIR path expression for category of the operation in terms of Clinical Classifications Software (CCS) for ICD-10-PCS,Procedure.category.coding.where(system='http://hl7.org/fhir/sid/ex-icd-10-procedures-ccs').first().code,Procedure train_46,FHIR path expression for identifier of the surgery encounter this phase is part of,Procedure.encounter.reference,Procedure train_47,FHIR path expression for identifier of the surgery episode this phase is part of,Procedure.extension('http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare').valueReference,Procedure train_48,FHIR path expression for unique patient identifier,Patient.id,Patient train_49,FHIR path expression for gender of the patient,Patient.gender,Patient train_50,FHIR path expression for birth date of the patient,Patient.birthDate,Patient train_51,FHIR path expression for whether patient is died or not,Patient.deceasedDateTime.exists() or Patient.deceasedBoolean,Patient train_52,FHIR path expression for patient's date of death,Patient.deceasedDateTime,Patient train_53,FHIR path expression for the age patient died,"utl:getPeriod(Patient.birthDate, Patient.deceasedDateTime, 'years')",Patient train_54,FHIR path expression for city patient is living,Patient.address.where(use='home').city.first(),Patient train_55,FHIR path expression for postal code of patient's home address,Patient.address.where(use='home').postalCode.first(),Patient train_56,FHIR path expression for start time for surgery phase,Procedure.performedPeriod.start,Procedure train_57,FHIR path expression for end time for surgery phase,Procedure.performedPeriod.end,Procedure train_58,FHIR path expression for whether this is a main surgery or diagnostic procedure (catheterization or EPS),Procedure.encounter.resolve().serviceType.coding.exists(code='394603008' and system='http://snomed.info/sct'),Procedure train_59,FHIR path expression for category of the operation in terms of Clinical Classifications Software (CCS) for ICD-10-PCS,Procedure.category.coding.where(system='http://hl7.org/fhir/sid/ex-icd-10-procedures-ccs').first().code,Procedure train_60,FHIR path expression for code for the main procedure for the operation,Procedure.code.coding.where(system='http://hl7.org/fhir/sid/ex-icd-10-procedures').first().code,Procedure train_61,FHIR path expression for identifier of the surgeons participated to the surgery,Procedure.performer.where(function.code.coding.exists(system='http://snomed.info/sct' and code='304292004')).actor,Procedure train_62,FHIR path expression for identifier of nurses who takes in the surgery,Procedure.performer.where(function.code.coding.exists(system='http://snomed.info/sct' and code='224561008')).actor,Procedure train_63,FHIR path expression for site of the surgery,Procedure.bodySite.coding.where(system='http://snomed.info/sct').first().code,Procedure train_64,FHIR path expression for identifier of the surgery encounter this phase is part of,Procedure.encounter.reference,Procedure train_65,FHIR path expression for identifier of the surgery episode this phase is part of,Procedure.extension('http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare').valueReference,Procedure train_66,FHIR path expression for duration of surgical phase in minutes,"utl:getPeriod(Procedure.performedPeriod.start, Procedure.performedPeriod.end,'min').toInteger()",Procedure train_67,FHIR path expression for Aristotle Score of the Surgical Procedure,Procedure.extension('https://aiccelerate.eu/fhir/StructureDefinition/aristotle-score').valueDecimal,Procedure train_68,FHIR path expression for STAT risk score for congenital heart disease surgeries,Procedure.extension('https://aiccelerate.eu/fhir/StructureDefinition/sts-score').valueInteger,Procedure train_69,FHIR path expression for RACHS-1 risk score for congenital heart disease surgeries,Procedure.extension('https://aiccelerate.eu/fhir/StructureDefinition/rachs1-score').valueInteger,Procedure train_70,FHIR path expression for whether the patient was extubated in the operating room (true) or not (false). This only applies to surgeries,%includes.where(Procedure.partOf.reference = 'Procedure/' & %context.id).where(code.coding.exists(code='271280005' and system='http://snomed.info/sct')).status.first(),Procedure train_71,FHIR path expression for whether the patient needed to be defibrillated during the surgery or not,%includes.where(Procedure.partOf.reference = 'Procedure/' & %context.id).where(code.coding.exists(code='308842001' and system='http://snomed.info/sct')).status.first(),Procedure train_72,FHIR path expression for minimum temperature of the patient during surgery,%includes.where(Observation.partOf.reference = 'Procedure/' & %context.id).where(code.coding.exists(code='276885007' and system='http://snomed.info/sct')).select(valueQuantity.value).first(),Procedure train_73,FHIR path expression for time of extracorporeal circulation in minutes,"%includes.where(Procedure.partOf.reference = 'Procedure/' & %context.id).where(code.coding.exists(code='182744004' and system='http://snomed.info/sct')).select(utl:getPeriod($this.performedPeriod.start, $this.performedPeriod.end, 'min')).first()",Procedure train_74,FHIR path expression for clamp time in minutes within surgery,"%includes.where(Procedure.partOf.reference = 'Procedure/' & %context.id).where(code.coding.exists(code='301881006' and system='http://snomed.info/sct')).select(utl:getPeriod($this.performedPeriod.start, $this.performedPeriod.end, 'min')).first()",Procedure train_75,FHIR path expression for circulatory arrest time in minutes within surgery,"%includes.where(Procedure.partOf.reference = 'Procedure/' & %context.id).where(code.coding.exists(code='1197761000' and system='http://snomed.info/sct')).select(utl:getPeriod($this.performedPeriod.start, $this.performedPeriod.end, 'min')).first()",Procedure train_76,FHIR path expression for encounter time (Patient enrollment time),Encounter.period.start,Encounter train_77,FHIR path expression for encounter end time (Patient out of operation room),Encounter.period.end,Encounter train_78,FHIR path expression for SNOMED-CT code for Surgical operation category e.g. 394603008 -> Cardiac Surgery or 41976001 -> Catheterization etc.,Encounter.serviceType.coding.where(system='http://snomed.info/sct').first().code,Encounter train_79,FHIR path expression for SNOMED-CT code for surgical priority e.g. 274075007 -> Elective surgery,Encounter.priority.coding.where(system='http://snomed.info/sct').first().code,Encounter train_80,FHIR path expression for identifier of this encounter,Encounter.id,Encounter train_81,FHIR path expression for unique identifier for the main episode (OperationEpisode) that this surgery takes place,Encounter.episodeOfCare,Encounter train_82,FHIR path expression for unique id of the operating room that this operation takes place,Encounter.location.location.identifier.value,Encounter train_83,FHIR path expression for duration in minutes between entry and exit to/from the operation room,Encounter.length.value,Encounter train_84,FHIR path expression for time of measurement,Observation.effectiveDateTime,Observation train_85,FHIR path expression for LOINC code for the vital-sign,Observation.code.coding.where(system='http://loinc.org').first().code,Observation train_86,FHIR path expression for name of the lab test,Observation.code.text,Observation train_87,FHIR path expression for numeric lab result,Observation.valueQuantity.value,Observation train_88,FHIR path expression for unit for the lab result,Observation.valueQuantity.code,Observation train_89,FHIR path expression for identifier of the encounter that this assessment is done,Observation.encounter.reference,Observation train_90,FHIR path expression for identifier of the surgery episode this phase is part of,Observation.extension('http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare').valueReference,Observation train_91,FHIR path expression for time patient arrives operation room,procedure.performedPeriod.start,Procedure train_92,FHIR path expression for time when anesthesia procedure is completed,Procedure.performedPeriod.end,Procedure train_93,FHIR path expression for type of anesthesia applied,Procedure.code.coding.where(system='http://snomed.info/sct').first().code,Procedure train_94,FHIR path expression for detailed procedure code for anesthesia,Procedure.code.coding.where(system != 'http://snomed.info/sct').first().code,Procedure train_95,FHIR path expression for identifier of the anesthesiologist,Procedure.performer.where(function.coding.exists(system='http://snomed.info/sct' and code='88189002')).actor.reference,Procedure train_96,FHIR path expression for identifier of the surgery episode this phase is part of,Procedure.extension('http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare').valueReference,Procedure train_97,FHIR path expression for identifier of the surgery encounter this phase is part of,Procedure.encounter,Procedure train_98,FHIR path expression for duration of anesthesia phase in minutes,"utl:getPeriod(Procedure.performedPeriod.start, Procedure.performedPeriod.end,'min').toInteger()",Procedure train_99,FHIR path expression for time of assessment,Observation.effectiveDateTime,Observation train_100,FHIR path expression for SNOMED-CT code indicating the assessment result,Observation.valueCodeableConcept.coding.where(system='http://snomed.info/sct').first().code,Observation train_101,FHIR path expression for identifier of the encounter that this assessment is done,Observation.encounter,Observation train_102,FHIR path expression for code for the condition (ICD-10 or SNOMED-CT),Condition.code.coding.where(system='http://hl7.org/fhir/sid/icd-10' or system='http://snomed.info/sct').code.first(),Condition train_103,FHIR path expression for certainty of diagnosis,Condition.verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status').code.first(),Condition train_104,FHIR path expression for whether condition is patient reported,Condition.asserter.reference.startsWith('Patient/'),Condition train_105,FHIR path expression for identifier of the encounter that this diagnosis is done,Condition.encounter.reference,Condition train_106,FHIR path expression for medication start date,MedicationStatement.effectivePeriod.start,MedicationStatement train_107,FHIR path expression for medication end date,MedicationStatement.effectivePeriod.end,MedicationStatement train_108,FHIR path expression for ATC code for the medication,MedicationStatement.medicationCodeableConcept.coding.where(system='http://www.whocc.no/atc').code,MedicationStatement train_109,FHIR path expression for how many times per day the medication is taken,MedicationStatement.dosage.timing.repeat.frequency,MedicationStatement train_110,FHIR path expression for dose per usage,MedicationStatement.dosage.doseAndRate.doseQuantity.value,MedicationStatement train_111,FHIR path expression for unit of dose,MedicationStatement.dosage.doseAndRate.doseQuantity.unit,MedicationStatement train_112,FHIR path expression for SNOMED-CT code indicating the pregnancy status,Observation.valueCodeableConcept.coding.where(system='http://snomed.info/sct').first().code,Observation train_113,FHIR path expression for start time for the risk,Observation.effectivePeriod.start,Observation train_114,FHIR path expression for end time of the risk if it is no longer valid,Observation.effectivePeriod.end,Observation train_115,FHIR path expression for code indicating the type of the risk,Observation.code.coding.where(system='http://snomed.info/sct').first().code,Observation train_116,FHIR path expression for whether patient has the risk or not,Observation.valueBoolean,Observation train_117,FHIR path expression for if risk is critical or not,Observation.component.where(code.coding.exists(system='http://snomed.info/sct' and code='246112005')).valueBoolean,Observation train_119,FHIR path expression for if risk is permanent or not,Observation.component.where(code.coding.exists(system='http://snomed.info/sct' and code='260868000')).valueBoolean,Observation train_120,FHIR path expression for certainty of risk,Observation.component.where(code.coding.exists(system='http://snomed.info/sct' and code='246103008')).valueCodeableConcept.coding.code.first(),Observation train_121,FHIR path expression for identifier of the encounter that this assessment is done,Observation.encounter.reference,Observation train_122,FHIR path expression for SNOMED-CT code indicating the symptom,Observation.code.coding.where(system='http://snomed.info/sct').first().code,Observation train_123,FHIR path expression for whether symptom seen,Observation.valueBoolean,Observation