Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 2

RIS-EHR Data Flow in Clinical Workflows

Recommended resources

Welcome back to your course on computer vision in healthcare. In our previous lesson, we established the foundational roles of the Electronic Health Record (EHR) as the comprehensive patient chart and the Radiology Information System (RIS) as the workflow engine for the imaging department.

This lesson builds directly on that foundation. We will now move from what these systems are to how they communicate. Your learning outcome for this session is to analyze the data flow between RIS and EHR systems within a typical clinical workflow. We'll dissect the journey of a medical imaging order from start to finish, examining the specific messaging standards that act as the connective tissue in this complex ecosystem. For anyone building AI solutions in this space, understanding this data flow is non-negotiable—it dictates how you receive data and where your model's results must be sent to have a clinical impact.

The Need for a Common Language: HL7 and DICOM

In a hospital, the EHR and RIS are often supplied by different vendors. For them to work together seamlessly, they must speak a common language. This is where interoperability standards come in. In your work in telecommunications, you've encountered numerous protocols (like TCP/IP, SIP, or SS7) that ensure equipment from different manufacturers can interconnect and exchange information reliably. The principle in healthcare is identical.

The two dominant standards governing the workflow we're about to explore are:

  1. Health Level Seven (HL7): This is a broad standard for exchanging clinical and administrative data between software applications. Think of it as the language for textual information: patient demographics, orders, and, most importantly for us, diagnostic reports.
  2. Digital Imaging and Communications in Medicine (DICOM): This is the universal standard for everything related to medical images. It defines not only the file format for an image but also the network protocols for storing, retrieving, and distributing them.

While we briefly mentioned these in the last lesson, we'll now see exactly where they fit into the data flow.


Tracing the Data Flow: A Step-by-Step Analysis

Let's revisit the example of a patient needing an MRI and trace the information exchange at each step. In our last session, we watched an overview of this process. Now, we'll re-examine the same workflow, but with a new focus: identifying the specific messages that are passed at each stage.

What is DICOM | vs HL7 in the Radiology Workflow

The video "What is DICOM | vs HL7 in the Radiology Workflow" provides an excellent, concise walkthrough of this entire process. We will watch it in segments, pausing to analyze the specific data exchange happening at each step.

As you watch, focus on identifying the message types (e.g., ORM, ORU) and the commands (e.g., C-FIND, C-STORE) mentioned.

Step 1: Placing the Order (EHR → RIS)

The workflow begins when a clinician, using the EHR, determines an imaging study is necessary. This action initiates the first major data exchange.

  • The EHR sends an HL7 Order Entry (ORM) message to the RIS. This message is the digital equivalent of a doctor's prescription for an imaging exam. It acts as the trigger for the entire radiology workflow.

The ORM message is packed with critical information that will follow the patient through their entire visit. This includes:

  • Patient Identifiers: Name, Date of Birth, Medical Record Number (MRN).
  • Exam Details: The specific procedure requested (e.g., "MRI Brain with Contrast"), the reason for the exam, and the ordering physician's information.

Upon receiving the ORM message, the RIS processes it, officially scheduling the exam and generating a unique identifier for that specific study, known as the Accession Number. This number is crucial for tracking the exam and linking all related data, from images to the final report.

Now, let's watch the first part of the video that illustrates this.

What is DICOM | vs HL7 in the Radiology Workflow

This segment shows the creation of the order and its transmission to the RIS.

Watch the clip from the beginning of the MRI example. Pay close attention to the mention of the "HL7 order entry message" or "ORM" and the key information it contains.

Step 2: Preparing for the Scan (RIS → Modality)

When the patient arrives for their appointment and is checked in (usually via the RIS), the next step is to get this information to the imaging machine itself—the "modality" (e.g., the MRI scanner). This is a critical step for data quality, as it prevents manual data entry errors by the technologist.

  • The modality queries the RIS for a list of scheduled patients. This is accomplished using a DICOM Modality Worklist (DMWL) query. Technically, this is a DICOM network command called C-FIND.
  • The RIS responds with the worklist, which contains all the relevant patient and study information for the technologist.

