Ασθενείς

Ανάσυρση λίστας ασθενών ιατρού

Request

GET https://server-ol.hipaservices.com/fhir/Patient/?id=&_text=&pageNumber=1&pageSize=10

Response

{
    "resourceType": "Bundle",
    "type": "searchset",
    "total": 1,
    "link": [
        {
            "relation": "self",
            "url": "http://localhost/fhirfhir/Patient/?id=&_text=&pageNumber=1"
        },
        {
            "relation": "first",
            "url": "http://localhost/fhirfhir/Patient/?id=&_text=&pageNumber=1"
        },
        {
            "relation": "last",
            "url": "http://localhost/fhirfhir/Patient/?id=&_text=&pageNumber=1"
        }
    ],
    "entry": [
        {
            "fullUrl": "http://localhost/fhirfhir/Patient/11101001000",
            "search": {
                "mode": "match"
            },
            "resource": {
                "id": "11101001000",
                "active": true,
                "resourceType": "Patient",
                "birthDate": "1981-12-18",
                "gender": "male",
                "identifier": [
                    {
                        "system": "urn:patient-identifier:amka",
                        "value": "11101001000"
                    }
                ],
                "name": [
                    {
                        "given": [
                            "ΣΩΤΗΡΙΟΣ"
                        ],
                        "family": "ΠΟΣΙΟΣ"
                    }
                ],
                "telecom": [
                    {
                        "system": "phone",
                        "value": "0310435756"
                    },
                    {
                        "system": "phone",
                        "value": "2310533789"
                    }
                ],
                "address": [
                    {
                        "city": "ΘΕΣΣΑΛΟΝΙΚΗ",
                        "line": [
                            "ΑΡΙΑΔΝΗΣ 122"
                        ]
                    }
                ],
                "link": [
                    {
                        "other": {
                            "display": "ΦΩΤΕΙΝΗ",
                            "type": "RelatedPerson",
                            "identifier": {
                                "type": {
                                    "coding": [
                                        {
                                            "system": "urn:related-person-relationship",
                                            "code": "mother"
                                        }
                                    ]
                                }
                            }
                        },
                        "type": "seealso"
                    },
                    {
                        "other": {
                            "display": "ΔΗΜΗΤΡΙΟΣ",
                            "type": "RelatedPerson",
                            "identifier": {
                                "type": {
                                    "coding": [
                                        {
                                            "system": "urn:related-person-relationship",
                                            "code": "father"
                                        }
                                    ]
                                }
                            }
                        },
                        "type": "seealso"
                    }
                ],
                "extension": [
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
                        "extension": [
                            {
                                "url": "code",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "code": "gr",
                                            "system": "urn:nationality:internal"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    {
                        "url": "http://localhost/fhirfhir/FieldTypes/DiabetesType1",
                        "valueBoolean": false
                    },
                    {
                        "url": "http://localhost/fhirfhir/FieldTypes/DiabetesType2",
                        "valueBoolean": false
                    }
                ],
                "contact": [
                    {
                        "name": {
                            "given": [
                                "Μήτσος"
                            ],
                            "family": "Νιφίτσος"
                        },
                        "address": {
                            "line": [
                                "Εθνικής Πανωλεθρίας 3344"
                            ]
                        },
                        "telecom": [
                            {
                                "system": "phone",
                                "value": "7565734545"
                            }
                        ]
                    }
                ],
                "deceasedBoolean": false,
                "meta": {
                    "lastUpdated": "2024-12-31T11:58:26+00:00",
                    "tag": [
                        {
                            "system": "http://localhost/fhirfhir/FieldTypes",
                            "code": "InitialCondition",
                            "display": "ICD-O-3: C449.8780/1 (ICD-10: D48.5 Νεόπλασμα αβέβαιης ή άγνωστης συμπεριφοράς: Δέρματος)"
                        }
                    ]
                }
            }
        }
    ]
}

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

Προκειμένου να έχετε πρόσβαση στα εν λόγω δεδομένα ασθενή, θα πρέπει να υπάρχει ήδη συσχέτιση ασθενή με το αναγνωριστικό του ενεργού ιατρού ή του οργανισμού του ιατρού. Διαφορετικά, θα επιστραφεί σφάλμα με HTTP κωδικό 451.

Για να δημιουργήσετε συσχέτιση, δείτε εδώ.