Workflow or API calls:
Workflow or API calls:
I am working on Bundles and Transactions o n a secure sandbox environment.
I am trying to create a patient resource with Bundles and Transactions.
when every i am trying to post this trancation i am gettinng below error.
link:- https://fhir-ehr.sandboxcerner.com/r4/50b1ec08-c639-42cc-8420-21bad924563e/Patient
error:-
"code": "MSG_RESOURCE_TYPE_MISMATCH",
"display": "Resource Type Mismatch"
}
https://fhir-ehr.sandboxcerner.com/r4/50b1ec08-c639-42cc-8420-21bad924563e/
error:- 404 not found
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"resource": {
"resourceType": "Patient",
"identifier": [
{
"assigner": {
"reference": "Organization/675844"
}
}
],
"name": [
{
"use": "official",
"given": ["MCr5"],
"family": "UnknownMCR5"
}
],
"gender": "male",
"birthDate": "1980-01-01",
"address": [
{
"use": "home",
"line": ["123 Main St"],
"city": "Anytown",
"state": "AnyState",
"postalCode": "12345"
}
]
},
"request": {
"method": "POST",
"url": "Patient"
}
}
]
}
ERROR:-
"text": "Resource type does not match resource."
},
"diagnostics": "resourceType: not 'Patient'",
"expression": [
"Patient.resourceType"
]
Reminder: If this is a client domain—not the public sandbox—do not include API request data.
Expected Result:
Actual Result:
X-Request-Id / Cerner-Correlation-Id:
Expected Result:
Actual Result:
X-Request-Id
/ Cerner-Correlation-Id
: