...
Method | URL | Parameters | Description | Notes |
---|---|---|---|---|
POST | /ehr |
| Create a new EHR | |
DELETE | /ehr/{ehrId} | Delete an EHR | TB: this isn't possible (well not by an external REST access - it would be an internal admin operation); all you can do is mark an EHR as inactive, which would be a POST (I think) to /ehr/{ehr_id}/ehr_status/other_details/is_active or similar. But even this operation, if it succeeds, is serious - it makes it look like an EHR is deleted, so it's probably not appropriate via any externally visible REST interface. | |
GET | /ehr/{ehrId}/ehr_status | Retrieve EHR_STATUS | ||
POST | /ehr/{ehrId}/ehr_status | Update EHR_STATUS | ||
PUT | /ehr/{ehrId}/ehr_status/... | Update an attribute in ehr_status | TB | |
GET | /ehr/{ehrId}/ehr_access | Retrieve EHR_ACCESS | ||
POST | /ehr/{ehrId}/ehr_access | Update EHR_ACCESS | ||
PUT | /ehr/{ehrId}/ehr_acess/... | Update an attribute in ehr_statusaccess | TB |
Resource FOLDER
Method | URL | Parameters | Description | API level | Notes |
---|---|---|---|---|---|
GET | /ehr/{ehrId}/directory | List folders | R1 | ||
GET | /ehr/{ehrId}/directory/{folderId} | List folder content (list of links/IDs of contained objects) | R1 | ||
POST | /ehr/{ehrId}/directory | Create or update a folder | |||
DELETE | /ehr/{ehrId}/directory | Deletes a folder | SI |
...