gt-health / GT-FHIR

Georgia Tech FHIR Server Web Page
36 stars 28 forks source link

Error on Observation update #93

Closed ismael-sarmento-jr closed 8 years ago

ismael-sarmento-jr commented 8 years ago

Method Outcome: "Object with id: null was not of the specified subclass: edu.gatech.i3l.fhir.dstu2.entities.Person (class of the given object did not match class of persistent copy)"

input sample for error reproduction:

{ "resourceType":"Observation", "id":"2", "status":"final", "code":{ "coding":[ { "system":"http://loinc.org", "code":"3141-9", "display":"Body weight Measured" } ] }, "subject":{ "reference":"Patient/1" }, "encounter":{ "reference":"Encounter/1" }, "effectiveDateTime":"2005-06-30T19:45:00-04:00", "valueQuantity":{ "value":53.8, "unit":"kg", "system":"http://unitsofmeasure.org", "code":"kg" } }