HAPI FHIR Server

create-type: Create a new User instance

post
http://localhost:8080/fhir/R4/User

Body

FHIR-JSON-RESOURCE

FHIR-JSON-RESOURCEobject

A FHIR resource

Response

200

Success

FHIR-JSON-RESOURCE

FHIR-JSON-RESOURCEobject

A FHIR resource

post/User

Body

{
  "resourceType": "User",
  "meta": {
    "profile": [
      "https://api.healthgorilla.com/fhir/StructureDefinition/User"
    ]
  }
}
{ "resourceType": "User", "meta": { "profile": [ "https://api.healthgorilla.com/fhir/StructureDefinition/User" ] } }
 
curl --request POST \
  --url http://localhost:8080/fhir/R4/User \
  --header 'Accept: application/fhir+json, application/fhir+xml' \
  --header 'Authorization: Bearer ' \
  --header 'Content-Type: application/fhir+json' \
  --data '{
  "resourceType": "User",
  "meta": {
    "profile": [
      "https://api.healthgorilla.com/fhir/StructureDefinition/User"
    ]
  }
}'
200
{}