diff --git a/tools/js/i2b2-msg-parser/SHRINE-1522.xml b/tools/js/i2b2-msg-parser/SHRINE-1522.xml
new file mode 100644
index 000000000..3cf6d6443
--- /dev/null
+++ b/tools/js/i2b2-msg-parser/SHRINE-1522.xml
@@ -0,0 +1,508 @@
+
+
+
+
+ https://cbmi-lab.med.harvard.edu:8443/shrine-test/rest/i2b2/request
+
+
+
+ i2b2_QueryTool
+ 1.6
+
+
+ PHS
+
+
+ i2b2_DataRepositoryCell
+ 1.6
+
+
+ PHS
+
+
+ i2b2demo
+ ij22
+ SessionKey:SZCLAmJLisD6xxY132Fj
+
+
+ Q04
+ EQQ
+
+
+ 8dZe5xH52pLhxMqB2Em27
+ 0
+
+
+ P
+ I
+
+ messageId
+ SHRINE
+
+
+ 180000
+
+
+
+ ij22
+ 0
+ 0
+ optimize_without_temp_table
+ CRC_QRY_runQueryInstance_fromQueryDefinition
+
+
+
+ (762.0) Placent@16:07:51
+ ANY
+ 0
+ 1
+
+ 1
+ 100
+ 0
+ ANY
+ 1
+ -
+ 5
+ (762.0) Placenta previa affecting fetus or newborn
+ \\SHRINE\SHRINE\Diagnoses\Certain conditions originating in the perinatal period (760-779.99)\Maternal causes of perinatal morbidity and mortality (760-763.99)\Fetus or newborn affected by complications of placenta, cord, and membranes (762)\(762.0) Placenta previa affecting fetus or newborn\
+ Diagnoses\Certain conditions originating in the perinatal period (760-779.99)\Maternal causes of perinatal morbidity and mortality (760-763.99)\Fetus or newborn affected by complications of placenta, cord, and membranes (762)\(762.0) Placenta previa affecting fetus or newborn\
+ ENC
+ LA
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+ 235
+
+
+
+
+ 1.1
+ 2.4
+
+ SHRINE
+ 1.3-compatible
+
+
+ SHRINE
+
+ 2011-04-08T16:21:12.251-04:00
+
+
+
+
+
+ DONE
+
+
+
+
+
+ DONE
+
+
+ 8107823587021662818
+ (762.0) Placent@16:07:51
+ ij22
+ SHRINE
+ 2016-05-31T16:07:59.385-04:00
+
+
+ (762.0) Placent@16:07:51
+ ANY
+ 0
+ 1
+
+ 1
+ 0
+ ANY
+ 1
+ -
+ 5
+ \\SHRINE\SHRINE\Diagnoses\Certain conditions originating in the perinatal period (760-779.99)\Maternal causes of perinatal morbidity and mortality (760-763.99)\Fetus or newborn affected by complications of placenta, cord, and membranes (762)\(762.0) Placenta previa affecting fetus or newborn\
+ \\SHRINE\SHRINE\Diagnoses\Certain conditions originating in the perinatal period (760-779.99)\Maternal causes of perinatal morbidity and mortality (760-763.99)\Fetus or newborn affected by complications of placenta, cord, and membranes (762)\(762.0) Placenta previa affecting fetus or newborn\
+ \\SHRINE\SHRINE\Diagnoses\Certain conditions originating in the perinatal period (760-779.99)\Maternal causes of perinatal morbidity and mortality (760-763.99)\Fetus or newborn affected by complications of placenta, cord, and membranes (762)\(762.0) Placenta previa affecting fetus or newborn\
+ ENC
+
+ LA
+ false
+
+
+
+
+
+
+ -1
+ 8107823587021662818
+ ij22
+ SHRINE
+
+ 6
+ COMPLETED
+ COMPLETED
+
+
+
+ 39397
+ -1
+ BIDMC Test
+
+ 4
+ PATIENT_COUNT_XML
+ CATNUM
+ LA
+ Number of patients
+
+ 13
+ 2016-05-31T16:07:55.933-04:00
+ 2016-05-31T16:07:55.937-04:00
+
+ FINISHED
+ 3
+ FINISHED
+
+
+ PATIENT_AGE_COUNT_XML
+
+ 0-9 years old
+ -1
+
+
+ 10-17 years old
+ -1
+
+
+ 18-34 years old
+ -1
+
+
+ 35-44 years old
+ -1
+
+
+ 45-54 years old
+ -1
+
+
+ 55-64 years old
+ -1
+
+
+ 65-74 years old
+ -1
+
+
+ 75-84 years old
+ -1
+
+
+ >= 65 years old
+ -1
+
+
+ >= 85 years old
+ -1
+
+
+ Not recorded
+ -1
+
+
+
+ PATIENT_GENDER_COUNT_XML
+
+ Female
+ -1
+
+
+ Male
+ -1
+
+
+ Unknown
+ -1
+
+
+
+ PATIENT_RACE_COUNT_XML
+
+ AMERICAN INDIAN/ALASKA NATIVE
+ -1
+
+
+ ASIAN
+ -1
+
+
+ BLACK/AFRICAN AMERICAN
+ -1
+
+
+ HISPANIC OR LATINO
+ -1
+
+
+ NATIVE HAWAIIAN OR OTHER PACIFIC ISLAND
+ -1
+
+
+ OTHER
+ -1
+
+
+ PATIENT DECLINED TO ANSWER
+ -1
+
+
+ UNKNOWN/NOT SPECIFIED
+ -1
+
+
+ WHITE
+ -1
+
+
+
+ PATIENT_VITALSTATUS_COUNT_XML
+
+ Deceased
+ -1
+
+
+
+
+ 15855
+ -1
+ CHB Test
+
+ PATIENT_COUNT_XML
+
+ -1
+ 2016-05-31T16:07:55.000-04:00
+ 2016-05-31T16:07:56.000-04:00
+
+ ERROR
+ ERROR
+
+
+
+ 1303
+ -1
+ PHS Test
+
+ 4
+ PATIENT_COUNT_XML
+ CATNUM
+ LA
+ Number of patients
+
+ 453
+ 2016-05-31T20:07:54.673Z
+ 2016-05-31T20:07:56.177Z
+
+ FINISHED
+ 3
+ FINISHED
+
+
+ PATIENT_AGE_COUNT_XML
+
+ 0-9 years old
+ 192
+
+
+ 10-17 years old
+ 105
+
+
+ 18-34 years old
+ 25
+
+
+ 35-44 years old
+ 65
+
+
+ 45-54 years old
+ 48
+
+
+ 55-64 years old
+ -1
+
+
+ 65-74 years old
+ -1
+
+
+ 75-84 years old
+ -1
+
+
+ > 85 years old
+ -1
+
+
+ >= 65 years old
+ -1
+
+
+ >= 85 years old
+ -1
+
+
+ zz not recorded
+ -1
+
+
+
+ PATIENT_GENDER_COUNT_XML
+
+ Female
+ 292
+
+
+ Male
+ 160
+
+
+ Unknown
+ -1
+
+
+
+ PATIENT_RACE_COUNT_XML
+
+ Aleutian
+ -1
+
+
+ American Indian
+ -1
+
+
+ Asian
+ 33
+
+
+ Asian Pacific Islander
+ -1
+
+
+ Black
+ 21
+
+
+ Dominican
+ -1
+
+
+ Eskimo
+ -1
+
+
+ European
+ -1
+
+
+ Hawaiian
+ -1
+
+
+ Hispanic
+ 36
+
+
+ Indian
+ -1
+
+
+ Middle Eastern
+ -1
+
+
+ Multiracial
+ -1
+
+
+ Native American
+ -1
+
+
+ Navajo
+ -1
+
+
+ Not recorded
+ 59
+
+
+ Oriental
+ -1
+
+
+ Other
+ 38
+
+
+ Vietnamese
+ -1
+
+
+ White
+ 241
+
+
+
+ PATIENT_VITALSTATUS_COUNT_XML
+
+ Deceased
+ -1
+
+
+ Deferred
+ -1
+
+
+ Living
+ 452
+
+
+ Not recorded
+ -1
+
+
+
+
+ 0
+ -1
+ DFCI
+
+
+
+ 0
+
+ ERROR
+ Hub received a fatal error response
+
+ net.shrine.adapter.client.HttpErrorCodeFromAdapter
+ Tue May 31 16:07:54 EDT 2016 on cbmi-lab Adapter
+ Hub received a fatal error response
+ Hub received error code 503 from the adapter at https://dfci.partners.org/shrine-test/rest/adapter/requests
+ Http response body was <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>503 Service Temporarily Unavailable</title> </head><body> <h1>Service Temporarily Unavailable</h1> <p>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p> <hr> <address>Apache/2.2.3 (CentOS) Server at 155.52.48.107 Port 443</address> </body></html>
+
+
+
+
+
+
\ No newline at end of file