Stream: hapi
Topic: Error validating codings
David Hay (Aug 31 2018 at 20:50):
Attempting to validate this instance against the public hapi r3 server:
{
"resourceType": "ActivityDefinition",
"id": "id1535741515232",
"name": "Ventolin nebulize",
"status": "active",
"code": {
"coding": [
{
"code": "433590000",
"system": "http://snomed.info/sct",
"display": "Administration of substance via specific route (procedure)"
}
]
},
"productReference": {
"reference": "Medication/id1535742447098",
"display": "Ventollin"
}
}
Yields this error (which seems to occur with all codings):
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[ActivityDefinition.code.coding]</td><td><pre>Error null validating Coding</pre></td>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t</tr>\n\t\t</table>\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Error null validating Coding",
"location": [
"ActivityDefinition.code.coding"
]
}
]
}
Alex Neiva (Sep 03 2018 at 16:03):
I just validate same message in another server and it looks ok... But using HAPI i get an error also!
I try this one: https://stu3.test.pyrohealth.net/fhir using POSTMAN and put the resource inside a Bundle message.
David Hay (Sep 03 2018 at 17:55):
Yeah - I'm pretty sure this is a HAPI issue...
David Hay (Sep 10 2018 at 01:08):
Any comment on this?
Last updated: Apr 12 2022 at 19:14 UTC