HAPI FHIR Server

create-type: Create a new Condition instance

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

Body

FHIR-JSON-RESOURCE

FHIR-JSON-RESOURCEobject

A FHIR resource

Response

200

Success

FHIR-JSON-RESOURCE

FHIR-JSON-RESOURCEobject

A FHIR resource

post/Condition

Body

{
  "resourceType": "Condition"
}
{ "resourceType": "Condition" }
 
curl --request POST \
  --url http://localhost:8080/fhir/R4/Condition \
  --header 'Accept: application/fhir+json, application/fhir+xml' \
  --header 'Authorization: Bearer ' \
  --header 'Content-Type: application/fhir+json' \
  --data '{
  "resourceType": "Condition"
}'
200
{}