Skip to content

Commit

Permalink
Mention message deletion on README
Browse files Browse the repository at this point in the history
  • Loading branch information
fjsj committed Feb 4, 2025
1 parent 6665c4d commit 7f9e511
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The app implements a secure live chat system following Medplum's ["Organizing Co
- Send chat messages by creating new `Communication` FHIR resources
- Real-time message updates using Medplum WebSocket `Subscription`
- Auto-update of message status: sent, received, read, directly on `Communication` FHIR resource
- Message deletion

- **Media Support**
- Image and video attachments
Expand Down Expand Up @@ -113,6 +114,10 @@ NOTE: Login will not work yet, because Medplum's OAuth2 is not set. See the next
EXPO_PUBLIC_MEDPLUM_NATIVE_CLIENT_ID=your_native_client_id
```

### Configuring Access Policies (for production)

The app implements message deletion functionality, which requires proper access control in production. You need to set up [Access Policies](https://www.medplum.com/docs/access/access-policies) in Medplum to ensure patients can only read/update/delete their own messages.

### Testing

Run the test suite:
Expand Down

0 comments on commit 7f9e511

Please sign in to comment.