Workflow or API calls:
I am using curl to create Patient in Sandbox , my curl command is:
curl -i -X POST -H "Accept: application/json+fhir" \
--header 'Content-Type: application/fhir+json'
--data '{ resourceType: "Patient", id: "2" }' \
"https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Patient"
But the response is
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"not-found","details":{"text":"Not Found"}}]}
And I change to use the Post data in this URL :
https://docs.oracle.com/en/industries/health/millennium-platform-apis/mfrap/op-patient-post.html
Get the same response.
Would you please show me what is the corrent command line for using curl to create patient ?
Background Information:
Failure to provide answers will impact our ability to respond in a timely and effective manner
Developer questions:
Are you an OPN Member? No
Have you signed up to be in the Healthcare Developer Track? Yes
Are you a registered Code Program member? Yes
Does your App have a presence on the Oracle Healthcare App Marketplace? No
Are you developing on behalf of an Oracle Health client?
If so, which client:
Application's Client ID and App ID, if relevant:
Client id: d28609c0-388f-4d71-b620-d6bdd0b9b793
App id: 3e8e7e55-bd2f-4a99-b15b-cf81c53e0bd9
Expected Result:
Cache-Control: no-cache
Content-Length: 0
Content-Type: text/html
Date: Wed, 27 Mar 2019 17:23:14 GMT
Etag: W/"0"
Location: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Patient/5786010
Last-Modified: Wed, 27 Mar 2019 17:23:14 GMT
Vary: Origin
X-Request-Id: 11111111111111111111111111111111
opc-request-id: /4B7BCF043117301F1B647EF553C7F250/A326F573558AD7570F63BFC19D88739A
Actual Result:
HTTP/1.1 404 Not Found
Content-Type: application/fhir+json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Date: Sun, 24 Nov 2024 07:27:38 GMT
Cache-Control: no-cache
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Vary: Accept,Origin
X-Runtime: 0.002450
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Referrer-Policy: strict-origin-when-cross-origin
X-Request-Id: /5E33FEA315E6B667001D10B7F31F4EA0+gyMi_kpP7
Server-Response-Time: 2.471924
Strict-Transport-Security: max-age=631152000
opc-request-id: /5E33FEA315E6B667001D10B7F31F4EA0/51C928C893CF4D38D0DC8FDEE2E071DF
X-Xss-Protection: 1; mode=block
X-Cache: Error from cloudfront
Via: 1.1 e5b7d9cde9e4f830c5a5e42a91bf26e4.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: TPE54-P1
X-Amz-Cf-Id: IK8JdthAtzgGnj8RlDjS0T48B2-80cBOzV-BNvHVSAhSUWtcucZ0Gg==
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"not-found","details":{"text":"Not Found"}}]}