POST https://server-ol.hipaservices.com/fhir/Observation/
{
"resourceType": "Observation",
"status": "final",
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "LifeQualityAssesment"
}
]
},
"subject": {
"reference": "Patient/10001101001"
},
"issued": "2026-03-01T02:00:00+02:00",
"valueInteger": 6,
"component": [
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "PromQuestionnaireType"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/PromQuestionnaireType",
"code": "PromQuestionnaireType.001"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "LifeQualityAssesmentTherapyStage"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/LifeQualityAssesmentTherapyStage",
"code": "LifeQualityAssesmentTherapyStage.001"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "PhysicalFuntionalityScore"
}
]
},
"valueInteger": 3
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "PsycologicalWellBeingScore"
}
]
},
"valueInteger": 4
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "Symptom"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/Symptom",
"code": "Symptom.001"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "Symptom"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/Symptom",
"code": "Symptom.002"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "EcogScore"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/EcogScore",
"code": "EcogScore.001"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "KarnofskyScore"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/KarnofskyScore",
"code": "KarnofskyScore.040"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "GlasgowScore"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/GlasgowScore",
"code": "GlasgowScore.001"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "PainScore"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/PainScore",
"code": "PainScore.004"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "PalliativePhysicalFuntionalityScore"
}
]
},
"valueInteger": 1
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "SupportingProcedures"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/SupportingProcedures",
"code": "SupportingProcedures.001"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "SupportingProcedures"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/SupportingProcedures",
"code": "SupportingProcedures.002"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
"code": "EndOfLifeCarePlanDelivered"
}
]
},
"valueBoolean": false
}
]
}
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Resource was creted successfully!"
}
]
}
Το URL του νέου resource επιστρέφεται στο Location header του response.