Skip to Main Content

R4 APIs (Millennium)

Announcement

For information related to the Oracle Partner Network (OPN) Industry Healthcare Track please visit our OPN Industry Healthcare Program page.

For specific questions related to Oracle Partner Network (OPN), please contact Partner Assistance.

Millennium FHIR and non-FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com
Soarian FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com.

Bundle batch returns 422 fail

mateus martinsMar 10 2026

Workflow or API calls:
Trying to perform a FHIR batch (or FHIR transaction) bundle but is returning the error bellow. The condition and the observation are inserted if sent individually but not in a bundle.

Thats the JSON sent to the api:
{
	"resourceType": "Bundle",
	"type": "batch",
	"entry": [
		{
			"resource": {
				"resourceType": "Observation",
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://terminology.hl7.org/CodeSystem/observation-category",
								"code": "vital-signs",
								"display": "Vital Signs"
							}
						],
						"text": "Vital Signs"
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://loinc.org",
							"code": "8331-1",
							"display": "Temperature Oral"
						}
					]
				},
				"subject": {
					"reference": "Patient/12724067"
				},
				"effectiveDateTime": "2026-03-10T07:39:51.7139706+00:00",
				"valueQuantity": {
					"value": 37,
					"unit": "degC",
					"system": "http://unitsofmeasure.org",
					"code": "Cel"
				}
			},
			"request": {
				"method": "POST",
				"url": "Observation"
			}
		},
		{
			"resource": {
				"resourceType": "Condition",
				"clinicalStatus": {
					"coding": [
						{
							"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
							"code": "active",
							"display": "active"
						}
					],
					"text": "Active"
				},
				"verificationStatus": {
					"coding": [
						{
							"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
							"code": "confirmed",
							"display": "confirmed"
						}
					],
					"text": "Confirmed"
				},
				"category": [
					{
						"coding": [
							{
								"system": "http://terminology.hl7.org/CodeSystem/condition-category",
								"code": "problem-list-item",
								"display": "problem List Item"
							}
						],
						"text": "Problem List Item"
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://snomed.info/sct",
							"code": "44054006",
							"display": "Diabetes mellitus type 2 (disorder)"
						}
					]
				},
				"subject": {
					"reference": "Patient/12724067"
				}
			},
			"request": {
				"method": "POST",
				"url": "Condition"
			}
		}
	]
}

Actual Result:

{
    "resourceType": "Bundle",
    "id": "5288d884-1741-4536-9732-20a5e1acc613",
    "type": "batch-response",
    "entry": [
        {
            "response": {
                "status": "422 Unprocessable Entity",
                "outcome": {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "error",
                            "code": "business-rule",
                            "details": {
                                "coding": [
                                    {
                                        "system": "http://terminology.hl7.org/CodeSystem/operation-outcome",
                                        "code": "MSG_PARAM_INVALID",
                                        "display": "Parameter 'request' content is invalid"
                                    }
                                ],
                                "text": "Bundle.entry.request: Operation disabled or not supported"
                            },
                            "expression": [
                                "request"
                            ]
                        }
                    ]
                }
            }
        },
        {
            "response": {
                "status": "422 Unprocessable Entity",
                "outcome": {
                    "resourceType": "OperationOutcome",
                    "issue": [
                        {
                            "severity": "error",
                            "code": "business-rule",
                            "details": {
                                "coding": [
                                    {
                                        "system": "http://terminology.hl7.org/CodeSystem/operation-outcome",
                                        "code": "MSG_PARAM_INVALID",
                                        "display": "Parameter 'request' content is invalid"
                                    }
                                ],
                                "text": "Bundle.entry.request: Operation disabled or not supported"
                            },
                            "expression": [
                                "request"
                            ]
                        }
                    ]
                }
            }
        }
    ]
}
Comments
Post Details
Added on Mar 10 2026
0 comments
7 views