Message Examples
2 min
examples disclaimer examples provided throughout this guide are not intended to be all inclusive this pertains to example workflows, element specific (field) examples, or message examples customers should not restrict coding to the examples used herein when developing, this guide should be used along with the accompanying schema file, additional documentation referenced, and applicable customary xml coding standards note version 20230115, which is a republication of version 2023011, is used throughout this guide newrx (from prescriber) message example the following example uses the surescripts message header and the ncpdp newrx (from prescriber) message example \<message datatypesversion="20230115" transportversion="20230115" transactiondomain="script" transactionversion="20230115" structuresversion="20230115" eclversion="20230115"> \<header> \<to qualifier="p">7701630\</to> \<from qualifier="d">1999999999992\</from> \<messageid>7f0931fa9daa419abc3e9c0a698c4bfd\</messageid> \<senttime>2024 04 25t03 35 23 726z\</senttime> \<sendersoftware> \<sendersoftwaredeveloper>mdlite\</sendersoftwaredeveloper> \<sendersoftwareproduct>443\</sendersoftwareproduct> \<sendersoftwareversionrelease>2 2\</sendersoftwareversionrelease> \</sendersoftware> \<prescriberordernumber>110089\</prescriberordernumber> \</header> \<body> \<newrx> \<patient> \<humanpatient> \<names> \<name> \<lastname>smith\</lastname> \<firstname>mary\</firstname> \</name> \</names> \<genderandsex> \<administrativegender>n\</administrativegender> \</genderandsex> \<dateofbirth> \<date>1954 12 25\</date> \</dateofbirth> \<address> \<addressline1>45 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>7701630\</ncpdpid> \<npi>7878787878\</npi> \</identification> \<businessname>main street pharmacy\</businessname> \<communicationnumbers> \<primarytelephone> \<number>6152205656\</number> \</primarytelephone> \</communicationnumbers> \</pharmacy> \<prescriber> \<nonveterinarian> \<identification> \<npi>1999999992\</npi> \</identification> \<names> \<name> \<lastname>jones\</lastname> \<firstname>mark\</firstname> \</name> \</names> \<address> \<addressline1>211 central road\</addressline1> \<city>jonesville\</city> \<stateprovince>tn\</stateprovince> \<postalcode>37777\</postalcode> \<countrycode>us\</countrycode> \</address> \<communicationnumbers> \<primarytelephone> \<number>6152219800\</number> \</primarytelephone> \</communicationnumbers> \</nonveterinarian> \</prescriber> \<medicationprescribed> \<drugdescription>calan sr 240mg oral tablet\</drugdescription> \<product> \<drugcoded> \<ndc>00025189131\</ndc> \</drugcoded> \</product> \<quantity> \<value>60\</value> \<codelistqualifier>38\</codelistqualifier> \<quantityunitofmeasure> \<code>c48542\</code> \</quantityunitofmeasure> \</quantity> \<writtendate> \<date>2024 04 29\</date> \</writtendate> \<substitutions> \<substitutions>0\</substitutions> \</substitutions> \<numberofrefills>2\</numberofrefills> \<sig> \<sigtext>take one tablet two times a day until gone\</sigtext> \</sig> \</medicationprescribed> \</newrx> \</body> \</message>