Update Data

You can also update your resources on the 1up FHIR Server. You can update a single resource or multiple resources.

Update a Single Resource

To update a FHIR® resource that's already been created, you can send a POST request to the 1up Resource FHIR ID with the modified resource in the body of the request.

Update Multiple Resources

To update multiple FHIR resources that have already been created, you can send a subsequent POST request to the base FHIR version endpoint with the modified resources in the body of the request in a Bundle. For example:

You can submit a bundle of up to 20 FHIR resources at one time. Each individual FHIR resource in the bundle will be posted independently and each will go through Resource Validation. If you POST a bundle of 10 updated resources, and nine pass validation, and one has validation errors, the nine valid updated resources are sent to the FHIR Server, and the invalid resource is not.

Resources that are updated are also validated automatically. Only valid FHIR resources are stored in the 1up FHIR Server. For more information, see Validate FHIR Resources.

You can POST the bundle using either an OAuth 2.0 Access Token or client credential headers.