Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocio De Santiago authored and Rocio De Santiago committed Dec 12, 2024
2 parents af06517 + f5510fe commit 77c54d7
Show file tree
Hide file tree
Showing 12 changed files with 447 additions and 27 deletions.
30 changes: 30 additions & 0 deletions services/app-api/forms/cmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,34 @@ export const CMIT_LIST: CMIT[] = [
dataSource: DataSource.Hybrid,
options: "",
},
{
cmit: 20,
name: "LTSS-6: Admission to a Facility from the Community",
uid: "20",
measureSteward: "CMS",
measureSpecification: [MeasureSpecification.CMS],
deliverySystem: [DeliverySystem.FFS, DeliverySystem.MLTSS],
dataSource: DataSource.Administrative,
options: "",
},
{
cmit: 968,
name: "LTSS-7: Minimizing Facility Length of Stay",
uid: "968",
measureSteward: "CMS",
measureSpecification: [MeasureSpecification.CMS],
deliverySystem: [DeliverySystem.FFS, DeliverySystem.MLTSS],
dataSource: DataSource.Administrative,
options: "",
},
{
cmit: 414,
name: "LTSS-8: Successful Transition after Long-Term Facility Stay",
uid: "414",
measureSteward: "CMS",
measureSpecification: [MeasureSpecification.CMS],
deliverySystem: [DeliverySystem.FFS, DeliverySystem.MLTSS],
dataSource: DataSource.Administrative,
options: "",
},
];
258 changes: 255 additions & 3 deletions services/app-api/forms/qm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,21 +413,273 @@ export const qmReportTemplate: ReportTemplate = {
title: "LTSS-6: Admission to a Facility from the Community",
type: PageType.Measure,
sidebar: false,
elements: [],
elements: [
{
type: ElementType.ButtonLink,
label: "Return to Required Measures Dashboard",
to: "req-measure-result",
},
{
type: ElementType.Header,
text: "{measureName}",
},
{
type: ElementType.Accordion,
label: "Instructions",
value:
"[Optional instructional content that could support the user in completing this page]",
},
{
type: ElementType.SubHeader,
text: "Measure Details",
},
{
type: ElementType.Radio,
label: "Were the reported measure results audited or validated?",
value: [
{ label: "No, I am reporting on this measure", value: "no" },
{
label: "Yes, CMS is reporting on my behalf",
value: "yes",
checkedChildren: [
{
type: ElementType.Textbox,
label:
"What is the name of the agency of entity that audited or validated the report?",
},
],
},
],
},
{
type: ElementType.Radio,
label:
"Did you deviate from the [reportYear] Technical Specifications?",
value: [
{ label: "No", value: "no" },
{
label: "Yes",
value: "yes",
checkedChildren: [
{
type: ElementType.Textbox,
label: "Please explain the deviation.",
},
],
},
],
},
{
type: ElementType.Radio,
label: "Do you want CMS to calculate this measure on your behalf?",
value: [
{ label: "No", value: "no" },
{
label: "Yes",
value: "yes",
},
],
},
{
type: ElementType.Radio,
label: "Which delivery systems were used to report the LTSS measure?",
value: [
{ label: "Managed Care", value: "managed-care" },
{ label: "Free-For-Service", value: "fee-for-service" },
{ label: "Both", value: "both" },
],
},
{
type: ElementType.SubHeader,
text: "Quality Measures",
},
{
type: ElementType.QualityMeasureTable,
measureDisplay: "quality",
},
],
},
[MeasureTemplateName["LTSS-7"]]: {
id: "LTSS-7",
title: "LTSS-7: Minimizing Facility Length of Stay",
type: PageType.Measure,
sidebar: false,
elements: [],
elements: [
{
type: ElementType.ButtonLink,
label: "Return to Required Measures Dashboard",
to: "req-measure-result",
},
{
type: ElementType.Header,
text: "{measureName}",
},
{
type: ElementType.Accordion,
label: "Instructions",
value:
"[Optional instructional content that could support the user in completing this page]",
},
{
type: ElementType.SubHeader,
text: "Measure Details",
},
{
type: ElementType.Radio,
label: "Were the reported measure results audited or validated?",
value: [
{ label: "No, I am reporting on this measure", value: "no" },
{
label: "Yes, CMS is reporting on my behalf",
value: "yes",
checkedChildren: [
{
type: ElementType.Textbox,
label:
"What is the name of the agency of entity that audited or validated the report?",
},
],
},
],
},
{
type: ElementType.Radio,
label:
"Did you deviate from the [reportYear] Technical Specifications?",
value: [
{ label: "No", value: "no" },
{
label: "Yes",
value: "yes",
checkedChildren: [
{
type: ElementType.Textbox,
label: "Please explain the deviation.",
},
],
},
],
},
{
type: ElementType.Radio,
label: "Do you want CMS to calculate this measure on your behalf?",
value: [
{ label: "No", value: "no" },
{
label: "Yes",
value: "yes",
},
],
},
{
type: ElementType.Radio,
label: "Which delivery systems were used to report the LTSS measure?",
value: [
{ label: "Managed Care", value: "managed-care" },
{ label: "Free-For-Service", value: "fee-for-service" },
{ label: "Both", value: "both" },
],
},
{
type: ElementType.SubHeader,
text: "Quality Measures",
},
{
type: ElementType.QualityMeasureTable,
measureDisplay: "quality",
},
],
},
[MeasureTemplateName["LTSS-8"]]: {
id: "LTSS-8",
title: "LTSS-8: Successful Transition after Long-Term Facility Stay",
type: PageType.Measure,
sidebar: false,
elements: [],
elements: [
{
type: ElementType.ButtonLink,
label: "Return to Required Measures Dashboard",
to: "req-measure-result",
},
{
type: ElementType.Header,
text: "{measureName}",
},
{
type: ElementType.Accordion,
label: "Instructions",
value:
"[Optional instructional content that could support the user in completing this page]",
},
{
type: ElementType.SubHeader,
text: "Measure Details",
},
{
type: ElementType.Radio,
label: "Were the reported measure results audited or validated?",
value: [
{ label: "No, I am reporting on this measure", value: "no" },
{
label: "Yes, CMS is reporting on my behalf",
value: "yes",
checkedChildren: [
{
type: ElementType.Textbox,
label:
"What is the name of the agency of entity that audited or validated the report?",
},
],
},
],
},
{
type: ElementType.Radio,
label:
"Did you deviate from the [reportYear] Technical Specifications?",
value: [
{ label: "No", value: "no" },
{
label: "Yes",
value: "yes",
checkedChildren: [
{
type: ElementType.Textbox,
label: "Please explain the deviation.",
},
],
},
],
},
{
type: ElementType.Radio,
label: "Do you want CMS to calculate this measure on your behalf?",
value: [
{ label: "No", value: "no" },
{
label: "Yes",
value: "yes",
},
],
},
{
type: ElementType.Radio,
label: "Which delivery systems were used to report the LTSS measure?",
value: [
{ label: "Managed Care", value: "managed-care" },
{ label: "Free-For-Service", value: "fee-for-service" },
{ label: "Both", value: "both" },
],
},
{
type: ElementType.SubHeader,
text: "Quality Measures",
},
{
type: ElementType.QualityMeasureTable,
measureDisplay: "quality",
},
],
},
//optional
[MeasureTemplateName["FASI-1"]]: {
Expand Down
30 changes: 30 additions & 0 deletions services/ui-src/src/cmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,34 @@ export const CMIT_LIST: CMIT[] = [
dataSource: DataSource.Hybrid,
options: "",
},
{
cmit: 20,
name: "LTSS-6: Admission to a Facility from the Community",
uid: "20",
measureSteward: "CMS",
measureSpecification: [MeasureSpecification.CMS],
deliverySystem: [DeliverySystem.FFS, DeliverySystem.MLTSS],
dataSource: DataSource.Administrative,
options: "",
},
{
cmit: 968,
name: "LTSS-7: Minimizing Facility Length of Stay",
uid: "968",
measureSteward: "CMS",
measureSpecification: [MeasureSpecification.CMS],
deliverySystem: [DeliverySystem.FFS, DeliverySystem.MLTSS],
dataSource: DataSource.Administrative,
options: "",
},
{
cmit: 414,
name: "LTSS-8: Successful Transition after Long-Term Facility Stay",
uid: "414",
measureSteward: "CMS",
measureSpecification: [MeasureSpecification.CMS],
deliverySystem: [DeliverySystem.FFS, DeliverySystem.MLTSS],
dataSource: DataSource.Administrative,
options: "",
},
];
6 changes: 6 additions & 0 deletions services/ui-src/src/components/fields/DateField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ export const DateField = (props: PageElementProps) => {
value={displayValue}
hint={parsedHint}
errorMessage={errorMessage}
/*
* Typescript hack. CmsdsDateField won't recognize
* passthrough props until @cmsgov/design-system^9.0.0
* TODO: Unhack, to just `disabled={props.disabled}`
*/
{...{ disabled: props.disabled }}
/>
</Box>
);
Expand Down
Loading

0 comments on commit 77c54d7

Please sign in to comment.