nhsconnect / gpconnect

GP Connect API specification
https://digital.nhs.uk/services/gp-connect/gp-connect-specifications-for-developers
Apache License 2.0
34 stars 26 forks source link

Search for free slots - resource profile metadata #159

Closed briandiggle closed 7 years ago

briandiggle commented 7 years ago

The example response XML does not include profile metadata for any of the resources returned despite the fact that all contained resources have gp connect profiles.

Add profile in section for each resource to ensure example complies with advice elsewhere on the spec at https://nhsconnect.github.io/gpconnect/development_fhir_api_guidance.html#resource-metadata

michaelmeasures commented 7 years ago

@briandiggle just been looking over the Appointment response example XML in the GitHub pack and they do have the resource metadata populated, including the profile details. However, I did notice that the request XML payload for "Book an Appointment" is missing the profile details. Just wondering if you've noticed the problem elsewhere?

briandiggle commented 7 years ago

I'm referring to https://nhsconnect.github.io/gpconnect/appointments_use_case_search_for_free_slots.html#payload-response-body

E.g. the contained resource Organisation/1 has the following meta (without profile):

"meta": { "versionId": "1469444400000", "lastUpdated": "2016-07-25T12:00:00.000+01:00" }