Compare commits

..

106 Commits

Author SHA1 Message Date
rockdrigo 8b7dd6ec19 style(cama): the confirmation donut's result labels outside the ring
How: in donaExpandible the outer ring's labels (result and share) use
textposition 'outside' with automargin, at 12px in the text colour, so they no
longer shrink to fit their slices; every result with patients is labelled,
including small ones. The figure is 440px tall with a 30px margin; automargin
widens the margins as the labels need and the three rings shrink together, so
they stay concentric. The group labels stay inside the inner ring.

Implications: on a narrow card the rings get smaller to leave room for the
labels. CaCu's confirmation donut (with buttons) is unchanged.
2026-11-09 20:26:23 -06:00
rockdrigo 59ce79d1a2 feat(cama): the detection-rate card without its Wilson interval line
How: the card shows the rate, its period and its one-line description, like
the other C1 cards. The `intervalo` option of KpiDefinition, the interval in
KpiResult and the card's line drawing are removed, since no card uses them.

Implications: the published ic_bajo/ic_alto are no longer read by any card;
the interval is still shown where it belongs, in the rate's Histórico chart
(the band) and in the BI-RADS confirmation rates.
2026-11-09 20:15:12 -06:00
rockdrigo e13e727de3 fix(cama): the confirmation donut expands and steps back like CaCu's
How: without buttons the view uses CaCu's interactive donut rules. The selection
may have no group (the total, where the view opens). clicDona: a group narrows to
it (again: back to the total), a result is chosen inside its group (again: back
to the group), the centre steps back result -> group -> total. donaExpandible
gives the other group's slices zero, so the chosen group's results fill the
outer ring, fades a chosen result's siblings, and writes the count and the
choice in the centre ("Con biopsia" at the total). At the total the rates count
the base group, so they read as the detection rate.

Implications: only views with `botones: false` (cáncer de mama) change; CaCu's
confirmation keeps clicConfirmacion and donaConfirmacion. The previous commit's
centre label on donaConfirmacion is removed, as no view uses it now.
2026-11-09 20:11:05 -06:00
rockdrigo 67cde017fa feat(cama): the confirmation donut is the control, without label buttons
How: VistaConfirmacion gains `botones`. Without them (cáncer de mama), the
donut works like CaCu's interactive one: a click on the inner ring chooses a
group, on the outer ring a result, on the centre goes back to the base; the
centre names the choice under its count; the donut and the rates animate
between choices; a one-line hint says how. The buttons stay in the page for the
keyboard, visually hidden until one of them has the focus. CaCu keeps
`botones: true` and is unchanged.

Implications: on cáncer de mama the choice is made on the chart; a keyboard user
tabs into the hidden buttons, which then show. A view whose centre would
overflow with long labels needs shorter category names in the catalog.
2026-11-09 20:05:23 -06:00
rockdrigo 8c3e41527c feat(cama): the four BI-RADS charts as two, mammograms and patients on one card
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.
2026-11-09 19:56:36 -06:00
rockdrigo 3aba7fe329 feat(cama): histopathological confirmation drawn like CaCu's, by BI-RADS category
How: CaCu's confirmation view (rates per row with their horizontal Wilson
interval, and a donut of biopsy results whose buttons choose what the rates
count) takes a VistaConfirmacion: indicator id, stratum, fixed rows (most severe
on top), the grade whose group is the base view, the grade read as a false
positive, and its words. CONFIRMACION_CACU reproduces the previous behaviour
exactly; CONFIRMACION_CAMA reads cama_histopatologia_birads by BI-RADS 6, 5,
4C, 4B and 4A, with "Maligno" (the group of INVASOR) as the base, so the base
rate is the cancer detection rate, and "Benigno" alone reads as false positives.
The catalog card chooses the view with vistaConfirmacion(dominio, indicador).

Implications: the backend must publish cama_histopatologia_birads stratified by
`birads`, with exactly two groups of results (plus SIN_DATO/SIN_BIOPSIA kept
apart), as cacu_confirmacion_citologia is. The EU7-style view stays available
through the catalog's `escenario` field but no CaMa indicator uses it now.
2026-11-09 19:52:53 -06:00
rockdrigo 739bf9613c fix(indicadores): opportunity cards fill the height of their grid row
How: the grid rows were already equal (grid-auto-rows: 1fr), but the card kept
its content height inside the stretched panel: mat-card's height: 100% had no
definite parent height to resolve against. The KPI panel and the KPI card host
are now flex columns, and the card and mat-card grow (flex: 1 1 auto) to fill
them, so every card is as tall as its row.

Implications: applies to every domain's cards. A panel showing "Reintentar
consulta" keeps the button under its card, and the card takes the remaining
height.
2026-11-09 19:30:25 -06:00
rockdrigo 987bce0d93 style(cama): the four opportunity cards in one row, all of one size
How: cáncer de mama's card grid no longer auto-fits 18rem columns (which could
leave three cards and one below); it has two equal columns from 600px of
dashboard width and four from 1100px. With grid-auto-rows: 1fr every card is
as tall as the tallest one (the detection rate with its interval line).

Implications: CaCu keeps its auto-fit grid for its five cards. On a narrow
dashboard the cards stack in one column, still of one height per row.
2026-11-09 19:15:45 -06:00
rockdrigo eaaffa9ebe Revert "feat(indicadores): Resumen as a story of questions, for the domains that have one"
How: reverts e5ff342 entirely: indicadores-relato.ts and its spec are removed,
Resumen goes back to the opportunity cards followed by the clinical charts for
every domain, and the specs read cáncer de mama's cards in KPI order again.

Implications: no domain has a questions layout; RELATO_BY_DOMAIN is gone, so
nothing outside the KPI list and the catalog orders Resumen. The search
threshold and the equal card heights stay.
2026-11-09 19:14:30 -06:00
rockdrigo 088d9d4550 style(indicadores): opportunity cards of one height in the default layout
How: the opportunity card grid gets grid-auto-rows: 1fr, so every row is as
tall as its tallest card and all cards share that height (they already share
the column width).

Implications: CaCu and TEA cards no longer differ in height when one has a
longer line; a card with much more text makes every row taller. Domains with a
story size their cards in the story layout instead.
2026-11-09 19:09:36 -06:00
rockdrigo e5ff3427c7 feat(indicadores): Resumen as a story of questions, for the domains that have one
How: indicadores-relato.ts holds, per domain, the questions Resumen answers in
order, each with the opportunity cards and charts that answer it, a one-line
reading and, optionally, a button to the tab that continues it. Cáncer de mama
follows the patient's route: 1 ¿Cuántas pacientes tienen un hallazgo
sospechoso? (patients and mammograms with BI-RADS 4-6), 2 ¿Qué tan pronto llega
el diagnóstico? (the two time cards, then Histórico), 3 ¿Cuántos cánceres
confirma la biopsia, y en qué categorías? (detection rate and the BI-RADS
histopathology view), 4 ¿Quiénes siguen pendientes? (to Seguimiento). Each
answer leads to the next question. Indicators no question claims go to «Otros
indicadores». All opportunity cards have one size (17rem by at least 12.5rem):
beside charts they stack in a column, alone they sit in a row; charts take
equal halves and an interactive card the full width. Domains without a story
keep the opportunity and clinical sections.