The technologist simply selects the correct patient from this list on the scanner's console. All the patient demographics and study details—which originated in the EHR's HL7 ORM message—are now ready to be embedded directly into the metadata of the images that will be acquired.

Step 3: Acquiring and Storing the Images (Modality → PACS)

With the patient and study details loaded from the worklist, the technologist performs the scan.

  • As the images are generated, the modality packages the pixel data with the associated metadata (patient name, accession number, etc.) into the standard DICOM file format.
  • These DICOM files are then sent over the network to a Picture Archiving and Communication System (PACS) for long-term storage and clinical review. This transfer uses another DICOM network command called C-STORE.

The PACS is essentially a massive, specialized database and storage system for all medical images. It's the primary source from which you would likely retrieve image data for an AI project.

Let's watch the segment of the video that covers these DICOM-based interactions.

What is DICOM | vs HL7 in the Radiology Workflow

This part explains how the modality gets the patient information and sends the completed images for storage.

Please watch from this point. Note the two DICOM operations mentioned: C-FIND for querying the worklist and C-STORE for sending the images to PACS.

Step 4: Creating and Distributing the Report (RIS/Dictation → EHR & PACS)

Once the images are in the PACS, the study appears on a radiologist's reading list. The radiologist reviews the images and creates a diagnostic report detailing their findings. This report "closes the loop" by returning the results to the ordering physician.

  • The radiologist's textual report is finalized in a reporting or voice dictation system, which is tightly integrated with the RIS.
  • This system then broadcasts the report using an HL7 Observation Result (ORU) message.

This ORU message is sent to two key destinations:

  1. Back to the EHR: This is the most critical step. The report is filed in the patient's main chart, making the results available to the original ordering physician and any other caregivers.
  2. To the PACS: The report is associated with the corresponding images in the archive, so that anyone viewing the images in the future can also see the official interpretation.

The final segment of the video explains this concluding step.

What is DICOM | vs HL7 in the Radiology Workflow

This clip shows how the final diagnostic report is created and distributed.

Watch from this section. Focus on the role of the "HL7 observation result message" or "ORU" in disseminating the radiologist's findings.


Summary of the Data Flow

The entire workflow can be summarized as a sequence of standardized messages passed between systems.

Step Source System Destination System Message/Standard Key Information Transferred
1. Order Placed EHR RIS HL7 ORM Patient Demographics, Exam Details
2. Worklist Query Modality (Scanner) RIS DICOM C-FIND Request for scheduled patients
3. Image Storage Modality (Scanner) PACS DICOM C-STORE Image pixel data + metadata
4. Report Sent RIS / Dictation EHR & PACS HL7 ORU Radiologist's diagnostic text report

This chain of events is the backbone of clinical imaging. As an AI developer, your tools will almost always interact with data that has been created and cataloged by this exact process. For example, a cancer detection model might be triggered by a DICOM C-STORE event (a new study arriving in PACS), and its output could be formatted into an HL7 ORU message to be sent back to the EHR.


Conclusion

In this lesson, we have dissected the intricate data flow that connects EHR and RIS systems. You've learned how the HL7 and DICOM standards work in concert to manage a patient's journey through the radiology department, from the initial order to the final report.

Here are the key takeaways:

  • Orchestration by Standards: The entire workflow is orchestrated by HL7 messages for administrative data and DICOM protocols for imaging data.
  • HL7 ORM Initiates: An HL7 Order (ORM) message from the EHR kicks off the imaging workflow in the RIS.
  • DICOM Manages Imaging: The DICOM Modality Worklist ensures data integrity at the scanner, and DICOM C-STORE handles the archiving of images to the PACS.
  • HL7 ORU Closes the Loop: An HL7 Result (ORU) message delivers the radiologist's final report back to the EHR, making the findings clinically actionable.

Understanding this flow is crucial because the metadata you need for your AI models—patient IDs, study dates, accession numbers—is created and propagated through these very messages.

In our next lesson, we will move from this high-level workflow to hands-on data interaction. You will learn how to "Extract metadata and pixel arrays from medical imaging DICOM files using the pydicom library," taking your first practical step in working with the data produced by the workflow we've analyzed today.