Parse Key-Value Fields from Echocardiogram Report using PDF.co Document Parser – Step-by-Step

  1. Go to PDF.co Document Parser
  2. Create a New Template
  3. Load Source PDF or Image File
  4. Add Object
  5. Set Expression and Data Type
  6. Run Template
  7. Result
  8. Save Template

In this step-by-step tutorial, we will show you how to parse key-value fields from echocardiogram reports using PDF.co Document Parser.

We have a sample echocardiogram here that we can use for this tutorial:

Screenshot of Sample Echocardiogram
Screenshot of Sample Echocardiogram

First, go to your PDF.co dashboard.

Step 1 – Go to PDF.co Document Parser

  • On your PDF.co dashboard, click the Document Parser menu at the top of the page

Go to PDF.co Document Parser

Step 2 – Create a New Template

  • To create a new template, click the New Template link

Create a New Template

Step 3 – Load Source PDF or Image File

  • Load the PDF or Image file that you’re going to use

Load Source PDF or Image File

Step 4 – Add Object

  • To get the Key-Value Fields, select Add FIELD based on TEXT SEARCH object

Add field based on text search object

Step 5 – Set Expression and Data Type

  • Set Expression to, (?<key>{{SentenceWithSingleSpaces}}): (?<value>{{SentenceWithSingleSpaces}}) to get the Key-Value Fields and set Data Type to String

Set Expression and Data Type

Step 6 – Run Template

  • After setting up the objects you may now run the template

Run template

Step 7 – Result

  • Here’s the output
Output of the Key-value fields
Output of the Key-value fields

Step 8 – Save Template

  • Once you’re done creating your template, go ahead and save it

Save template

You’ve learned how to parse key-value fields from echocardiogram reports using PDF.co Document Parser.

Related Pages:

Related Samples: