Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal...

17
HL7®, FHIR® and the flame Design mark are the registered trademarks of Health Level Seven International and are used with per mission. November 20-22, Amsterdam | @HL7 @FirelyTeam | #fhirdevdays | www.devdays.com Laboratory Test Ordering on FHIR Aleksandr Ivanov

Transcript of Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal...

Page 1: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

HL7®, FHIR® and the flame Design mark are the registered trademarks of Health Level Seven International and are used with per mission.

November 20-22, Amsterdam | @HL7 @FirelyTeam | #fhirdevdays | www.devdays.com

Laboratory Test Ordering on FHIR

Aleksandr Ivanov

Page 2: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

How can someone order lab tests in Russia?

• Different types of consumers

• Medical organizations

• Labs

• People who would like to make a lab test without a referral

Page 3: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

What do customers want?

• Catalog of available lab tests

• Specimen types for tests

• Which observations will be returned for lab tests?

• Estimated time of accomplishment (delays)

• Observations required for correct reference ranges

• Guidelines about preanalytics calculation

• Make requests

• Receive results

Page 4: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

What can be expressed in HL7 FHIR R4?

Requirement FHIR Resources

Catalog Composition, CatalogEntry, PlanDefinition

Specimens for lab tests ActivityDefintion, SpecimenDefinition

Observation for lab tests ActivityDefintion, ObservationDefinition

Estimated time of accomplishment ?

Observations required for correct reference ranges

ActivityDefintion, ObservationDefinition

Guidelines on preanalytics calculation ?

Make requests ServiceRequest, Task, Specimen, Observation, Patient

Receive results DiagnosticReport, Observation

Page 5: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Catalog

• Catalog resources are not mature enough in R4

• A lot of interest from different organizations in different countries:

• Phast (France)

• University of Utah

• Quest Diagnostics (US laboratory)

• LabCorp (US laboratory)

• Medlinx (Russia)

• Helix (Russian laboratory)

Page 6: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Catalog

LOINC 34555-3

Creatinine 24H renal clearance panel Preferred: Serum, yellow cap

minimum volume …

Venous blood specimen

LOINC 2164-2

mL/min

Creatinine renal

clearance in 24h

Alternate: Plasma, green cap

minimum volume …

LOINC 2160-0

mg/dL

Creatinine on

serum/ plasma

LOINC 3167-4

Volume of 24H urine

LOINC 13362-9

Collection duration

input observations

LOINC 2162-6

Creatinine [Mass/time] in 24-hour Urine

Creatinine / 24H urine

24h urine

specimen container …

Capillary blood specimen

XOR

LOINC 3167-4

mL

24H urine

volume LOINC 13362-9 h

urine collection

duration

LOINC 65634-8

24h urine creatinine

panel

output observations output observations

LOINC 2160-0

Serum creatinine

test

Created by OrderCatalog WG

Page 7: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Catalog

Created by OrderCatalog WG

Page 8: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Sequence chart

Page 9: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Estimated time of accomplishment

• No standard way to do

• We use two extensions for CatalogEntry

• https://api.medlinx.online/extension/eta-status

• https://api.medlinx.online/extension/eta-delay-duration

Value Description

available Lab test available for order

delayed Lab test available for order but will be delayed

stopped Lab test can't be performed by the laboratory

Page 10: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Estimated time of accomplishment in HL7 FHIR R5

• CatalogEntry

• estimatedDutaion filed

Page 11: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Preanalytics

• What do we call preanalytics phase of lab testing:

• how to handle specimens

• which specimens can be taken into one container

• The laboratory provides the textbook with guidelines

• We decided to provide API

Page 12: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Preanalytics

• What do we call preanalytics phase of lab testing:

• how to handle specimens

• which specimens can be taken into the same container

• The laboratory provides the textbook with guidelines

• We decided to provide API

Page 13: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Order lab tests

• Create separate resources

• Basic FHIR workflow

• Not easy for producer and consumer

• Create a bundle with all resources

• Unusual FHIR workflow

• Easy for workflow participants to exchange.

• How to handle the status of requests inside the bundle?

Page 14: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Order lab tests

Page 15: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Lab test results

• We can't use separate Diagnostic reports and Observations in our workflow.

• Documents

• We provide two ways to receive results

• Polling

• Notifications

Page 16: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

Summary

• We can build almost all types of interactions for lab testing with HL7 FHIR R4

• Some extensions can be part a of the standard in next release

• A lot of resources are not mature, use them on your own risk

• Sometimes it is easier to use custom workflow for API.

Page 17: Laboratory Test Ordering on FHIR - FHIR DevDays · Catalog LOINC 34555 -3 Creatinine 24H renal clearance panel Preferred: Serum, yellow cap minimum À}oµu Y Venous blood specimen

www.devdays.com