Skip to content

Instantly share code, notes, and snippets.

View timwtoysb's full-sized avatar

Tim Toy timwtoysb

View GitHub Profile
export interface FinalScoreStatsKey {
pickedType?: ScoreSource;
programName: null | string;
isEligible: boolean;
entityType?: EntityType;
count: number;
entityId: string;
}
[
{
"tin": "000000939",
"count": 14,
"entityId": null,
"statType": "npisReceivingSubgroupScoreCount",
"entityType": "group",
"isEligible": false,
"pickedType": "subgroup",
"programName": null,
09/07/23

Tim Toy
  10:40 AM
Hi Steven! Do you know when mvp/subgroup data will be available for testing in DEV and IMP?
steven_szeliga
  10:51 AM
you mean from eligibility?
@timwtoysb
timwtoysb / admin-claims-quality-score.json
Created March 28, 2024 16:23
Quality Admin Claims + Cost Score Response
{
"mips": {
"name": "mips",
"title": "mips Program Score",
"detail": "2023.7.2-beta0",
"value": 19.0042,
"parts": [
{
"name": "quality",
"title": "QUALITY component of total score",
@timwtoysb
timwtoysb / _qpp-style.scss
Last active October 2, 2023 20:08
sidenav styling
.qpp-side-nav {
align-self: flex-start;
height: calc(100vh - 61px);
position: sticky;
top: 0;
bottom: 0;
}
@timwtoysb
timwtoysb / pi-unfinished-sub.ts
Created September 6, 2023 19:12
PI unfinished submission
if (score?.metadata?.parts?.parts.length() > 0 && (
parts.metadata.objectiveScores.electronicPrescribing === 'incomplete' ||
parts.metadata.objectiveScores.electronicPrescribing.healthInformationExchangeSending === 'incomplete' ||
parts.metadata.objectiveScores.electronicPrescribing.healthInformationExchangeReceiving === 'incomplete' ||
parts.metadata.objectiveScores.electronicPrescribing.providerToPatientExchange" === 'incomplete' ||
parts.metadata.objectiveScores.electronicPrescribingpublicHealthAndClinicalDataExchange === 'incomplete')
=> submission.Status == 'incomplete') {
// Display your submission is incomplete message
}
@timwtoysb
timwtoysb / cpb-terms-modal.component.html
Created March 3, 2023 17:11
CPB Terms definitions modal
<cms-modal
[title]="modalTitle"
[(isOpen)]="modalStatus"
(afterClosed)="closeModal()"
>
<h3>Definitions</h3>
<span>
Need a refresher on the statistical terms used to calculate the Complex Patient Bonus?
We'll use an example set of numbers on the definitions below:
<app-dashboard-toolbar
[title]="'Complex Patient Bonus'"
[category]="cpb"
[page]="page"
[performanceYear]="feedback?.performanceYear"
[performanceYears]="feedbackPerformanceYears$ | async"
[hasBreadcrumbs]="true"
[orgName]="feedback?.getProviderOrgName()"
[name]="feedback?.getProviderTitle()"
[tin]="feedback?.tin"