nhsconnect / gpconnect-provider-testing

GP Connect automated test suite for API providers
Apache License 2.0
11 stars 5 forks source link

Conformance Profile Mandatory Content #1

Closed james-answer closed 7 years ago

james-answer commented 7 years ago

Currently there is no indication of which fields are mandatory and what format data those fields should contain.

Specification Page: https://nhsconnect.github.io/gpconnect/foundations_use_case_get_the_fhir_conformance_profile.html#api-usage

Currently we have test scenario's to test the following:

09/12/2016 - Added

All other mandatory or optional fields and formats should be specified on the GP Connect site.

michaelmeasures commented 7 years ago

@james-answer do you have a reference for the first point on using plain xml and json content types. I know this was supported in DSTU1 but I believe it was deprecated in DSTU2.

james-answer commented 7 years ago

It is still refered to in the resource detailed description section:

https://www.hl7.org/fhir/conformance-definitions.html#Conformance.format

It may be that everywhere else it has been depricated but they have just not updated this to match the changes.

michaelmeasures commented 7 years ago

@james-answer at the moment I think the SSP may be more strict and only allow the FHIR XML and FHIR JSON mime types (as that's what I understood at the time was specified to be declared in the Conformance Profile). Having looked back over the FHIR specification it does seem that they're more permissive. I think I'll likely have to raise a request under NWR-201 to have the other mime types added.

michaelmeasures commented 7 years ago

Closing out this issue as specification changes are to be handled under the main 'gpconnect' issues section.