-
Notifications
You must be signed in to change notification settings - Fork 18
[DPC-4567] Update my organizations list page #2565
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
Changes from 68 commits
55f63d4
e1a69a3
919d209
912d916
c8453a6
32a5de8
046c098
c20c1c6
a58ff3a
c110251
4e71a1d
f011356
7a86dee
83ce139
b570a68
b2bc4f1
dbcd447
e154686
0517294
df9464f
962cec9
9f78ec3
6c6e37f
f2d14d6
70b8237
39c2bdc
d9650df
9107ec3
451ffa8
b61aed8
c041db2
88b8d35
e641f8b
1adb07b
b6ff5a0
531cb56
cdc4386
141cb6b
4b27136
ed860c1
1c62247
4da169e
c994527
89e0dbf
37c7f78
947bb5c
4301ef1
8662c18
88e1e5d
b8122c5
149ecef
7ee47a9
5536224
bb848b5
dfbffb2
d6221bb
9c4e289
4c27c24
739a0c9
4cd6cd9
e2c7f25
06bc055
bcccdf2
c2a0dc4
a8be60c
125e136
5c09928
01440fe
546ba6c
e167bd6
770ade3
7ff9216
2ff01d8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| $visited-blue-link-color: #005ea2; | ||
|
|
||
| .visited\:text-blue{ | ||
| color: $visited-blue-link-color; | ||
|
|
||
| &:visited { | ||
| color: $visited-blue-link-color; | ||
| } | ||
| } | ||
|
|
||
| .truncate-text-ellipsis { | ||
| overflow: hidden; | ||
| text-overflow: ellipsis; | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| .table-bg-transparent { | ||
| th, td { | ||
| background-color: transparent; | ||
| } | ||
| } | ||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| <tr> | ||
| <th scope="row" style="width: 50%;"> | ||
| <a class="display-block maxw-full visited:text-blue text-underline truncate-text-ellipsis" href="<%= organization_path(@organization)%>"> | ||
| <%= @organization.name %> | ||
| </a> | ||
| </th> | ||
| <td style="width: 16.67%;"> <%= @organization.npi %> </td> | ||
| <td style="width: 8.33%;"> | ||
| <% if @link.ao? %> | ||
| AO | ||
| <% else %> | ||
| CD | ||
| <% end %> | ||
| </td> | ||
| <td style="width: 25%;"> | ||
| <div class="clearfix"> | ||
| <div class="float-left"><%= render Core::Icon::UswdsComponent.new(@icon, additional_classes: @classes) %></div> | ||
| <div class="float-left margin-left-1 margin-top-neg-2px"><%= @status %></div> | ||
| </div> | ||
| </td> | ||
| </tr> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,31 @@ | ||
| <div> | ||
| <% if ao? %> | ||
| <h1>Welcome to the DPC Portal</h1> | ||
| <p>As an Authorized Official (AO), use this portal to manage access to Medicare claims data through the Data at the Point of Care (DPC) application programming interface (API)</p> | ||
| <div class="display-flex flex-row flex-justify"> | ||
| <div class="flex-align-self-center"> | ||
| <h2 class="margin-bottom-0">My organizations</h2> | ||
| </div> | ||
| <h1>Welcome to the DPC Portal</h1> | ||
| <p>Use this portal to manage your organization's access to Data at the Point of Care (DPC). Depending on your role, you can register your organization, sign terms of service, and complete API configuration.</p> | ||
| <div class="display-flex flex-row flex-justify"> | ||
| <div class="flex-align-self-center"> | ||
| <h2 class="margin-bottom-0">My organizations</h2> | ||
| </div> | ||
| <p>These are organizations for which you serve as an AO. Organizations cannot access Medicare claims data without an AO agreement to follow terms of service.</p> | ||
| </div> | ||
| <p>You’re designated as an Authorized Official (AO) and/or Credential Delegate (CD) of the following organizations. An AO is accountable for organization-level access to the API. The AO can can assign a CD to complete configuration steps on their behalf.</p> | ||
|
|
||
| <% if @links.length %> | ||
lukey-luke marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <table class="usa-table usa-table--borderless organizations-list table-bg-transparent" style="table-layout: fixed; width: 100%;"> | ||
| <caption class="usa-sr-only"> | ||
| A list of organizations you are affiliated with, including name, NPI-2, your role, and the status for API access. | ||
| </caption> | ||
| <thead> | ||
| <tr> | ||
| <th scope="col" style="width: 50%;">Organization Name</th> | ||
| <th scope="col" style="width: 16.67%;">NPI-2</th> | ||
| <th scope="col" style="width: 8.33%;">Role</th> | ||
| <th scope="col" style="width: 25%;">Status</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <%= render Core::OrganizationListRow::OrganizationListRowComponent.with_collection(@links)%> | ||
| </tbody> | ||
| </table> | ||
| <% end %> | ||
| <ul class="usa-card-group"> | ||
| <%= render Core::Card::OrganizationCardComponent.with_collection(@links)%> | ||
| </ul> | ||
|
|
||
| <%=raw "<p>You don't have any organizations to show.</p>" if @links.blank? %> | ||
lukey-luke marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </div> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,4 +15,8 @@ def show_attributes | |
| def verification_status? | ||
| disabled_at.blank? | ||
| end | ||
|
|
||
| def ao? | ||
| false | ||
| end | ||
| end | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,13 +36,23 @@ en: | |
| server_error_text: We're experiencing a temporary outage due to an external system error. Please try again later. | ||
| manage_org: Manage your organization. | ||
| tos_not_signed: You must sign DPC Terms of Service. | ||
| sign_tos: Sign terms of service | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like changing the key broke the accessibility tests, which should only fail on the fact that many pages do not meet accessibility. Please change back to tos_not_signed or update spec/system/accessibility_spec.rb |
||
| configuration_needed: Configuration needed | ||
| configuration_complete: Configuration complete | ||
| api_disabled: API disabled | ||
| access_denied: Access denied | ||
| cd_access: | ||
| no_approved_enrollment_status: This organization is not currently approved by Medicare. | ||
| no_approved_enrollment_text: This organization must have an approved enrollment status with Medicare to access beneficiary claims data. | ||
| org_med_sanctions_status: This organization is in the Medicare Exclusions Database. | ||
| org_med_sanctions_text: This organization is listed as an excluded entity by the Office of Inspector General (OIG), which prohibits it from accessing beneficiary claims data. | ||
| manage_org: Manage credentials. | ||
| tos_not_signed: DPC Terms of Service not yet signed. | ||
| sign_tos: Sign terms of service | ||
| configuration_needed: Configuration needed | ||
| configuration_complete: Configuration complete | ||
| api_disabled: API disabled | ||
| access_denied: Access denied | ||
| errors: | ||
| attributes: | ||
| base: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.