Alejandro Gomez Auad 387ee331ed Add env flag to filter DocumentReference type locally in ITI-67
DOCUMENT_REGISTRY_FILTER_TYPE_LOCALLY, when enabled, skips the `type`
query param on GET /DocumentReference to the document registry and
filters the resulting searchset by type client-side instead, matching
the same system|code / |code / code token semantics used elsewhere.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-16 22:04:08 +00:00

31 lines
1.0 KiB
Plaintext

NODO_URL_BASE=localhost
# Bus FHIR (base, usado como fallback si no se definen MPI_URL o DOCUMENT_REGISTRY_URL)
BUS_URL=http://bus-host:8080
BUS_JWT_SECRET=your-shared-secret
BUS_ISSUER=https://your-repositorio-url
# Servicios del Bus (opcionales, por defecto usan BUS_URL)
MPI_URL=http://mpi-host:8080
DOCUMENT_REGISTRY_URL=http://document-registry-host:8080
# Scopes por servicio
MPI_SCOPE=Patient/*.read,Patient/*.write
DOCUMENT_REGISTRY_SCOPE=DocumentReference/*.read,DocumentReference/*.write
# ITI-67: si es true, no se envía el parámetro `type` en el GET /DocumentReference
# al índice de documentos; se pide todo por subject y se filtra por type localmente.
DOCUMENT_REGISTRY_FILTER_TYPE_LOCALLY=false
# HAPI FHIR Server
FHIR_URL=http://hapi-fhir-host:8080/fhir
# Nodo nacional (bundle-signer): ejecuta las transformaciones IPS ($ddcc, $dvc, $icvp2, $meow)
BUNDLE_SIGNER_URL=https://conectaton.msal.gob.ar/nodo/fhir
LOG_LEVEL=debug
# Habilita logs de requests/responses salientes al Bus (true | false)
BUS_DEBUG=false