How: PARES_CONTEOS pairs two C2 counts of the same finding, one per exam and one per patient, with the map from exam category to patient category (BI-RADS 4A, 4B and 4C are a patient's BI-RADS 4). The exams' card (cama_birads_456_mastografia) draws IndicadorConteosPareados: a donut of the mammograms by category with their total in the centre, and grouped bars with each patient BI-RADS next to its mammograms and "≈ n por paciente" at the end of each pair. Both counts come from the same period request; a suppressed cell leaves its sum, ratio and the donut undrawn instead of using zero. The patients' indicator has no card of its own in Resumen (esSocioConteos); it still feeds its opportunity card and Histórico. Implications: the view depends on the exams' and patients' category ids (B4A..B6, BIRADS_4..BIRADS_6) matching grupoDe; a renamed category makes the view reject the answer as incompatible. The real API already publishes both indicators with these ids.
WebApp
This project was generated using Angular CLI version 22.1.8.
Development server
To start a local development server, run:
ng serve
Once the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.
Code scaffolding
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-name
For a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --help
Building
To build the project run:
ng build
This will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.
Running unit tests
To execute unit tests with the Vitest test runner, use the following command:
ng test
Running end-to-end tests
For end-to-end (e2e) testing, run:
ng e2e
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
Additional Resources
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.