You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://developer.nhs.uk/apis/gpconnect-documents-1-0-0/accessrecord_documents_development_search_patient_documents.html indicates that in response to a query about a patient’s documents, the provider should return a document reference. https://developer.nhs.uk/apis/gpconnect-documents-1-0-0/accessrecord_documents_development_documents.html shows that the document reference resource has a field for content.attachment.data which is Required/Optional. What does this mean? If a consumer has just queried the patient’s documents, then the provider shouldn’t be returning the actual data for all the documents – there can be tens/hundreds of documents on one patient’s record and so a message containing the data for all the documents of a patient could be huge. Surely in response to a query, we should not send the actual data for the documents. The actual data should only be sent once the consumer has requested to retrieve a specific document.
The text was updated successfully, but these errors were encountered:
Agree with you Annelie. Attachment.data field should not be populated when it is a response to search documents query.
Attachment.data field should be populated when it is a response to retrieve a binary of the given document. We will update the specs to reflect this data population requirement.
TPP - Annelie
https://developer.nhs.uk/apis/gpconnect-documents-1-0-0/accessrecord_documents_development_documents.html shows that the document reference resource has a field for content.attachment.data which is Required/Optional. What does this mean? If a consumer has just queried the patient’s documents, then the provider shouldn’t be returning the actual data for all the documents – there can be tens/hundreds of documents on one patient’s record and so a message containing the data for all the documents of a patient could be huge. Surely in response to a query, we should not send the actual data for the documents. The actual data should only be sent once the consumer has requested to retrieve a specific document.
The text was updated successfully, but these errors were encountered: