Ασθενείς

Ασύγχρονη καταχώριση δεδομένων μαζικά

Request

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

Request Body

{
    "resourceType": "Bundle",
    "type": "batch",
    "entry": [
        {
            "resource": {
                "id": "018b0450-55c0-43cd-9fe7-c792fdeb84b5",
                "resourceType": "Observation",
                "status": "final",
                "code": {
                    "coding": [
                        {
                            "system": "http://localhost/fhir/ValueSet/FieldTypes",
                            "code": "Biomarker_S.PDL.Q"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/01000101011"
                },
                "issued": "2024-12-31T10:12:09+02:00",
                "focus": [
                    {
                        "reference": "Condition/e211276b-9057-4e5a-9ca6-c51477c6c373"
                    }
                ],
                "effectiveDateTime": "2024-12-31",
                "valueQuantity": {
                    "value": 3
                }
            }
        },
        {
            "resource": {
                "id": "8b4ec23a-9d34-430b-a04f-a4050ef3004c",
                "resourceType": "Observation",
                "status": "final",
                "code": {
                    "coding": [
                        {
                            "system": "http://localhost/fhir/ValueSet/FieldTypes",
                            "code": "Biomarker_S.MSI.B"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/01011010100"
                },
                "issued": "2024-12-31T10:12:09+02:00",
                "focus": [
                    {
                        "reference": "Condition/d91bc8da-aca0-42c4-b9aa-cccfa087f229"
                    }
                ],
                "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": "The FHIR bundle was submitted. It will be validated and imported shortly."
        }
    ]
}

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

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

Η μαζική υποβολή δεδομένων είναι διαδικασία ασύγχρονη. Με το αναγωνριστικό της μαζικής υποβολής, μπορείτε να χρησιμοποιήσετε το endpoint GET

https://server-ol.hipaservices.com/fhir/Bundle/{bundleId}
για να ελέγξετε την κατάσταση της υποβολής σας.