Ασθενείς

Επεξεργασία/διόρθωση υφιστάμενου δείκτη ποιότητας ζωής

Request

PUT https://server-ol.hipaservices.com/fhir/Observation/

Request Body

{
    "id": "b2157c79-162d-418d-b4f4-1bd5908b1f2f",
    "resourceType": "Observation",
    "status": "final",
    "code": {
        "coding": [
            {
                "system": "http://localhost/fhir/fhir/ValueSet/FieldTypes",
                "code": "LifeQualityAssesment"
            }
        ]
    },
    "subject": {
        "reference": "Patient/10001011001"
    },
    "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
        }
    ]
}

Response

{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "information",
            "code": "informational",
            "diagnostics": "Success!"
        }
    ]
}

Παρατηρήσεις

Η ανανέωση γίνεται με βάση το πεδίο id.