I am having issue extracting “line item”, how to get a number after a set of numbers, also some of the middle name is showing in text after the thru date , for example “MARGARITA”,“ALRAMIDRAMI”. how do i get that bundled in with name ?
I am getting the data from using pdf reading activity
For example Trying to get this from the first row
100040078787872410829041 - ICN
1 - line item
JANCE FANCY, YRAMIV - patient name
Medical request date-5/30/1921
Dob- 11/6/2015
Patient id- 715666525
Service from- 11/10/2011
Service theu- 10/20/2015
My regex so far
(?\d{24})\s+(?<line_item>\d)\s+(?[\D\s,]+)\s+(?<med_req_date>\d+/\d+/\d{4})\s+(?\d+/\d+/\d{4})\s+(?\d+)\s+(?\d+/\d+/\d{4})\s+(?\d+/\d+/\d{4})
ICN Line Item Patient Name Medical Record Request Patient DOB Patient ID Number Service From Date Service Thru Date
Date
100040078787872410829041 1 JANCE FANCY, YRAMIV 5/30/1921 11/6/2015 715666525 11/10/2011 10/20/2015
100040030201714347878787 1 BABYREZ, FANCY SRAMIY 3/30/1921 10/9/2012 123473187 09/20/2015 02/09/2020
100040078787875951521738 1 YAZIZAR, FANCY-ARAMITO 8/30/1921 11/6/2015 700044555 11/10/2011 10/20/2015
100040078787875399291634 1 CATIOLEVICH, FANCY 4/30/2019 11/6/2015 708852514 09/20/2015 02/09/2020
100040030201801778787873 1 ORMERO, FANCY 5/30/1921 11/6/2015 754889178 11/10/2011 10/20/2015
100040030201803787878793 1 JILILO, RAMI 1/30/2019 11/6/2015 512585701 09/20/2015 02/09/2020
100040037878787141655665 1 IIIIILLA RAMI, SARAMI 10/9/2012 9/16/2017 857968202 11/10/2011 10/20/2015
NMRCO-LetterRef# 555666-1
Page 1 of 5Records Requested
ICN Line Item Patient Name Medical Record Request Patient DOB Patient ID Number Service From Date Service Thru Date
Date
100040037878787888326154 1 BENXIQUEZ RAMI, KERAMI 7/30/1921 10/9/2012 458781960 11/10/2011 10/20/2015
100040078787876663515484 1 QUENCCHER, RAMIEY LRAMI 9/30/2019 10/9/2012 710425415 09/20/2015 02/09/2020
100040030201824368577775 1 JANCY SARAMI, CRAMIAN 3/30/1921 10/9/2012 754879428 11/10/2011 10/20/2015
100040030201905228353164 1 YAMU RODRRAMI, 5/20/2018 11/6/2015 754879428 11/10/2011 10/20/2015
MARGARITA
100040037878787027330688 1 CAMU, DARAMIIS 4/30/2019 11/6/2015 754879428 09/20/2015 02/09/2020
NMRCO-LetterRef# 555666-1
Page 2 of 5Records Requested
ICN Line Item Patient Name Medical Record Request Patient DOB Patient ID Number Service From Date Service Thru Date
Date
100040030555666888014963 1 MORRES, RAMICRAMIS 2/30/2019 10/9/2012 754879428 11/10/2011 10/20/2015
100040030555666888885446 1 CASIOOO JR, IRAMIL 1/30/2019 10/9/2012 754879428 09/20/2015 02/09/2020
100040030555666222133857 1 JENAGANA GRAMIO, 6/30/2019 10/9/2012 754879428 11/10/2011 10/20/2015
ALRAMIDRAMI
100040035556662222225596 1 VARANYA VERAMIEZ, YARAMIRY 10/9/2012 10/4/2019 754879428 09/20/2015 02/09/2020
This data is dummy data and is not real data or is scrubbed