web stats
Mirth Community - View Single Post - Creating RTF File from Mirth !!!!!!!!!!!!!!!!!!!!!!!
View Single Post
  #6  
Old 05-16-2012, 12:10 PM
TSmithTRA TSmithTRA is offline
OBX.2 Kenobi
 
Join Date: Nov 2009
Location: Winston-Salem, NC
Posts: 79
TSmithTRA is on a distinguished road
Default

We write out RTF documents using the HL7 ORU we receive from PowerScribe. I have a file writer destination and I am actually using the rtf "language" to create the document.

Code:
{\rtf1\ansi
{\fonttbl
{\f0\froman\fcharset0\fprq2\fttruetype Times New Roman;}
{\f1\fswiss\fcharset0\fprq2\fttruetype Arial;}}
{\colortbl
\red0\green0\blue0;
\red255\green255\blue255;}
\kerning0\cf0\ftnbj\fet2\ftnstart1\ftnnar\aftnnar\ftnstart1\aftnstart1\aenddoc
\deftab720\paperw12240\paperh15840\margl1440\margr1440\widowctrl
{\header\pard\qc\sl240\slmult1\itap0
{
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmgf\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034
\pard\plain\ltrpar\ql\intbl\itap1
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Sam T. Auringer, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Joseph C. Contento, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Patrick S. Markwalter, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10\ James R. Sancrant, D.O.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Alfred L. Baker, M.D}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Andrew M. Dale, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Leslie Fort, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Eric S. Scharling, M.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Michael Hynes, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Maroon Khoury, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Brendan M. Miner, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Kevin M. Spangler, M.D., Ph.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Robin L. Boyd-Kranis, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Donald V. Heck, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Lee Ann A. Naylor, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Mark J. Stallworth, M.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Jeffrey A. Brody, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Kevin Llewellyn, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Liston A. Orr, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Scott T. Steffen, M.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10Morry D. Brown, M.D., Ph.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Theodore C. Kerner, Jr., M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 William R. Patton, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Rita Pink, M.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Marcella M. Butler, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Arnold S. Koriakin, D.O.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Richard H. Reid, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Robert M. Varnell, M.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Dennis M. Clemens, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Helena G. Summers, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Geoffrey D. Rieser, M.D., Ph.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Thomas B. Wiggins, M.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Richard P. Bonsall, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 Brad Van Dyke, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10Andrew R. Diebler, M.D.}
\cell
\pard\plain\ql\sl240\slmult1\intbl\itap1
{\f1\fs10 James M. Davis III, M.D.}
\cell
\row
\trowd \itap1\trgaph7\trql\trrh0\trleft0 \clvmrg\cellx3164 \cellx4854 \cellx6644 \cellx8524 \cellx10034\cell
\pard\plain\ql\intbl\itap1
{\f1\fs10 Thomas H. Hunt, M.D.}
{\f0\fs10}
\cell
\pard\plain\ql\intbl\itap1
\cell
\pard\plain\ql\intbl\itap1
\cell
\pard\plain\ql\intbl\itap1
\cell
\row}
\pard\plain\ql\itap0}
{\footer\pard\plain
\pard\plain\qc\itap0
{\f0\fs24\b TRIAD RADIOLOGY ASSOCIATES, PLLC}
{\f0\fs24\b\par}
\pard\plain\qc\itap0
{\f0\fs24\b ***To reach a Radiologist please call (336) 970-5310***\par Page \chpgn \par}}
\par
\par
\par\qc
{\f0\fs32\b Revival Pain Management}
\par
\par
\par
\par
{\row
\trowd \itap1\trgaph36\trql\trrh0\trleft0 \cellx5436 \cellx6876 \cellx10566
\pard\plain\ql\intbl\itap1
{\f0\fs20\b Revival Pain Management}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 Patient Name:}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 ${PateintFirstName} ${PatientLastName}}
\cell
\row
\trowd \itap1\trgaph36\trql\trrh0\trleft0 \cellx5436 \cellx6876 \cellx10566
\pard\plain\ql\intbl\itap1
{\f0\fs20 Dr. ${ReferringDoctorLastName}}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 DOB:}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 ${FormattedDOB}}
\cell
\row
\trowd \itap1\trgaph36\trql\trrh0\trleft0 \cellx5436 \cellx6876 \cellx10566
\pard\plain\ql\intbl\itap1
{\f0\fs20 525 Samaritans Ridge Ct.}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 Service Date:}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 ${FormattedStudyDate}}
\cell
\row
\trowd \itap1\trgaph36\trql\trrh0\trleft0 \cellx5436 \cellx6876 \cellx10566
\pard\plain\ql\intbl\itap1
{\f0\fs20 Elkin, NC 28621-2457}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 MRN:}
\cell
\pard\plain\ql\intbl\itap1
{\f0\fs20 ${PatientIDInternal}}
\cell
\row}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
\par
{
\trowd \itap1\trgaph36\trql\trrh0\trleft0 \cellx2196 \cellx10566
\pard\plain\ql\intbl\itap1
{\f1\fs20 EXAM:}
\cell
\pard\plain\ql\intbl\itap1
{\f1\fs20 ${ExamCodeDescription}}
\cell
\row
\trowd \itap1\trgaph36\trql\trrh0\trleft0 \cellx2196 \cellx10566
\pard\plain\ql\intbl\itap1
{\f1\fs20 REASON FOR VISIT:}
\cell
\pard\plain\ql\intbl\itap1
{\f1\fs20 ${ReasonForStudy}}
\cell
\row}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20 ${FormattedReportBody}}
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20 Thank you for your referral,}
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20 Electronically Signed By,}
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20 ${SigningDoctorFirstName} ${SigningDoctorLastName}}
{\f1\fs20\par}
\pard\plain\qc\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\qc\sl240\slmult1\itap0
{\f1\fs16 ***CONFIDENTIALITY NOTICE***}
{\f1\fs16\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs16\par}
\pard\plain\ql\sl240\slmult1\ita0
{\f1\fs16 The information contained in this email/fax may contain legally privileged and confidential information intended only for the use of the individual noted above. If you are not the intended recipient or employee or agent of the entity listed above, you are hereby notified that any reading, disclosure, distribution, or copying of this email communication in any way, or the taking of any action in relation to this communication, is strictly prohibited. If you have received this email in error, please immediately notify the sender and contact our Privacy Officer at (336) 970-5303. If you were not the intended recipient, please delete it from your files. Thank you for your compliance.}
{\f1\fs16\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plain\ql\sl240\slmult1\itap0
{\f1\fs20\par}
\pard\plaain\ql\sl240\slmult1\itap0\par}
__________________
Tom Smith
IT Director
Triad Radiology Associates

Last edited by narupley; 05-16-2012 at 12:11 PM. Reason: Putting code in CODE block...
Reply With Quote