web stats
Mirth Community - View Single Post - Mirth Newbie: OBX5 to include Patient Identifier information & HL7
View Single Post
  #41  
Old 09-16-2015, 05:33 PM
flyerman flyerman is offline
OBX.2 Kenobi
 
Join Date: May 2015
Posts: 68
flyerman is on a distinguished road
Default

PLEASE CLARIFY
1. all "~" should become \.br\ understand
2. In every 54 line, add name, DOB, visit number etc (Let's called these " added elements") UNDERSTAND
3. to format the output page correctly, you need a certain numbers of \.br\ before and after the added elements.
4. The previous code you have give you three triple \.br\ which is not what you want
5. It seems you need double \.br\ before and after the added elements. ?
6. I am still confused how many \.br\ you want in front of and immediately after the added elements?


7. Let's look at Page 1
LINE NUMBER_1\.br\
LINE NUMBER_2\.br\
LINE NUMBER_3\.br\
LINE NUMBER_4\.br\
LINE NUMBER_5\.br\
LINE NUMBER_6\.br\
LINE NUMBER_7\.br\
LINE NUMBER_8\.br\
LINE NUMBER_9\.br\
LINE NUMBER_10\.br\
LINE NUMBER_11\.br\
LINE NUMBER_12\.br\
LINE NUMBER_13\.br\
LINE NUMBER_14\.br\
LINE NUMBER_15\.br\
LINE NUMBER_16\.br\
LINE NUMBER_17\.br\
LINE NUMBER_18\.br\
LINE NUMBER_19\.br\
LINE NUMBER_20\.br\
LINE NUMBER_21\.br\
LINE NUMBER_22\.br\
LINE NUMBER_23\.br\
LINE NUMBER_24\.br\
LINE NUMBER_25\.br\
LINE NUMBER_26\.br\
LINE NUMBER_27\.br\
LINE NUMBER_28\.br\
LINE NUMBER_29\.br\
LINE NUMBER_30\.br\
LINE NUMBER_31\.br\
LINE NUMBER_32\.br\
LINE NUMBER_33\.br\
LINE NUMBER_34\.br\
LINE NUMBER_35\.br\
LINE NUMBER_36\.br\
LINE NUMBER_37\.br\
LINE NUMBER_38\.br\
LINE NUMBER_39\.br\
LINE NUMBER_40\.br\
LINE NUMBER_41\.br\
LINE NUMBER_42\.br\
LINE NUMBER_43\.br\
LINE NUMBER_44\.br\
LINE NUMBER_45\.br\
LINE NUMBER_46\.br\
LINE NUMBER_47\.br\
LINE NUMBER_48\.br\
LINE NUMBER_49\.br\
LINE NUMBER_50\.br\
LINE NUMBER_51\.br\
LINE NUMBER_52\.br\
LINE NUMBER_53\.br\
LINE NUMBER_54\.br\
\.br\

PATIENT NAME: JOHN, DOE\.br\ (BEGINING OF PAGE 2, AM I RIGHT??)
MRN: XX99876756\.br\
VISIT NUMBER: HN12000090W\.br\
DATE OF BIRTH: 19780210\.br\
ADMIT DATE: 20150910\.br\
\.br\
LINE NUMBER_55\.br\ original
LINE NUMBER_56\.br\
LINE NUMBER_57\.br\
LINE NUMBER_58\.br\ (LINE 10 at Paghe 2)
LINE NUMBER_59\.br\
LINE NUMBER_60\.br\
LINE NUMBER_61\.br\
LINE NUMBER_62\.br\
LINE NUMBER_63\.br\
LINE NUMBER_64\.br\
LINE NUMBER_65\.br\
LINE NUMBER_66\.br\
LINE NUMBER_67\.br\
LINE NUMBER_68\.br\(line 20 at Page 2)
LINE NUMBER_69\.br\
LINE NUMBER_70\.br\
LINE NUMBER_71\.br\
LINE NUMBER_72\.br\
LINE NUMBER_73\.br\
LINE NUMBER_74\.br\
LINE NUMBER_75\.br\
LINE NUMBER_76\.br\
LINE NUMBER_77\.br\
LINE NUMBER_78\.br\(Line30 at page 2)
LINE NUMBER_79\.br\
LINE NUMBER_80\.br\
LINE NUMBER_81\.br\
LINE NUMBER_82\.br\
LINE NUMBER_83\.br\
LINE NUMBER_84\.br\
LINE NUMBER_85\.br\
LINE NUMBER_86\.br\
LINE NUMBER_87\.br\
LINE NUMBER_88\.br\(line 40 at page 2)
LINE NUMBER_89\.br\
LINE NUMBER_90\.br\
LINE NUMBER_91\.br\
LINE NUMBER_92\.br\
LINE NUMBER_83\.br\
LINE NUMBER_94\.br\
LINE NUMBER_95\.br\
LINE NUMBER_96\.br\
LINE NUMBER_97\.br\
LINE NUMBER_98\.br\(line 50 at page 2)
LINE NUMBER_99\.br\
LINE NUMBER_100\.br\
LINE NUMBER_101\.br\
LINE NUMBER_102\.br\(line 54 at page 2)
\.br\ (Line55 at Page 2)


PATIENT NAME: JOHN, DOE\.br\ (BEGINING OF PAGE 3 ??)
MRN: XX99876756\.br\
VISIT NUMBER: HN12000090W\.br\D
ATE OF BIRTH: 19780210\.br\
ADMIT DATE: 20150910\.br\
\.br\
LINE NUMBER_103\.br\](line 7 at page 2)[/B]
LINE NUMBER_104\.br\


