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.

AllergyIntolerance - Remove reactions and notes via PUT

Kelly HilliardMay 21 2024

I am finding that I cannot remove existing reactions from an existing AllergyIntolerance resource. Adding new and updating existing is working just fine.

Workflow or API calls:

Using PUT with the proper ID for the If-Match

{
"resourceType": "AllergyIntolerance",
"id": "xxxxx",
"clinicalStatus": {
"coding": [
{
"system": "
http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
,
"code": "active",
"display": "Active"
}
],
"text": "Active"
},
"verificationStatus": {
"coding": [
{
"system": "
http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"
,
"code": "confirmed",
"display": "Confirmed"
}
],
"text": "Active"
},
"type": "allergy",
"category": [
"food"
],
"criticality": "high",
"code": {
"coding": [
{
"system": "
http://snomed.info/sct"
,
"code": "762952008",
"display": "Peanut (substance)"
}
],
"text": "Peanuts"
},
"patient": {
"reference": "Patient/12746485",
"display": "SMART, ELIZABETH"
},
"encounter": {
"reference": "Encounter/97958198"
},
"onsetDateTime": "2021",
"_onsetDateTime": {
"extension": [
{
"valueCodeableConcept": {
"coding": [
{
"system": "
https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/25320"
,
"code": "639010",
"display": "About",
"userSelected": true
}
],
"text": "About"
},
"url": "
https://fhir-ehr.cerner.com/r4/StructureDefinition/precision"
}
]
},
"recordedDate": "2024-01-22T19:49:51Z",
"recorder": {
"reference": "Practitioner/xxxxx",
"display": "xxxx"
}
}

Expected Result:

In this case, there was a pre-existing reaction, but since there is none in the put, I would expect there to be no reactions left.

Actual Result:

I get a 200 response, but the reaction has not been removed. I am also seeing something similar for notes for AllergyIntolerance also.

X-Request-Id / Cerner-Correlation-Id / opc-request-id:

This post has been answered by Florian Craciun-Oracle on Jun 7 2024
Jump to Answer
Comments
Post Details
Added on May 21 2024
22 comments
552 views