Implications: the story is WebApp configuration, keyed by indicator ids; when
the catalog or KPI ids change, RELATO_BY_DOMAIN must follow (or come from the
API's metadata later, as a `pregunta` field per indicator). Cards render in
question order, so specs that read cáncer de mama's cards in DOM order expect
patients, times, then detection rate. The charts' search and the TEA print
report stay with the default layout.
2026-11-09 19:09:36 -06:00
rockdrigo 0bf1f82366 feat(indicadores): "Buscar indicadores" only from five indicators
How: searchVisible compares the indicators shown in Resumen with MIN_BUSQUEDA
(5) instead of 2. Below it every card is in view and the selector and its
"Mostrando n de m" line are not rendered.

Implications: cáncer de mama (three charts in Resumen) loses the selector; CaCu
(five) and TEA keep it. Pinning still works without it. If a domain grows past
the threshold the selector comes back with no other change.
2026-11-09 19:05:02 -06:00
rockdrigo edd6e4b640 style(indicadores): cards with a value don't say "Disponible"
How: the KPI card renders its state line only when the state is not
"Disponible"; a card with a value shows the value, unit, period and its one-line
description. Every other state ("Dato oculto por tamaño", "Selección no
consolidable", "Indicador no disponible"...) still shows, as a status message.

Implications: applies to every domain's cards. kpiResult still returns
"Disponible", so TEA's summary paragraph and any logic reading the state are
unchanged; only the card's text changes.
2026-11-09 18:49:45 -06:00
rockdrigo 3674a43587 feat(cama): four opportunity cards
How: KPI_BY_DOMAIN.cama keeps Pacientes evaluadas con BI-RADS 4, 5 y 6, Tasa de
detección histopatológica (with its Wilson interval), Tiempo de tamizaje a
resultado and Tiempo de resultado a diagnóstico. Tasa de confirmación and
Tiempo de tamizaje a diagnóstico (the sum of the two halves) are no longer
cards; both stay in Histórico.

Implications: the initial-period anchor is unchanged (the patients card). The
integration specs pin the first three cards (C2, C1, C3r); the real-data spec
builds a definition for the two answers that are no longer cards, so the C1 and
C3r rules keep being checked on real WebApi data.
2026-11-09 18:48:28 -06:00
rockdrigo 27bd4d4a65 style: institutional look, square corners and sober headings
How: --issste-radius is 4px instead of Material's medium corner (12px), and
the Material shape tokens are overridden after mat.theme (corner-full 4px, so
buttons stop being pills; medium and large 4px; extra-large 6px). The
indicators feature's 999px pills (legend buttons, EEG badges) use the shared
radius. Headings use Roboto at weight 500 instead of Rajdhani at 700, a step
smaller: page title 1.75rem, section titles 1.25rem, card titles 1.125rem,
KPI titles 1rem and KPI values 1.75rem; the header title is 1.25rem.

Implications: the corner tokens are global, so Conectar and Gobernanza (dialogs,
panels, buttons) also get square corners; their own 999px chips are unchanged.
Circles drawn with 50% (dots, swatches) stay round. Rajdhani is no longer used
anywhere, so it can be dropped from the font assets. No behaviour changes.
2026-11-09 18:26:52 -06:00
rockdrigo cbae29bc24 feat(cama): "cáncer de mama" instead of CaMa, and CaCu's brief wording
How: the parametrized domain names (domainLabels and domainTitles of the page,
domainNames of Datos y definiciones, and the header menu) say "cáncer de mama" /
"Cáncer de mama". Every non-TEA domain now uses CaCu's wording: "Indicadores de
oportunidad" and "Indicadores clínicos" as section titles, and cards that show
only their own line (the kit notes stay in the figure footers). The C2 card line
comes from a per-domain C2_INFO; CaMa's says what it counts in one sentence.

Implications: any text built from domainLabels changes with it (titles, aria
labels, "Seguimiento de cáncer de mama"); the route and API keep the `cama` id.
The header names CaMa in full while TEA and CaCu keep their short labels. The
Conectar workspace still lists "CaMa"; it has its own label table.
2026-11-09 18:24:55 -06:00
rockdrigo 35b329e235 style(indicadores): general filters as one compact row, like the Seguimiento form
How: the period editor puts Intervalo de análisis, Periodo seleccionado,
Aplicar and the "Hay cambios sin aplicar" notice on one row, with Material
density -4 (mat.theme((density: -4)) scoped to the component), and folds the
applied filter and the availability hint into one small line under it. The
"Selección en edición" and "Sin cambios pendientes" lines are gone: the
selectors already show the draft, and the notice only appears when there is
something pending. The section has less padding, a smaller title and a
one-line description per domain.

Implications: purely presentational; the filter state, the apply rules and the
requests don't change, and every spec passes unchanged. The density applies
only inside the period editor, so other form fields keep the global density.
2026-11-09 18:23:00 -06:00
rockdrigo 7f303d1160 feat(cama): opportunity cards for both halves of the screening time and the detection rate with its Wilson interval
How: KPI_BY_DOMAIN.cama gains cama_tasa_deteccion_histopatologica (C1),
cama_eu38a (screening to result) and cama_dias_resultado_diagnostico (result to
diagnosis), titled like CaCu's time cards. A KpiDefinition can ask for
`intervalo`: kpiResult then passes the row's published ic_bajo/ic_alto, and the
card draws them as a horizontal line on a 0-100 % scale with the value marked
and the bounds written out. Bounds that are missing or don't contain the value
are not drawn. CaMa uses CaCu's auto-fit card grid.

Implications: the backend must publish these three indicators (the ids are the
contract; cama_eu38a already exists in the kit) and, for the detection rate, the
Wilson bounds in ic_bajo/ic_alto, as every C1 already does; the WebApp never
computes an interval. Six CaMa cards request their data in two batches. The
period-integration specs stay pinned to the first three CaMa cards; the panel
spec covers all six.
2026-11-09 18:19:33 -06:00
rockdrigo e2b307abf5 feat(shell): domain menu in the header, as in the deployed dev version
How: on /indicadores/<domain> routes the App header shows the platform title
and a mat-menu button named after the current domain, listing the other two
(the same markup and styles as the deployed WebApp's app.html). Other routes
(Conectar, Gobernanza) keep the "Análisis de información" breadcrumb. The
indicators page drops its own TEA/CaCu/CaMa links, so there is one switcher.

Implications: domain switching now depends on the App shell; a page embedded
elsewhere has no way to change domain by itself. Specs that asserted the
in-page links now assert their absence, and app.spec covers the menu.
2026-11-09 18:10:58 -06:00
rockdrigo 39974b8533 feat(cama): TEA tabs, follow-up list from announced columns and histopathology donut by BI-RADS category 2026-11-09 17:55:34 -06:00
edgar 53edec8692 feat(tea): periodos personalizados en Histórico
«Personalizado…» en «Periodos a mostrar» abre un diálogo con los periodos del
intervalo elegido, por año. Las figuras muestran solo los elegidos, sin volver
a consultar, y cada intervalo recuerda su propia selección.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:21:18 -06:00
edgar a1ea31039e feat(tea): abrir las alteraciones del EEG con un mapa visible
Al desplegar un paciente se abre su primera alteración, o la primera métrica
si no tiene alteraciones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 13:46:26 -06:00
edgar ef631e2c0b feat(tea): cambios de la reunión del 5 de noviembre
Resumen
- Estado del caso (completo, en proceso, fuera del protocolo) al cierre del
  periodo, en una figura y en el párrafo, separado de diagnóstico confirmado.
- Tiempos por paso: M-CHAT a ADOS-2, ADOS-2 a diagnóstico y total.
- Un solo formato: barras. M24 son barras apiladas por grupo de edad.
- «Descargar reporte» abre la impresión con el periodo y los indicadores
  seleccionados.

Histórico
- Porcentaje de casos en proceso, tiempos por paso en la misma escala y
  calidad de los EEG (indicador solo de esta pestaña, con `vistas`).
- Ejes con unidades y fechas como «mar 2025».

Seguimiento
- Columna y filtro de estado del caso, con lo que falta.
- Filtro por tipo de alteración y resumen de EEG que sigue los filtros.
- Módulo de ADOS-2 junto al puntaje.
- Tarjetas de alteraciones: al elegir una se apartan y aparece su mapa, sin
  caja, con leyenda de colores. Referencia por grupo de edad.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 13:38:53 -06:00
edgar 27dc7a0166 feat(tea): calidad del EEG con criterios de PREP y calificación general
- La calificación general es una palabra (Bueno, Aceptable o Malo), como en
  Automagic, y es la peor de sus criterios.
- Los criterios son lo que busca PREP, con números: canales afectados de 19 y
  ruido de línea en dB.
- Se quitan impedancia, artefactos, canales rechazados, segmentos útiles y el
  puntaje de 100.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 12:46:01 -06:00
edgar e6353f9f4c test(tea): nuevas alteraciones del EEG en el resumen del paciente
Ritmo posterior, husos de sueño N2 y N3, picos paroxísticos y gradiente
anteroposterior.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 11:55:07 -06:00
edgar 3bb9c2121d feat(tea): botones y rótulos en la dona C2 de un solo anillo
Sin grupos de categorías (M23), la dona de TEA se dibuja como la de M21: un
anillo con rótulos, el total al centro y un botón por categoría.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 23:56:54 -06:00
edgar 737c6f9f14 feat(tea): redactar el resumen según los pacientes de M23
M23 ya no cuenta los diagnósticos descartados: el párrafo dice ahora «evaluados
por psicología [...] diagnóstico confirmado o en proceso».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 23:48:19 -06:00
edgar 8e543cbcc6 feat(tea): filtros de edad, M-CHAT y ADOS-2 en Seguimiento
- Filtros por grupo de edad, rango de riesgo M-CHAT-R/F y nivel de CSS ADOS-2.
  Se envían a la API como grupo_edad, mchat_min/max y css_min/max.
- Se quita «Ordenar por prioridad», también de CaCu, donde estaba deshabilitado.
- El grupo de edad menor pasa a 16-23 meses, igual que en los indicadores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 23:06:37 -06:00
edgar ea7aad5067 test(tea): husos del sueño por etapa N2 y N3 en el resumen del paciente
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:56:25 -06:00
edgar 09b52e6b0a feat(tea): pestaña Histórico, colores por edad en EEG y acordeón en Seguimiento
- Evolución pasa a llamarse Histórico y añade «Periodos a mostrar»: los
  últimos 5, 10, 15... meses o semestres, según el intervalo elegido.
- M21 y M22 usan un color por grupo de edad, sin verde ni rojo, también en
  sus líneas de Histórico.
- Se quita el selector «Representación gráfica».
- Todas las filas de Seguimiento de TEA se despliegan en su lugar; se quita
  la ventana propia de los pacientes impares.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:41:05 -06:00
edgar 078db53ae4 feat(tea): pestaña Evolución y paleta con el verde de ISSSTELEON
- Pestaña Evolución (solo TEA), entre Resumen y Seguimiento: una figura por
  indicador con todos los periodos publicados, mensual o semestral. Barras
  apiladas para C2, línea con intervalo de confianza para C1 y mediana con
  cuartiles para C3r. Los periodos suprimidos se sombrean, no se dibujan
  como cero.
- Paleta: verde #A8C243 y rojo ladrillo #B8433A, comprobados para
  daltonismo. Las líneas usan un verde más oscuro sobre fondo claro.
- «Sin EEG» conserva su color en M21 y M22.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:09:02 -06:00
edgar 957f4cd024 feat(tea): botones para resaltar grupos y categorías en las figuras
- Leyenda con botones, como la distribución de resultados citológicos de
  cáncer cervicouterino: el grupo o la categoría elegida conserva su color,
  el resto se atenúa, «Volver» retrocede y un clic en la figura equivale al
  botón (indicadores-highlight.ts).
- M21, M22 y M24 con botones por grupo de edad; el centro de las donas
  muestra la selección.
- En TEA, la dona C2 de un periodo (M23) se dibuja con ambos anillos y
  botones, y sus barras también los tienen.
2026-11-03 21:22:51 +00:00
edgar 1ce8d98663 feat(tea): ficha de paciente en tres columnas y dona de M21 solo con EEG
- La ficha propia del paciente reparte los paneles en tres columnas
  (dos o una en pantallas más estrechas), con los puntajes por reactivo
  abiertos y un mapa más grande.
- La dona de M21 muestra solo a los pacientes con EEG por grupo de edad;
  el centro conserva el porcentaje total con EEG.
2026-11-03 20:28:14 +00:00
edgar 1771cb7ec6 feat(tea): ficha propia para la mitad de los pacientes de Seguimiento
Los pacientes con número impar abren su propia ventana, como la ficha de
cáncer cervicouterino (con «Regresar» y un resumen arriba); los pares
conservan el resumen desplegable en la fila. El encabezado de la ficha ya
nombra el dominio en lugar de decir siempre cáncer cervicouterino.
2026-11-03 19:58:30 +00:00
edgar b74f188b15 feat(tea): dona por grupo de edad para M21 y barras por grupo de edad para M22
- M21 (fig_c1_dona_edad): solo el anillo por grupo de edad, con el porcentaje
  total con EEG al centro.
- M22 (fig_c1_barras_edad): una barra por grupo de edad con el porcentaje de
  pacientes sin EEG.
- M24 conserva la dona de dos anillos.
2026-11-03 19:45:32 +00:00
edgar 5196f20e47 feat(tea): dona de dos anillos por grupo de edad para M21, M22 y M24
Figura fig_c1_donas para indicadores C1 de un semestre: el anillo interior
divide la población entre con y sin el evento, y el exterior cada parte por
grupo de edad, con el mismo dibujo que la distribución de resultados
citológicos de cáncer cervicouterino. Se construye con los datos
estratificados por grupo de edad.
2026-11-03 19:22:54 +00:00
edgar 5d4cd6f654 feat(indicadores): enlace «Ir» en el selector y seguimiento de TEA más compacto
- Se quita el botón flotante de navegación por indicadores.
- Cada opción de «Buscar indicadores» tiene un enlace «Ir» que lleva a su
  tarjeta (y la muestra si estaba oculta por la selección).
- Resumen del paciente en Seguimiento más compacto; «Puntajes por reactivo»
  plegado por defecto, con un triángulo para desplegarlo.
2026-11-03 19:22:54 +00:00
edgar a05717f92d feat(tea): intervalo de análisis, resumen más preciso y alteraciones del EEG
- Filtro general: «Intervalo de análisis» (Semestral/Mensual) en lugar de
  «Modalidad»; al cambiar de intervalo se elige el periodo más reciente.
- Resumen de TEA: evaluaciones con o sin diagnóstico y diagnóstico positivo
  de TEA explícito.
- Seguimiento: panel «Alteraciones del EEG» (exponente aperiódico, husos del
  sueño, entropía multiescala) con posibles efectos asociados. Datos de
  ejemplo, pendientes de validación médica.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 00:07:22 +00:00
edgar 123232592f feat(indicadores): un solo periodo y selector de indicadores gráficos
- El filtro general admite un único periodo (Elegir periodo); agregar otro lo reemplaza.
- Buscar indicadores pasa a ser una lista desplegable con casillas; solo los
  indicadores marcados se muestran en Indicadores gráficos, con Mostrar todos.
2026-10-30 23:24:38 +00:00
edgar 2cbb994667 feat(tea): seguimiento con resumen por paciente y resumen por periodo
- Pestaña Seguimiento de TEA: tabla de pacientes con filtro de alteraciones EEG
  y fila desplegable con ADOS-2 por reactivo, calidad del EEG y mapa topográfico
  (GET /tea/seguimiento/<id>).
- Indicadores destacados: M21 y M22 (pacientes con TEA con y sin EEG).
- Con un solo periodo elegido, TEA muestra un párrafo de resumen en lugar de
  las tarjetas.
2026-10-30 23:24:38 +00:00
Roberto Treviño Cervantes 8c63ed83ac preliminary release 2026-10-29 12:14:56 -06:00
Roberto Treviño Cervantes e6e6fb7210 preliminary release 2026-10-29 12:12:15 -06:00
angel 82efba35cb Merge pull request 'Feature/eu7 transiciones animadas' (#8) from feature/eu7-transiciones-animadas into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/8
2026-10-28 17:18:12 +00:00
Angel Capetillo Zavala 26fe1ccbb3 feat(cacu): preparar interfaz de riesgo individual de paciente 2026-10-28 10:36:58 -06:00
Angel Capetillo Zavala 94c63c460c feat(eu7): incorporar transiciones animadas en dona y barras 2026-10-28 09:45:00 -06:00
angel 05a9967906 Merge pull request 'feat(indicadores): integrar ajustes CaCu, ficha de paciente y mejoras de navegación' (#7) from feature/detalle-paciente-cacu into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/7
2026-10-27 21:26:28 +00:00
Angel Capetillo Zavala 1c0bdf6184 feat(indicadores): completar ficha CaCu y navegación clínica 2026-10-27 14:46:51 -06:00
Roberto Treviño Cervantes 51517ddf61 integrating latest dashboard changes 2026-10-26 01:42:32 -06:00
edgar 70aa739f97 Bitácora: IND1 ya no cita kpi_catalog.yaml en la ficha
CSO5.5
2026-10-25 21:25:26 +00:00
edgar 394f2c626b fix(indicadores): «Valores publicados» y la tabla de contingencia plegada
Las tablas desplegables decían «Valores publicados y celdas suprimidas» o «… y cajas no disponibles», que confundía: ahora dicen «Valores publicados». La tabla de contingencia de citología y biopsia estaba siempre a la vista; ahora va plegada bajo «Valores publicados», como las demás. Registrado en docs/bitacora-textos.md.

CSO5.5
2026-10-25 19:43:19 +00:00
edgar 644803cf21 docs: pendiente de IND1 (fecha de corte y calidad del espécimen)
CSO5.5
2026-10-25 19:33:54 +00:00
edgar 8e9a40dec4 docs: pendientes de los textos de Tiempo de tamizaje a diagnóstico
CSO5.5
2026-10-25 18:58:40 +00:00
edgar 1bdec1b838 docs: pendientes de la ficha técnica y de la consulta de calidad satisfactoria
El método estadístico y los campos nuevos de la ficha se posponen; los textos dirán «calidad de espécimen satisfactoria» y la consulta se alineará después.

CSO5.5
2026-10-25 18:36:30 +00:00
edgar 220d5b9d26 fix(indicadores): decir qué junta «Sin dato» bajo la dona de resultados citológicos
«Sin resultado válido en el periodo» no decía qué es un resultado válido. La nota ahora dice «con resultado no disponible o de calidad de espécimen insatisfactoria a la fecha de corte», que es lo que cuenta la consulta. Registrado en docs/bitacora-textos.md.

CSO5.5
2026-10-25 18:08:00 +00:00
edgar fbfd97ec31 fix(indicadores): decir cáncer cervicouterino en lugar de CaCu en pantalla
CaCu es el nombre que le dimos nosotros, no el que busca un médico. Las etiquetas de la página dicen «cáncer cervicouterino», con mayúscula donde abre el texto (la línea «Cáncer cervicouterino, investigación», que ya no dice «Dominio»). El botón del encabezado para cambiar de proyecto sigue diciendo «CaCu», provisional; las direcciones no cambian (/indicadores/cacu). El encabezado dice «Indicadores» en lugar de «Dashboard de indicadores» y el subtítulo «Explora los indicadores de …» sin mencionar el servicio de reportes. «Datos y definiciones» ya no repite «Dominio: …» bajo su título. TEA y CaMa conservan su nombre. Registrado en docs/bitacora-textos.md.

CSO5.5
2026-10-25 17:47:14 +00:00
edgar 18692acc88 fix(indicadores): tarjetas de CaCu sin el pie de las figuras y con cuartiles escritos
Las tarjetas de indicadores de oportunidad de CaCu mostraban, después de su línea, las notas del kit (el pie de las figuras): repetían la definición y, en los tiempos, hablaban de la caja. Ahora dicen solo su línea: «Pacientes con citología tomada en el periodo.» y «n citologías; primer cuartil: x días; tercer cuartil: y días.», sin Q1 ni Q3. El número de Pacientes evaluadas no cambia; «Datos y definiciones» de CaCu aclara que incluye las citologías con espécimen insatisfactorio. TEA y CaMa no cambian. Registrado en docs/bitacora-textos.md.

CSO5.5
2026-10-25 17:18:24 +00:00
edgar 6c84dab730 refactor(indicadores): quitar interpretación y metodología de datos y definiciones
La sección general de advertencias al final de Datos y definiciones repetía avisos genéricos (nulos, periodos, intervalos, uso para investigación) que no son de ningún indicador y solo agregaban ruido; la interpretación de cada gráfica está en su botón Cómo leer. Se quita solo la sección de la plantilla y la aserción de la prueba que buscaba su texto.

CSO5.5
2026-10-25 01:46:37 +00:00
edgar 12ce93f58c fix(indicadores): conservar el pie del kit y la lectura de la fecha de corte
El kit no cambia el formato del pie de las figuras: sigue publicando «<fuente> · Fecha de corte: AAAA-MM-DD» y la misma fuente de TEA. Se revierten la expresión regular que valida el pie de TEA, la extracción de la fecha de corte bajo la gráfica, los fixtures sintéticos y sus specs a como estaban. El cambio de textos de pantalla queda solo en los literales que se muestran o se leen en aria-label, sin tocar la lógica que compara o valida.

CSO5.5
2026-10-25 01:40:17 +00:00
edgar dcaf1a8832 fix(indicadores): quitar flechas, rayas y puntos medios de los textos de pantalla
Los textos que ve una persona, visibles o en aria-label, ya no usan flechas ni rayas o puntos medios como separador: se separan con comas o se reescribe la frase (por ejemplo «Días de toma a resultado (laboratorio)», «Último dato visible, 2025-S1», «Dominio CaCu, investigación», «2025-S2, 1 de 3» o «Datos y definiciones de CaCu»). El pie que publica el kit cambia al mismo estilo, así que la validación del pie de TEA y la lectura de la fecha de corte reconocen el formato nuevo con comas y siguen aceptando el anterior para no romper con un kit previo. Se ajustan los fixtures sintéticos y las specs a los textos nuevos.

CSO5.5
2026-10-25 01:37:53 +00:00
edgar 04d529392e refactor(indicadores): quitar el resumen de indicadores del final de la página
La tabla de resumen repetía en formato largo los valores de todas las figuras; cada figura ya trae su propia tabla de valores. Se quitan el componente indicadores-numeric-summary y sus filas (indicadores-numeric-rows), y las pruebas que dependían de ellos.

CSO5.5
2026-10-25 01:19:07 +00:00
edgar 6f3e7e22f9 fix(indicadores): decir intervalo de tiempo en lugar de granularidad
El filtro general y sus mensajes de compatibilidad nombran «Intervalo de tiempo» (semestre o mes) en lugar de «Granularidad», que no es un término clínico. Cambian la etiqueta del selector y los cinco mensajes que la mencionan; las pruebas que citaban esos textos se ajustan.

CSO5.5
2026-10-25 01:04:14 +00:00
edgar 12a0398903 refactor(indicadores): quitar la tabla de reglas de datos y definiciones
Las reglas de cálculo que publica el kit en `parametros` (clave, valor, estado y fuente) irán en un apéndice o manual técnico aparte, no en la pestaña «Datos y definiciones». Se quita la tabla «Reglas» y su formato de valores, y la pestaña conserva la ficha técnica, las referencias y las poblaciones. También se retiran el tipo y la validación estricta de `parametros` en el servicio: ya nadie los usa y una lista mal formada bloqueaba los metadatos completos. Si el servidor envía `parametros`, se ignoran.

CSO5.5
2026-10-24 22:11:33 +00:00
edgar 03e51c07cc feat(indicadores): panel de tasa de confirmación histopatológica, tiempos pareados y ficha técnica
Agrega el panel de tasa de confirmación histopatológica (cacu_confirmacion_citologia): tasas por resultado citológico de alto grado con su intervalo de Wilson a la izquierda, dona del grado de biopsia a la derecha y tabla de contingencia; la vista base es «LIEAG o más» y las pacientes sin biopsia aún no entran al denominador. Une en una sola figura los tiempos de toma a resultado (pedido por id, oculto en el catálogo) y de toma a diagnóstico. La pestaña Datos y definiciones muestra la ficha técnica y las reglas del kit en tablas; las notas de cada figura pasan a su Cómo leer, las tarjetas dejan solo valor, n y periodo, y el Cómo leer de EU7 muestra solo lo que publica el kit. Las transiciones animadas quedan fuera, como entrega aparte para el diseñador.

CSO5.5
2026-10-24 21:04:57 +00:00
edgar e6be341ad9 Redondeo único de porcentajes y etiqueta de la última citología sin resultado
- indicadores-format.ts: una regla para todo porcentaje mostrado. Una décima,
  medio hacia arriba; entre 0 y 0.1, la primera cifra significativa (0.04 %).
  De un conteo se calcula con enteros; de un valor publicado, sin sorpresas de
  coma flotante. La usan el resumen numérico (que mostraba el valor crudo,
  «0.6600660066 %»), los KPI, la dona, las barras y la tabla de EU7.
- Seguimiento: la última citología sin Bethesda dice «Insatisfactoria» si su
  calidad lo es y «Sin resultado al corte» si no; antes las dos decían
  «No disponible», que queda para cuando no hay citología.

CSO5.5
2026-10-24 18:17:54 +00:00
angel 85ec11ab0f Merge pull request 'feat(indicadores): ajustar indicadores CaCu y presentacion EU7' (#6) from feature/dona-barras-generales into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/6
2026-10-24 03:23:00 +00:00
Angel Capetillo Zavala db9ab0d1a7 feat(indicadores): ajustar indicadores CaCu y presentacion EU7
Actualiza los indicadores de oportunidad y clínicos de CaCu, incorpora el KPI no disponible, prioriza EU7, independiza dos figuras mediante Todos con reporte y añade el selector de prioridad no disponible en Seguimiento. Integra además los totales por escenario en las barras de EU7 y elimina el listado inferior redundante.
2026-10-23 21:18:43 -06:00
angel af70d6f378 Merge pull request 'feat(indicadores): interacción dona-barras, homologación visual y escenario clínico EU7' (#5) from feature/dona-barras-generales into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/5
2026-10-23 19:26:56 +00:00
Angel Capetillo Zavala 1940f4fa47 feat(isssteleon): add EU7 clinical scenario charts 2026-10-23 13:18:57 -06:00
alberto ec406d5d2d Merge pull request 'Reword "¿Cómo leer?" text for proportion and box charts' (#4) from fix/como-leer-textos into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/4
2026-10-23 18:27:14 +00:00
edgar 7b82427713 Reword "¿Cómo leer?" text for proportion and box charts
Replace "denominadores pequeños" with "tamaño de muestra pequeño" and drop the mention of Plotly from the box chart and fallback texts.
2026-10-23 18:26:26 +00:00
Angel Capetillo Zavala ec642df834 style(indicadores): homologar tarjetas y navegación de dominios
Homologa la presentación de figuras y tarjetas en TEA, CaCu y CaMa; recupera las leyendas superiores, permite la expansión independiente de Cómo leer y mueve la navegación de dominios a un selector compacto con resaltado institucional en la topbar. Preserva el comportamiento de Plotly y la interacción dona-barras.
2026-10-23 12:14:17 -06:00
Angel Capetillo Zavala 540506bde0 feat(indicadores): conectar donas jerárquicas con barras generales
Habilita el filtrado visual local de barras generales mediante selecciones jerárquicas C2, preservando datos originales, periodos, porcentajes y restauración de la distribución completa.
2026-10-23 10:32:40 -06:00
Roberto Treviño Cervantes d9245fe9b7 integration layer; merge work on indicators from forks with existing ingestion pipeline 2026-10-23 08:07:02 -06:00
angel 14fd765122 Merge pull request 'Integra las mejoras del dashboard de indicadores para TEA, CaCu y CaMa.' (#3) from feature/dashboard-tabs-colores-donas into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/3
2026-10-23 07:30:35 +00:00
Angel Capetillo Zavala 9639423a32 feat(indicadores): completa metadatos y navegación multiperiodo 2026-10-23 01:18:24 -06:00
Angel Capetillo Zavala 1fe88dfb45 feat(indicadores): dashboard interactivo multidominio y seguimiento CaCu 2026-10-22 17:10:35 -06:00
edgar a30dbbb102 Merge pull request 'Feature/cama birads45' (#2) from feature/cama-birads45 into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/2
2026-10-20 07:04:58 +00:00
rodrigo 9cc67c0ef2 CaMa: sin la barra fija de BI-RADS 4 sin subcategoría
- Los catálogos de despliegue (cama.catalogos.birads y .birads_4_a_6) ya no
  traen B4: el hospital reporta la subcategoría (usuario, 2026-10-16) y la
  barra salía siempre en 0. Un 4 a secas sigue contando como sospecha y en
  BI-RADS 4 a 6, y si llega se reporta tal cual después de «Sin dato».
- CAMA_BIRADS 0.1.3, CAMA_BIRADS456_PACIENTE y _MASTOGRAFIA 0.1.1: misma
  consulta (misma huella), otras categorías publicadas.
- El fixture de H-003 pasa de B4 a B4A; pruebas e instantánea (solo agrega).

CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 08:33:30 +00:00
rodrigo 1eda9eea29 CaMa: la tasa de confirmación histopatológica vuelve al catálogo
cama_confirmacion_birads45 deja de estar oculto (usuario, 2026-10-16): se ve
su tarjeta destacada con el filtro por omisión y su gráfica de tendencia
(fig_c1_puntos). Así WebApp no necesita un caso especial para un destacado
oculto del catálogo: se revierte ese mecanismo y las pruebas del colaborador
quedan como estaban.

CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 07:48:21 +00:00
rodrigo 2cf3a5a40d Destacados: la tasa de confirmación de CaMa con su indicador oculto, y pacientes evaluadas
- cama_confirmacion_birads45 está `oculto` en su TOML a propósito (no sale en
  el catálogo ni tiene gráfica), pero su tarjeta destacada se quedaba en «Sin
  reportes disponibles» con el filtro por omisión: la disponibilidad y la
  tarjeta solo miraban el catálogo. Una definición marcada `hiddenInCatalog`
  pide sus periodos y datos por su id, que WebApi sigue sirviendo; no aparece
  en los indicadores gráficos. Las demás tarjetas no cambian.
- Primera tarjeta: «Pacientes evaluadas» (cacu_eu7) y «Pacientes evaluadas con
  BI-RADS 4, 5 y 6», que suma las categorías de cama_birads_456_paciente.
- Pruebas: indicadores-kpi-ocultos.spec.ts (con el catálogo real de CaMa),
  indicadores-kpi-cama-real.spec.ts (respuestas reales de WebApi sobre una
  base montada por dev-data: 31 pacientes, 66.7 % y la mediana del C3r). Las
  suites de catálogo y fijación aíslan sus peticiones de las tarjetas
  (kpiQueriesProvider), como las demás.

CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 07:39:08 +00:00
rodrigo 30946823c4 CaMa: título «Tasa de confirmación histopatológica», como en CaCu
Título de cama_confirmacion_birads45 (usuario, 2026-10-16), en el TOML y en
la tarjeta de indicadores destacados. Solo cambia el texto.

CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 07:16:51 +00:00
rodrigo d946228319 Destacados: títulos de los TOML y Tiempo de tamizaje a diagnóstico
- Los títulos de las tarjetas de indicadores destacados son ahora los
  `title` de los TOML del kit (M23, M24, M25, cacu_eu7, cacu_eu13,
  cama_birads, cama_confirmacion_birads45), copiados a mano: solución
  provisional hasta que las tarjetas lean el `titulo` que ya manda la API.
- La tercera tarjeta de CaCu y CaMa pasa de los días de la toma al resultado
  (cacu_eu_tiempo_reporte, cama_eu38a) a los días de la toma al diagnóstico
  (cacu_dias_toma_diagnostico, cama_dias_toma_diagnostico), «Tiempo de
  tamizaje a diagnóstico», con su horizonte provisional de 180 días.

CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 07:09:36 +00:00
alberto 8cb3c97b80 Merge pull request 'Feature/arreglos viernes alberto' (#1) from feature/arreglos-viernes-alberto into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/1
2026-10-16 02:13:52 +00:00
edgar 1fc23bd0bd TEA: indicadores destacados (M23–M25), ocultar indicadores y renombrar a pacientes 2026-10-15 22:23:39 +00:00
Angel Capetillo Zavala 11337679dc feat(indicadores): mejorar presentación y legibilidad de figuras multidominio 2026-10-15 13:45:59 -06:00
Angel Capetillo Zavala 4685a91a7c feat(ui): mejorar presentacion y disponibilidad inicial de KPI 2026-10-14 13:00:54 -06:00
Angel Capetillo Zavala 69afcc7fdb feat(ui): mejorar periodos KPI y presentacion del dashboard 2026-10-14 11:46:17 -06:00
Angel Capetillo Zavala 9fcc65d84f feat(ui): incorporar selector de figuras KPI y fijacion de indicadores 2026-10-13 22:34:57 -06:00
Angel Capetillo Zavala c4faa7d9f6 feat(ui): incorporar filtros globales por dominio UX-06E.D.2 2026-10-13 19:45:48 -06:00
Angel Capetillo Zavala 98d0614d80 feat(ui): habilitar apertura automatica UX-06E.D.1.1 2026-10-13 16:34:28 -06:00
Angel Capetillo Zavala 35e1bc33d3 feat(ui): integrar grid y KPI preliminares UX-06E.D.1 2026-10-13 16:01:48 -06:00
Angel Capetillo Zavala f96fe97ed6 feat(ui): incorporar ayuda contextual UX-06E.B1 2026-10-13 15:21:48 -06:00
Angel Capetillo Zavala fe9442237b feat(ui): refinar buscador y navegacion UX-06E.A 2026-10-13 14:43:52 -06:00
Angel Capetillo Zavala 61cdf5b72e chore(tests): retirar scripts temporales UX-06 2026-10-13 13:42:10 -06:00
Angel Capetillo Zavala 37c4eacf84 feat(ui): completar presentacion de figuras UX-06D 2026-10-13 13:41:45 -06:00
Angel Capetillo Zavala 41be0c343f feat(ui): redisenar catalogo y filtros UX-06C 2026-10-13 12:34:03 -06:00
Angel Capetillo Zavala ecf2778f1a feat(ui): incorporar base institucional UX-06B 2026-10-13 11:38:17 -06:00
Angel Capetillo Zavala 9c012e9bb4 feat(indicadores): agregar busqueda priorizada UX-05C 2026-10-13 10:42:34 -06:00
Angel Capetillo Zavala 91832cc6ff feat(indicadores): implementar catalogo expandible UX-05B 2026-10-13 10:14:27 -06:00
Angel Capetillo Zavala ea91b31b17 feat(indicadores): implementar filtros hibridos y memoria UX-04 2026-10-13 00:29:46 -06:00
Angel Capetillo Zavala ae5e4c5db5 refactor(indicadores): extraer componente de figura UX-03 2026-10-12 23:33:40 -06:00
Angel Capetillo Zavala b1c4b78f32 feat(indicadores): habilitar dashboards Angular TEA CaCu y CaMa 2026-10-12 16:39:37 -06:00
Angel Capetillo Zavala a66205b725 feat(indicadores): agregar prototipo de dashboard TEA
Implementa el prototipo del dashboard de indicadores TEA.

- Integra catálogo y figuras mediante WebApi.
- Incorpora visualizaciones interactivas con Plotly.js.
- Agrega controles de indicadores, figuras, periodos y temas.
- Implementa estados de carga, errores y diseño responsive.
- Incluye explicaciones para los contratos C1, C2 y C3r.
- Incorpora pruebas unitarias y de integración de componentes.

Prototipo para investigación con datos sintéticos.
2026-10-12 10:43:00 -06:00
Roberto Treviño Cervantes b0608fdc70 Merge remote-tracking branch 'origin/feature/frontend-flujo_inicial-20260923' into wip/mapping 2026-09-24 11:30:40 -06:00
Angel Capetillo Zavala 473a269bed Feature: Flujo inicial 2026-09-23 16:39:33 -06:00
Roberto Treviño Cervantes 3605d23fc0 initial commit 2026-09-21 10:23:37 -06:00
488 changed files with 39851 additions and 15204 deletions
+4 -3
View File
@@ -1,3 +1,4 @@
node_modules
dist
.angular
node_modules/
dist/
.angular/
.git/
+44 -4
View File
@@ -1,4 +1,44 @@
__pycache__/
node_modules/
dist/
.angular/
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
# Compiled output
/dist
/tmp
/out-tsc
/bazel-out
# Node
/node_modules
npm-debug.log
yarn-error.log
# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/mcp.json
.history/*
# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings
__screenshots__/
# System files
.DS_Store
Thumbs.db
-1
View File
@@ -1 +0,0 @@
src/app/api/
+4
View File
@@ -0,0 +1,4 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"]
}
+20
View File
@@ -0,0 +1,20 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ng serve",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
}
]
}
+42
View File
@@ -0,0 +1,42 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "start",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Changes detected"
},
"endsPattern": {
"regexp": "bundle generation (complete|failed)"
}
}
}
},
{
"type": "npm",
"script": "test",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Changes detected"
},
"endsPattern": {
"regexp": "bundle generation (complete|failed)"
}
}
}
}
]
}
+10 -5
View File
@@ -1,10 +1,15 @@
FROM node:24-alpine AS build
# Production image: build the Angular app, serve the static bundle with
# nginx, and reverse-proxy the API paths to the `webapi` compose service —
# the same routing `proxy.conf.json` gives `ng serve` in development, so the
# app's relative `/imports`, `/data`, ... calls work unchanged.
FROM node:22-slim AS build
WORKDIR /app
COPY package.json package-lock.json ./
COPY package.json package-lock.json* ./
RUN npm ci
COPY . .
RUN npx ng build
RUN npx ng build --configuration production
FROM nginx:1.29-alpine
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist/webapp/browser /usr/share/nginx/html
COPY --from=build /app/dist/WebApp/browser /usr/share/nginx/html
EXPOSE 80
+59
View File
@@ -0,0 +1,59 @@
# WebApp
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 22.1.8.
## Development server
To start a local development server, run:
```bash
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:
```bash
ng generate component component-name
```
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
```bash
ng generate --help
```
## Building
To build the project run:
```bash
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](https://vitest.dev/) test runner, use the following command:
```bash
ng test
```
## Running end-to-end tests
For end-to-end (e2e) testing, run:
```bash
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](https://angular.dev/tools/cli) page.
+23 -18
View File
@@ -2,11 +2,12 @@
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm"
"packageManager": "npm",
"analytics": false
},
"newProjectRoot": "projects",
"projects": {
"webapp": {
"WebApp": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
@@ -30,17 +31,15 @@
}
],
"styles": [
"@fontsource/roboto/300.css",
"@fontsource/roboto/400.css",
"@fontsource/roboto/500.css",
"@fontsource/roboto/700.css",
"@fontsource/rajdhani/500.css",
"@fontsource/rajdhani/600.css",
"material-symbols/outlined.css",
"node_modules/@fontsource/roboto/300.css",
"node_modules/@fontsource/roboto/400.css",
"node_modules/@fontsource/roboto/500.css",
"node_modules/@fontsource/rajdhani/600.css",
"node_modules/@fontsource/rajdhani/700.css",
"node_modules/@fontsource/roboto-mono/400.css",
"node_modules/@fontsource/roboto-mono/600.css",
"node_modules/material-icons/iconfont/filled.css",
"src/styles.scss"
],
"allowedCommonJsDependencies": [
"plotly.js-cartesian-dist-min"
]
},
"configurations": {
@@ -48,13 +47,13 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "600kB",
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
"maximumWarning": "6kB",
"maximumError": "10kB"
}
],
"outputHashing": "all"
@@ -69,18 +68,24 @@
},
"serve": {
"builder": "@angular/build:dev-server",
"options": {
"proxyConfig": "proxy.conf.json"
},
"configurations": {
"production": {
"buildTarget": "webapp:build:production"
"buildTarget": "WebApp:build:production"
},
"development": {
"buildTarget": "webapp:build:development"
"buildTarget": "WebApp:build:development"
}
},
"defaultConfiguration": "development"
},
"test": {
"builder": "@angular/build:unit-test"
"builder": "@angular/build:unit-test",
"options": {
"isolate": true
}
}
}
}
+29 -9
View File
@@ -1,11 +1,31 @@
server {
listen 80;
root /usr/share/nginx/html;
location /api/ {
proxy_pass http://api:8000/;
proxy_read_timeout 120s;
}
location / {
try_files $uri $uri/ /index.html;
}
listen 80;
server_name _;
root /usr/share/nginx/html;
# Files travel inside the import requests (multipart or base64 JSON):
# keep this above WebApi's WEBAPI_MAX_UPLOAD_MB (200 MB default) plus
# the ~33% base64 overhead.
client_max_body_size 270m;
location ~ ^/(api|imports|data|cacu|cama|tea|governance|reportes|health)(/|$) {
proxy_pass http://webapi:5000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# OCR over a stack of scanned pages takes a while.
proxy_read_timeout 600s;
}
# Bundles carry a content hash in their name; index.html doesn't, so it
# must be revalidated or browsers keep running the previous release.
location ~* \.(js|css)$ {
add_header Cache-Control "public, max-age=31536000, immutable";
try_files $uri =404;
}
location / {
add_header Cache-Control "no-cache";
try_files $uri $uri/ /index.html;
}
}
+2716 -2345
View File
File diff suppressed because it is too large Load Diff
+21 -34
View File
@@ -1,52 +1,39 @@
{
"name": "webapp",
"name": "web-app",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.conf.json",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"api": "ng-openapi-gen -c ng-openapi-gen.json"
"test": "ng test"
},
"private": true,
"packageManager": "npm@11.20.0",
"packageManager": "npm@11.17.0",
"dependencies": {
"@angular/cdk": "^22.3.0",
"@angular/common": "^22.3.0",
"@angular/compiler": "^22.3.0",
"@angular/core": "^22.3.0",
"@angular/forms": "^22.3.0",
"@angular/material": "^22.3.0",
"@angular/platform-browser": "^22.3.0",
"@angular/router": "^22.3.0",
"@fontsource/rajdhani": "5.3.0",
"@fontsource/roboto": "5.3.0",
"@ngx-formly/core": "11.2.0",
"@ngx-formly/material": "11.2.0",
"d3-drag": "3.0.0",
"d3-selection": "3.0.0",
"d3-zoom": "3.0.0",
"material-symbols": "0.48.3",
"ngx-vflow": "2.7.0",
"@angular/cdk": "^22.1.7",
"@angular/common": "^22.1.0",
"@angular/compiler": "^22.1.0",
"@angular/core": "^22.1.0",
"@angular/forms": "^22.1.0",
"@angular/material": "^22.1.7",
"@angular/platform-browser": "^22.1.0",
"@angular/router": "^22.1.0",
"@fontsource/rajdhani": "^5.3.0",
"@fontsource/roboto": "^5.3.0",
"@fontsource/roboto-mono": "^5.3.0",
"material-icons": "^1.13.14",
"plotly.js-cartesian-dist-min": "4.1.2",
"rxjs": "~7.8.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular/build": "^22.3.0",
"@angular/cli": "^22.3.0",
"@angular/compiler-cli": "^22.3.0",
"@playwright/test": "1.64.1",
"@types/d3-drag": "3.0.7",
"@types/d3-selection": "3.0.13",
"@types/d3-zoom": "3.0.9",
"@types/fhir": "0.0.44",
"@types/plotly.js": "3.0.15",
"jsdom": "^31.0.0",
"ng-openapi-gen": "^1.1.0",
"@angular/build": "^22.1.8",
"@angular/cli": "^22.1.8",
"@angular/compiler-cli": "^22.1.0",
"jsdom": "^28.0.0",
"prettier": "^3.8.1",
"typescript": "~6.0.2",
"vitest": "^5.0.0"
"vitest": "^4.0.8"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"/api": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/imports": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/data": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/health": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/cacu": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/cama": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/tea": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/governance": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true },
"/reportes": { "target": "http://localhost:5050", "secure": false, "changeOrigin": true }
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 717 B

After

Width:  |  Height:  |  Size: 15 KiB

+29 -24
View File
@@ -1,5 +1,10 @@
// This file was generated by running 'ng generate @angular/material:theme-color'.
// Proceed with caution if making changes to this file.
@use 'sass:map';
@use '@angular/material' as mat;
// Note: Color palettes are generated from primary: #a8c243, tertiary: #5f9ea0, neutral: #5c5f66
$_palettes: (
primary: (
0: #000000,
@@ -57,31 +62,31 @@ $_palettes: (
),
neutral: (
0: #000000,
10: #1b1c14,
20: #303128,
25: #3b3c32,
30: #46483d,
35: #525348,
40: #5e5f54,
50: #77786c,
60: #919285,
70: #acac9f,
80: #c7c7b9,
90: #e4e3d5,
95: #f2f2e3,
98: #fbfaeb,
99: #fdfdf5,
10: #181c22,
20: #2d3037,
25: #383b42,
30: #44474d,
35: #4f5259,
40: #5b5e65,
50: #74777e,
60: #8e9198,
70: #a9abb3,
80: #c4c6ce,
90: #e0e2ea,
95: #eff0f9,
98: #f9f9ff,
99: #fdfcff,
100: #ffffff,
4: #0d0f07,
6: #13140c,
12: #1f2017,
17: #292b21,
22: #34362c,
24: #393a30,
87: #dbdbcd,
92: #e9e9da,
94: #efefe0,
96: #f5f4e6,
4: #0b0e14,
6: #101419,
12: #1c2026,
17: #272a30,
22: #32353b,
24: #363940,
87: #d8dae2,
92: #e6e8f0,
94: #ecedf6,
96: #f1f3fc,
),
neutral-variant: (
0: #000000,
-15
View File
@@ -1,15 +0,0 @@
import { Injectable } from '@angular/core';
export function provideApiConfiguration(rootUrl: string) {
var config = new ApiConfiguration();
config.rootUrl = rootUrl;
return {
provide: ApiConfiguration,
useValue: config,
};
}
@Injectable({
providedIn: 'root',
})
export class ApiConfiguration {
rootUrl: string = '';
}
-63
View File
@@ -1,63 +0,0 @@
import { Injectable } from '@angular/core';
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable, firstValueFrom } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { ApiConfiguration } from './api-configuration';
import { StrictHttpResponse } from './strict-http-response';
export type ApiFnOptional<P, R> = (
http: HttpClient,
rootUrl: string,
params?: P,
context?: HttpContext,
) => Observable<StrictHttpResponse<R>>;
export type ApiFnRequired<P, R> = (
http: HttpClient,
rootUrl: string,
params: P,
context?: HttpContext,
) => Observable<StrictHttpResponse<R>>;
@Injectable({ providedIn: 'root' })
export class Api {
constructor(
private config: ApiConfiguration,
private http: HttpClient,
) {}
private _rootUrl?: string;
get rootUrl(): string {
return this._rootUrl || this.config.rootUrl;
}
set rootUrl(rootUrl: string) {
this._rootUrl = rootUrl;
}
invoke<P, R>(fn: ApiFnRequired<P, R>, params: P, context?: HttpContext): Promise<R>;
invoke<P, R>(fn: ApiFnOptional<P, R>, params?: P, context?: HttpContext): Promise<R>;
async invoke<P, R>(
fn: ApiFnRequired<P, R> | ApiFnOptional<P, R>,
params: P,
context?: HttpContext,
): Promise<R> {
const resp = this.invoke$Response(fn, params, context);
return (await resp).body;
}
invoke$Response<P, R>(
fn: ApiFnRequired<P, R>,
params: P,
context?: HttpContext,
): Promise<StrictHttpResponse<R>>;
invoke$Response<P, R>(
fn: ApiFnOptional<P, R>,
params?: P,
context?: HttpContext,
): Promise<StrictHttpResponse<R>>;
invoke$Response<P, R>(
fn: ApiFnRequired<P, R> | ApiFnOptional<P, R>,
params: P,
context?: HttpContext,
): Promise<StrictHttpResponse<R>> {
const obs = fn(this.http, this.rootUrl, params, context).pipe(
filter((r) => r instanceof HttpResponse),
map((r) => r as StrictHttpResponse<R>),
);
return firstValueFrom(obs);
}
}
-27
View File
@@ -1,27 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Login } from '../../models/login';
export interface AuthCookieLogin$Params {
body: Login;
}
export function authCookieLogin(
http: HttpClient,
rootUrl: string,
params: AuthCookieLogin$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<any>> {
const rb = new RequestBuilder(rootUrl, authCookieLogin.PATH, 'post');
if (params) {
rb.body(params.body, 'application/x-www-form-urlencoded');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<any>;
}),
);
}
authCookieLogin.PATH = '/auth/login';
-23
View File
@@ -1,23 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface AuthCookieLogout$Params {}
export function authCookieLogout(
http: HttpClient,
rootUrl: string,
params?: AuthCookieLogout$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<any>> {
const rb = new RequestBuilder(rootUrl, authCookieLogout.PATH, 'post');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<any>;
}),
);
}
authCookieLogout.PATH = '/auth/logout';
-24
View File
@@ -1,24 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Study } from '../../models/study';
export interface Studies$Params {}
export function studies(
http: HttpClient,
rootUrl: string,
params?: Studies$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Array<Study>>> {
const rb = new RequestBuilder(rootUrl, studies.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Array<Study>>;
}),
);
}
studies.PATH = '/tea/eegs';
-27
View File
@@ -1,27 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Analysis } from '../../models/analysis';
export interface Study$Params {
eeg_id: string;
}
export function study(
http: HttpClient,
rootUrl: string,
params: Study$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Analysis>> {
const rb = new RequestBuilder(rootUrl, study.PATH, 'get');
if (params) {
rb.path('eeg_id', params.eeg_id, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Analysis>;
}),
);
}
study.PATH = '/tea/eegs/{eeg_id}';
-29
View File
@@ -1,29 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface Metadata$Params {
domain: Domain;
}
export function metadata(
http: HttpClient,
rootUrl: string,
params: Metadata$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, metadata.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
metadata.PATH = '/{domain}/fhir/metadata';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface PostBundle$Params {
domain: Domain;
sender: string;
body: {
[key: string]: any;
};
}
export function postBundle(
http: HttpClient,
rootUrl: string,
params: PostBundle$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, postBundle.PATH, 'post');
if (params) {
rb.path('domain', params.domain, {});
rb.query('sender', params.sender, {});
rb.body(params.body, 'application/json');
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
postBundle.PATH = '/{domain}/fhir';
-31
View File
@@ -1,31 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface ReadMeasure$Params {
domain: Domain;
id: string;
}
export function readMeasure(
http: HttpClient,
rootUrl: string,
params: ReadMeasure$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, readMeasure.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.path('id', params.id, {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
readMeasure.PATH = '/{domain}/fhir/Measure/{id}';
-31
View File
@@ -1,31 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface ReadPatient$Params {
domain: Domain;
id: string;
}
export function readPatient(
http: HttpClient,
rootUrl: string,
params: ReadPatient$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, readPatient.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.path('id', params.id, {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
readPatient.PATH = '/{domain}/fhir/Patient/{id}';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchCondition$Params {
domain: Domain;
subject?: string | null;
_count?: number | null;
_offset?: number;
}
export function searchCondition(
http: HttpClient,
rootUrl: string,
params: SearchCondition$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchCondition.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('subject', params.subject, {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchCondition.PATH = '/{domain}/fhir/Condition';
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchDiagnosticReport$Params {
domain: Domain;
subject?: string | null;
_count?: number | null;
_offset?: number;
}
export function searchDiagnosticReport(
http: HttpClient,
rootUrl: string,
params: SearchDiagnosticReport$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchDiagnosticReport.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('subject', params.subject, {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchDiagnosticReport.PATH = '/{domain}/fhir/DiagnosticReport';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchEncounter$Params {
domain: Domain;
subject?: string | null;
_count?: number | null;
_offset?: number;
}
export function searchEncounter(
http: HttpClient,
rootUrl: string,
params: SearchEncounter$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchEncounter.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('subject', params.subject, {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchEncounter.PATH = '/{domain}/fhir/Encounter';
@@ -1,41 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchMeasureReport$Params {
domain: Domain;
measure: string;
'reporting-period': string;
'as-of'?: string | null;
'event-cutoff'?: string | null;
_count?: number | null;
_offset?: number;
}
export function searchMeasureReport(
http: HttpClient,
rootUrl: string,
params: SearchMeasureReport$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchMeasureReport.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('measure', params.measure, {});
rb.query('reporting-period', params['reporting-period'], {});
rb.query('as-of', params['as-of'], {});
rb.query('event-cutoff', params['event-cutoff'], {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchMeasureReport.PATH = '/{domain}/fhir/MeasureReport';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchMeasure$Params {
domain: Domain;
_count?: number | null;
_offset?: number;
}
export function searchMeasure(
http: HttpClient,
rootUrl: string,
params: SearchMeasure$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchMeasure.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchMeasure.PATH = '/{domain}/fhir/Measure';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchObservation$Params {
domain: Domain;
subject?: string | null;
_count?: number | null;
_offset?: number;
}
export function searchObservation(
http: HttpClient,
rootUrl: string,
params: SearchObservation$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchObservation.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('subject', params.subject, {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchObservation.PATH = '/{domain}/fhir/Observation';
-53
View File
@@ -1,53 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchPatient$Params {
domain: Domain;
_id?: string | null;
'follow-up-window'?: number | null;
'follow-up-cutoff'?: string | null;
'follow-up-status'?: string | null;
name?: string | null;
identifier?: string | null;
_sort?: string;
'risk-horizon'?: number | null;
_revinclude?: Array<string>;
'_include:iterate'?: Array<string>;
_count?: number | null;
_offset?: number;
}
export function searchPatient(
http: HttpClient,
rootUrl: string,
params: SearchPatient$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchPatient.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('_id', params['_id'], {});
rb.query('follow-up-window', params['follow-up-window'], {});
rb.query('follow-up-cutoff', params['follow-up-cutoff'], {});
rb.query('follow-up-status', params['follow-up-status'], {});
rb.query('name', params.name, {});
rb.query('identifier', params.identifier, {});
rb.query('_sort', params['_sort'], {});
rb.query('risk-horizon', params['risk-horizon'], {});
rb.query('_revinclude', params['_revinclude'], {});
rb.query('_include:iterate', params['_include:iterate'], {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchPatient.PATH = '/{domain}/fhir/Patient';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchProcedure$Params {
domain: Domain;
subject?: string | null;
_count?: number | null;
_offset?: number;
}
export function searchProcedure(
http: HttpClient,
rootUrl: string,
params: SearchProcedure$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchProcedure.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('subject', params.subject, {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchProcedure.PATH = '/{domain}/fhir/Procedure';
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface SearchRiskAssessment$Params {
domain: Domain;
subject?: string | null;
_count?: number | null;
_offset?: number;
}
export function searchRiskAssessment(
http: HttpClient,
rootUrl: string,
params: SearchRiskAssessment$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<{}>> {
const rb = new RequestBuilder(rootUrl, searchRiskAssessment.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.query('subject', params.subject, {});
rb.query('_count', params['_count'], {});
rb.query('_offset', params['_offset'], {});
}
return http
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{}>;
}),
);
}
searchRiskAssessment.PATH = '/{domain}/fhir/RiskAssessment';
-27
View File
@@ -1,27 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Browsed } from '../../models/browsed';
export interface Browse$Params {
path?: string | null;
}
export function browse(
http: HttpClient,
rootUrl: string,
params?: Browse$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Browsed>> {
const rb = new RequestBuilder(rootUrl, browse.PATH, 'get');
if (params) {
rb.query('path', params.path, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Browsed>;
}),
);
}
browse.PATH = '/ingest/sources/browse';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface ConceptMaps$Params {}
export function conceptMaps(
http: HttpClient,
rootUrl: string,
params?: ConceptMaps$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<
Array<{
[key: string]: any;
}>
>
> {
const rb = new RequestBuilder(rootUrl, conceptMaps.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<
Array<{
[key: string]: any;
}>
>;
}),
);
}
conceptMaps.PATH = '/ingest/concept-maps';
-32
View File
@@ -1,32 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface GetConceptMap$Params {
map_id: string;
}
export function getConceptMap(
http: HttpClient,
rootUrl: string,
params: GetConceptMap$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: any;
}>
> {
const rb = new RequestBuilder(rootUrl, getConceptMap.PATH, 'get');
if (params) {
rb.path('map_id', params.map_id, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: any;
}>;
}),
);
}
getConceptMap.PATH = '/ingest/concept-maps/{map_id}';
-40
View File
@@ -1,40 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface NodeRows$Params {
pipeline_id: string;
node_id: string;
limit?: number;
}
export function nodeRows(
http: HttpClient,
rootUrl: string,
params: NodeRows$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<
Array<{
[key: string]: any;
}>
>
> {
const rb = new RequestBuilder(rootUrl, nodeRows.PATH, 'get');
if (params) {
rb.path('pipeline_id', params.pipeline_id, {});
rb.path('node_id', params.node_id, {});
rb.query('limit', params.limit, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<
Array<{
[key: string]: any;
}>
>;
}),
);
}
nodeRows.PATH = '/ingest/pipelines/{pipeline_id}/nodes/{node_id}/rows';
-29
View File
@@ -1,29 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { SignIn } from '../../models/sign-in';
export interface OauthStart$Params {
provider: string;
origin: string;
}
export function oauthStart(
http: HttpClient,
rootUrl: string,
params: OauthStart$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<SignIn>> {
const rb = new RequestBuilder(rootUrl, oauthStart.PATH, 'get');
if (params) {
rb.path('provider', params.provider, {});
rb.query('origin', params.origin, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<SignIn>;
}),
);
}
oauthStart.PATH = '/ingest/sources/oauth/{provider}/start';
-29
View File
@@ -1,29 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { SavedPipeline } from '../../models/saved-pipeline';
export interface Pipeline$Params {
pipeline_id: string;
version?: number | null;
}
export function pipeline(
http: HttpClient,
rootUrl: string,
params: Pipeline$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<SavedPipeline>> {
const rb = new RequestBuilder(rootUrl, pipeline.PATH, 'get');
if (params) {
rb.path('pipeline_id', params.pipeline_id, {});
rb.query('version', params.version, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<SavedPipeline>;
}),
);
}
pipeline.PATH = '/ingest/pipelines/{pipeline_id}';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface Pipelines$Params {}
export function pipelines(
http: HttpClient,
rootUrl: string,
params?: Pipelines$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<
Array<{
[key: string]: any;
}>
>
> {
const rb = new RequestBuilder(rootUrl, pipelines.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<
Array<{
[key: string]: any;
}>
>;
}),
);
}
pipelines.PATH = '/ingest/pipelines';
-36
View File
@@ -1,36 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface SaveConceptMap$Params {
map_id: string;
body: {
[key: string]: any;
};
}
export function saveConceptMap(
http: HttpClient,
rootUrl: string,
params: SaveConceptMap$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: number;
}>
> {
const rb = new RequestBuilder(rootUrl, saveConceptMap.PATH, 'put');
if (params) {
rb.path('map_id', params.map_id, {});
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: number;
}>;
}),
);
}
saveConceptMap.PATH = '/ingest/concept-maps/{map_id}';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Pipeline } from '../../models/pipeline';
export interface SavePipeline$Params {
pipeline_id: string;
body: Pipeline;
}
export function savePipeline(
http: HttpClient,
rootUrl: string,
params: SavePipeline$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: number;
}>
> {
const rb = new RequestBuilder(rootUrl, savePipeline.PATH, 'put');
if (params) {
rb.path('pipeline_id', params.pipeline_id, {});
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: number;
}>;
}),
);
}
savePipeline.PATH = '/ingest/pipelines/{pipeline_id}';
-29
View File
@@ -1,29 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface Schema$Params {}
export function schema(
http: HttpClient,
rootUrl: string,
params?: Schema$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: any;
}>
> {
const rb = new RequestBuilder(rootUrl, schema.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: any;
}>;
}),
);
}
schema.PATH = '/ingest/schema';
-39
View File
@@ -1,39 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Source } from '../../models/source';
export interface SourcePreview$Params {
limit?: number;
body: Source;
}
export function sourcePreview(
http: HttpClient,
rootUrl: string,
params: SourcePreview$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<
Array<{
[key: string]: any;
}>
>
> {
const rb = new RequestBuilder(rootUrl, sourcePreview.PATH, 'post');
if (params) {
rb.query('limit', params.limit, {});
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<
Array<{
[key: string]: any;
}>
>;
}),
);
}
sourcePreview.PATH = '/ingest/sources/preview';
-27
View File
@@ -1,27 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { SourceRef } from '../../models/source-ref';
export interface SourceResources$Params {
body: SourceRef;
}
export function sourceResources(
http: HttpClient,
rootUrl: string,
params: SourceResources$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Array<string>>> {
const rb = new RequestBuilder(rootUrl, sourceResources.PATH, 'post');
if (params) {
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Array<string>>;
}),
);
}
sourceResources.PATH = '/ingest/sources/resources';
-24
View File
@@ -1,24 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Catalog } from '../../models/catalog';
export interface SourceTypes$Params {}
export function sourceTypes(
http: HttpClient,
rootUrl: string,
params?: SourceTypes$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Catalog>> {
const rb = new RequestBuilder(rootUrl, sourceTypes.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Catalog>;
}),
);
}
sourceTypes.PATH = '/ingest/sources/types';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { RunRequest } from '../../models/run-request';
export interface StartRun$Params {
pipeline_id: string;
body: RunRequest;
}
export function startRun(
http: HttpClient,
rootUrl: string,
params: StartRun$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, startRun.PATH, 'post');
if (params) {
rb.path('pipeline_id', params.pipeline_id, {});
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
startRun.PATH = '/ingest/pipelines/{pipeline_id}/runs';
-30
View File
@@ -1,30 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Answers } from '../../models/answers';
import { Tested } from '../../models/tested';
export interface TestSource$Params {
limit?: number;
body: Answers;
}
export function testSource(
http: HttpClient,
rootUrl: string,
params: TestSource$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Tested>> {
const rb = new RequestBuilder(rootUrl, testSource.PATH, 'post');
if (params) {
rb.query('limit', params.limit, {});
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Tested>;
}),
);
}
testSource.PATH = '/ingest/sources/test';
-28
View File
@@ -1,28 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { BodyUpload } from '../../models/body-upload';
import { Uploaded } from '../../models/uploaded';
export interface Upload$Params {
body: BodyUpload;
}
export function upload(
http: HttpClient,
rootUrl: string,
params: Upload$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Uploaded>> {
const rb = new RequestBuilder(rootUrl, upload.PATH, 'post');
if (params) {
rb.body(params.body, 'multipart/form-data');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Uploaded>;
}),
);
}
upload.PATH = '/ingest/uploads';
@@ -1,41 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { BodyAddClinicalValidation } from '../../models/body-add-clinical-validation';
import { Domain } from '../../models/domain';
export interface AddClinicalValidation$Params {
domain: Domain;
name: string;
version: number;
body: BodyAddClinicalValidation;
}
export function addClinicalValidation(
http: HttpClient,
rootUrl: string,
params: AddClinicalValidation$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: any;
}>
> {
const rb = new RequestBuilder(rootUrl, addClinicalValidation.PATH, 'post');
if (params) {
rb.path('domain', params.domain, {});
rb.path('name', params.name, {});
rb.path('version', params.version, {});
rb.body(params.body, 'multipart/form-data');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: any;
}>;
}),
);
}
addClinicalValidation.PATH =
'/models/{domain}/{name}/versions/{version}/reports/clinical_validation';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface Analyze$Params {
domain: Domain;
}
export function analyze(
http: HttpClient,
rootUrl: string,
params: Analyze$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, analyze.PATH, 'post');
if (params) {
rb.path('domain', params.domain, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
analyze.PATH = '/models/{domain}/analyze';
-28
View File
@@ -1,28 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
import { Model } from '../../models/model';
export interface Models$Params {
domain: Domain;
}
export function models(
http: HttpClient,
rootUrl: string,
params: Models$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Array<Model>>> {
const rb = new RequestBuilder(rootUrl, models.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Array<Model>>;
}),
);
}
models.PATH = '/models/{domain}';
-37
View File
@@ -1,37 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface Promote$Params {
domain: Domain;
name: string;
version: number;
}
export function promote(
http: HttpClient,
rootUrl: string,
params: Promote$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: any;
}>
> {
const rb = new RequestBuilder(rootUrl, promote.PATH, 'post');
if (params) {
rb.path('domain', params.domain, {});
rb.path('name', params.name, {});
rb.path('version', params.version, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: any;
}>;
}),
);
}
promote.PATH = '/models/{domain}/{name}/versions/{version}/promote';
-35
View File
@@ -1,35 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface ReadReport$Any$Params {
domain: Domain;
name: string;
version: number;
report: string;
}
export function readReport$Any(
http: HttpClient,
rootUrl: string,
params: ReadReport$Any$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<any>> {
const rb = new RequestBuilder(rootUrl, readReport$Any.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.path('name', params.name, {});
rb.path('version', params.version, {});
rb.path('report', params.report, {});
}
return http
.request(rb.build({ responseType: 'blob', accept: 'application/octet-stream', context }))
.pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<any>;
}),
);
}
readReport$Any.PATH = '/models/{domain}/{name}/versions/{version}/reports/{report}';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface ReadReport$Json$Params {
domain: Domain;
name: string;
version: number;
report: string;
}
export function readReport$Json(
http: HttpClient,
rootUrl: string,
params: ReadReport$Json$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<any>> {
const rb = new RequestBuilder(rootUrl, readReport$Json.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.path('name', params.name, {});
rb.path('version', params.version, {});
rb.path('report', params.report, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<any>;
}),
);
}
readReport$Json.PATH = '/models/{domain}/{name}/versions/{version}/reports/{report}';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface Score$Params {
domain: Domain;
}
export function score(
http: HttpClient,
rootUrl: string,
params: Score$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, score.PATH, 'post');
if (params) {
rb.path('domain', params.domain, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
score.PATH = '/models/{domain}/score';
-36
View File
@@ -1,36 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
import { Training } from '../../models/training';
export interface Train$Params {
domain: Domain;
body: Training;
}
export function train(
http: HttpClient,
rootUrl: string,
params: Train$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, train.PATH, 'post');
if (params) {
rb.path('domain', params.domain, {});
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
train.PATH = '/models/{domain}/train';
-30
View File
@@ -1,30 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
import { Version } from '../../models/version';
export interface Versions$Params {
domain: Domain;
name: string;
}
export function versions(
http: HttpClient,
rootUrl: string,
params: Versions$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Array<Version>>> {
const rb = new RequestBuilder(rootUrl, versions.PATH, 'get');
if (params) {
rb.path('domain', params.domain, {});
rb.path('name', params.name, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Array<Version>>;
}),
);
}
versions.PATH = '/models/{domain}/{name}/versions';
-24
View File
@@ -1,24 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Domain } from '../../models/domain';
export interface Domains$Params {}
export function domains(
http: HttpClient,
rootUrl: string,
params?: Domains$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<Array<Domain>>> {
const rb = new RequestBuilder(rootUrl, domains.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<Array<Domain>>;
}),
);
}
domains.PATH = '/domains';
-29
View File
@@ -1,29 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface Health$Params {}
export function health(
http: HttpClient,
rootUrl: string,
params?: Health$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, health.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
health.PATH = '/health';
-48
View File
@@ -1,48 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface Conflicts$Params {
entity:
| 'identity'
| 'cervical_cytology'
| 'cervical_biopsy'
| 'mammography'
| 'breast_biopsy'
| 'breast_treatment'
| 'breast_recurrence'
| 'clinical_note'
| 'death'
| 'mchat'
| 'ados2'
| 'eeg';
}
export function conflicts(
http: HttpClient,
rootUrl: string,
params: Conflicts$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<
Array<{
[key: string]: any;
}>
>
> {
const rb = new RequestBuilder(rootUrl, conflicts.PATH, 'get');
if (params) {
rb.query('entity', params.entity, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<
Array<{
[key: string]: any;
}>
>;
}),
);
}
conflicts.PATH = '/review/conflicts';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Correction } from '../../models/correction';
export interface Correct$Params {
body: Correction;
}
export function correct(
http: HttpClient,
rootUrl: string,
params: Correct$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, correct.PATH, 'post');
if (params) {
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
correct.PATH = '/review/corrections';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { PersonDecision } from '../../models/person-decision';
export interface DecidePersons$Params {
body: PersonDecision;
}
export function decidePersons(
http: HttpClient,
rootUrl: string,
params: DecidePersons$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, decidePersons.PATH, 'post');
if (params) {
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
decidePersons.PATH = '/review/persons';
-48
View File
@@ -1,48 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface Held$Params {
entity:
| 'identity'
| 'cervical_cytology'
| 'cervical_biopsy'
| 'mammography'
| 'breast_biopsy'
| 'breast_treatment'
| 'breast_recurrence'
| 'clinical_note'
| 'death'
| 'mchat'
| 'ados2'
| 'eeg';
}
export function held(
http: HttpClient,
rootUrl: string,
params: Held$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<
Array<{
[key: string]: any;
}>
>
> {
const rb = new RequestBuilder(rootUrl, held.PATH, 'get');
if (params) {
rb.query('entity', params.entity, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<
Array<{
[key: string]: any;
}>
>;
}),
);
}
held.PATH = '/review/held';
-38
View File
@@ -1,38 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface Persons$Params {
pipeline: string;
node: string;
}
export function persons(
http: HttpClient,
rootUrl: string,
params: Persons$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: Array<{
[key: string]: any;
}>;
}>
> {
const rb = new RequestBuilder(rootUrl, persons.PATH, 'get');
if (params) {
rb.query('pipeline', params.pipeline, {});
rb.query('node', params.node, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: Array<{
[key: string]: any;
}>;
}>;
}),
);
}
persons.PATH = '/review/persons';
-33
View File
@@ -1,33 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { Rejection } from '../../models/rejection';
export interface Reject$Params {
body: Rejection;
}
export function reject(
http: HttpClient,
rootUrl: string,
params: Reject$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, reject.PATH, 'post');
if (params) {
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
reject.PATH = '/review/rejections';
-36
View File
@@ -1,36 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface Unrecognised$Params {
pipeline: string;
}
export function unrecognised(
http: HttpClient,
rootUrl: string,
params: Unrecognised$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<
Array<{
[key: string]: any;
}>
>
> {
const rb = new RequestBuilder(rootUrl, unrecognised.PATH, 'get');
if (params) {
rb.query('pipeline', params.pipeline, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<
Array<{
[key: string]: any;
}>
>;
}),
);
}
unrecognised.PATH = '/review/unrecognised';
-32
View File
@@ -1,32 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface RunStatus$Params {
run_id: string;
}
export function runStatus(
http: HttpClient,
rootUrl: string,
params: RunStatus$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, runStatus.PATH, 'get');
if (params) {
rb.path('run_id', params.run_id, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
runStatus.PATH = '/runs/{run_id}';
-32
View File
@@ -1,32 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface TerminateRun$Params {
run_id: string;
}
export function terminateRun(
http: HttpClient,
rootUrl: string,
params: TerminateRun$Params,
context?: HttpContext,
): Observable<
StrictHttpResponse<{
[key: string]: string;
}>
> {
const rb = new RequestBuilder(rootUrl, terminateRun.PATH, 'post');
if (params) {
rb.path('run_id', params.run_id, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<{
[key: string]: string;
}>;
}),
);
}
terminateRun.PATH = '/runs/{run_id}/terminate';
-28
View File
@@ -1,28 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { UserCreate } from '../../models/user-create';
import { UserRead } from '../../models/user-read';
export interface RegisterRegister$Params {
body: UserCreate;
}
export function registerRegister(
http: HttpClient,
rootUrl: string,
params: RegisterRegister$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<UserRead>> {
const rb = new RequestBuilder(rootUrl, registerRegister.PATH, 'post');
if (params) {
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<UserRead>;
}),
);
}
registerRegister.PATH = '/users/register';
@@ -1,24 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { UserRead } from '../../models/user-read';
export interface UsersCurrentUser$Params {}
export function usersCurrentUser(
http: HttpClient,
rootUrl: string,
params?: UsersCurrentUser$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<UserRead>> {
const rb = new RequestBuilder(rootUrl, usersCurrentUser.PATH, 'get');
if (params) {
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<UserRead>;
}),
);
}
usersCurrentUser.PATH = '/users/me';
-26
View File
@@ -1,26 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
export interface UsersDeleteUser$Params {
id: string;
}
export function usersDeleteUser(
http: HttpClient,
rootUrl: string,
params: UsersDeleteUser$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<void>> {
const rb = new RequestBuilder(rootUrl, usersDeleteUser.PATH, 'delete');
if (params) {
rb.path('id', params.id, {});
}
return http.request(rb.build({ responseType: 'text', accept: '*/*', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return (r as HttpResponse<any>).clone({ body: undefined }) as StrictHttpResponse<void>;
}),
);
}
usersDeleteUser.PATH = '/users/{id}';
@@ -1,28 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { UserRead } from '../../models/user-read';
import { UserUpdate } from '../../models/user-update';
export interface UsersPatchCurrentUser$Params {
body: UserUpdate;
}
export function usersPatchCurrentUser(
http: HttpClient,
rootUrl: string,
params: UsersPatchCurrentUser$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<UserRead>> {
const rb = new RequestBuilder(rootUrl, usersPatchCurrentUser.PATH, 'patch');
if (params) {
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<UserRead>;
}),
);
}
usersPatchCurrentUser.PATH = '/users/me';
-30
View File
@@ -1,30 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { UserRead } from '../../models/user-read';
import { UserUpdate } from '../../models/user-update';
export interface UsersPatchUser$Params {
id: string;
body: UserUpdate;
}
export function usersPatchUser(
http: HttpClient,
rootUrl: string,
params: UsersPatchUser$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<UserRead>> {
const rb = new RequestBuilder(rootUrl, usersPatchUser.PATH, 'patch');
if (params) {
rb.path('id', params.id, {});
rb.body(params.body, 'application/json');
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<UserRead>;
}),
);
}
usersPatchUser.PATH = '/users/{id}';
-27
View File
@@ -1,27 +0,0 @@
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs';
import { filter, map } from 'rxjs/operators';
import { StrictHttpResponse } from '../../strict-http-response';
import { RequestBuilder } from '../../request-builder';
import { UserRead } from '../../models/user-read';
export interface UsersUser$Params {
id: string;
}
export function usersUser(
http: HttpClient,
rootUrl: string,
params: UsersUser$Params,
context?: HttpContext,
): Observable<StrictHttpResponse<UserRead>> {
const rb = new RequestBuilder(rootUrl, usersUser.PATH, 'get');
if (params) {
rb.path('id', params.id, {});
}
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
map((r: HttpResponse<any>) => {
return r as StrictHttpResponse<UserRead>;
}),
);
}
usersUser.PATH = '/users/{id}';
-118
View File
@@ -1,118 +0,0 @@
export type { AuthCookieLogin$Params as AuthCookieLogin$Params } from './fn/auth/auth-cookie-login';
export { authCookieLogin as authCookieLogin } from './fn/auth/auth-cookie-login';
export type { AuthCookieLogout$Params as AuthCookieLogout$Params } from './fn/auth/auth-cookie-logout';
export { authCookieLogout as authCookieLogout } from './fn/auth/auth-cookie-logout';
export type { Domains$Params as Domains$Params } from './fn/operations/domains';
export { domains as domains } from './fn/operations/domains';
export type { Health$Params as Health$Params } from './fn/operations/health';
export { health as health } from './fn/operations/health';
export type { ConceptMaps$Params as ConceptMaps$Params } from './fn/ingest/concept-maps';
export { conceptMaps as conceptMaps } from './fn/ingest/concept-maps';
export type { GetConceptMap$Params as GetConceptMap$Params } from './fn/ingest/get-concept-map';
export { getConceptMap as getConceptMap } from './fn/ingest/get-concept-map';
export type { SaveConceptMap$Params as SaveConceptMap$Params } from './fn/ingest/save-concept-map';
export { saveConceptMap as saveConceptMap } from './fn/ingest/save-concept-map';
export type { Pipelines$Params as Pipelines$Params } from './fn/ingest/pipelines';
export { pipelines as pipelines } from './fn/ingest/pipelines';
export type { Pipeline$Params as Pipeline$Params } from './fn/ingest/pipeline';
export { pipeline as pipeline } from './fn/ingest/pipeline';
export type { SavePipeline$Params as SavePipeline$Params } from './fn/ingest/save-pipeline';
export { savePipeline as savePipeline } from './fn/ingest/save-pipeline';
export type { NodeRows$Params as NodeRows$Params } from './fn/ingest/node-rows';
export { nodeRows as nodeRows } from './fn/ingest/node-rows';
export type { StartRun$Params as StartRun$Params } from './fn/ingest/start-run';
export { startRun as startRun } from './fn/ingest/start-run';
export type { Schema$Params as Schema$Params } from './fn/ingest/schema';
export { schema as schema } from './fn/ingest/schema';
export type { Browse$Params as Browse$Params } from './fn/ingest/browse';
export { browse as browse } from './fn/ingest/browse';
export type { OauthStart$Params as OauthStart$Params } from './fn/ingest/oauth-start';
export { oauthStart as oauthStart } from './fn/ingest/oauth-start';
export type { SourcePreview$Params as SourcePreview$Params } from './fn/ingest/source-preview';
export { sourcePreview as sourcePreview } from './fn/ingest/source-preview';
export type { SourceResources$Params as SourceResources$Params } from './fn/ingest/source-resources';
export { sourceResources as sourceResources } from './fn/ingest/source-resources';
export type { TestSource$Params as TestSource$Params } from './fn/ingest/test-source';
export { testSource as testSource } from './fn/ingest/test-source';
export type { SourceTypes$Params as SourceTypes$Params } from './fn/ingest/source-types';
export { sourceTypes as sourceTypes } from './fn/ingest/source-types';
export type { Upload$Params as Upload$Params } from './fn/ingest/upload';
export { upload as upload } from './fn/ingest/upload';
export type { Models$Params as Models$Params } from './fn/models/models';
export { models as models } from './fn/models/models';
export type { Analyze$Params as Analyze$Params } from './fn/models/analyze';
export { analyze as analyze } from './fn/models/analyze';
export type { Score$Params as Score$Params } from './fn/models/score';
export { score as score } from './fn/models/score';
export type { Train$Params as Train$Params } from './fn/models/train';
export { train as train } from './fn/models/train';
export type { Versions$Params as Versions$Params } from './fn/models/versions';
export { versions as versions } from './fn/models/versions';
export type { Promote$Params as Promote$Params } from './fn/models/promote';
export { promote as promote } from './fn/models/promote';
export type { AddClinicalValidation$Params as AddClinicalValidation$Params } from './fn/models/add-clinical-validation';
export { addClinicalValidation as addClinicalValidation } from './fn/models/add-clinical-validation';
export type { ReadReport$Json$Params as ReadReport$Json$Params } from './fn/models/read-report-json';
export { readReport$Json as readReport$Json } from './fn/models/read-report-json';
export type { ReadReport$Any$Params as ReadReport$Any$Params } from './fn/models/read-report-any';
export { readReport$Any as readReport$Any } from './fn/models/read-report-any';
export type { Conflicts$Params as Conflicts$Params } from './fn/review/conflicts';
export { conflicts as conflicts } from './fn/review/conflicts';
export type { Correct$Params as Correct$Params } from './fn/review/correct';
export { correct as correct } from './fn/review/correct';
export type { Held$Params as Held$Params } from './fn/review/held';
export { held as held } from './fn/review/held';
export type { Persons$Params as Persons$Params } from './fn/review/persons';
export { persons as persons } from './fn/review/persons';
export type { DecidePersons$Params as DecidePersons$Params } from './fn/review/decide-persons';
export { decidePersons as decidePersons } from './fn/review/decide-persons';
export type { Reject$Params as Reject$Params } from './fn/review/reject';
export { reject as reject } from './fn/review/reject';
export type { Unrecognised$Params as Unrecognised$Params } from './fn/review/unrecognised';
export { unrecognised as unrecognised } from './fn/review/unrecognised';
export type { RunStatus$Params as RunStatus$Params } from './fn/runs/run-status';
export { runStatus as runStatus } from './fn/runs/run-status';
export type { TerminateRun$Params as TerminateRun$Params } from './fn/runs/terminate-run';
export { terminateRun as terminateRun } from './fn/runs/terminate-run';
export type { Studies$Params as Studies$Params } from './fn/eeg/studies';
export { studies as studies } from './fn/eeg/studies';
export type { Study$Params as Study$Params } from './fn/eeg/study';
export { study as study } from './fn/eeg/study';
export type { UsersCurrentUser$Params as UsersCurrentUser$Params } from './fn/users/users-current-user';
export { usersCurrentUser as usersCurrentUser } from './fn/users/users-current-user';
export type { UsersPatchCurrentUser$Params as UsersPatchCurrentUser$Params } from './fn/users/users-patch-current-user';
export { usersPatchCurrentUser as usersPatchCurrentUser } from './fn/users/users-patch-current-user';
export type { RegisterRegister$Params as RegisterRegister$Params } from './fn/users/register-register';
export { registerRegister as registerRegister } from './fn/users/register-register';
export type { UsersUser$Params as UsersUser$Params } from './fn/users/users-user';
export { usersUser as usersUser } from './fn/users/users-user';
export type { UsersDeleteUser$Params as UsersDeleteUser$Params } from './fn/users/users-delete-user';
export { usersDeleteUser as usersDeleteUser } from './fn/users/users-delete-user';
export type { UsersPatchUser$Params as UsersPatchUser$Params } from './fn/users/users-patch-user';
export { usersPatchUser as usersPatchUser } from './fn/users/users-patch-user';
export type { PostBundle$Params as PostBundle$Params } from './fn/fhir/post-bundle';
export { postBundle as postBundle } from './fn/fhir/post-bundle';
export type { SearchCondition$Params as SearchCondition$Params } from './fn/fhir/search-condition';
export { searchCondition as searchCondition } from './fn/fhir/search-condition';
export type { SearchDiagnosticReport$Params as SearchDiagnosticReport$Params } from './fn/fhir/search-diagnostic-report';
export { searchDiagnosticReport as searchDiagnosticReport } from './fn/fhir/search-diagnostic-report';
export type { SearchEncounter$Params as SearchEncounter$Params } from './fn/fhir/search-encounter';
export { searchEncounter as searchEncounter } from './fn/fhir/search-encounter';
export type { SearchMeasure$Params as SearchMeasure$Params } from './fn/fhir/search-measure';
export { searchMeasure as searchMeasure } from './fn/fhir/search-measure';
export type { ReadMeasure$Params as ReadMeasure$Params } from './fn/fhir/read-measure';
export { readMeasure as readMeasure } from './fn/fhir/read-measure';
export type { SearchMeasureReport$Params as SearchMeasureReport$Params } from './fn/fhir/search-measure-report';
export { searchMeasureReport as searchMeasureReport } from './fn/fhir/search-measure-report';
export type { SearchObservation$Params as SearchObservation$Params } from './fn/fhir/search-observation';
export { searchObservation as searchObservation } from './fn/fhir/search-observation';
export type { SearchPatient$Params as SearchPatient$Params } from './fn/fhir/search-patient';
export { searchPatient as searchPatient } from './fn/fhir/search-patient';
export type { ReadPatient$Params as ReadPatient$Params } from './fn/fhir/read-patient';
export { readPatient as readPatient } from './fn/fhir/read-patient';
export type { SearchProcedure$Params as SearchProcedure$Params } from './fn/fhir/search-procedure';
export { searchProcedure as searchProcedure } from './fn/fhir/search-procedure';
export type { SearchRiskAssessment$Params as SearchRiskAssessment$Params } from './fn/fhir/search-risk-assessment';
export { searchRiskAssessment as searchRiskAssessment } from './fn/fhir/search-risk-assessment';
export type { Metadata$Params as Metadata$Params } from './fn/fhir/metadata';
export { metadata as metadata } from './fn/fhir/metadata';
-50
View File
@@ -1,50 +0,0 @@
export type { Analysis } from './models/analysis';
export type { Answers } from './models/answers';
export type { BodyAddClinicalValidation } from './models/body-add-clinical-validation';
export type { BodyUpload } from './models/body-upload';
export type { Browsed } from './models/browsed';
export type { Catalog } from './models/catalog';
export type { Condition } from './models/condition';
export type { Correction } from './models/correction';
export type { Domain } from './models/domain';
export type { Entry } from './models/entry';
export type { ErrorModel } from './models/error-model';
export type { Extract } from './models/extract';
export type { Fhir } from './models/fhir';
export type { FieldSpec } from './models/field-spec';
export type { Group } from './models/group';
export type { Guided } from './models/guided';
export type { HttpValidationError } from './models/http-validation-error';
export type { Join } from './models/join';
export type { Link } from './models/link';
export type { Listing } from './models/listing';
export type { Login } from './models/login';
export type { Map } from './models/map';
export type { Metric } from './models/metric';
export type { Model } from './models/model';
export type { Option } from './models/option';
export type { PersonDecision } from './models/person-decision';
export type { Pipeline } from './models/pipeline';
export type { Position } from './models/position';
export type { Provider } from './models/provider';
export type { Read } from './models/read';
export type { Rejection } from './models/rejection';
export type { Relation } from './models/relation';
export type { Route } from './models/route';
export type { RunRequest } from './models/run-request';
export type { SavedPipeline } from './models/saved-pipeline';
export type { SignIn } from './models/sign-in';
export type { Site } from './models/site';
export type { Source } from './models/source';
export type { SourceRef } from './models/source-ref';
export type { SourceType } from './models/source-type';
export type { Study } from './models/study';
export type { Target } from './models/target';
export type { Tested } from './models/tested';
export type { Training } from './models/training';
export type { Uploaded } from './models/uploaded';
export type { UserCreate } from './models/user-create';
export type { UserRead } from './models/user-read';
export type { UserUpdate } from './models/user-update';
export type { ValidationError } from './models/validation-error';
export type { Version } from './models/version';
-10
View File
@@ -1,10 +0,0 @@
import { Metric } from '../models/metric';
import { Relation } from '../models/relation';
export interface Analysis {
age_months: number | null;
id: string;
level: string | null;
metrics: Array<Metric>;
relation?: Array<Relation>;
valid: boolean | null;
}
-8
View File
@@ -1,8 +0,0 @@
export interface Answers {
answers?: {
[key: string]: any;
};
node?: string | null;
pipeline?: string | null;
type: string;
}
@@ -1,3 +0,0 @@
export interface BodyAddClinicalValidation {
file: string;
}
-4
View File
@@ -1,4 +0,0 @@
export interface BodyUpload {
files: Array<string>;
folder?: string | null;
}
-6
View File
@@ -1,6 +0,0 @@
import { Entry } from '../models/entry';
export interface Browsed {
entries: Array<Entry>;
parent: string | null;
path: string | null;
}
-16
View File
@@ -1,16 +0,0 @@
import { Group } from '../models/group';
import { Option } from '../models/option';
import { Provider } from '../models/provider';
import { SourceType } from '../models/source-type';
export interface Catalog {
formats: Array<Option>;
groups: {
[key: string]: Group;
};
providers: {
[key: string]: Provider;
};
types: {
[key: string]: SourceType;
};
}
-5
View File
@@ -1,5 +0,0 @@
export interface Condition {
column: string;
op: 'equals' | 'contains' | 'matches' | 'present';
value?: string;
}
-18
View File
@@ -1,18 +0,0 @@
export interface Correction {
entity?:
| 'identity'
| 'cervical_cytology'
| 'cervical_biopsy'
| 'mammography'
| 'breast_biopsy'
| 'breast_treatment'
| 'breast_recurrence'
| 'clinical_note'
| 'death'
| 'mchat'
| 'ados2'
| 'eeg';
field: string;
record: string;
value: string;
}
-2
View File
@@ -1,2 +0,0 @@
import { Domain } from './domain';
export const DOMAIN: Domain[] = ['cacu', 'cama', 'tea'];
-1
View File
@@ -1 +0,0 @@
export type Domain = 'cacu' | 'cama' | 'tea';
-6
View File
@@ -1,6 +0,0 @@
export interface Entry {
kind: 'folder' | 'file';
name: string;
path: string;
size?: number | null;
}
-7
View File
@@ -1,7 +0,0 @@
export interface ErrorModel {
detail:
| string
| {
[key: string]: string;
};
}
-34
View File
@@ -1,34 +0,0 @@
import { Position } from '../models/position';
export interface Extract {
column: string | Array<string>;
columns?: {
[key: string]: string;
};
concept_map?: string | null;
entity:
| 'identity'
| 'cervical_cytology'
| 'cervical_biopsy'
| 'mammography'
| 'breast_biopsy'
| 'breast_treatment'
| 'breast_recurrence'
| 'clinical_note'
| 'death'
| 'mchat'
| 'ados2'
| 'eeg';
formats?: {
[key: string]: string;
};
hints?: string;
id: string;
inputs?: Array<string>;
kind?: 'extract';
label?: string;
method?: 'auto' | 'llm' | 'patterns';
patterns?: {
[key: string]: string;
};
position?: Position | null;
}
-23
View File
@@ -1,23 +0,0 @@
import { Position } from '../models/position';
export interface Fhir {
column?: string;
concept_map?: string | null;
entity:
| 'identity'
| 'cervical_cytology'
| 'cervical_biopsy'
| 'mammography'
| 'breast_biopsy'
| 'breast_treatment'
| 'breast_recurrence'
| 'clinical_note'
| 'death'
| 'mchat'
| 'ados2'
| 'eeg';
id: string;
inputs?: Array<string>;
kind?: 'fhir';
label?: string;
position?: Position | null;
}
-24
View File
@@ -1,24 +0,0 @@
import { Option } from '../models/option';
export interface FieldSpec {
advanced?: boolean;
default?: any;
help?: string;
label: string;
options?: Array<Option>;
placeholder?: string;
provider?: string | null;
required?: boolean;
type?:
| 'text'
| 'number'
| 'password'
| 'select'
| 'folder'
| 'server_file'
| 'upload'
| 'url'
| 'oauth'
| 'table'
| 'format'
| 'columns';
}
-4
View File
@@ -1,4 +0,0 @@
export interface Group {
description: string;
title: string;
}
-6
View File
@@ -1,6 +0,0 @@
export interface Guided {
answers?: {
[key: string]: any;
};
type: string;
}
@@ -1,4 +0,0 @@
import { ValidationError } from '../models/validation-error';
export interface HttpValidationError {
detail?: Array<ValidationError>;
}
-10
View File
@@ -1,10 +0,0 @@
import { Position } from '../models/position';
export interface Join {
how?: 'inner' | 'left';
id: string;
inputs?: Array<string>;
kind?: 'join';
label?: string;
on: Array<[string, string]>;
position?: Position | null;
}
-11
View File
@@ -1,11 +0,0 @@
import { Position } from '../models/position';
export interface Link {
fields?: Array<string>;
id: string;
inputs?: Array<string>;
kind?: 'link';
label?: string;
position?: Position | null;
review?: number;
rules?: Array<string>;
}
-7
View File
@@ -1,7 +0,0 @@
export interface Listing {
args?: {
[key: string]: any;
};
kind: 'tables' | 'rows';
source?: string | null;
}
-8
View File
@@ -1,8 +0,0 @@
export interface Login {
client_id?: string | null;
client_secret?: string | null;
grant_type?: string | null;
password: string;
scope?: string;
username: string;
}

Some files were not shown because too many files have changed in this diff Show More