patient

Get a patient

Gets a patient record by id.

get/patient/{id}

Request

  • Base URL
    https://api.twinehealth.com/pub
  • Auth
    none declared

Path parameters

idstring required

Patient identifier

Response

OK

Example response

{
  "meta": {
    "req_id": "23001d51-669b-4948-b9fa-11dbffdf8ced"
  },
  "data": {
    "type": "patient",
    "id": "58163112237d84a94035f78b",
    "attributes": {
      "first_name": "Lucy",
      "last_name": "Bernhard",
      "updated_at": "2016-03-16T13:32:57.000Z",
      "birth_date": "1938-10-04",
      "addresses": [],
      "phone_numbers": [
        {
          "primary": true,
          "value": "880-136-7979 x6183"
        },
        {
          "primary": false,
          "value": "919.814.3552 x40123"
        }
      ],
      "identifiers": [
        {
          "label": "Fitbit Plus Sample Data Filler Patient",
          "system": "twine-filler-patient",
          "value": "filler-92"
        }
      ],
      "archived": false,
      "archive_history": [],
      "statement": {
        "value": "Enjoying nature.",
        "updated_at": "2016-03-16T13:32:57.000Z",
        "updated_by": "5c509cc2f60e34018180b57c"
      }
    },
    "links": {
      "twine_web_app": "http://10.0.1.55:9000/#/coach/admin/coaches/58163112237d84a94035f78b/profile",
      "self": "/pub/patient/58163112237d84a94035f78b"
    },
    "relationships": {
      "groups": {
        "data": [
          {
            "type": "group",
            "id": "5755db2a3db4179179999acf"
          }
        ],
        "links": {
          "related": "/pub/patient/58163112237d84a94035f78b/groups"
        }
      },
      "coaches": {
        "data": [
          {
            "type": "coach",
            "id": "581630c3237d84a9403533c6",
            "meta": {
              "primary": true
            }
          }
        ],
        "links": {
          "related": "/pub/patient/58163112237d84a94035f78b/coaches"
        }
      }
    }
  },
  "included": []
}

Changes

No recorded changes to this operation across all 70 revisions of this API.