create
Creates one or more FHIR Resources in the local storage. FHIR Engine requires all stored resources to have a logical Resource.id. If the id
is specified in the resource passed to create, the resource created in FhirEngine
will have the same id
. If no id
is specified, FhirEngine
will generate a UUID as that resource's id
and include it in the returned list of IDs.
Return
A list of logical IDs of the newly created resources.
Parameters
resource
The FHIR resources to create.