FHIR Chat · Error uploading fhir observation resource · implementers

Stream: implementers

Topic: Error uploading fhir observation resource


view this post on Zulip Christopher Schuler (May 03 2016 at 17:19):

Got the following error when uploading to http://fhir3.healthintersections.com.au/
Access violation at address 000000000040EDDC in module 'FHIRServer.exe'. Read of address FFFFFFFFFFFFFFFF

Could someone explain what this error is referring to?

Observation resource JSON:
{
"resourceType": "Observation",
"id": "res0001",
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8480-6",
"display": "Systolic blood pressure"
}
]
},
"subject": {
"reference": "Patient/pat001",
"display": "Jim"
},
"issued": "2016-03-11",
"valueQuantity": {
"coding": [
{
"value": "155",
"unit": "mm hg",
"system": "http://unitsofmeasure.org",
"code": "mm[Hg]"
}
]
}
}

view this post on Zulip Grahame Grieve (May 03 2016 at 17:52):

I don't know why the server is doing that. What's your content type header?

view this post on Zulip Grahame Grieve (May 03 2016 at 17:52):

    {
        "severity": "error",
        "code": "structure",
        "details": {
            "text": "Unrecognised prop \"coding\" at line 20 col 12"
        },
        "location": [
            "/Observation/value[x]"
        ]
    },
    {
        "severity": "error",
        "code": "invalid",
        "details": {
            "text": "The instant \"2016-03-11\" is not valid (by regex)"
        },
        "expression": [
            "Observation.issued // line 18 col 12)"
        ]
    }

view this post on Zulip Grahame Grieve (May 03 2016 at 17:53):

that's what the server should return - those errors

view this post on Zulip Christopher Schuler (May 03 2016 at 18:37):

I was just pasting the JSON into the upload services text box...
When I omitted the "issued" tag, the error persists

view this post on Zulip Grahame Grieve (May 03 2016 at 18:42):

the value is wrong. I'll look at the upload services.


Last updated: Apr 12 2022 at 19:14 UTC