ADT Message Examples
10 min
rle enrollment example incoming adt message example the message below is an example of an incoming adt message that could be used to load the rle mpi msh|^ \\&|p00000000000000|urn\ oid\ urn\ oid 2 16 840 1 555555 3 5555|s00000000000004|2 16 840 1 113883 3 2054 2 1|20181004100753||adt^a01|20181004100753hs100002510402|p|2 5 1| evn|a01|20181004100640|20181004100640|01||20181004100640|| pid|1||25104^^^2 16 840 1 55555 3 3490 4 5555 2|25104^^^2 16 840 1 55555 3 3490 4 5555 2| smith^john^r ||19200101|m||american indian or alaska native|123 main street^^louisville^ky^40202^^patient's home/residence^^||6195551990|| pd1|||||||||||y|| pv1|1|o|main street agency^^^abc\&branch hs1^^^^^hospice 1|readmission|||1912052614^wrobzzzleski^cheri^^^^md|^^^^^^||||||||||hospice|28027||||||||||||||||||||||current|||20180905000000||||||||| dg1|1|icd10|c20^malignant neoplasm of rectum|malignant neoplasm of rectum|20180826000000|o|||||||||1||||| ack example the message below is an example of ack message sent in response to the rle enrollment message above msh|^ \\&|s00000000000004|2 16 840 1 113883 3 2054 2 1|p00000000000000|urn\ oid 2 16 840 1 555555 3 5555|20181004090753 868 0500||ack^a01^ack|1|p|2 5 1 msa|aa|20181004100753hs100002510402 patient activity example incoming adt message example the message below is an example of an incoming adt message used to notify surescripts rle of activity on a patient seen at the sender’s location msh|^ \\&|p00000000000000|urn\ oid 1 2 555 666 77|rlenotification|2 16 840 1 113883 3 2054 2 1|20181017141403||adt^a01|df328c59 40b2 4890 acfd 49aa436ea2f1|p|2 5 1| evn|a01|20181017141156|20181017141156|01||20181017141156|| pid|1||987654321^^^2 16 840 1 55555 3 5555 4 3333 2|12554^^^2 16 840 1 44444 3 4444 4 4444 2|miller^anne^||19881103|f|||123 main street^^louisville^ky^40202^^^^||6195551990|| pd1|||||||||||y|| pv1|1|o|patientlocation^^^treatmentfacility^^^^^facilitydescription|new admission|||1444448870^zzztestdoctor^sarah^^^^md|^^^^^^|1255887774^zzzjones^lucas^^^^m d |||||||||home health|visitnumber12345||||||||||||||||||||||current|||20180905000000||||||||| dg1|1|icd10|c26 0^malignant neoplasm of intestinal tract, part unspecified|malignant neoplasm of intestinal tract, part unspecified|20180905000000|o|||||||||1||||| ack example the message below is an example of an ack message sent in response to the patient activity message above msh|^ \\&|rlenotification|2 16 840 1 113883 3 2054 2 1|p00000000000000|urn\ oid 1 2 555 666 77|20181004075459 212 0500||ack^a01^ack|939|p|2 5 1 msa|aa|df328c59 40b2 4890 acfd 49aa436ea2f1 outgoing adt message example the message below is an example of an outgoing message surescripts would generate in response to the incoming inbound patient activity message example shown above the differences between the inbound and outbound patient activity message examples include the following \<font color="#2166ae"> home community id \</font> of the intended recipient is in the receiving facility (msh 6) a \<font color="#f97316"> new message id \</font> is included in pid 3 for the outbound notification there be 2 or more patient identifiers the first is the receiving system’s patient id and assigning authority at the location where the system has enrolled the patient for notifications the second is the \<font color="#6b21a8"> sending system’s patient id and assigning authority \</font> at the location where the patient event occurred if the sending system has multiple patient ids they will be included here as well the recipient patient id would be used to match the patient in the recipient’s system the \<font color="#6b21a8"> sender’s patient id and assigning authority \</font> would be used to send an xca query or fhir® document search for the patient any trailing empty fields or empty sub fields (|| or ^^^) are not included on the outgoing adt message msh|^ \\&|p00000000000000|2 16 840 1 113883 3 2054 2 1|rlenotification| \<font color="#2166ae"> urn\ oid 1 2 555 666 77 \</font> |20181017141403||adt^a01| \<font color="#f97316"> 390c60c6 3d35 4983 8ae0 ebfc4f54922b \</font> |p|2 5 1| evn|a01|20181017141156|20181017141156|01||20181017141156|| pid|1||1400001^^^2 16 999 7 1111 1 \<font color="#6b21a8"> 987654321^^^2 16 840 1 55555 3 5555 4 3333 2 \</font> |12554^^^2 16 840 1 44444 3 4444 4 4444 2|miller^anne||19881103|f|||123 main street^^louisville^ky^40202||6195551990|| pd1|||||||||||y|| pv1|1|o|patientlocation^^^treatmentfacility^^^^^facilitydescription|new admission|||1444448870^zzztestdoctor^sarah^^^^md||1255887774^zzzjones^lucas^^^^m d |||||||||home health|visitnumber12345||||||||||||||||||||||current|||20180905000000||||||||| dg1|1|icd10|c26 0^malignant neoplasm of intestinal tract, part unspecified|malignant neoplasm of intestinal tract, part unspecified|20180905000000|o|||||||||1||||| patient merge example incoming adt message example the message example below is of an incoming adt message used to merge two patient ids into a single patient id msh|^ \\&|p00000000000000|urn\ oid 2 16 840 1 55555 3 5555|s00000000000004|2 16 840 1 113883 3 2054 2 1|20160902233701||adt^a40|1538657421899|p|2 5 1| evn|a40|20160902233701||||20160902604701|| pid|1||fv0eqnwnax^^^2 16 840 1 113883 4 391 33 1701d^^^||ek^hanna^3ocxo3k8nn||19450608|f||caucasian|3500 cedar ave^^minneapolis^mn^55407||6125289462^^^^^^|||single|| pd1||||^bob^ross^m^^^^^val||||||||| mrg|v7mq4r0o59^^^&2 16 840 1 113883 4 391 33 1701d^||||||| ack example the message example below is of an ack message sent in response to the patient merge message example above msh|^ \\&|s00000000000004|2 16 840 1 113883 3 2054 2 1|p00000000000000|urn\ oid 2 16 840 1 55555 3 5555|20181004075021 969 0500||ack^a40^ack|610|p|2 5 1| msa|aa|1538657421899| unlink a patient example incoming adt message the message example below is of an incoming adt message used to unlink a patient from the surescripts mpi msh|^ \\&|p00000000000000|urn\ oid 3 3 3 3 3 3 3333 3 3 3333|rlenotificationenrollment|2 16 840 1 113883 3 2054 2 1|20180607154500|getkmr|adt^a37|masadt11528744550|p|2 5 1| evn|adt^a37|20180611604701||||20180611604701|| pid|1|3117101508|3117101508^^^&2 16 840 1 113883 3 333^^^&2 16 840 1 113883 4 391 33|222|devinttwo^kelli^||19860317|f|||a37 kelli court ^^locker^nd^65886||6511112222^^^^^^|| pd1|||^care^primary^m^^^^^npi|||||||||| pv1|1|o|||||^attending^carl^n^^^^^npi||^consulting^carl^l|||||||||home health|visitnumber12345||||||||||||||||||||||current|||20180905000000||||||||| ack example the message example below is of an ack message sent in response to the message above msh|^ \\&|rlenotificationenrollment|2 16 840 1 113883 3 2054 2 1|p00000000000000|urn\ oid 3 3 3 3 3 3 3333 3 3 3333|20180611141550 549 0500||ack^a37^ack|102|p|2 5 1| msa|aa|masadt11528744550| discharge a patient example incoming adt message the message example below is of an incoming adt message used to notify a vendor that there was activity of a patient discharge on a patient they enrolled in rlenotifications msh|^ \\&||urn\ oid 2 16 840 1 113883 3 2054 2 1|rlenotification|2 16 840 1 113883 3 2054 2 1|20171025123115|cmb220|adt^a03^adt a03|27558|p|2 5 1| evn|a03|20171025123115||adt event|^skyjumper^luke^^^^^^ohsa^^^^^rmh1|20171025123100|| pid|1||123456789^^^2 16 840 1 113883 3 2054 3 1||smith^john^r||19520318|m|||406 w\ dandridgest^suite a^anywhere^ar^77777||(651)123 4567^^^name\@domain com|(612)999 8888| pd1|||taylor hospital^^1014100|26172^jones^jenny^sue^^^^^starprov^^^^starprov||||||||| pv1|1|inpatient|420^4201^01^dmh1^d^^^^^^depid|el|||22897^inc^central^taylor primary care^^^^^starprov^^^^starprov|||internal med||||phys/clinic|||11178^deep^luke^cage^^^^^starprov^^^^starprov||6097431924|self||||||||||||||||home||||||||20171025102421|20171025123100|||||24172980001||| ack example the message example below is of an ack message sent in response to the patient discharge message above msh|^ \\&|rlenotification|2 16 840 1 113883 3 2054 2 1||urn\ oid 2 16 840 1 113883 3 2054 2 1|20180308092622 522 0600||ack^a03^ack|401|p|2 5 1| msa|aa|27558| error examples error example 1 missing date/time stamp the message example below is of an error message that would be returned in response to an rle enrollment request that did not include a date/time stamp msh|^ \\&|rlenotificationenrollment|2 16 840 1 113883 3 2054 2 1||urn\ oid 3 3 3 3 3 3 3333 3 3 3333|20180606153116 825 0500||ack^a01^ack|5|p|2 5 1| msa|ar|060100a01405 err|||207^application internal error^hl70357^^^^^^validation failed 'null' required to be a hl7 datetime string and a valid datetime value (e g no month greater than 12) (date/time of message) at msh 7(0) 1 1|e| error example 2 missing message control id the message example below is of an error message that was sent in response to an incoming adt message that did not include the message control id msh|^ \\&|rlenotificationenrollment|2 16 840 1 113883 3 2054 2 1||urn\ oid 3 3 3 3 3 3 3333 3 3 3333|20180606153400 562 0500||ack^a08^ack|10|t|2 5 1 msa|ar err|||207^application internal error^hl70357^^^^^^validation failed 'null' required to be not empty (message control id) at msh 10(0) 1 1|e | error example 3 missing assigning authority the message example below is of an error message that was sent in response to an incoming adt message that did not include the assigning authority information msh|^ \\&|rlenotificationenrollment|2 16 840 1 113883 3 2054 2 1||||urn\ oid 3 3 3 3 3 3 3333 3 3 3333|20180606153948 552 0500||ack^a31^ack|17|t|2 5 1 msa|ar|060100a311805 err|||207^application internal error^hl70357^^^^^^validation failed assigning authority is missing at pid 3 4|e|