Skip to main content

Create

The create operation is used to create a new resource on the server. The server will return the created resource with an id and meta information. For R4 Endpoint we support create operation for all data models under the R4 Data model.

API

R4

iguhealth api create r4 --data '$MY_RESOURCE'

R4B

iguhealth api create r4b --data '$MY_RESOURCE'

Example

The following is an example of a create response for a Patient resource.

iguhealth api create r4 --data '{"resourceType" :"Patient"}'