Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create communication for marked as resolved #99

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

achen2401
Copy link

@achen2401 achen2401 commented Nov 27, 2024

part of story https://www.pivotaltracker.com/story/show/188624366

  • create a new communication when a messaged is marked as read.
    Example communication posted:
{
        "resourceType": "Communication",
        "id": "2604598",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2024-11-27T18:28:56.642-05:00"
        },
        "partOf": [
          {
            "reference": "CarePlan/2596233"
          }
        ],
        "status": "completed",
        "category": [
          {
            "coding": [
              {
                "system": "https://isacc.app/CodeSystem/communication-type",
                "code": "isacc-message-resolved-no-send"
              }
            ]
          }
        ],
        "subject": {
          "reference": "Patient/2cda5aad-e409-4070-9a15-e1c35c46ed5a"
        },
        "sent": "2024-11-27T23:28:56.345Z",
        "payload": [
          {
            "contentString": "Prior message(s) marked as read"
          }
        ],
        "note": [
          {
            "text": "marked as read, staff-entered"
          }
        ]
      }

Will be displayed on the UI in the messages panel as such:
prior to resolving/marking as read:
Screenshot 2024-12-02 at 11 20 08 AM
after marking as read:
Screenshot 2024-12-02 at 11 20 57 AM

Copy link

@pbugni pbugni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work.

@mcjustin
Copy link
Member

mcjustin commented Dec 2, 2024

Thanks for addressing this promptly @achen2401 ! Can you please share a screenshot of what a "marked as read" action looks like in the messaging client history UI alongside the message that has been marked as read? I could see this handled a few different ways in the UI...

@achen2401
Copy link
Author

Can you please share a screenshot of what a "marked as read" action looks like in the messaging client history UI alongside the message that has been marked as read? I could see this handled a few different ways in the UI...

@mcjustin here is the screenshot
IMG_0110

src/components/MessagingView.tsx Outdated Show resolved Hide resolved
@achen2401 achen2401 merged commit 9284112 into dev Dec 2, 2024
1 check passed
@achen2401 achen2401 deleted the fixup/marked-as-resolved branch December 2, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants