The patient set request / response message structure is divided into three parts:
- PSMHeader
- Request
- Response
For a request message, the <psmheader> and <request> sections are required; while a response message requires only the <response> section.
<i2b2:message_body>
<crc:psmheader>
<request_type></request_type>
</crc:psmheader>
<crc:request>
…
</crc:request>
<crc:response>
…
</crc:response>
</i2b2:message_body>
Element Name | Description |
psmheader | The header has a <request_type> element, which will carry the operation name. Each operation name has a specific request / response combination.
|
request | The <request> is modeled as an object using a polymorphic approach. All operation specific request objects inherit a base RequestType object containing a request_type attribute as shown in the object model diagram in the next section. |
response | The <response> is also modeled as an object using a polymorphic approach. All operation specific response objects inherit a base ResponseType object containing a StatusType attribute as shown in the object model diagram in the next section. |