REST API Post Observation

Hello!
I need to update a patient with observations via API.
From the api readme I can only find a way to Get an observation.

I have no idea how the json structure looks like.

Can anyone help me please?

Ok. I found some example json to post.

I created a patient with following observations:

heart rate example:
http://hl7.org/fhir/R4/observation-example-heart-rate.json.html

Then tried an other one: “Oxygen saturation in Arterial blood”
http://hl7.org/fhir/R4/observation-example-satO2.json.html

None of them can be seen in the openEMR interface.
Where do I see my observations??

Pleease!

Alright. Have been doing some research. Im still stuck.

I create a customer with following json:

*{

  • “title”:“Mr”,
  • “sex”:“Male”,
  • “fname”:“Patrik”,
  • “mname”:"",
  • “lname”:“Larsson”,
  • “street”:“Tripp”,
  • “postal_code”:“12345”,
  • “city”:“Stockholm”,
  • “country_code”:“SE”,
  • “state”:"",
  • “phone_contact”:"+4670667788",
  • email_contact":"test@test.com”,
  • “dob”:“1990-12-24”,
  • “race”:"",
  • “ethnicity”:""
    *}

I return 25 as patient identifier.
And create an observation with subject/reference => “Patient/25”

{
“resourceType”:“Observation”,
“id”:“heart-rate”,
“meta”:{
“profile”:[
http://hl7.org/fhir/StructureDefinition/vitalsigns
]
},
“text”:{
“status”:“generated”,
“div”:“

Heart rate

},
“status”:“final”,
“category”:[
{
“coding”:[
{
“system”:“http://terminology.hl7.org/CodeSystem/observation-category”,
“code”:“vital-signs”,
“display”:“Vital Signs”
}
],
“text”:“Vital Signs”
}
],
“code”:{
“coding”:[
{
“system”:“http://loinc.org”,
“code”:“8867-4”,
“display”:“Heart rate”
}
],
“text”:“Heart rate”
},
“subject”:{
“reference”:“Patient/25”
},
“effectiveDateTime”:“1999-07-02”,
“valueQuantity”:{
“value”:“123”,
“unit”:“beats/minute”,
“system”:“http://unitsofmeasure.org”,
“code”:"/min"
}
}

I still not find any observation for that customer in the openEMR interface.
Someone has any idea?