HAPI FHIR Server

/Patient/{id}/$patient-import-doc

post
http://localhost:8080/fhir/R4/Patient/{id}/$patient-import-doc

Path Parameters

idstringrequired

The resource ID

>= 1

Example:123

Body

application/fhir+json

FHIR Resource

FHIR Resourceobject

Response

200

Success

FHIR-JSON-RESOURCE

FHIR-JSON-RESOURCEobject

A FHIR resource

post/Patient/{id}/$patient-import-doc

Body

{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "document"
    }
  ]
}
{ "resourceType": "Parameters", "parameter": [ { "name": "document" } ] }
 
curl --request POST \
  --url 'http://localhost:8080/fhir/R4/Patient/123/$patient-import-doc' \
  --header 'Accept: application/fhir+json, application/fhir+xml' \
  --header 'Authorization: Bearer ' \
  --header 'Content-Type: application/fhir+json' \
  --data '{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "document"
    }
  ]
}'
200
{}