The TruBridge EHR platform Escribe output format.
The Escribe files are named following the naming convention as follows:
Rx_spid_profile_visit_xmlFileName_CreationDate_CreationTime
An example of this naming convention:
Rx_1_12345678_123456_CPSINEWV6X16589_20230101_1200000000
The file output consists of XML data in the NCPDP format(NCPDP SCRIPT Version 20170715).
Example data file format:
<?xml version="1.0" encoding="UTF-8"?>
<Message DatatypesVersion="20170715"
TransportVersion="20170715"
TransactionDomain="SCRIPT"
TransactionVersion="20170715"
StructuresVersion="20170715"
ECLVersion="20170715">
<Header>
<To Qualifier="P">7701630</To>
<From Qualifier="D">1999999999992</From>
<MessageID>1234567</MessageID>
<SentTime>2020-10-01T08:15:22.123456</SentTime>
<SenderSoftware>
<SenderSoftwareDeveloper>MDLITE</SenderSoftwareDeveloper>
<SenderSoftwareProduct>443</SenderSoftwareProduct>
<SenderSoftwareVersionRelease>2.1</SenderSoftwareVersionRelease>
</SenderSoftware>
<PrescriberOrderNumber>110088</PrescriberOrderNumber>
</Header>
<Body>
<NewRx>
<Patient>
<HumanPatient>
<Name>
<LastName>DOE</LastName>
<FirstName>JANE</FirstName>
</Name>
<Gender>F</Gender>
<DateOfBirth>
<Date>1950-01-01</Date>
</DateOfBirth>
<Address>
<AddressLine1>123 EAST ROAD SW</AddressLine1>
<City>CLANCY</City>
<StateProvince>WI</StateProvince>
<PostalCode>54999</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>6512551122</Number>
</PrimaryTelephone>
</CommunicationNumbers>
</HumanPatient>
</Patient>
<Pharmacy>
<Identification>
<NCPDPID>7878787</NCPDPID>
<NPI>7878787878</NPI>
</Identification>
<BusinessName>MAIN STREET PHARMACY</BusinessName>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>1231231234</Number>
</PrimaryTelephone>
</CommunicationNumbers>
</Pharmacy>
<Prescriber>
<NonVeterinarian>
<Identification>
<NPI>1999999992</NPI>
</Identification>
<Name>
<LastName>DOE</LastName>
<FirstName>JOHN</FirstName>
</Name>
<Address>
<AddressLine1>211 CENTRAL ROAD</AddressLine1>
<City>JONESVILLE</City>
<StateProvince>TN</StateProvince>
<PostalCode>37777</PostalCode>
<CountryCode>US</CountryCode>
</Address>
<CommunicationNumbers>
<PrimaryTelephone>
<Number>1231231234</Number>
</PrimaryTelephone>
</CommunicationNumbers>
</NonVeterinarian>
</Prescriber>
<MedicationPrescribed>
<DrugDescription>Calan SR 240MG oral tablet</DrugDescription>
<DrugCoded>
<ProductCode>
<Code>00025189131</Code>
<Qualifier>ND</Qualifier>
</ProductCode>
<Strength>
<StrengthValue>240</StrengthValue>
<StrengthForm>
<Code>C48542</Code>
</StrengthForm>
<StrengthUnitOfMeasure>
<Code>C28253</Code>
</StrengthUnitOfMeasure>
</Strength>
</DrugCoded>
<Quantity>
<Value>60</Value>
<CodeListQualifier>38</CodeListQualifier>
<QuantityUnitOfMeasure>
<Code>C48542</Code>
</QuantityUnitOfMeasure>
</Quantity>
<DaysSupply>30</DaysSupply>
<WrittenDate>
<Date>2020-10-01</Date>
</WrittenDate>
<Substitutions>0</Substitutions>
<NumberOfRefills>1</NumberOfRefills>
<Sig>
<SigText>TAKE ONE TABLET TWO TIMES A DAY UNTIL GONE</SigText>
</Sig>
<RxFillIndicator>All Fill Statuses Except Transferred</RxFillIndicator>
<PrescriberCheckedREMS>A</PrescriberCheckedREMS>
</MedicationPrescribed>
</NewRx>
</Body>
</Message>