v1

latestSwagger 2.02026-07-1362109210.4 KB
patient

Create a patient

Create a patient record.

Example for creating a patient with a group specified using meta.query instead of id:

{
  "data": {
    "type": "patient",
    "attributes": {
      "first_name": "Andrew",
      "last_name": "Smith"
    },
    "relationships": {
      "groups": {
        "data": [
          {
            "type": "group",
            "meta": {
              "query": {
                "organization": "58c88de7c93eb96357a87033",
                "name": "Patients Lead"
              }
            }
          }
        ]
      }
    }
  }
}
post/patient

Response

Created