Ασθενείς

Καταχώριση νέου βιοδείκτη/μοριακού δείκτη

Request

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

Request Body (numeric)

{
    "resourceType": "Observation",
    "status": "final",
    "code": {
        "coding": [
            {
                "system": "http://localhost/fhir/ValueSet/FieldTypes",
                "code": "Biomarker_S.PDL.Q"
            }
        ]
    },
    "subject": {
        "reference": "Patient/11010000101"
    },
    "issued": "2024-12-31T10:12:09+02:00",
    "focus": [
        {
            "reference": "Condition/aaa57e76-2467-4187-ad02-1dc083fb3e48"
        }
    ],
    "effectiveDateTime": "2024-12-31",
    "valueQuantity": {
        "value": 3
    }
}

Request Body (code)

{
    "resourceType": "Observation",
    "status": "final",
    "code": {
        "coding": [
            {
                "system": "http://localhost/fhir/ValueSet/FieldTypes",
                "code": "Biomarker_S.MSI.B"
            }
        ]
    },
    "subject": {
        "reference": "Patient/00111000110"
    },
    "issued": "2024-12-31T10:12:09+02:00",
    "focus": [
        {
            "reference": "Condition/8c934f4b-5b93-4f50-a5e4-f9feccfb0deb"
        }
    ],
    "effectiveDateTime": "2024-12-31",
    "valueCodeableConcept": {
        "coding": [
            {
                "system": "http://localhost/fhir/ValueSet/Biomarker_MSI_Value",
                "code": "Biomarker_MSI_Value.001"
            }
        ]
    }
}

Response

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

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

Το URL του νέου resource επιστρέφεται στο Location header του response.

Για την ανάσυρση των αποδεκτών βιοδεικτών για κωδικό διάγνωσης, χρησιμοποιείστε στο endpoint GET

https://server-ol.hipaservices.com/api/icd-o3-maps/{icdo3Code}/biomarkers-and-organs
(όπου icdo3Code, ο κωδικός της διάγνωσης url-encoded).