POST https://server-ol.hipaservices.com/fhir/Observation/
{
"resourceType": "Observation",
"status": "final",
"code": {
"coding": [
{
"system": "http://localhost/fhir/ValueSet/FieldTypes",
"code": "PhysicalActivity"
}
]
},
"subject": {
"reference": "Patient/00101100110"
},
"issued": "2024-12-31T16:18:44+02:00",
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/ValueSet/AlcoholConsumption",
"code": "PhysicalActivity.002"
}
]
}
}
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Resource was creted successfully!"
}
]
}
Το URL του νέου resource επιστρέφεται στο Location header του response.