archived_at | string or null <date-time> |
created_at | string <date-time> |
id | string <int64> |
object | |
object | |
object | |
relation | integer or null Enum: 10 20 30 40 50 60 70 |
relation_description | string or null Enum: "Parent" "Child" "Sibling" "Spouse" "Partner" "Relative" "Other" |
updated_at | string <date-time> |
{- "archived_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "relation": 10,
- "relation_description": "Parent",
- "updated_at": "2019-08-24T14:15:22Z"
}
successful operation
{- "relationships": [
- {
- "archived_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "relation": 10,
- "relation_description": "Parent",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total_entries": 1,
- "links": {
}
}
Resource was created
Resource could not be saved due to validation errors
{- "patient_id": "1",
- "related_patient_id": "1",
- "relation": 10
}
{- "archived_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "relation": 10,
- "relation_description": "Parent",
- "updated_at": "2019-08-24T14:15:22Z"
}
q[] | Array of strings |
Successful operation
{- "archived_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "relation": 10,
- "relation_description": "Parent",
- "updated_at": "2019-08-24T14:15:22Z"
}
Resource was updated
Resource could not be saved due to validation errors
{- "patient_id": "1",
- "related_patient_id": "1",
- "relation": 10
}
{- "archived_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "relation": 10,
- "relation_description": "Parent",
- "updated_at": "2019-08-24T14:15:22Z"
}