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.

Observation Social History

Jay GustafsonJun 5 2025

Workflow or API calls:

Reminder: If this is referring to a client domain or EHR activity—not the public sandbox—do not include API request data or live patient data.

Background Information:

Are you an OPN Member? Yes
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:

Application ID

45b4405e-a2c1-4d09-8bb5-b1935d5d50de

Client ID

a6e39ddf-46df-4a43-8f6f-e3263bbc28a6

Expected Result: 200 Success

Actual Result: 422Unprocessable Entity (WebDAV) (RFC 4918)

Date

Thu, 05 Jun 2025 04:35:16 GMT

opc-request-id

/3ABC1575CC589179A8641B4BD665DB2F/110E3ECA667420C1A882B0F1B07484F7

X-Request-Id

/3ABC1575CC589179A8641B4BD665DB2F+XD9L_5bpK

X-Amz-Cf-Id

UW8QhoFCjQSO0mZlgDzGD1UxtqcddhXkPP9yokJ6k77nnWOcnWkUJQ==

Trying to add an observation with the social history category:

{ 
"resourceType": "Observation", 
"id": "passive-smoking-status", 
"status": "final", 
"category": [ 
{ 
"coding": [ 
{ 
"system": "http://terminology.hl7.org/CodeSystem/observation-category", 
"code": "social-history" 
} 
], 
"text": "Social History" 
} 
], 
"code": { 
"coding": [ 
{ 
"system": "http://loinc.org", 
"code": "11341-5" 
} 
], 
"text": "Exposure to passive smoke" 
}, 
"subject": { 
"reference": "Patient/14739689" 
}, 
"encounter": { 
"reference": "Encounter/99827049" 
}, 
"effectiveDateTime": "2025-06-04T17:45:00.000Z", 
"valueCodeableConcept": { 
"coding": [ 
{ 
"system": "http://snomed.info/sct", 
"code": "266919005", 
"display": "Never exposed to passive smoking" 
} 
], 
"text": "No exposure to passive smoke" 
} 
}

Operation 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 'Observation.category[0].coding[0].code' content is invalid"
                    }
                ],
                "text": "The value for Observation.category[0].coding[0].code is not supported."
            },
            "diagnostics": "Observation.category[0].coding[0].code: must be one of laboratory, vital-signs, or imaging",
            "expression": [
                "Observation.category[0].coding[0].code"
            ]
        }
    ]
}
This post has been answered by Albert-Attila Keresztesi-Oracle on Jun 6 2025
Jump to Answer
Comments
Post Details
Added on Jun 5 2025
3 comments
131 views