11. BUT it also seems that the \.br\ bforePATIENT NAME is not important, but the line count is more important...??

12. AM I RIGHT THAT, each page contains 55 lines?? Not 54?

VERSION 2

LINE NUMBER_1\.br\
LINE NUMBER_2\.br\
LINE NUMBER_3\.br\
LINE NUMBER_4\.br\
LINE NUMBER_5\.br\
LINE NUMBER_6\.br\
LINE NUMBER_7\.br\
LINE NUMBER_8\.br\
LINE NUMBER_9\.br\
LINE NUMBER_10\.br\
LINE NUMBER_11\.br\
LINE NUMBER_12\.br\
LINE NUMBER_13\.br\
LINE NUMBER_14\.br\
LINE NUMBER_15\.br\
LINE NUMBER_16\.br\
LINE NUMBER_17\.br\
LINE NUMBER_18\.br\
LINE NUMBER_19\.br\
LINE NUMBER_20\.br\
LINE NUMBER_21\.br\
LINE NUMBER_22\.br\
LINE NUMBER_23\.br\
LINE NUMBER_24\.br\
LINE NUMBER_25\.br\
LINE NUMBER_26\.br\
LINE NUMBER_27\.br\
LINE NUMBER_28\.br\
LINE NUMBER_29\.br\
LINE NUMBER_30\.br\
LINE NUMBER_31\.br\
LINE NUMBER_32\.br\
LINE NUMBER_33\.br\
LINE NUMBER_34\.br\
LINE NUMBER_35\.br\
LINE NUMBER_36\.br\
LINE NUMBER_37\.br\
LINE NUMBER_38\.br\
LINE NUMBER_39\.br\
LINE NUMBER_40\.br\
LINE NUMBER_41\.br\
LINE NUMBER_42\.br\
LINE NUMBER_43\.br\
LINE NUMBER_44\.br\
LINE NUMBER_45\.br\
LINE NUMBER_46\.br\
LINE NUMBER_47\.br\
LINE NUMBER_48\.br\
LINE NUMBER_49\.br\
LINE NUMBER_50\.br\
LINE NUMBER_51\.br\
LINE NUMBER_52\.br\
LINE NUMBER_53\.br\
LINE NUMBER_54\.br\
LINE NUMBER_55\.br\ (No added break)

PATIENT NAME: JOHN, DOE\.br\ (BEGINING OF PAGE 2, AM I RIGHT??)
MRN: XX99876756\.br\
VISIT NUMBER: HN12000090W\.br\
DATE OF BIRTH: 19780210\.br\
ADMIT DATE: 20150910\.br\
\.br\
LINE NUMBER_56\.br\
LINE NUMBER_57\.br\
LINE NUMBER_58\.br\ (LINE 9 at Page 2)
LINE NUMBER_59\.br\
LINE NUMBER_60\.br\
LINE NUMBER_61\.br\
LINE NUMBER_62\.br\
LINE NUMBER_63\.br\
LINE NUMBER_64\.br\
LINE NUMBER_65\.br\
LINE NUMBER_66\.br\
LINE NUMBER_67\.br\
LINE NUMBER_68\.br\(line 19 at Page 2)
LINE NUMBER_69\.br\
LINE NUMBER_70\.br\
LINE NUMBER_71\.br\
LINE NUMBER_72\.br\
LINE NUMBER_73\.br\
LINE NUMBER_74\.br\
LINE NUMBER_75\.br\
LINE NUMBER_76\.br\
LINE NUMBER_77\.br\
LINE NUMBER_78\.br\(Line29 at page 2)
LINE NUMBER_79\.br\
LINE NUMBER_80\.br\
LINE NUMBER_81\.br\
LINE NUMBER_82\.br\
LINE NUMBER_83\.br\
LINE NUMBER_84\.br\
LINE NUMBER_85\.br\
LINE NUMBER_86\.br\
LINE NUMBER_87\.br\
LINE NUMBER_88\.br\(line 39 at page 2)
LINE NUMBER_89\.br\
LINE NUMBER_90\.br\
LINE NUMBER_91\.br\
LINE NUMBER_92\.br\
LINE NUMBER_83\.br\
LINE NUMBER_94\.br\
LINE NUMBER_95\.br\
LINE NUMBER_96\.br\
LINE NUMBER_97\.br\
LINE NUMBER_98\.br\(line 49 at page 2)
LINE NUMBER_99\.br\
LINE NUMBER_100\.br\
LINE NUMBER_101\.br\
LINE NUMBER_102\.br\
LINE NUMBER_103\.br\ (Line54 at Page 2)
LINE NUMBER_104\.br\ (Line55 at Page 2)(No Break)

PATIENT NAME: JOHN, DOE\.br\ (BEGINING OF PAGE 3 ??)
MRN: XX99876756\.br\
VISIT NUMBER: HN12000090W\.br\D
ATE OF BIRTH: 19780210\.br\
ADMIT DATE: 20150910\.br\
\.br\
LINE NUMBER_105\.br\(Line7 at Page 3)
LINE NUMBER_106\.br\

Last edited by flyerman; 09-16-2015 at 07:37 PM.
Reply With Quote