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.

412 Error when trying to PATCH Related Person Relationship

Workflow or API calls:

I am trying to PATCH an existing Related Person relationship, I was able to add some relationships to the person, however when I try to remove the added relationships, I get the following error:

{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"details": {
"text": "A precondition requirement was not satisfied"
}
}
]
}

I have tried using the body, to test the relationship id and delete it:

[
{
"path": "/relationship/1/id",
"op": "test",
"value": "CI-716749453-1"
},
{
"op": "remove",
"path": "/relationship/1"
}
]

and just to test the relationship id:

[
{
"path": "/relationship/1/id",
"op": "test",
"value": "CI-716749453-1"
}
]

And I am still getting the same error.

The relationship id does exists, so I am not sure what is happening here.

The If-Match header is set up correctly and the Content-Type is set up as “application/json-patch+json”

Expected Result:

Relationship id 1 is removed from the Related Person relationship

Actual Result:

Error 412

X-Request-Id: /29BFBFA09D4EB48B06FB906AB61B119E+AVkF_M2kO
opc-request-id: /29BFBFA09D4EB48B06FB906AB61B119E/B65E634467ECA7D97CA5BE1AFA047EF7
Date/time of the example: Thu, 26 Sep 2024 12:42:54 GMT

Thanks in advance!

This post has been answered by Madhur Thangadurai Rajendran-Oracle on Oct 22 2024
Jump to Answer
Comments
Post Details
Added on Sep 26 2024
2 comments
145 views