-
Notifications
You must be signed in to change notification settings - Fork 7
MHS Adaptor - Be able to get the attachments and the attachment attributes from the MHS Adaptor #163
Comments
This is probably around the fact that, for GP2GP messaging, some of the business domain messaging has leaked out into the ebXML wrapper. This is lost presently as the MHS Adaptor throws away the ebXML wrapper information, and does not pass it back to the client. |
@robert-joscelyne @fishey2 Here we have the manifest which describes payload and attachments
and the attachment itself at the bottom
(translating to which ends up on queue as following json (I'm omitting the payload as it's large)
What else would you need here in reference to attachments array? Apart from that I wonder about the I think the less "custom" format we design here the better. I would prefer the end user to parse and process the data whatever way they like. |
The example you have given is correct, and the information extracted correctly. This did not seem to work previously, so that is great news. One comment that i'd make regarding the above is: When dealing with larger attachments > 5MB, it is quite likely that we may need to stitch multiple attachments back together from different messages. Therefore, it might be better to do no processing on the message at all, so we instead get something similar to:
Regarding #159, we expect to have things in the Manifest that are not part of the same multipart message. These instead will be part of future messages - which all make up the overall health-record. Therefore the information we have in the Manifest is still required in addition to what you have provided with the attachment. |
@fishey2 In #159 I'm not talking about skipping manifest but instead adding whole SOAP message so end user of the queue will extract anything they need. |
Yes, please leave the attachments encoded. I also understand the plan for adding the SOAP envelope into the response body. Skipping the description field from the attachments is not advised, as it is about the only thing we have to be able to link the attachment to the entry in the manifest effectively. Considering in a lot of cases, the Another reason would be if the attachment is received as part of a It is best for us to maintain as much data about the attachments and overall health-record as possible. |
@fishey2 |
Apologies @bartek-sarul, you are correct. I was thinking it was part of the multipart data. In that case, we don't need that to come with the attachments as it is part the Manifest information only. |
Any Attachments in the GP2GP message are not available is the json.
The text was updated successfully, but these errors were encountered: