Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Context

In "HIE" context, provider registry describes "who provides services" to a patient.

...

  1. Get Providers

    Panel
    bordertrue
    borderStyledashed

    Request :

    GET {pr_server}/providers/list?limit={limit}&offset={offset}&updatedSince={ISO8601 formatted date}

    Headers :

    X-Auth-Token : {auth token assigned while user registration in HRM}
    client_id : {client id of requester in Identity Service Provider}

    Sample Response :

    Code Block
    languagejs
    [
        {
            "name": "Example Provider",
            "url": "http://{pr_server}/providers/18.json",
            "id": 18,
            "active": 1,
            "createdAt": "2014-11-27 15:23:23",
            "updatedAt": "2014-11-27 15:23:23",
            "birthDate": "1965-10-10",
            "gender": "Male",
            "organization": null,
            "identifiers": [
                {
                    "system": "DGHS",
                    "value": 18
                },
                {
                    "system": "NationalId",
                    "value": null
                },
                {
                    "system": "PDS",
                    "value": "2"
                }
            ],
            "telecom": [
                {
                    "system": "phone",
                    "value": "18912"
                },
                {
                    "system": "email",
                    "value": "drmizanur65@yahoo.com"
                }
            ],
            "address": {
                "text": "UHC, Doctor Quater"
            },
            "properties": {
                "maritalStatus": "Married",
                "freedomFighter": "2",
                "tribial": "Not Tribal",
                "qualification": null,
                "category": "Physican",
                "discipline": "N/A",
                "department": null,
                "attendanceid": null,
                "professionalDiscipline": "N/A",
                "machineid": null
            }
        }
    ]



  2. Anchor
    PR GET API
    PR GET API
    Get Single Provider Information

    Panel
    bordertrue
    borderStyledashed

    Request :

    GET {frpr_server}/facilitiesproviders/{provider_id}.json

    Headers :

    X-Auth-Token : {auth token assigned while user registration in HRM}
    client_id : {client id of requester in Identity Service Provider}

    Sample Response :

    Code Block
    languagejs
     {
            "name": "Example Provider",
            "url": "http://{pr_server}/providers/18.json",
            "id": 18,
            "active": 1,
            "createdAt": "2014-11-27 15:23:23",
            "updatedAt": "2014-11-27 15:23:23",
            "birthDate": "1965-10-10",
            "gender": "Male",
            "organization": null,
            "identifiers": [
                {
                    "system": "DGHS",
                    "value": 18
                },
                {
                    "system": "NationalId",
                    "value": null
                },
                {
                    "system": "PDS",
                    "value": "2"
                }
            ],
            "telecom": [
                {
                    "system": "phone",
                    "value": "18912"
                },
                {
                    "system": "email",
                    "value": "drmizanur65@yahoo.com"
                }
            ],
            "address": {
                "text": "UHC, Doctor Quater"
            },
            "properties": {
                "maritalStatus": "Married",
                "freedomFighter": "2",
                "tribial": "Not Tribal",
                "qualification": null,
                "category": "Physican",
                "discipline": "N/A",
                "department": null,
                "attendanceid": null,
                "professionalDiscipline": "N/A",
                "machineid": null
            }
        }



...