Stream: implementers
Topic: POST Bundle and supported profiles
Kevin Mayfield (Apr 25 2018 at 12:03):
Within the CapabilityStatement how would I list which profiles my POST Bundle endpoint supports?
Kevin Mayfield (Apr 25 2018 at 12:08):
For example I support this Bundle profile https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Document-Bundle-1 (for FHIR Document) and have the potential for supporting other profiles.
Kevin Mayfield (Apr 25 2018 at 12:10):
I would also have this for other resources. For RUD (of CRUD) rest operations on Patient I would support https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1 but for Create I may support many other profiles (this profile has a number of child profiles)
Kevin Mayfield (Apr 25 2018 at 12:18):
it's similar to supportedProfile in R4 but this only applies to specific interaction types (mainly TypeRestfulInteraction.create)
Grahame Grieve (Apr 25 2018 at 12:41):
I'm not sure. what does 'support' mean in this context?
Kevin Mayfield (Apr 25 2018 at 12:53):
support would mean I accept Bundles, Patients etc of these types(/profiles).
Grahame Grieve (Apr 25 2018 at 13:00):
so isn't this what CapabilityStatement.rest.resource.supportedProfile is for?
Kevin Mayfield (Apr 25 2018 at 13:03):
So CapabilityStatement.rest.resource.profile means this is the main profile I support (and any queries or read will only get resources from this profile) but for create/update I will also accept any from the the supportedProfiles?
Kevin Mayfield (Apr 25 2018 at 13:04):
That works for me, if my understanding is correct.
Grahame Grieve (Apr 25 2018 at 13:04):
CapabilityStatement.rest.resource.profile is the superset of what your system supports.
Grahame Grieve (Apr 25 2018 at 13:05):
CapabilityStatement.rest.resource.supportedProfile is the actual sets that you support on the end point - usually these are narrower and match particular use cases. note, though, that there's some extra obligations associated with naming a profile in CapabilityStatement.rest.resource.supportedProfile
Last updated: Apr 12 2022 at 19:14 UTC