Ασθενείς

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

Request

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

Request Body

{
    "id" : "a22c25f1-9b59-4ab9-9625-04fa9547fb2b",
    "resourceType": "CarePlan",
    "status": "completed",
    "intent": "plan",
    "created": "2026-03-03",
    "subject": {
        "reference": "Patient/00111101000"
    },
    "extension": [
        {
            "url": "http://localhost/fhir/StructureDefinition/SurvivalPlanDelivered",
            "valueBoolean": true
        },
        {
            "url": "http://localhost/fhir/StructureDefinition/CarePlanPeriod",
            "valueCodeableConcept": {
                "coding": [
                    {
                        "system": "http://localhost/fhir/fhir/ValueSet/CarePlanPeriod",
                        "code": "CarePlanPeriod.003"
                    }
                ]
            }
        },
        {
            "url": "http://localhost/fhir/fhir/StructureDefinition/NextImagingExamDate",
            "valueDateTime": "2022-03-06T00:00:00+02:00"
        },
        {
            "url": "http://localhost/fhir/fhir/StructureDefinition/NextClinicalExamDate",
            "valueDateTime": "2023-03-06T00:00:00+02:00"
        },
        {
            "url": "http://localhost/fhir/fhir/StructureDefinition/SurvivalPlanDelivered",
            "valueBoolean": true
        },
        {
            "url": "http://localhost/fhir/fhir/StructureDefinition/Specialty",
            "valueCodeableConcept": {
                "coding": [
                    {
                        "system": "http://localhost/fhir/fhir/ValueSet/Specialty",
                        "code": "Specialty.002"
                    }
                ]
            }
        }
    ],
    "note": [
        {
            "text": "Απώτερες επιπλοκές"
        }
    ],
}

Response

{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "information",
            "code": "informational",
            "diagnostics": "Resource was creted successfully!"
        }
    ]
}

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

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