-
-
Save luggage66/922301f78cf17e612d3117f3b7b05a01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<fo:root font-size="10pt" font-family="serif" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"> | |
<fo:layout-master-set> | |
<fo:simple-page-master master-name="coverPage" margin="0.75in" page-width="8.5in" page-height="11in" > | |
<fo:region-body margin-bottom="1.2em" /> | |
<fo:region-after extent="1.2em" /> | |
</fo:simple-page-master> | |
<fo:simple-page-master master-name="reports" margin="0.75in" page-width="8.5in" page-height="11in" > | |
<fo:region-body margin-top="0.6in" margin-bottom="1.2em" /> | |
<fo:region-before extent="0.6in" /> | |
<fo:region-after extent="1.2em" /> | |
</fo:simple-page-master> | |
<fo:simple-page-master master-name="worksheets" margin="0.75in" page-width="8.5in" page-height="11in" > | |
<fo:region-body margin-bottom="1.2em" /> | |
<fo:region-after extent="1.2em" /> | |
</fo:simple-page-master> | |
</fo:layout-master-set> | |
{{#define 'tocItem'}} | |
{{#if (shouldPrint @sectionId)}} | |
<fo:block text-align-last="justify"> | |
<fo:basic-link internal-destination="ref-section-{{@sectionId}}"> | |
{{sectionTitle @sectionId}} | |
<fo:leader leader-pattern="dots" /> | |
<fo:page-number-citation ref-id="ref-section-{{@sectionId}}" /> | |
</fo:basic-link> | |
</fo:block> | |
{{/if}} | |
{{/define}} | |
{{#define 'sectionTitle'}} | |
<fo:block font-size="14pt" border-bottom="0.5pt solid black">{{@title}}</fo:block> | |
{{/define}} | |
{{#define 'section'}} | |
{{#if (shouldPrint @sectionId)}} | |
<fo:block-container id="ref-section-{{@sectionId}}" space-before="2em" {{mixin 'sectionPageBreakSettings'}}> | |
{{mixin 'sectionTitle' title=(sectionTitle @sectionId)}} | |
{{{@body}}} | |
</fo:block-container> | |
{{/if}} | |
{{/define}} | |
<!-- break-before="page" break-after="page" --> | |
{{#define 'sectionPageBreakSettings' }}keep-together.within-page="always"{{/define}} | |
{{#define 'th'}} | |
<fo:table-cell border-bottom="0.5pt solid black"> | |
<fo:block>{{@body}}</fo:block> | |
</fo:table-cell> | |
{{/define}} | |
{{#define 'mini-progress-bar'}} | |
<fo:table height="1em" width="100%" table-layout="fixed"> | |
<fo:table-column column-width="{{_percentage}}%"></fo:table-column> | |
<fo:table-column column-width="{{_percentageRemaing}}%"></fo:table-column> | |
<fo:table-body> | |
<fo:table-row> | |
<fo:table-cell > | |
<fo:block-container height="0.2em" margin-top="0.4em" margin-bottom="0.4em" background-color="black"> | |
<fo:block ></fo:block> | |
</fo:block-container> | |
</fo:table-cell> | |
<fo:table-cell> | |
<fo:block></fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
{{/define}} | |
<!-- Cover Page / TOC --> | |
{{#if (shouldPrint 'coverPage')}} | |
<fo:page-sequence master-reference="coverPage"> | |
<fo:static-content flow-name="xsl-region-after"> | |
<fo:block line-height="14pt" font-size="10pt" text-align="end"> | |
Page | |
<fo:page-number /> | |
</fo:block> | |
</fo:static-content> | |
<fo:flow flow-name="xsl-region-body"> | |
<fo:block display-align="after" id="ref-section-coverPage"> | |
<!-- negative margin to offset header that is not ont he cover page --> | |
<fo:table table-layout="fixed" width="100%"> | |
<fo:table-column column-width="2in"/> | |
<fo:table-column column-width="proportional-column-width(2)"/> | |
<fo:table-body> | |
<fo:table-row> | |
<fo:table-cell> | |
<fo:block> | |
<fo:instream-foreign-object> | |
{#child shared/aceLogo/svg/2in} | |
</fo:instream-foreign-object> | |
</fo:block> | |
</fo:table-cell> | |
<fo:table-cell> | |
<fo:block border-left="1pt solid black" padding-left="1em" margin-left="1em" > | |
<fo:block>Audit Results prepared for:</fo:block> | |
<fo:block font-size="14pt">{{audit.facility.name}}</fo:block> | |
<fo:block>by {{audit.auditor.lastName}}, {{audit.auditor.firstName}}</fo:block> | |
<fo:block>{{fullDate audit.date}}</fo:block> | |
</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
<fo:block-container margin-top="2em" margin-right="0.5in" margin-left="0.5in"> | |
<fo:block-container margin="0"> | |
<fo:table table-layout="fixed"> | |
<fo:table-column column-width="proportional-column-width(1)" /> | |
<fo:table-column column-width="proportional-column-width(2)" /> | |
<fo:table-column column-width="proportional-column-width(1)" /> | |
<fo:table-header> | |
<fo:table-row font-weight="bold" text-align="center"> | |
<fo:table-cell number-columns-spanned="3"> | |
<fo:block>Summary</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-footer> | |
<fo:table-row border-bottom="0.75pt solid black"> | |
<fo:table-cell number-columns-spanned="3"><fo:block></fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-footer> | |
<fo:table-body> | |
<fo:table-row border-top="0.5pt solid black"> | |
<fo:table-cell number-rows-spanned="2" display-align="center"><fo:block>X</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Total Records Audited</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{audit.worksheets.length}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Change Rate</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{percentage audit.drgChangePercentage}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row border-top="0.5pt solid black"> | |
<fo:table-cell number-rows-spanned="5" display-align="center"><fo:block>DRG Changes</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Count</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{audit.drgChangeCount}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Change Rate</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{percentage audit.drgChangePercentage}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Total Positive Impact</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalPositiveImpactDrg 4}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Total Negative Impact</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalNegativeImpactDrg 4}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Avg Impact per Worksheet</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.avgImpactPerWorksheetDrg 4}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row border-top="0.5pt solid black"> | |
<fo:table-cell number-rows-spanned="5" display-align="center"><fo:block>APR Changes</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Count</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{audit.aprChangeCount}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Change Rate</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{percentage audit.aprChangePercentage}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Total Positive Impact</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalPositiveImpactApr 6}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Total Negative Impact</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalNegativeImpactApr 6}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Avg Impact per Worksheet</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.avgImpactPerWorksheetApr 6}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row border-top="0.5pt solid black"> | |
<fo:table-cell number-rows-spanned="6" display-align="center"><fo:block>Physician Queries</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Count</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{audit.physicianQueryCount}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Percentage</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{percentage audit.physicianQueryPercentage}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Potential Positive Impact (DRG)</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalPositiveImpactDrgForQuery 4}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Potential Negative Impact (DRG)</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalNegativeImpactDrgForQuery 4}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Potential Positive Impact (APR)</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalPositiveImpactAprForQuery 6}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Potential Negative Impact (APR)</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block text-align="right">{{toFixed audit.totalNegativeImpactAprForQuery 6}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:block-container> | |
</fo:block-container> | |
<fo:block-container margin-top="2em"> | |
<fo:block font-size="16pt" font-weight="bold">TABLE OF CONTENTS</fo:block> | |
{{mixin 'tocItem' sectionId='exposition'}} | |
{{mixin 'tocItem' sectionId='summary/reasons'}} | |
{{mixin 'tocItem' sectionId='summary/actions'}} | |
{{mixin 'tocItem' sectionId='groupBy/coder'}} | |
{{mixin 'tocItem' sectionId='groupBy/drg'}} | |
{{mixin 'tocItem' sectionId='groupBy/apr'}} | |
{{mixin 'tocItem' sectionId='lines/groupBy/changeDescription'}} | |
{{mixin 'tocItem' sectionId='lines/groupBy/auditorReason'}} | |
{{mixin 'tocItem' sectionId='lines/groupBy/documentLocation'}} | |
{{mixin 'tocItem' sectionId='fullWorksheets'}} | |
</fo:block-container> | |
</fo:block> | |
</fo:flow> | |
</fo:page-sequence> | |
{{/if}} | |
{{#if (shouldPrintSummaries)}} | |
<fo:page-sequence master-reference="reports"> | |
<fo:static-content flow-name="xsl-region-before"> | |
<fo:table table-layout="fixed"> | |
<fo:table-column column-width="1.1in"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(2)"></fo:table-column> | |
<fo:table-body> | |
<fo:table-row> | |
<fo:table-cell> | |
<fo:block> | |
<fo:instream-foreign-object> | |
{#child shared/aceLogo/svg/1in/black} | |
</fo:instream-foreign-object> | |
</fo:block> | |
</fo:table-cell> | |
<fo:table-cell border-left="1pt solid black" padding-left="1em"> | |
<fo:block>Audit Results prepared for: <fo:inline font-weight="bold">{{audit.facility.name}}</fo:inline></fo:block> | |
<fo:block>by {{audit.auditor.lastName}}, {{audit.auditor.firstName}}</fo:block> | |
<fo:block>{{fullDate audit.date}}</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:static-content> | |
<fo:static-content flow-name="xsl-region-after"> | |
<fo:block text-align="end"> | |
Page | |
<fo:page-number /> | |
</fo:block> | |
</fo:static-content> | |
<fo:flow flow-name="xsl-region-body"> | |
{{#if (shouldPrint 'exposition')}} | |
<fo:block break-before="page" break-after="page" linefeed-treatment="preserve" keep-together.within-page="always" id="ref-section-exposition">{{audit.body}}</fo:block> | |
{{/if}} | |
{{#mixin 'section' sectionId='summary/reasons'}} | |
<fo:block> | |
<fo:instream-foreign-object> | |
{#child shared/chartPlaceholder/5in} | |
</fo:instream-foreign-object> | |
</fo:block> | |
{{/mixin}} | |
{{#mixin 'section' sectionId='summary/actions'}} | |
<fo:table space-before="1em"> | |
<fo:table-header> | |
<fo:table-row> | |
{{#with (makeArray 10)}} | |
{{#each .}} | |
{{#mixin 'th'}}{{fakeColumnName}}{{/mixin}} | |
{{/each}} | |
{{/with}} | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-body> | |
{{#with (makeArray 10)}} | |
{{#each .}} | |
<fo:table-row> | |
{{#with (makeArray 10)}} | |
{{#each .}} | |
<fo:table-cell><fo:block>{{fakeColumnName}}</fo:block></fo:table-cell> | |
{{/each}} | |
{{/with}} | |
</fo:table-row> | |
{{/each}} | |
{{/with}} | |
</fo:table-body> | |
</fo:table> | |
{{/mixin}} | |
{{#mixin 'section' sectionId='groupBy/coder'}} | |
{{#with audit}} | |
<fo:table width="100%" table-layout="fixed"> | |
<fo:table-column column-width="proportional-column-width(2)" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-header display-align="after"> | |
<fo:table-row font-weight="bold" border-bottom="0.75pt solid black"> | |
<fo:table-cell><fo:block>Coder</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>Audited</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">DRG
Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">APR
Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-footer> | |
<fo:table-row font-weight="bold" border-top="0.5pt solid black"> | |
<fo:table-cell><fo:block>Total</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{worksheetCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{drgChangeCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage drgChangePercentage}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{aprChangeCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage aprChangePercentage}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-footer> | |
<fo:table-body> | |
{{#each @root.subReports.worksheetsByClientSystemCoder}} | |
<fo:table-row > | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{clientSystemCoder}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{worksheetCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{drgChangeCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage drgChangePercentage}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{aprChangeCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage aprChangePercentage}}</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{/with}} | |
{{/mixin}} | |
{{#mixin 'section' sectionId='groupBy/drg'}} | |
{{#with audit}} | |
<fo:table width="100%" table-layout="fixed"> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="proportional-column-width(1)" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-header display-align="after"> | |
<fo:table-row font-weight="bold" border-bottom="0.75pt solid black"> | |
<fo:table-cell><fo:block>DRG</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Desc</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>Audited</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">DRG
Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">APR
Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-footer> | |
<fo:table-row font-weight="bold" border-top="0.5pt solid black"> | |
<fo:table-cell><fo:block>Total</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{worksheetCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{drgChangeCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage drgChangePercentage}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{aprChangeCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage aprChangePercentage}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-footer> | |
<fo:table-body> | |
{{#each (limit @root.subReports.worksheetsByDrg 10)}} | |
<fo:table-row > | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{originalDrg}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{drgCodeDescription originalDrg}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{worksheetCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{drgChangeCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage drgChangePercentage}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{aprChangeCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage aprChangePercentage}}</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{/with}} | |
{{/mixin}} | |
{{#mixin 'section' sectionId='groupBy/apr'}} | |
{{#with audit}} | |
<fo:table width="100%" table-layout="fixed"> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="proportional-column-width(1)" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-header display-align="after"> | |
<fo:table-row font-weight="bold" border-bottom="0.75pt solid black"> | |
<fo:table-cell><fo:block>APR</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Desc</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>Audited</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">DRG
Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">APR
Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-footer> | |
<fo:table-row font-weight="bold" border-top="0.5pt solid black"> | |
<fo:table-cell><fo:block>Total</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{worksheetCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{drgChangeCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage drgChangePercentage}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{aprChangeCount}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage aprChangePercentage}}</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-footer> | |
<fo:table-body> | |
{{#each (limit @root.subReports.worksheetsByApr 10)}} | |
<fo:table-row > | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{originalAprdrg}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{aprdrgCodeDescription originalAprdrg}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{worksheetCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{drgChangeCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage drgChangePercentage}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{aprChangeCount}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage aprChangePercentage}}</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{/with}} | |
{{/mixin}} | |
{{#mixin 'section' sectionId='lines/groupBy/changeDescription'}} | |
{{#with subReports.changesByChangeDescription}} | |
<fo:table width="100%" table-layout="fixed"> | |
<fo:table-column column-width="proportional-column-width(1)" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-header display-align="after"> | |
<fo:table-row font-weight="bold" border-bottom="0.75pt solid black"> | |
<fo:table-cell><fo:block>Action Taken</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-footer> | |
<fo:table-row font-weight="bold" border-top="0.5pt solid black"> | |
<fo:table-cell><fo:block>Total</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{sumOfField 'count'}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage 1.0}}</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-footer> | |
<fo:table-body> | |
{{addJustifiedPercentages . 'percentOfTotal'}} | |
{{#each (sortByDesc . 'count')}} | |
<fo:table-row > | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{changeDescription}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{count}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage percentOfTotal}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell padding-left="1em" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
{{mixin 'mini-progress-bar'}} | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{/with}} | |
{{/mixin}} | |
{{#mixin 'section' sectionId='lines/groupBy/auditorReason'}} | |
{{#with subReports.changesByAuditorReason}} | |
<fo:table width="100%" table-layout="fixed"> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="proportional-column-width(1)" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-header display-align="after"> | |
<fo:table-row font-weight="bold" border-bottom="0.75pt solid black"> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Auditor Reason</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-footer> | |
<fo:table-row font-weight="bold" border-top="0.5pt solid black"> | |
<fo:table-cell><fo:block>Total</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{sumOfField 'count'}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage 1.0}}</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-footer> | |
<fo:table-body> | |
{{addJustifiedPercentages . 'percentOfTotal'}} | |
{{#each .}} | |
<fo:table-row > | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{auditorReason}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{auditorReasonName auditorReason}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{count}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage percentOfTotal}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell padding-left="1em" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
{{mixin 'mini-progress-bar'}} | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{/with}} | |
{{/mixin}} | |
{{#mixin 'section' sectionId='lines/groupBy/documentLocation'}} | |
{{#with subReports.changesByDocumentLocation}} | |
<fo:table width="100%" table-layout="fixed"> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="proportional-column-width(1)" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-column column-width="4em" /> | |
<fo:table-header display-align="after"> | |
<fo:table-row font-weight="bold" border-bottom="0.75pt solid black"> | |
<fo:table-cell><fo:block>Doc</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Location</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block linefeed-treatment="preserve">Changes</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>%</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-footer> | |
<fo:table-row font-weight="bold" border-top="0.5pt solid black"> | |
<fo:table-cell><fo:block>Total</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{sumOfField 'count'}}</fo:block></fo:table-cell> | |
<fo:table-cell text-align="right"><fo:block>{{percentage 1.0}}</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-footer> | |
<fo:table-body> | |
{{addJustifiedPercentages . 'percentOfTotal'}} | |
{{#each .}} | |
<fo:table-row > | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{documentLocation}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>(description coming soon)</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{count}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell text-align="right" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
<fo:block>{{percentage percentOfTotal}}</fo:block> | |
</fo:table-cell> | |
<fo:table-cell padding-left="1em" {{#if (modulo2)}}background-color="#eeeeee"{{/if}}> | |
{{mixin 'mini-progress-bar'}} | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{/with}} | |
{{/mixin}} | |
</fo:flow> | |
</fo:page-sequence> | |
{{/if}} | |
<!-- BEGIN RawData --> | |
{{#if (shouldPrint 'rawData')}} | |
<fo:page-sequence master-reference="reports"> | |
<!-- <fo:static-content flow-name="xsl-region-before">--> | |
<!-- <fo:block text-align="start">--> | |
<!-- {{facility.name}}--> | |
<!-- </fo:block>--> | |
<!-- <fo:block text-align="end">Audit Results</fo:block>--> | |
<!--</fo:static-content>--> | |
<fo:static-content flow-name="xsl-region-after"> | |
<fo:block text-align="end"> | |
Page | |
<fo:page-number /> | |
</fo:block> | |
</fo:static-content> | |
<fo:flow flow-name="xsl-region-body"> | |
<fo:table> | |
<fo:table-header> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Col 1</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Col 1</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-body> | |
<fo:table-row> | |
<fo:table-cell><fo:block>Col 1</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Col 1</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:flow> | |
</fo:page-sequence> | |
{{/if}} | |
<!-- BEGIN Worksheets --> | |
{{#if (shouldPrint 'fullWorksheets')}} | |
<fo:page-sequence master-reference="worksheets"> | |
<!-- <fo:static-content flow-name="xsl-region-before">--> | |
<!-- <fo:block text-align="start">--> | |
<!-- {{facility.name}}--> | |
<!-- </fo:block>--> | |
<!-- <fo:block text-align="end">Audit Results</fo:block>--> | |
<!--</fo:static-content>--> | |
<fo:static-content flow-name="xsl-region-after"> | |
<fo:table> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-body> | |
<fo:table-row> | |
<fo:table-cell> | |
<fo:block> | |
Billing #: <fo:retrieve-marker retrieve-class-name="billingNumber"></fo:retrieve-marker> | |
</fo:block> | |
</fo:table-cell> | |
<fo:table-cell> | |
<fo:block text-align="end"> | |
Page | |
<fo:page-number /> | |
</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:static-content> | |
<fo:flow flow-name="xsl-region-body"> | |
<fo:block-container id="ref-section-fullWorksheets"> | |
{{#define 'label'}} | |
<fo:block font-family="sans-serif" margin-left="0.25em" font-size="7pt">{{@body}}</fo:block> | |
{{/define}} | |
{{#define 'worksheetField'}} | |
<fo:table-cell {{#if @span}}number-columns-spanned="{{@span}}"{{/if}} border-right="0.5pt solid black" border-bottom="0.5pt solid black"> | |
{{#if @label}}{{#mixin 'label'}}{{@label}}{{/mixin}}{{/if}} | |
<fo:block font-family="monospace" {{#if @na}}background-color="#eeeeee"{{/if}} margin-left="0" padding-left="1em">{{{@body}}}<fo:leader /></fo:block> | |
</fo:table-cell> | |
{{/define}} | |
{{#each audit.worksheets}} | |
<fo:block-container break-before="page" break-after="page"> | |
<fo:marker marker-class-name="billingNumber">{{billingNumber}}</fo:marker> | |
<fo:block font-size="12pt">Audit Worksheet</fo:block> | |
<fo:table border-top="0.5pt solid black" border-left="0.5pt solid black"> | |
<fo:table-body> | |
<fo:table-row> | |
{{#mixin 'worksheetField' label='MRN'}} | |
{{mrn}} | |
{{/mixin}} | |
{{#mixin 'worksheetField' label='Billing Number'}} | |
{{billingNumber}} | |
{{/mixin}} | |
{{#mixin 'worksheetField' label='Discharge Date'}} | |
{{fullDate dischargeDate}} | |
{{/mixin}} | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
<!-- layout table --> | |
<fo:table > | |
<fo:table-column width="50%" /> | |
<fo:table-column width="50%" /> | |
<fo:table-body> | |
<fo:table-row> | |
<fo:table-cell> | |
<fo:table border-top="0.5pt solid black" border-left="0.5pt solid black"> | |
<fo:table-body> | |
<fo:table-row> | |
{{#mixin 'worksheetField' label='Length of Stay'}} | |
{{lengthOfStay}} | |
{{/mixin}} | |
{{#mixin 'worksheetField' label='Admission Source'}} | |
{{admissionSource}} | |
{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
{{#mixin 'worksheetField' span="2" label='Physician'}} | |
{{physicianIdentifier}} | |
{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
{{#mixin 'worksheetField' span="2" label='Payor'}} | |
{{payerName}} | |
{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
{{#mixin 'worksheetField' label='Coder'}} | |
{{clientSystemCoder}} | |
{{/mixin}} | |
{{#mixin 'worksheetField' label='Validator'}} | |
{{clientSystemValidator}} | |
{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
{{#mixin 'worksheetField' label='To be Queried'}} | |
{{yesNo toBeQueried}} | |
{{/mixin}} | |
{{#mixin 'worksheetField' label='Coder Issue'}} | |
{{yesNo coderIssue}} | |
{{/mixin}} | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:table-cell> | |
<fo:table-cell> | |
<fo:table border="0.5pt solid black"> | |
<fo:table-header> | |
<fo:table-row font-size="7pt" font-weight="bold" color="white" background-color="black"> | |
<fo:table-cell border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block /></fo:table-cell> | |
<fo:table-cell border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block>Original</fo:block></fo:table-cell> | |
<fo:table-cell border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block>Revised</fo:block></fo:table-cell> | |
<fo:table-cell border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block>With Query</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-body> | |
<fo:table-row> | |
<fo:table-cell font-size="7pt" border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block margin-left="0.25em">DRG</fo:block></fo:table-cell> | |
{{#mixin 'worksheetField'}}{{originalDrg}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{revisedDrg}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{queryDrg}}{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell font-size="7pt" border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block margin-left="0.25em">DRG Weight</fo:block></fo:table-cell> | |
{{#mixin 'worksheetField'}}{{originalDrgWeight}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{revisedDrgWeight}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{queryDrgWeight}}{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell font-size="7pt" border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block margin-left="0.25em">APRDRG</fo:block></fo:table-cell> | |
{{#mixin 'worksheetField'}}{{originalAprdrg}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{revisedAprdrg}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{queryAprdrg}}{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell font-size="7pt" border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block margin-left="0.25em">APRDRG Weight</fo:block></fo:table-cell> | |
{{#mixin 'worksheetField'}}{{originalAprdrgWeight}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{revisedAprdrgWeight}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{queryAprdrgWeight}}{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell font-size="7pt" border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block margin-left="0.25em">SOI</fo:block></fo:table-cell> | |
{{#mixin 'worksheetField'}}{{originalSoi}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{revisedSoi}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{querySoi}}{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell font-size="7pt" border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block margin-left="0.25em">ROM</fo:block></fo:table-cell> | |
{{#mixin 'worksheetField'}}{{originalRom}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{revisedRom}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{queryRom}}{{/mixin}} | |
</fo:table-row> | |
<fo:table-row> | |
<fo:table-cell font-size="7pt" border-right="0.5pt solid black" border-bottom="0.5pt solid black"><fo:block margin-left="0.25em">Discharge Disp.</fo:block></fo:table-cell> | |
{{#mixin 'worksheetField'}}{{originalDischargeDisposition}}{{/mixin}} | |
{{#mixin 'worksheetField'}}{{revisedDischargeDisposition}}{{/mixin}} | |
{{#mixin 'worksheetField' na=true}}{{/mixin}} | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> <!-- end layout table --> | |
{{#define 'cell'}} | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}} font-family="monospace" border-right="0.5pt solid black" padding-left="0.3em"> | |
<fo:block>{{{@body}}}</fo:block> | |
</fo:table-cell> | |
{{/define}} | |
<!-- line items --> | |
<fo:block-container keep-together.within-page="always"> | |
<fo:table table-layout="fixed" space-before="1em" border-top="0.5pt solid black" border-left="0.5pt solid black" border-bottom="0.5pt solid black"> | |
<fo:table-column column-width="3em" ></fo:table-column> | |
<fo:table-column column-width="6em"></fo:table-column> | |
<fo:table-column column-width="2em"></fo:table-column> | |
<fo:table-column column-width="6em"></fo:table-column> | |
<fo:table-column column-width="6em"></fo:table-column> | |
<fo:table-column column-width="2em"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-header font-weight="bold" border-bottom="0.5pt solid black" border-right="0.5pt solid black"> | |
<fo:table-row font-size="7pt" color="white" background-color="black"> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Original</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>POA</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Action</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Revised</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>POA</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Reason</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Document Location</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Comments</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-body> | |
{{#each diagnoses}} | |
<fo:table-row {{#if makePrincipal}}font-weight="bold" {{/if}}> | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}} text-align="center" display-align="after" border-right="0.5pt solid black" font-size="7pt"> | |
<fo:block>{{dx @index}}</fo:block> | |
</fo:table-cell> | |
{{#mixin 'cell'}}{{originalIcd9}}{{/mixin}} | |
{{#mixin 'cell'}}{{originalPoa}}{{/mixin}} | |
{{#mixin 'cell'}}{{codeChangeText codeChange}}{{/mixin}} | |
{{#mixin 'cell'}}{{revisedIcd9}}{{/mixin}} | |
{{#mixin 'cell'}}{{revisedPoa}}{{/mixin}} | |
{{#mixin 'cell'}}{{auditorReason}}{{/mixin}} | |
{{#mixin 'cell'}}{{documentLocation}}{{/mixin}} | |
{{#mixin 'cell'}} | |
{{#if (or comments makePrincipal)}} | |
<fo:inline>*{{dx @index}}</fo:inline> | |
<!--<fo:footnote>--> | |
<!-- <fo:inline>*{{dx @index}}</fo:inline>--> | |
<!-- <fo:footnote-body>--> | |
<!-- <fo:block font-family="sans-serif">*<fo:inline baseline-shift="super">{{dx @index}}</fo:inline> {{comments}}</fo:block>--> | |
<!-- </fo:footnote-body>--> | |
<!--</fo:footnote>--> | |
{{/if}} | |
{{/mixin}} | |
</fo:table-row> | |
{{else}} | |
<fo:table-row> | |
<fo:table-cell number-columns-spanned="7" border-right="0.5pt solid black"> | |
<fo:block text-align="center">None</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{#each diagnoses}} | |
{{#if (or comments makePrincipal)}} | |
<fo:block> | |
<fo:inline font-weight="bold">{{dx @index}}:</fo:inline> {{#if makePrincipal}}(Resequence to {{dx 0}}) {{/if}}{{comments}} | |
</fo:block> | |
{{/if}} | |
{{/each}} | |
</fo:block-container> | |
<!-- end line items --> | |
<!-- line items --> | |
<fo:block-container keep-together.within-page="always"> | |
<fo:table space-before="1em" table-layout="fixed" border-top="0.5pt solid black" border-left="0.5pt solid black" border-bottom="0.5pt solid black"> | |
<fo:table-column column-width="3em" ></fo:table-column> | |
<fo:table-column column-width="6em"></fo:table-column> | |
<fo:table-column column-width="2em"></fo:table-column> | |
<fo:table-column column-width="6em"></fo:table-column> | |
<fo:table-column column-width="6em"></fo:table-column> | |
<fo:table-column column-width="2em"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-header font-weight="bold" border-bottom="0.5pt solid black" border-right="0.5pt solid black"> | |
<fo:table-row font-size="7pt" color="white" background-color="black"> | |
<fo:table-cell><fo:block></fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Original</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>POA</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Action</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Revised</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>POA</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Reason</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Document Location</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Comments</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-body> | |
{{#each procedures}} | |
<fo:table-row {{#if makePrincipal}}font-weight="bold" {{/if}}> | |
<fo:table-cell {{#if (modulo2)}}background-color="#eeeeee"{{/if}} text-align="center" display-align="after" border-right="0.5pt solid black" font-size="7pt"> | |
<fo:block>{{px @index}}</fo:block> | |
</fo:table-cell> | |
{{#mixin 'cell'}}{{originalIcd9}}{{/mixin}} | |
{{#mixin 'cell'}}{{originalPoa}}{{/mixin}} | |
{{#mixin 'cell'}}{{codeChangeText codeChange}}{{/mixin}} | |
{{#mixin 'cell'}}{{revisedIcd9}}{{/mixin}} | |
{{#mixin 'cell'}}{{revisedPoa}}{{/mixin}} | |
{{#mixin 'cell'}}{{auditorReason}}{{/mixin}} | |
{{#mixin 'cell'}}{{documentLocation}}{{/mixin}} | |
{{#mixin 'cell'}} | |
{{#if (or comments makePrincipal)}} | |
<fo:inline>*{{px @index}}</fo:inline> | |
<!--<fo:footnote>--> | |
<!-- <fo:inline>*{{px @index}}</fo:inline>--> | |
<!-- <fo:footnote-body>--> | |
<!-- <fo:block font-family="sans-serif">*<fo:inline baseline-shift="super">{{px @index}}</fo:inline> {{comments}}</fo:block>--> | |
<!-- </fo:footnote-body>--> | |
<!--</fo:footnote>--> | |
{{/if}} | |
{{/mixin}} | |
</fo:table-row> | |
{{else}} | |
<fo:table-row> | |
<fo:table-cell number-columns-spanned="8" border-right="0.5pt solid black"> | |
<fo:block text-align="center">None</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
{{#each procedures}} | |
{{#if (or comments makePrincipal)}} | |
<fo:block> | |
<fo:inline font-weight="bold">{{px @index}}:</fo:inline> {{#if makePrincipal}}(Resequence to {{px 0}}) {{/if}}{{comments}} | |
</fo:block> | |
{{/if}} | |
{{/each}} | |
</fo:block-container> | |
<!-- end line items --> | |
{{#if hospitalAcquiredConditions.length}} | |
<fo:block-container keep-together.within-page="always"> | |
<fo:table space-before="1em" table-layout="fixed" border-top="0.5pt solid black" border-left="0.5pt solid black" border-bottom="0.5pt solid black"> | |
<fo:table-column column-width="13em" ></fo:table-column> | |
<fo:table-column column-width="10em"></fo:table-column> | |
<fo:table-column column-width="proportional-column-width(1)"></fo:table-column> | |
<fo:table-header font-weight="bold" border-bottom="0.5pt solid black" border-right="0.5pt solid black"> | |
<fo:table-row font-size="7pt" color="white" background-color="black"> | |
<fo:table-cell><fo:block>MHAC Number</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Action Taken</fo:block></fo:table-cell> | |
<fo:table-cell><fo:block>Comments</fo:block></fo:table-cell> | |
</fo:table-row> | |
</fo:table-header> | |
<fo:table-body> | |
{{#each hospitalAcquiredConditions}} | |
<fo:table-row> | |
{{#mixin 'cell'}}{{hacNumber}}{{/mixin}} | |
{{#mixin 'cell'}}{{mhacChangeName hacActionTaken}}{{/mixin}} | |
{{#mixin 'cell'}}{{hacComments}}{{/mixin}} | |
</fo:table-row> | |
{{else}} | |
<fo:table-row> | |
<fo:table-cell number-columns-spanned="3" border-right="0.5pt solid black"> | |
<fo:block text-align="center">None</fo:block> | |
</fo:table-cell> | |
</fo:table-row> | |
{{/each}} | |
</fo:table-body> | |
</fo:table> | |
</fo:block-container> | |
{{/if}} | |
<!-- comments --> | |
<fo:block space-before="1em" keep-together.within-page="always"> | |
<fo:block font-size="7pt" margin="0" padding="1pt" color="white" background-color="black">Comments</fo:block> | |
<fo:block border="0.5pt solid black" margin="0" padding="0.5em" font-weight="lighter"> | |
{{#if comments}} | |
{{comments}} | |
{{else}} | |
None | |
{{/if}} | |
</fo:block> | |
</fo:block> | |
<!-- end comments --> | |
<!-- query comments --> | |
{{#if queryComments}} | |
<fo:block space-before="1em" keep-together.within-page="always"> | |
<fo:block font-size="7pt" margin="0" padding="1pt" color="white" background-color="black">Query Comments</fo:block> | |
<fo:block border="0.5pt solid black" margin="0" padding="0.5em" font-weight="lighter"> | |
{{queryComments}} | |
</fo:block> | |
</fo:block> | |
{{/if}} | |
<!-- end query comments --> | |
<!-- legend --> | |
<fo:block-container keep-with-previous="always" keep-together.within-page="always"> | |
<fo:block font-size="7pt"> | |
<fo:inline text-decoration="underline">Auditor Reason:</fo:inline> | |
{{#each @root.lookups.auditorReasons as |reasonName reasonId|}} | |
<fo:inline keep-together.within-line="always"> | |
{{reasonId}}={{reasonName}} | |
</fo:inline> | |
{{/each}} | |
</fo:block> | |
</fo:block-container> | |
</fo:block-container> | |
{{/each}} | |
</fo:block-container> | |
</fo:flow> | |
</fo:page-sequence> | |
{{/if}} | |
</fo:root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment