Interactions
A system implementing the use case as a RESTful FHIR server needs to implement the interactions listed in this section. A client application can use the interactions to request data from the system, and can expect the system to respond with that data conforming to the profiles listed in the Profiles section.
Create, Read, Update and Delete
The system will implement the standard CRUD interaction on all resource types listed in the Profiles section. For example:
Interaction | HTTP Request | Response |
---|---|---|
create | POST [fhir_endpoint]/Patient |
201 - Created |
read | GET [fhir_endpoint]/Patient/[id] |
200 - OK |
update | PUT [fhir_endpoint]/Patient/[id] |
200 - OK |
delete | DELETE [fhir_endpoint]/Patient/[id] |
204 - No Content |
When the data that is sent to the system on a create or update interaction does not conform to the Profiles for this use case, the system will respond with a 400 - Bad Request
, and will include an OperationOutcome resource to relay the error.
Searching
The system will support the following search interactions:
TODO: add supported search parameters and example search syntax