se agrego rc102
This commit is contained in:
+216
-31
@@ -1,11 +1,21 @@
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
##
|
||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||||
|
||||
# User-specific files
|
||||
*.rsuser
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
# Mono auto generated files
|
||||
mono_crash.*
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
@@ -13,35 +23,80 @@
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
build/
|
||||
[Ww][Ii][Nn]32/
|
||||
[Aa][Rr][Mm]/
|
||||
[Aa][Rr][Mm]64/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
[Oo]ut/
|
||||
[Ll]og/
|
||||
[Ll]ogs/
|
||||
|
||||
# Roslyn cache directories
|
||||
*.ide/
|
||||
# Visual Studio 2015/2017 cache/options directory
|
||||
.vs/
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
# Visual Studio 2017 auto generated files
|
||||
Generated\ Files/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
#NUNIT
|
||||
# NUnit
|
||||
*.VisualState.xml
|
||||
TestResult.xml
|
||||
nunit-*.xml
|
||||
|
||||
# Build Results of an ATL Project
|
||||
[Dd]ebugPS/
|
||||
[Rr]eleasePS/
|
||||
dlldata.c
|
||||
|
||||
bin/
|
||||
obj/
|
||||
Debug/
|
||||
Release/
|
||||
*.tlog
|
||||
packages
|
||||
*.log
|
||||
TestResult.xml
|
||||
*.VisualState.xml
|
||||
Version.cs
|
||||
Version.h
|
||||
Version.cpp
|
||||
.vs
|
||||
/adas-core/Logs
|
||||
|
||||
|
||||
|
||||
# Benchmark Results
|
||||
BenchmarkDotNet.Artifacts/
|
||||
|
||||
# .NET Core
|
||||
project.lock.json
|
||||
project.fragment.lock.json
|
||||
artifacts/
|
||||
|
||||
# ASP.NET Scaffolding
|
||||
ScaffoldingReadMe.txt
|
||||
|
||||
# StyleCop
|
||||
StyleCopReport.xml
|
||||
|
||||
# Files built by Visual Studio
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_i.h
|
||||
*_h.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.iobj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.ipdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
@@ -51,6 +106,7 @@ dlldata.c
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*_wpftmp.csproj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
@@ -58,7 +114,6 @@ dlldata.c
|
||||
*.pidb
|
||||
*.svclog
|
||||
*.scc
|
||||
log*.txt
|
||||
|
||||
# Chutzpah Test files
|
||||
_Chutzpah*
|
||||
@@ -67,14 +122,21 @@ _Chutzpah*
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opendb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
*.VC.db
|
||||
*.VC.VC.opendb
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# Visual Studio Trace Files
|
||||
*.e2e
|
||||
|
||||
# TFS 2012 Local Workspace
|
||||
$tf/
|
||||
@@ -87,18 +149,29 @@ _ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
*.DotSettings.user
|
||||
|
||||
# JustCode is a .NET coding addin-in
|
||||
.JustCode
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# AxoCover is a Code Coverage Tool
|
||||
.axoCover/*
|
||||
!.axoCover/settings.json
|
||||
|
||||
# Coverlet is a free, cross platform Code Coverage Tool
|
||||
coverage*.json
|
||||
coverage*.xml
|
||||
coverage*.info
|
||||
|
||||
# Visual Studio code coverage results
|
||||
*.coverage
|
||||
*.coveragexml
|
||||
|
||||
# NCrunch
|
||||
_NCrunch_*
|
||||
.*crunch*.local.xml
|
||||
nCrunchTemp_*
|
||||
|
||||
# MightyMoose
|
||||
*.mm.*
|
||||
@@ -126,39 +199,71 @@ publish/
|
||||
# Publish Web Output
|
||||
*.[Pp]ublish.xml
|
||||
*.azurePubxml
|
||||
# TODO: Comment the next line if you want to checkin your web deploy settings
|
||||
# Note: Comment the next line if you want to checkin your web deploy settings,
|
||||
# but database connection strings (with potential passwords) will be unencrypted
|
||||
*.pubxml
|
||||
*.publishproj
|
||||
|
||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
||||
# checkin your Azure Web App publish settings, but sensitive information contained
|
||||
# in these scripts will be unencrypted
|
||||
PublishScripts/
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# NuGet Symbol Packages
|
||||
*.snupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/packages/*
|
||||
**/[Pp]ackages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/packages/build/
|
||||
# If using the old MSBuild-Integrated Package Restore, uncomment this:
|
||||
#!**/packages/repositories.config
|
||||
!**/[Pp]ackages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/[Pp]ackages/repositories.config
|
||||
# NuGet v3's project.json files produces more ignorable files
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
|
||||
# Windows Azure Build Output
|
||||
# Microsoft Azure Build Output
|
||||
csx/
|
||||
*.build.csdef
|
||||
|
||||
# Windows Store app package directory
|
||||
# Microsoft Azure Emulator
|
||||
ecf/
|
||||
rcf/
|
||||
|
||||
# Windows Store app package directories and files
|
||||
AppPackages/
|
||||
BundleArtifacts/
|
||||
Package.StoreAssociation.xml
|
||||
_pkginfo.txt
|
||||
*.appx
|
||||
*.appxbundle
|
||||
*.appxupload
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!?*.[Cc]ache/
|
||||
|
||||
# Others
|
||||
sql/
|
||||
*.Cache
|
||||
ClientBin/
|
||||
[Ss]tyle[Cc]op.*
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.dbproj.schemaview
|
||||
*.jfm
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# Including strong name files can present a security risk
|
||||
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
||||
#*.snk
|
||||
|
||||
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
||||
#bower_components/
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
@@ -170,29 +275,109 @@ _UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
ServiceFabricBackup/
|
||||
*.rptproj.bak
|
||||
|
||||
# SQL Server files
|
||||
*.mdf
|
||||
*.ldf
|
||||
*.ndf
|
||||
|
||||
# Business Intelligence projects
|
||||
*.rdl.data
|
||||
*.bim.layout
|
||||
*.bim_*.settings
|
||||
*.rptproj.rsuser
|
||||
*- [Bb]ackup.rdl
|
||||
*- [Bb]ackup ([0-9]).rdl
|
||||
*- [Bb]ackup ([0-9][0-9]).rdl
|
||||
|
||||
# Microsoft Fakes
|
||||
FakesAssemblies/
|
||||
Documentation/Resources/Diagrams.vsd
|
||||
Documentation/.~lock.HL7Fuse Developer guide.doc#
|
||||
Documentation/Resources/logo dib0 full.png
|
||||
Documentation/Resources/logo dib0 small.png
|
||||
|
||||
# JetBrains Rider
|
||||
.idea/
|
||||
# GhostDoc plugin setting file
|
||||
*.GhostDoc.xml
|
||||
|
||||
#Test Files
|
||||
Test Files
|
||||
.vs/
|
||||
*/bin/Debug
|
||||
*/bin/Release
|
||||
# Node.js Tools for Visual Studio
|
||||
.ntvs_analysis.dat
|
||||
node_modules/
|
||||
|
||||
# Visual Studio 6 build log
|
||||
*.plg
|
||||
|
||||
# Visual Studio 6 workspace options file
|
||||
*.opt
|
||||
|
||||
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
||||
*.vbw
|
||||
|
||||
# Visual Studio LightSwitch build output
|
||||
**/*.HTMLClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/ModelManifest.xml
|
||||
**/*.Server/GeneratedArtifacts
|
||||
**/*.Server/ModelManifest.xml
|
||||
_Pvt_Extensions
|
||||
|
||||
# Paket dependency manager
|
||||
.paket/paket.exe
|
||||
paket-files/
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
|
||||
# CodeRush personal settings
|
||||
.cr/personal
|
||||
|
||||
# Python Tools for Visual Studio (PTVS)
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# Cake - Uncomment if you are using it
|
||||
# tools/**
|
||||
# !tools/packages.config
|
||||
|
||||
# Tabs Studio
|
||||
*.tss
|
||||
|
||||
# Telerik's JustMock configuration file
|
||||
*.jmconfig
|
||||
|
||||
# BizTalk build output
|
||||
*.btp.cs
|
||||
*.btm.cs
|
||||
*.odx.cs
|
||||
*.xsd.cs
|
||||
|
||||
# OpenCover UI analysis results
|
||||
OpenCover/
|
||||
|
||||
# Azure Stream Analytics local run output
|
||||
ASALocalRun/
|
||||
|
||||
# MSBuild Binary and Structured Log
|
||||
*.binlog
|
||||
|
||||
# NVidia Nsight GPU debugger configuration file
|
||||
*.nvuser
|
||||
|
||||
# MFractors (Xamarin productivity tool) working folder
|
||||
.mfractor/
|
||||
|
||||
# Local History for Visual Studio
|
||||
.localhistory/
|
||||
|
||||
# BeatPulse healthcheck temp database
|
||||
healthchecksdb
|
||||
|
||||
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
||||
MigrationBackup/
|
||||
|
||||
# Ionide (cross platform F# VS Code tools) working folder
|
||||
.ionide/
|
||||
|
||||
# Fody - auto-generated XML schema
|
||||
FodyWeavers.xsd
|
||||
.idea
|
||||
/.ollamassist/conversations
|
||||
/write_readme.py
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
steps:
|
||||
test:
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- commit
|
||||
commands:
|
||||
- (dotnet nuget add source $${ADAS_NUGET_URL} -n "ADAS Nugget Server") | 2>/dev/null
|
||||
- dotnet build --configuration Debug /p:Platform=x64 /nowarn:1701,1702,IL2121,CS1591,IL2121,1701,1702,CS1587,CA1416
|
||||
"adas-core/adas-core.csproj"
|
||||
- dotnet test --configuration Debug /p:Platform=x64 /nowarn:1701,1702,IL2121,CS1591,IL2121,1701,1702,CS1587,CA1416
|
||||
"./adas-core.Test/adas-core.Test.csproj"
|
||||
environment:
|
||||
ADAS_NUGET_URL:
|
||||
from_secret: ADAS_NUGET_URL
|
||||
upload:
|
||||
image: docker:dind
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- commit
|
||||
branch:
|
||||
- main
|
||||
commands:
|
||||
- docker login -u $${CI_REGISTRY_USER} -p $${CI_REGISTRY_PASSWORD} $${CI_REGISTRY}
|
||||
- docker build -t $${CI_REGISTRY}/adas/adas-core/adas-core:latest .
|
||||
- docker push $${CI_REGISTRY}/adas/adas-core/adas-core:latest
|
||||
environment:
|
||||
CI_REGISTRY_USER:
|
||||
from_secret: CI_REGISTRY_USER
|
||||
CI_REGISTRY_PASSWORD:
|
||||
from_secret: CI_REGISTRY_PASSWORD
|
||||
CI_REGISTRY:
|
||||
from_secret: CI_REGISTRY
|
||||
ADAS_HYDE_SSH_KEY:
|
||||
from_secret: ADAS_HYDE_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
restart-docker-service:
|
||||
image: alpine
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
commands:
|
||||
- command -v ssh-agent >/dev/null || ( apk add --update openssh )
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$${ADAS_HYDE_SSH_KEY}" | tr -d '\r' | ssh-add -
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- echo "$${SSH_SERVER_HOSTKEYS}" >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- ssh -o "StrictHostKeyChecking no" gitlabci@10.0.20.67 -p 22 "cd /opt/smartuci;docker-compose
|
||||
stop adas-core;docker-compose rm -f adas-core;docker-compose pull adas-core;docker-compose
|
||||
up -d adas-core" || ssh -o "StrictHostKeyChecking no" gitlabci@red1.epigram.es
|
||||
-p 1522 "cd /opt/adascore;docker-compose stop adas-core;docker-compose rm
|
||||
-f adas-core;docker-compose pull adas-core;docker-compose up -d adas-core"
|
||||
environment:
|
||||
CI_REGISTRY_USER:
|
||||
from_secret: CI_REGISTRY_USER
|
||||
CI_REGISTRY_PASSWORD:
|
||||
from_secret: CI_REGISTRY_PASSWORD
|
||||
CI_REGISTRY:
|
||||
from_secret: CI_REGISTRY
|
||||
ADAS_HYDE_SSH_KEY:
|
||||
from_secret: ADAS_HYDE_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
+50
-16
@@ -1,23 +1,57 @@
|
||||
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
# --------------------------------------------------------------------------------------
|
||||
# 1. ETAPA DE CONSTRUCCIÓN (BUILD STAGE)
|
||||
# Utiliza la imagen SDK para compilar la aplicación.
|
||||
# --------------------------------------------------------------------------------------
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["adas-core.csproj", "adas-core/"]
|
||||
WORKDIR adas-core
|
||||
RUN dotnet restore "adas-core.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/adas-core"
|
||||
RUN dotnet build "adas-core.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
COPY NuGet.Config .
|
||||
# Copia los archivos de proyecto (.csproj) de cada subdirectorio y restáuralos.
|
||||
# Esto aprovecha el caché de Docker si solo cambian los paquetes, no el código.
|
||||
COPY ["adas-core/adas-core.csproj", "adas-core/"]
|
||||
COPY ["adas-core.Application/adas-core.Application.csproj", "adas-core.Application/"]
|
||||
COPY ["adas-core.Authentication/adas-core.Authentication.csproj", "adas-core.Authentication/"]
|
||||
COPY ["adas-core.Domain/adas-core.Domain.csproj", "adas-core.Domain/"]
|
||||
COPY ["adas-core.Infrastructure/adas-core.Infrastructure.csproj", "adas-core.Infrastructure/"]
|
||||
COPY ["adas-core.LdapLogin/adas-core.LdapLogin.csproj", "adas-core.LdapLogin/"]
|
||||
COPY ["adas-core.LocalLogin/adas-core.LocalLogin.csproj", "adas-core.LocalLogin/"]
|
||||
COPY ["adas-core.module.LightBeacons/adas-core.module.LightBeacons.csproj", "adas-core.module.LightBeacons/"]
|
||||
COPY ["adas-core.module.ProxyDevices/adas-core.module.ProxyDevices.csproj", "adas-core.module.ProxyDevices/"]
|
||||
COPY ["adas-core.module.Relays/adas-core.module.Relays.csproj", "adas-core.module.Relays/"]
|
||||
COPY ["adas-core.Test/adas-core.Test.csproj", "adas-core.Test/"]
|
||||
# ... (Añade COPY para el resto de proyectos .csproj: LdapLogin, LocalLogin, modules, Test si son dependencias)
|
||||
|
||||
# Copia el archivo de solución (.sln) si existe, si no, usa el siguiente comando con los .csproj
|
||||
# En este caso, asumiremos que se restaura y compila por proyecto principal.
|
||||
# Si tienes un archivo de solución, es mejor copiarlo aquí.
|
||||
|
||||
# Restaura las dependencias (NuGet)
|
||||
RUN dotnet restore "adas-core/adas-core.csproj"
|
||||
|
||||
# Copia el resto de los archivos fuente (todo el código)
|
||||
COPY . .
|
||||
|
||||
# Cambia al directorio del proyecto principal
|
||||
WORKDIR /src/adas-core
|
||||
|
||||
# Publica la aplicación final en modo Release
|
||||
# El argumento -o /app/publish indica dónde se guardará el resultado de la publicación.
|
||||
RUN dotnet publish "adas-core.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||
|
||||
FROM base AS final
|
||||
|
||||
# --------------------------------------------------------------------------------------
|
||||
# 2. ETAPA FINAL (RUNTIME STAGE)
|
||||
# Utiliza la imagen de ejecución, que es más pequeña y no contiene herramientas de compilación.
|
||||
# --------------------------------------------------------------------------------------
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
|
||||
# Copia los archivos publicados desde la etapa 'build'
|
||||
COPY --from=build /app/publish .
|
||||
|
||||
# Define el punto de entrada de la aplicación
|
||||
# Este es el nombre del ensamblado DLL principal
|
||||
ENTRYPOINT ["dotnet", "adas-core.dll"]
|
||||
# El puerto de escucha por defecto de ASP.NET Core en Docker es el 8080 (o 80 en versiones anteriores)
|
||||
ENV ASPNETCORE_URLS=http://+:80
|
||||
EXPOSE 80
|
||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,343 @@
|
||||
steps:
|
||||
collect_inputs:
|
||||
image: alpine:3.20
|
||||
# Se ejecuta en todas las ramas: features, env/adas/dev, env/adas/pre
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache jq coreutils git findutils
|
||||
- mkdir -p ci-evidence/test-results
|
||||
- SHORT_SHA="$(printf "%s" "${DRONE_COMMIT_SHA}" | cut -c1-12)"
|
||||
- BUILD_TIME="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
|
||||
- ENV_NAME="$(printf "%s" "${DRONE_BRANCH}" | sed 's|env/adas/||')"
|
||||
- RELEASE_ID="${RELEASE_ID:-REL-${ENV_NAME}-${DRONE_BUILD_NUMBER}-${SHORT_SHA}}"
|
||||
- echo "$BUILD_TIME" > ci-evidence/build-time.txt
|
||||
- echo "${DRONE_COMMIT_SHA}" > ci-evidence/commit-sha.txt
|
||||
- echo "${SHORT_SHA}" > ci-evidence/commit-short.txt
|
||||
- echo "${DRONE_BRANCH}" > ci-evidence/branch.txt
|
||||
- echo "${ENV_NAME}" > ci-evidence/env-name.txt
|
||||
- echo "${DRONE_BUILD_NUMBER}" > ci-evidence/pipeline-id.txt
|
||||
- echo "${RELEASE_ID}" > ci-evidence/release-id.txt
|
||||
- echo "Teralevel CI" > ci-evidence/ci-tool.txt
|
||||
- git rev-parse --short HEAD > ci-evidence/git-short-head.txt
|
||||
- git rev-parse HEAD > ci-evidence/git-full-head.txt
|
||||
- git status --short > ci-evidence/git-status.txt || true
|
||||
- |
|
||||
find . \
|
||||
-maxdepth 4 \
|
||||
-type f \
|
||||
\( -name 'Dockerfile' -o -name '.teralevel-ci.yml' -o -name '*.sln' -o -name '*.csproj' -o -name 'nuget.config' \) \
|
||||
! -path '*/bin/*' \
|
||||
! -path '*/obj/*' \
|
||||
-exec sha256sum {} \; > ci-evidence/input-checksums.txt || true
|
||||
- |
|
||||
jq -n \
|
||||
--arg release_id "$RELEASE_ID" \
|
||||
--arg ur_prd_version "${UR_PRD_VERSION:-PENDIENTE}" \
|
||||
--arg srs_version "${SRS_VERSION:-PENDIENTE}" \
|
||||
--arg rmf_version "${RMF_VERSION:-PENDIENTE}" \
|
||||
--arg trace_version "${TRACE_MATRIX_VERSION:-PENDIENTE}" \
|
||||
--arg sbom_ref "ci-evidence/sbom-cyclonedx.json" \
|
||||
'{
|
||||
release_id: $release_id,
|
||||
ur_prd_version: $ur_prd_version,
|
||||
srs_version: $srs_version,
|
||||
rmf_version: $rmf_version,
|
||||
traceability_matrix_version: $trace_version,
|
||||
sbom_reference: $sbom_ref
|
||||
}' > ci-evidence/release-baseline-ref.json
|
||||
|
||||
test_backend:
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
# Se ejecuta en todas las ramas: features, env/adas/dev, env/adas/pre
|
||||
environment:
|
||||
ADAS_NUGET_URL:
|
||||
from_secret: ADAS_NUGET_URL
|
||||
commands:
|
||||
- set -eu
|
||||
- mkdir -p ci-evidence/test-results/dotnet
|
||||
- dotnet --info > ci-evidence/dotnet-info.txt
|
||||
- (dotnet nuget add source "${ADAS_NUGET_URL}" -n "ADAS Nugget Server") 2>/dev/null || true
|
||||
- dotnet restore "adas-core/adas-core.csproj"
|
||||
- dotnet restore "./adas-core.Test/adas-core.Test.csproj"
|
||||
- set +e
|
||||
- dotnet build --configuration Debug /p:Platform=x64 /nowarn:1701,1702,IL2121,CS1591,CS1587,CA1416 "adas-core/adas-core.csproj"
|
||||
- BUILD_EXIT=$?
|
||||
- dotnet test --configuration Debug /p:Platform=x64 /nowarn:1701,1702,IL2121,CS1591,CS1587,CA1416 "./adas-core.Test/adas-core.Test.csproj" --results-directory ci-evidence/test-results/dotnet --logger "trx;LogFileName=adas-core-tests.trx"
|
||||
- TEST_EXIT=$?
|
||||
- set -e
|
||||
- |
|
||||
cat > ci-evidence/test-results/dotnet-summary.json <<EOF
|
||||
{
|
||||
"status": "executed",
|
||||
"build_exit_code": ${BUILD_EXIT},
|
||||
"test_exit_code": ${TEST_EXIT},
|
||||
"build_target": "adas-core/adas-core.csproj",
|
||||
"test_target": "./adas-core.Test/adas-core.Test.csproj"
|
||||
}
|
||||
EOF
|
||||
- test "$BUILD_EXIT" -eq 0
|
||||
- test "$TEST_EXIT" -eq 0
|
||||
|
||||
build_and_push:
|
||||
# Requiere que el runner CI tenga /var/run/docker.sock montado (daemon Docker en CI)
|
||||
image: docker:27-cli
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
environment:
|
||||
CI_REGISTRY_USER:
|
||||
from_secret: CI_REGISTRY_USER
|
||||
CI_REGISTRY_PASSWORD:
|
||||
from_secret: CI_REGISTRY_PASSWORD
|
||||
CI_REGISTRY:
|
||||
from_secret: CI_REGISTRY
|
||||
commands:
|
||||
- set -eu
|
||||
- mkdir -p ci-evidence
|
||||
- docker login "${CI_REGISTRY}" -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}"
|
||||
- SHORT_SHA="$(cat ci-evidence/commit-short.txt)"
|
||||
- PIPELINE_ID="$(cat ci-evidence/pipeline-id.txt)"
|
||||
- ENV_NAME="$(cat ci-evidence/env-name.txt)"
|
||||
- IMAGE_REPO="${CI_REGISTRY}/adas/adas-core/adas-core"
|
||||
- IMAGE_TAG_IMMUTABLE="${ENV_NAME}-${PIPELINE_ID}-${SHORT_SHA}"
|
||||
- IMAGE_REF_IMMUTABLE="${IMAGE_REPO}:${IMAGE_TAG_IMMUTABLE}"
|
||||
- IMAGE_REF_MUTABLE="${IMAGE_REPO}:${ENV_NAME}-latest"
|
||||
- echo "$IMAGE_REF_IMMUTABLE" > ci-evidence/image-ref-immutable.txt
|
||||
- echo "$IMAGE_REF_MUTABLE" > ci-evidence/image-ref-mutable.txt
|
||||
- docker version > ci-evidence/docker-version.txt
|
||||
- |
|
||||
docker build \
|
||||
--label org.opencontainers.image.revision="${DRONE_COMMIT_SHA}" \
|
||||
--label org.opencontainers.image.version="${IMAGE_TAG_IMMUTABLE}" \
|
||||
--label org.opencontainers.image.created="$(cat ci-evidence/build-time.txt)" \
|
||||
-t "${IMAGE_REF_IMMUTABLE}" \
|
||||
-t "${IMAGE_REF_MUTABLE}" \
|
||||
-f Dockerfile \
|
||||
. > ci-evidence/docker-build.log 2>&1 || { cat ci-evidence/docker-build.log; exit 1; }
|
||||
- docker push "${IMAGE_REF_IMMUTABLE}" 2>&1 | tee -a ci-evidence/docker-build.log
|
||||
- docker push "${IMAGE_REF_MUTABLE}" 2>&1 | tee -a ci-evidence/docker-build.log
|
||||
- |
|
||||
docker image inspect "${IMAGE_REF_IMMUTABLE}" \
|
||||
--format '{{index .RepoDigests 0}}' > ci-evidence/image-digest.txt 2>/dev/null \
|
||||
|| docker image inspect "${IMAGE_REF_IMMUTABLE}" \
|
||||
--format '{{.Id}}' > ci-evidence/image-digest.txt
|
||||
- cat ci-evidence/docker-build.log
|
||||
|
||||
generate_sbom:
|
||||
image: anchore/syft:v1.18.1
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
environment:
|
||||
CI_REGISTRY_USER:
|
||||
from_secret: CI_REGISTRY_USER
|
||||
CI_REGISTRY_PASSWORD:
|
||||
from_secret: CI_REGISTRY_PASSWORD
|
||||
CI_REGISTRY:
|
||||
from_secret: CI_REGISTRY
|
||||
commands:
|
||||
- set -eu
|
||||
- mkdir -p /root/.docker ci-evidence
|
||||
- |
|
||||
cat > /root/.docker/config.json <<EOF
|
||||
{
|
||||
"auths": {
|
||||
"${CI_REGISTRY}": {
|
||||
"username": "${CI_REGISTRY_USER}",
|
||||
"password": "${CI_REGISTRY_PASSWORD}"
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- IMAGE_REF_IMMUTABLE="$(cat ci-evidence/image-ref-immutable.txt)"
|
||||
- syft version > ci-evidence/syft-version.txt
|
||||
- syft "${IMAGE_REF_IMMUTABLE}" -o cyclonedx-json=ci-evidence/sbom-cyclonedx.json
|
||||
- syft "${IMAGE_REF_IMMUTABLE}" -o spdx-json=ci-evidence/sbom-spdx.json
|
||||
|
||||
assemble_ci_evidence_predeploy:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache jq coreutils
|
||||
- BUILD_TIME="$(cat ci-evidence/build-time.txt)"
|
||||
- COMMIT_SHA="$(cat ci-evidence/commit-sha.txt)"
|
||||
- SHORT_SHA="$(cat ci-evidence/commit-short.txt)"
|
||||
- BRANCH="$(cat ci-evidence/branch.txt)"
|
||||
- ENV_NAME="$(cat ci-evidence/env-name.txt)"
|
||||
- PIPELINE_ID="$(cat ci-evidence/pipeline-id.txt)"
|
||||
- RELEASE_ID="$(cat ci-evidence/release-id.txt)"
|
||||
- IMAGE_REF_IMMUTABLE="$(cat ci-evidence/image-ref-immutable.txt)"
|
||||
- IMAGE_REF_MUTABLE="$(cat ci-evidence/image-ref-mutable.txt)"
|
||||
- IMAGE_DIGEST="$(cat ci-evidence/image-digest.txt)"
|
||||
- DOTNET_SUMMARY="$(cat ci-evidence/test-results/dotnet-summary.json)"
|
||||
- |
|
||||
jq -n \
|
||||
--arg project "ADAS" \
|
||||
--arg component "adas-core" \
|
||||
--arg environment "$ENV_NAME" \
|
||||
--arg release_id "$RELEASE_ID" \
|
||||
--arg build_time_utc "$BUILD_TIME" \
|
||||
--arg commit_sha "$COMMIT_SHA" \
|
||||
--arg commit_short "$SHORT_SHA" \
|
||||
--arg branch "$BRANCH" \
|
||||
--arg pipeline_id "$PIPELINE_ID" \
|
||||
--arg ci_tool "Teralevel CI" \
|
||||
--arg image_ref_immutable "$IMAGE_REF_IMMUTABLE" \
|
||||
--arg image_ref_mutable "$IMAGE_REF_MUTABLE" \
|
||||
--arg image_digest "$IMAGE_DIGEST" \
|
||||
--argjson backend_tests "$DOTNET_SUMMARY" \
|
||||
'{
|
||||
project: $project,
|
||||
component: $component,
|
||||
environment: $environment,
|
||||
release_id: $release_id,
|
||||
build_time_utc: $build_time_utc,
|
||||
commit_sha: $commit_sha,
|
||||
commit_short: $commit_short,
|
||||
branch: $branch,
|
||||
pipeline_id: $pipeline_id,
|
||||
ci_tool: $ci_tool,
|
||||
image_ref_immutable: $image_ref_immutable,
|
||||
image_ref_mutable: $image_ref_mutable,
|
||||
image_digest: $image_digest,
|
||||
tests: {
|
||||
backend: $backend_tests
|
||||
}
|
||||
}' > ci-evidence/build-metadata.json
|
||||
- sha256sum ci-evidence/* > ci-evidence/checksums-predeploy.txt || true
|
||||
|
||||
deploy_adas_dev:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
environment:
|
||||
ADAS_SSH_KEY:
|
||||
from_secret: ADAS_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
DEPLOY_HOST_DEV:
|
||||
from_secret: DEPLOY_HOST_DEV
|
||||
DEPLOY_USER:
|
||||
from_secret: DEPLOY_USER
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache openssh-client jq
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$ADAS_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- echo "$SSH_SERVER_HOSTKEYS" >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- IMAGE_REF_MUTABLE="$(cat ci-evidence/image-ref-mutable.txt)"
|
||||
- |
|
||||
ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_DEV}" \
|
||||
"cd /opt/adas-core-dev && \
|
||||
docker compose stop adas-core && \
|
||||
docker compose rm -f adas-core && \
|
||||
docker compose pull adas-core && \
|
||||
docker compose up -d adas-core"
|
||||
- |
|
||||
REMOTE_DIGEST="$(ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_DEV}" \
|
||||
"docker image inspect ${IMAGE_REF_MUTABLE} --format='{{index .RepoDigests 0}}'")"
|
||||
- |
|
||||
jq -n \
|
||||
--arg environment "dev" \
|
||||
--arg host "${DEPLOY_HOST_DEV}" \
|
||||
--arg deployed_ref "$IMAGE_REF_MUTABLE" \
|
||||
--arg deployed_digest "$REMOTE_DIGEST" \
|
||||
'{
|
||||
environment: $environment,
|
||||
host: $host,
|
||||
deployed_ref: $deployed_ref,
|
||||
deployed_digest: $deployed_digest
|
||||
}' > ci-evidence/deploy-info.json
|
||||
|
||||
deploy_adas_pre:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/pre
|
||||
environment:
|
||||
ADAS_SSH_KEY:
|
||||
from_secret: ADAS_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
DEPLOY_HOST_PRE:
|
||||
from_secret: DEPLOY_HOST_PRE
|
||||
DEPLOY_USER:
|
||||
from_secret: DEPLOY_USER
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache openssh-client jq
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$ADAS_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- echo "$SSH_SERVER_HOSTKEYS" >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- IMAGE_REF_MUTABLE="$(cat ci-evidence/image-ref-mutable.txt)"
|
||||
- |
|
||||
ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_PRE}" \
|
||||
"cd /opt/adas-core-pre && \
|
||||
docker compose stop adas-core && \
|
||||
docker compose rm -f adas-core && \
|
||||
docker compose pull adas-core && \
|
||||
docker compose up -d adas-core"
|
||||
- |
|
||||
REMOTE_DIGEST="$(ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_PRE}" \
|
||||
"docker image inspect ${IMAGE_REF_MUTABLE} --format='{{index .RepoDigests 0}}'")"
|
||||
- |
|
||||
jq -n \
|
||||
--arg environment "pre" \
|
||||
--arg host "${DEPLOY_HOST_PRE}" \
|
||||
--arg deployed_ref "$IMAGE_REF_MUTABLE" \
|
||||
--arg deployed_digest "$REMOTE_DIGEST" \
|
||||
'{
|
||||
environment: $environment,
|
||||
host: $host,
|
||||
deployed_ref: $deployed_ref,
|
||||
deployed_digest: $deployed_digest
|
||||
}' > ci-evidence/deploy-info.json
|
||||
|
||||
finalize_and_publish_ci_evidence:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
environment:
|
||||
ADAS_SSH_KEY:
|
||||
from_secret: ADAS_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
DEPLOY_HOST_DEV:
|
||||
from_secret: DEPLOY_HOST_DEV
|
||||
DEPLOY_HOST_PRE:
|
||||
from_secret: DEPLOY_HOST_PRE
|
||||
DEPLOY_USER:
|
||||
from_secret: DEPLOY_USER
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache openssh-client jq coreutils tar gzip
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$ADAS_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- echo "$SSH_SERVER_HOSTKEYS" >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- RELEASE_ID="$(cat ci-evidence/release-id.txt)"
|
||||
- ENV_NAME="$(cat ci-evidence/env-name.txt)"
|
||||
- sha256sum ci-evidence/* > ci-evidence/checksums-final.txt || true
|
||||
- tar -czf "ci-evidence-${RELEASE_ID}.tar.gz" ci-evidence
|
||||
- |
|
||||
if [ "${ENV_NAME}" = "dev" ]; then
|
||||
EVIDENCE_HOST="${DEPLOY_HOST_DEV}"
|
||||
else
|
||||
EVIDENCE_HOST="${DEPLOY_HOST_PRE}"
|
||||
fi
|
||||
- ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${EVIDENCE_HOST}" "mkdir -p /opt/adas-ci-evidence/core/${ENV_NAME}"
|
||||
- scp -o "StrictHostKeyChecking yes" "ci-evidence-${RELEASE_ID}.tar.gz" "${DEPLOY_USER}@${EVIDENCE_HOST}:/opt/adas-ci-evidence/core/${ENV_NAME}/"
|
||||
Binary file not shown.
@@ -0,0 +1,413 @@
|
||||
steps:
|
||||
collect_inputs:
|
||||
image: alpine:3.20
|
||||
# Se ejecuta en todas las ramas: features, env/adas/dev, env/adas/pre
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache jq coreutils git findutils
|
||||
- mkdir -p ci-evidence/test-results
|
||||
- SHORT_SHA="$(printf "%s" "${DRONE_COMMIT_SHA}" | cut -c1-12)"
|
||||
- BUILD_TIME="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
|
||||
- ENV_NAME="$(printf "%s" "${DRONE_BRANCH}" | sed 's|env/adas/||')"
|
||||
- RELEASE_ID="${RELEASE_ID:-REL-${ENV_NAME}-${DRONE_BUILD_NUMBER}-${SHORT_SHA}}"
|
||||
- echo "$BUILD_TIME" > ci-evidence/build-time.txt
|
||||
- echo "${DRONE_COMMIT_SHA}" > ci-evidence/commit-sha.txt
|
||||
- echo "${SHORT_SHA}" > ci-evidence/commit-short.txt
|
||||
- echo "${DRONE_BRANCH}" > ci-evidence/branch.txt
|
||||
- echo "${ENV_NAME}" > ci-evidence/env-name.txt
|
||||
- echo "${DRONE_BUILD_NUMBER}" > ci-evidence/pipeline-id.txt
|
||||
- echo "${RELEASE_ID}" > ci-evidence/release-id.txt
|
||||
- echo "Teralevel CI" > ci-evidence/ci-tool.txt
|
||||
- git rev-parse --short HEAD > ci-evidence/git-short-head.txt
|
||||
- git rev-parse HEAD > ci-evidence/git-full-head.txt
|
||||
- git status --short > ci-evidence/git-status.txt || true
|
||||
- |
|
||||
find . \
|
||||
-maxdepth 4 \
|
||||
-type f \
|
||||
\( -name 'Dockerfile' -o -name '.teralevel-ci.yml' -o -name 'package-lock.json' -o -name 'angular.json' -o -name '*.sln' -o -name '*.csproj' -o -name 'nuget.config' \) \
|
||||
! -path '*/node_modules/*' \
|
||||
! -path '*/bin/*' \
|
||||
! -path '*/obj/*' \
|
||||
-exec sha256sum {} \; > ci-evidence/input-checksums.txt || true
|
||||
- |
|
||||
jq -n \
|
||||
--arg release_id "$RELEASE_ID" \
|
||||
--arg ur_prd_version "${UR_PRD_VERSION:-PENDIENTE}" \
|
||||
--arg srs_version "${SRS_VERSION:-PENDIENTE}" \
|
||||
--arg rmf_version "${RMF_VERSION:-PENDIENTE}" \
|
||||
--arg trace_version "${TRACE_MATRIX_VERSION:-PENDIENTE}" \
|
||||
--arg sbom_ref "ci-evidence/sbom-cyclonedx.json" \
|
||||
'{
|
||||
release_id: $release_id,
|
||||
ur_prd_version: $ur_prd_version,
|
||||
srs_version: $srs_version,
|
||||
rmf_version: $rmf_version,
|
||||
traceability_matrix_version: $trace_version,
|
||||
sbom_reference: $sbom_ref
|
||||
}' > ci-evidence/release-baseline-ref.json
|
||||
|
||||
test_backend:
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
# Se ejecuta en todas las ramas: features, env/adas/dev, env/adas/pre
|
||||
commands:
|
||||
- set -eu
|
||||
- mkdir -p ci-evidence/test-results/dotnet
|
||||
- dotnet --info > ci-evidence/dotnet-info.txt
|
||||
- SOLUTION="$(find . -maxdepth 4 -type f -name '*.sln' ! -path '*/obj/*' ! -path '*/bin/*' | head -n 1 || true)"
|
||||
- |
|
||||
if [ -z "$SOLUTION" ]; then
|
||||
TEST_PROJECTS="$(find . -maxdepth 5 -type f \( -name '*Test*.csproj' -o -name '*Tests*.csproj' \) ! -path '*/obj/*' ! -path '*/bin/*' | tr '\n' ' ' || true)"
|
||||
else
|
||||
TEST_PROJECTS=""
|
||||
fi
|
||||
- |
|
||||
if [ -n "$SOLUTION" ]; then
|
||||
dotnet restore "$SOLUTION"
|
||||
set +e
|
||||
dotnet test "$SOLUTION" \
|
||||
--configuration Release \
|
||||
--results-directory ci-evidence/test-results/dotnet \
|
||||
--logger "trx;LogFileName=dotnet-tests.trx"
|
||||
TEST_EXIT=$?
|
||||
set -e
|
||||
elif [ -n "$TEST_PROJECTS" ]; then
|
||||
TEST_EXIT=0
|
||||
for proj in $TEST_PROJECTS; do
|
||||
dotnet restore "$proj"
|
||||
set +e
|
||||
dotnet test "$proj" \
|
||||
--configuration Release \
|
||||
--results-directory ci-evidence/test-results/dotnet \
|
||||
--logger "trx;LogFileName=$(basename "$proj" .csproj)-tests.trx"
|
||||
CUR_EXIT=$?
|
||||
set -e
|
||||
if [ "$CUR_EXIT" -ne 0 ]; then TEST_EXIT=$CUR_EXIT; fi
|
||||
done
|
||||
else
|
||||
TEST_EXIT=0
|
||||
fi
|
||||
- |
|
||||
if [ -n "$SOLUTION" ] || [ -n "${TEST_PROJECTS:-}" ]; then
|
||||
STATUS="executed"
|
||||
else
|
||||
STATUS="skipped"
|
||||
fi
|
||||
- |
|
||||
cat > ci-evidence/test-results/dotnet-summary.json <<EOF
|
||||
{
|
||||
"status": "${STATUS}",
|
||||
"exit_code": ${TEST_EXIT},
|
||||
"target": "$(if [ -n "$SOLUTION" ]; then printf "%s" "$SOLUTION"; else printf "%s" "${TEST_PROJECTS:-none}"; fi)"
|
||||
}
|
||||
EOF
|
||||
- test "$TEST_EXIT" -eq 0
|
||||
|
||||
test_frontend:
|
||||
# NOTA: Chromium se instala en cada ejecucion (~1-3 min adicionales).
|
||||
# Cuando este disponible, sustituir por una imagen base propia:
|
||||
# git.teralevel.io/adas/node-chrome:20 (node:20-bookworm-slim + chromium pre-instalado)
|
||||
# Eso eliminara el apt-get de este paso y reducira el tiempo total del pipeline.
|
||||
image: node:20-bookworm-slim
|
||||
# Se ejecuta en todas las ramas: features, env/adas/dev, env/adas/pre
|
||||
commands:
|
||||
- set -eu
|
||||
- apt-get update
|
||||
- apt-get install -y --no-install-recommends chromium jq ca-certificates
|
||||
- rm -rf /var/lib/apt/lists/*
|
||||
- mkdir -p ci-evidence/test-results/frontend
|
||||
- node --version > ci-evidence/node-version.txt
|
||||
- npm --version > ci-evidence/npm-version.txt
|
||||
- FRONTEND_DIR="$(find . -maxdepth 4 -type f -name 'angular.json' ! -path '*/node_modules/*' -exec dirname {} \; | head -n 1 || true)"
|
||||
- |
|
||||
if [ -z "$FRONTEND_DIR" ]; then
|
||||
FRONTEND_DIR="$(find . -maxdepth 4 -type f -name 'package.json' ! -path '*/node_modules/*' -exec dirname {} \; | head -n 1 || true)"
|
||||
fi
|
||||
- |
|
||||
if [ -n "$FRONTEND_DIR" ]; then
|
||||
cd "$FRONTEND_DIR"
|
||||
export CI=true
|
||||
export CHROME_BIN=/usr/bin/chromium
|
||||
npm ci
|
||||
set +e
|
||||
npm test -- --watch=false --browsers=ChromeHeadless --progress=false
|
||||
TEST_EXIT=$?
|
||||
set -e
|
||||
cd -
|
||||
STATUS="executed"
|
||||
else
|
||||
TEST_EXIT=0
|
||||
STATUS="skipped"
|
||||
fi
|
||||
- |
|
||||
cat > ci-evidence/test-results/frontend-summary.json <<EOF
|
||||
{
|
||||
"status": "${STATUS}",
|
||||
"exit_code": ${TEST_EXIT},
|
||||
"target": "${FRONTEND_DIR:-none}"
|
||||
}
|
||||
EOF
|
||||
- test "$TEST_EXIT" -eq 0
|
||||
|
||||
build_and_push:
|
||||
# Requiere que el runner CI tenga /var/run/docker.sock montado (daemon Docker en CI)
|
||||
image: docker:27-cli
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
environment:
|
||||
REGISTRY_USER:
|
||||
from_secret: REGISTRY_USER
|
||||
REGISTRY_PASS:
|
||||
from_secret: REGISTRY_PASS
|
||||
commands:
|
||||
- set -eu
|
||||
- mkdir -p ci-evidence
|
||||
- docker login "git.teralevel.io" -u "${REGISTRY_USER}" -p "${REGISTRY_PASS}"
|
||||
- SHORT_SHA="$(cat ci-evidence/commit-short.txt)"
|
||||
- PIPELINE_ID="$(cat ci-evidence/pipeline-id.txt)"
|
||||
- ENV_NAME="$(cat ci-evidence/env-name.txt)"
|
||||
- IMAGE_REPO="git.teralevel.io/adas/adas-webdisplay"
|
||||
- IMAGE_TAG_IMMUTABLE="${ENV_NAME}-${PIPELINE_ID}-${SHORT_SHA}"
|
||||
- IMAGE_REF_IMMUTABLE="${IMAGE_REPO}:${IMAGE_TAG_IMMUTABLE}"
|
||||
- IMAGE_REF_MUTABLE="${IMAGE_REPO}:${ENV_NAME}-latest"
|
||||
- echo "$IMAGE_REF_IMMUTABLE" > ci-evidence/image-ref-immutable.txt
|
||||
- echo "$IMAGE_REF_MUTABLE" > ci-evidence/image-ref-mutable.txt
|
||||
- docker version > ci-evidence/docker-version.txt
|
||||
- |
|
||||
docker build \
|
||||
--label org.opencontainers.image.revision="${DRONE_COMMIT_SHA}" \
|
||||
--label org.opencontainers.image.version="${IMAGE_TAG_IMMUTABLE}" \
|
||||
--label org.opencontainers.image.created="$(cat ci-evidence/build-time.txt)" \
|
||||
-t "${IMAGE_REF_IMMUTABLE}" \
|
||||
-t "${IMAGE_REF_MUTABLE}" \
|
||||
-f Dockerfile \
|
||||
. > ci-evidence/docker-build.log 2>&1 || { cat ci-evidence/docker-build.log; exit 1; }
|
||||
- docker push "${IMAGE_REF_IMMUTABLE}" 2>&1 | tee -a ci-evidence/docker-build.log
|
||||
- docker push "${IMAGE_REF_MUTABLE}" 2>&1 | tee -a ci-evidence/docker-build.log
|
||||
- |
|
||||
docker image inspect "${IMAGE_REF_IMMUTABLE}" \
|
||||
--format '{{index .RepoDigests 0}}' > ci-evidence/image-digest.txt 2>/dev/null \
|
||||
|| docker image inspect "${IMAGE_REF_IMMUTABLE}" \
|
||||
--format '{{.Id}}' > ci-evidence/image-digest.txt
|
||||
- cat ci-evidence/docker-build.log
|
||||
|
||||
generate_sbom:
|
||||
image: anchore/syft:v1.18.1
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
environment:
|
||||
REGISTRY_USER:
|
||||
from_secret: REGISTRY_USER
|
||||
REGISTRY_PASS:
|
||||
from_secret: REGISTRY_PASS
|
||||
commands:
|
||||
- set -eu
|
||||
- mkdir -p /root/.docker ci-evidence
|
||||
- |
|
||||
cat > /root/.docker/config.json <<EOF
|
||||
{
|
||||
"auths": {
|
||||
"git.teralevel.io": {
|
||||
"username": "$REGISTRY_USER",
|
||||
"password": "$REGISTRY_PASS"
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- IMAGE_REF_IMMUTABLE="$(cat ci-evidence/image-ref-immutable.txt)"
|
||||
- syft version > ci-evidence/syft-version.txt
|
||||
- syft "${IMAGE_REF_IMMUTABLE}" -o cyclonedx-json=ci-evidence/sbom-cyclonedx.json
|
||||
- syft "${IMAGE_REF_IMMUTABLE}" -o spdx-json=ci-evidence/sbom-spdx.json
|
||||
|
||||
assemble_ci_evidence_predeploy:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache jq coreutils
|
||||
- BUILD_TIME="$(cat ci-evidence/build-time.txt)"
|
||||
- COMMIT_SHA="$(cat ci-evidence/commit-sha.txt)"
|
||||
- SHORT_SHA="$(cat ci-evidence/commit-short.txt)"
|
||||
- BRANCH="$(cat ci-evidence/branch.txt)"
|
||||
- ENV_NAME="$(cat ci-evidence/env-name.txt)"
|
||||
- PIPELINE_ID="$(cat ci-evidence/pipeline-id.txt)"
|
||||
- RELEASE_ID="$(cat ci-evidence/release-id.txt)"
|
||||
- IMAGE_REF_IMMUTABLE="$(cat ci-evidence/image-ref-immutable.txt)"
|
||||
- IMAGE_REF_MUTABLE="$(cat ci-evidence/image-ref-mutable.txt)"
|
||||
- IMAGE_DIGEST="$(cat ci-evidence/image-digest.txt)"
|
||||
- DOTNET_SUMMARY="$(cat ci-evidence/test-results/dotnet-summary.json)"
|
||||
- FRONTEND_SUMMARY="$(cat ci-evidence/test-results/frontend-summary.json)"
|
||||
- |
|
||||
jq -n \
|
||||
--arg project "ADAS" \
|
||||
--arg component "adas-webdisplay" \
|
||||
--arg environment "$ENV_NAME" \
|
||||
--arg release_id "$RELEASE_ID" \
|
||||
--arg build_time_utc "$BUILD_TIME" \
|
||||
--arg commit_sha "$COMMIT_SHA" \
|
||||
--arg commit_short "$SHORT_SHA" \
|
||||
--arg branch "$BRANCH" \
|
||||
--arg pipeline_id "$PIPELINE_ID" \
|
||||
--arg ci_tool "Teralevel CI" \
|
||||
--arg image_ref_immutable "$IMAGE_REF_IMMUTABLE" \
|
||||
--arg image_ref_mutable "$IMAGE_REF_MUTABLE" \
|
||||
--arg image_digest "$IMAGE_DIGEST" \
|
||||
--argjson dotnet_tests "$DOTNET_SUMMARY" \
|
||||
--argjson frontend_tests "$FRONTEND_SUMMARY" \
|
||||
'{
|
||||
project: $project,
|
||||
component: $component,
|
||||
environment: $environment,
|
||||
release_id: $release_id,
|
||||
build_time_utc: $build_time_utc,
|
||||
commit_sha: $commit_sha,
|
||||
commit_short: $commit_short,
|
||||
branch: $branch,
|
||||
pipeline_id: $pipeline_id,
|
||||
ci_tool: $ci_tool,
|
||||
image_ref_immutable: $image_ref_immutable,
|
||||
image_ref_mutable: $image_ref_mutable,
|
||||
image_digest: $image_digest,
|
||||
tests: {
|
||||
backend: $dotnet_tests,
|
||||
frontend: $frontend_tests
|
||||
}
|
||||
}' > ci-evidence/build-metadata.json
|
||||
- sha256sum ci-evidence/* > ci-evidence/checksums-predeploy.txt || true
|
||||
|
||||
deploy_webdisplay_dev:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
environment:
|
||||
ADAS_SSH_KEY:
|
||||
from_secret: ADAS_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
DEPLOY_HOST_DEV:
|
||||
from_secret: DEPLOY_HOST_DEV
|
||||
DEPLOY_USER:
|
||||
from_secret: DEPLOY_USER
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache openssh-client jq
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$ADAS_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- echo "$SSH_SERVER_HOSTKEYS" >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- IMAGE_REF_MUTABLE="$(cat ci-evidence/image-ref-mutable.txt)"
|
||||
- |
|
||||
ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_DEV}" \
|
||||
"cd /opt/adas-icu-dev && \
|
||||
docker compose stop webdisplay-dev && \
|
||||
docker compose rm -f webdisplay-dev && \
|
||||
docker compose pull webdisplay-dev && \
|
||||
docker compose up -d webdisplay-dev"
|
||||
- |
|
||||
REMOTE_DIGEST="$(ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_DEV}" \
|
||||
"docker image inspect ${IMAGE_REF_MUTABLE} --format='{{index .RepoDigests 0}}'")"
|
||||
- |
|
||||
jq -n \
|
||||
--arg environment "dev" \
|
||||
--arg host "${DEPLOY_HOST_DEV}" \
|
||||
--arg deployed_ref "$IMAGE_REF_MUTABLE" \
|
||||
--arg deployed_digest "$REMOTE_DIGEST" \
|
||||
'{
|
||||
environment: $environment,
|
||||
host: $host,
|
||||
deployed_ref: $deployed_ref,
|
||||
deployed_digest: $deployed_digest
|
||||
}' > ci-evidence/deploy-info.json
|
||||
|
||||
deploy_webdisplay_pre:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/pre
|
||||
environment:
|
||||
ADAS_SSH_KEY:
|
||||
from_secret: ADAS_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
DEPLOY_HOST_PRE:
|
||||
from_secret: DEPLOY_HOST_PRE
|
||||
DEPLOY_USER:
|
||||
from_secret: DEPLOY_USER
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache openssh-client jq
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$ADAS_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- echo "$SSH_SERVER_HOSTKEYS" >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- IMAGE_REF_MUTABLE="$(cat ci-evidence/image-ref-mutable.txt)"
|
||||
- |
|
||||
ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_PRE}" \
|
||||
"cd /opt/adas-icu-pre && \
|
||||
docker compose stop webdisplay-pre && \
|
||||
docker compose rm -f webdisplay-pre && \
|
||||
docker compose pull webdisplay-pre && \
|
||||
docker compose up -d webdisplay-pre"
|
||||
- |
|
||||
REMOTE_DIGEST="$(ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${DEPLOY_HOST_PRE}" \
|
||||
"docker image inspect ${IMAGE_REF_MUTABLE} --format='{{index .RepoDigests 0}}'")"
|
||||
- |
|
||||
jq -n \
|
||||
--arg environment "pre" \
|
||||
--arg host "${DEPLOY_HOST_PRE}" \
|
||||
--arg deployed_ref "$IMAGE_REF_MUTABLE" \
|
||||
--arg deployed_digest "$REMOTE_DIGEST" \
|
||||
'{
|
||||
environment: $environment,
|
||||
host: $host,
|
||||
deployed_ref: $deployed_ref,
|
||||
deployed_digest: $deployed_digest
|
||||
}' > ci-evidence/deploy-info.json
|
||||
|
||||
finalize_and_publish_ci_evidence:
|
||||
image: alpine:3.20
|
||||
when:
|
||||
branch:
|
||||
- env/adas/dev
|
||||
- env/adas/pre
|
||||
environment:
|
||||
ADAS_SSH_KEY:
|
||||
from_secret: ADAS_SSH_KEY
|
||||
SSH_SERVER_HOSTKEYS:
|
||||
from_secret: SSH_SERVER_HOSTKEYS
|
||||
DEPLOY_HOST_DEV:
|
||||
from_secret: DEPLOY_HOST_DEV
|
||||
DEPLOY_HOST_PRE:
|
||||
from_secret: DEPLOY_HOST_PRE
|
||||
DEPLOY_USER:
|
||||
from_secret: DEPLOY_USER
|
||||
commands:
|
||||
- set -eu
|
||||
- apk add --no-cache openssh-client jq coreutils tar gzip
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$ADAS_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- echo "$SSH_SERVER_HOSTKEYS" >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- RELEASE_ID="$(cat ci-evidence/release-id.txt)"
|
||||
- ENV_NAME="$(cat ci-evidence/env-name.txt)"
|
||||
- sha256sum ci-evidence/* > ci-evidence/checksums-final.txt || true
|
||||
- tar -czf "ci-evidence-${RELEASE_ID}.tar.gz" ci-evidence
|
||||
- |
|
||||
if [ "${ENV_NAME}" = "dev" ]; then
|
||||
EVIDENCE_HOST="${DEPLOY_HOST_DEV}"
|
||||
else
|
||||
EVIDENCE_HOST="${DEPLOY_HOST_PRE}"
|
||||
fi
|
||||
- ssh -o "StrictHostKeyChecking yes" "${DEPLOY_USER}@${EVIDENCE_HOST}" "mkdir -p /opt/adas-ci-evidence/webdisplay/${ENV_NAME}"
|
||||
- scp -o "StrictHostKeyChecking yes" "ci-evidence-${RELEASE_ID}.tar.gz" "${DEPLOY_USER}@${EVIDENCE_HOST}:/opt/adas-ci-evidence/webdisplay/${ENV_NAME}/"
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+715
@@ -0,0 +1,715 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents a service that provides calculated observations, implementing the interface.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.BD.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_BD_CalculatedObservations" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.BD.html">BD</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents a service that provides calculated observations, implementing the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> interface.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
<h2 id="adas_core_Application_Customizations_BD_CalculatedObservations_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><p>This type is instantiated with a primary constructor that accepts an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a> to resolve its dependencies.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Represents a service that provides calculated observations, implementing the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> interface.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="adas_core_Application_Customizations_BD_CalculatedObservations__ctor_System_IServiceProvider__remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>This type is instantiated with a primary constructor that accepts an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a> to resolve its dependencies.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously calculates the active bolus for the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose active bolus is being calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous calculation of the active bolus.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Calculates medicine observations for the specified patient using the provided list of active medicines.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The list of active medicines associated with the patient.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient for whom the observations are calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Resolves time inconsistencies between the provided new patient observation and the previously recorded one, returning a corrected observation when applicable.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation to be reconciled against the last stored observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task that yields the time-corrected <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>, or <code>null</code> when no correction is required or no prior observation exists.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method has not been implemented yet.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the collection of active treatments associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique <span class="xref">MongoDB.Bson.ObjectId</span> identifier of the patient whose active treatments are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a> of nullable <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> entries for the patient's active treatments.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown to indicate that the method is not yet implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the provided <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance to a completed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a>, returning the same diagnosis unchanged.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the provided <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Returns the provided <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> as a completed task without modification.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The patient treatment instance to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>A completed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the provided treatment.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a pump observation, creating an associated alarm observation when the observation code is "IHE PCD-04".</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The pump observation to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>The mapped pump observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a source <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a> onto an existing <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>, producing an updated observation that incorporates the alarm data.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The existing patient observation to which the alarm will be mapped.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The source alarm to be inserted/mapped into the observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that represents the asynchronous mapping operation, returning the resulting patient observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method has not been implemented yet.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the specified patient observation by returning it unchanged within a completed task.
|
||||
The <code class="paramref">onlyByName</code> parameter is accepted to indicate whether the mapping should match observations by name only.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T obs, bool onlyByName = false) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The patient observation to map.</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>Indicates whether the mapping should match observations by name only.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the provided observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Performs a pre-mapping operation on the list of patient observations before further processing.
|
||||
In the base implementation, the list is returned unchanged, serving as a pass-through that may be overridden to apply custom transformations or validations.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToInsert</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to be pre-mapped before insertion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A task containing the provided list of patient observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_BD_CalculatedObservations_SendAlarm_" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.SendAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_BD_CalculatedObservations_SendAlarm_adas_core_Domain_Models_PatientObservation_System_String_System_Nullable_adas_core_Domain_Enums_AlarmEnum_Name__" data-uid="adas_core.Application.Customizations.BD.CalculatedObservations.SendAlarm(adas_core.Domain.Models.PatientObservation,System.String,System.Nullable{adas_core.Domain.Enums.AlarmEnum.Name})">
|
||||
SendAlarm(PatientObservation, string, Name?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Sends an alarm notification based on a patient observation, associated name, and optional alarm code.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task SendAlarm(PatientObservation obs, string name, AlarmEnum.Name? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggers the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name associated with the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.html">AlarmEnum</a>.<a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">Name</a>?</dt>
|
||||
<dd><p>The optional alarm code that categorizes the alarm; may be null.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous alarm sending operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method is not yet implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.BD | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.BD | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.BD">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_BD" data-uid="adas_core.Application.Customizations.BD" class="text-break">Namespace adas_core.Application.Customizations.BD</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.BD.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Represents a service that provides calculated observations, implementing the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> interface.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+712
@@ -0,0 +1,712 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Provides calculated observation data by implementing the contract.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_CHUO_CalculatedObservations" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.CHUO.html">CHUO</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Provides calculated observation data by implementing the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> contract.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
<h2 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><p>Instances are constructed with an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a> used to resolve dependencies required by the implementation.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Provides calculated observation data by implementing the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> contract.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="adas_core_Application_Customizations_CHUO_CalculatedObservations__ctor_System_IServiceProvider__remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>Instances are constructed with an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a> used to resolve dependencies required by the implementation.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously calculates the active bolus for the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient for whom the active bolus is being calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Calculates medicine observations for the specified patient based on the provided active medicines.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The list of medicines currently active for the patient.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the patient for whom the observation is calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Resolves time inconsistencies between a new patient observation and the most recent one, returning a corrected observation when a discrepancy is detected.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation to compare and reconcile against the last stored observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task that yields the corrected <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>, or <code>null</code> when no time inconsistency is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method has not been implemented yet.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the active treatment records associated with the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose active treatments are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a collection of nullable <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> objects representing the patient's active treatments.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown to indicate that the method has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance to a <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The patient diagnosis to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A task representing the asynchronous operation, containing the mapped <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the mapping logic has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the specified <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> to a resulting <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> instance asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The patient treatment to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous mapping operation, containing the resulting <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown when the method is invoked, as the mapping has not been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously maps the provided <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a> instance, returning the same instance as the result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The pump observation to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the provided pump observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a source alarm onto a <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>, returning the observation as-is without applying the alarm's changes.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The existing patient observation to be returned.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The alarm to be associated with the observation (currently not applied).</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A completed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the original observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a patient observation by returning it as-is, logging the operation as a trace entry.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T obs, bool onlyByName = false) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The patient observation to map.</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>Indicates whether mapping should be performed by name only.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>A task containing the provided observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Performs a pre-mapping step on a list of patient observations before they are inserted.
|
||||
Currently acts as a pass-through, returning the provided list unchanged as a completed task, but can be overridden to apply transformations or validations.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToInsert</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to be pre-mapped prior to insertion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A completed task containing the provided list of patient observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_CHUO_CalculatedObservations_SendAlarm_" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.SendAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_CHUO_CalculatedObservations_SendAlarm_adas_core_Domain_Models_PatientObservation_System_String_System_Nullable_adas_core_Domain_Enums_AlarmEnum_Name__" data-uid="adas_core.Application.Customizations.CHUO.CalculatedObservations.SendAlarm(adas_core.Domain.Models.PatientObservation,System.String,System.Nullable{adas_core.Domain.Enums.AlarmEnum.Name})">
|
||||
SendAlarm(PatientObservation, string, Name?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Sends an alarm notification for the specified patient observation, identified by the given name and optional alarm code.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task SendAlarm(PatientObservation obs, string name, AlarmEnum.Name? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggers the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the alarm to send.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.html">AlarmEnum</a>.<a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">Name</a>?</dt>
|
||||
<dd><p>The optional alarm code providing additional classification for the alarm.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.CHUO | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.CHUO | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.CHUO">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_CHUO" data-uid="adas_core.Application.Customizations.CHUO" class="text-break">Namespace adas_core.Application.Customizations.CHUO</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.CHUO.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Provides calculated observation data by implementing the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> contract.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+1352
File diff suppressed because it is too large
Load Diff
+131
@@ -0,0 +1,131 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.H12O.UCIN | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.H12O.UCIN | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.H12O.UCIN">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_H12O_UCIN" data-uid="adas_core.Application.Customizations.H12O.UCIN" class="text-break">Namespace adas_core.Application.Customizations.H12O.UCIN</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.H12O.UCIN.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Implements the UCIN-specific clinical calculations that derive secondary
|
||||
<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> values (Complexity, Oxygenation_Index, Respiratory, IntravenousLines,
|
||||
Medication, ERMedication, Monitor, Surgery, Temp_Gradient, TAm alert, etc.) from incoming
|
||||
raw observations and active <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> entries, using the catalogue of
|
||||
codes, groups, and types configured in <a class="xref" href="adas_core.Domain.Models.AppSettings.ApiSettings.html">ApiSettings</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+724
@@ -0,0 +1,724 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents a collection of calculated observations, providing a concrete implementation of the contract.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HGM_CalculatedObservations" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.HGM.html">HGM</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents a collection of calculated observations, providing a concrete implementation of the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> contract.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously calculates the active bolus for the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient for whom the active bolus is calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>The method is not yet implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Calculates the medicine observation for a patient based on the provided active medicines.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The list of active medicines currently associated with the patient.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient for whom the observation is being calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>The method is not yet implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Resolves time inconsistencies between the specified <code class="paramref">newObservation</code> and the last recorded patient observation, returning a corrected observation when applicable.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation to reconcile against the last recorded observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task that returns the corrected <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>, or <code>null</code> when no last observation is available to compare against.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>The method is not yet implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the active treatments currently associated with the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the patient whose active treatments are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A task that yields a collection of active <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> entries for the patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method has not been implemented yet.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the provided patient diagnosis to the target representation asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The patient diagnosis to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous mapping operation, containing the mapped <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown when the method is invoked, as the mapping logic has not been implemented yet.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously maps the specified <code class="paramref">treatment</code> to a <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> instance to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous mapping operation, containing the resulting <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown to indicate that the method has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the provided <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a> by returning it unchanged, wrapped in a completed task.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The pump observation to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>A completed task containing the provided <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a source alarm to a patient observation, returning the provided observation as the result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation to return as the mapped result.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The patient observation alarm to be considered during mapping.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the provided <code class="paramref">obs</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a patient observation by applying domain-specific transformations based on the observation name.
|
||||
Handles the "Resp_Mode" case by calculating the ventilation mode, while observations with a null or empty name are returned unchanged.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T obs, bool onlyByName = false) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The patient observation to be mapped.</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>Flag indicating whether the mapping should be restricted to name-based criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>The mapped patient observation, or the original observation if no applicable mapping is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Pre-maps the provided list of patient observations before further processing, returning the list as-is in a completed task.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToInsert</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to be pre-mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A completed task containing the provided list of patient observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HGM_CalculatedObservations_SendAlarm_" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.SendAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HGM_CalculatedObservations_SendAlarm_adas_core_Domain_Models_PatientObservation_System_String_System_Nullable_adas_core_Domain_Enums_AlarmEnum_Name__" data-uid="adas_core.Application.Customizations.HGM.CalculatedObservations.SendAlarm(adas_core.Domain.Models.PatientObservation,System.String,System.Nullable{adas_core.Domain.Enums.AlarmEnum.Name})">
|
||||
SendAlarm(PatientObservation, string, Name?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Sends an alarm for the specified patient observation.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task SendAlarm(PatientObservation obs, string name, AlarmEnum.Name? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggers the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name associated with the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.html">AlarmEnum</a>.<a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">Name</a>?</dt>
|
||||
<dd><p>The optional alarm code identifying the alarm type.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous alarm sending operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown when the method is invoked, as it is not yet implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.HGM | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.HGM | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HGM">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HGM" data-uid="adas_core.Application.Customizations.HGM" class="text-break">Namespace adas_core.Application.Customizations.HGM</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.HGM.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Represents a collection of calculated observations, providing a concrete implementation of the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> contract.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+737
@@ -0,0 +1,737 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents a service that provides calculated observations, receiving its dependencies through the supplied .">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.HPAZ.html">HPAZ</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents a service that provides calculated observations, receiving its dependencies through the supplied <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a>.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
<h2 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><p>This class implements the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> contract, exposing the behavior defined by that interface while relying on constructor-injected services for its operations.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Represents a service that provides calculated observations, receiving its dependencies through the supplied <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="adas_core_Application_Customizations_HPAZ_CalculatedObservations__ctor_System_IServiceProvider__remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>This class implements the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> contract, exposing the behavior defined by that interface while relying on constructor-injected services for its operations.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously calculates the active bolus for the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose active bolus is to be calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateBlueCodeList_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateBlueCodeList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateBlueCodeList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateBlueCodeList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
CalculateBlueCodeList(List<PatientObservation?>?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Checks if a blue code observation Lists needs to be generated and inserts it.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateBlueCodeList(List<PatientObservation?>? obsList)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obsList</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Calculates medicine observations for the specified patient based on their active medicines.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The list of medicines currently active for the patient.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose medicine observations are being calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateOxygenationIndex_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateOxygenationIndex*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_CalculateOxygenationIndex_adas_core_Domain_Models_BasePatientObservationValue_System_String_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.CalculateOxygenationIndex(adas_core.Domain.Models.BasePatientObservationValue,System.String)">
|
||||
CalculateOxygenationIndex(BasePatientObservationValue, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Oxygenation index is calculated => P_VAM x FiO2 x 100 / PaO2_Tidal
|
||||
the method is called when it receives P_VAM or FiO2 or PaO2_Tidal and tries to take the other values to perform the
|
||||
calculation if they are not
|
||||
in database then does nothing.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateOxygenationIndex(BasePatientObservationValue obs, string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.BasePatientObservationValue.html">BasePatientObservationValue</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Ensures chronological order of patient observations by adjusting a new observation's time to one second after the most recent observation with the same name, when its time is earlier than or equal to the previous one (compared at second precision). Returns the observation unchanged and logs an error if the observation name is null or empty.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation to validate and potentially adjust for time consistency.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The patient observation with its time corrected if a time inconsistency was detected, otherwise the original observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the active treatments associated with the specified patient identifier.
|
||||
Returns an empty collection when no active treatments are found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose active treatments are being retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a collection of active <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> records for the patient, or an empty collection if none exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance. This method is a placeholder and has not been implemented yet.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the mapped <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown to indicate that the mapping logic has not been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> instance, performing the required transformation logic.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>A task representing the asynchronous operation, containing the mapped <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown in all cases because the method has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the specified pump observation to a new <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a> instance asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The source <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a> to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous mapping operation. The task result contains the mapped <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps fields from a <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a> onto an existing <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>, copying the alarm's EventId to Code and Event to Name when those values are provided, and always copying the alarm's Value.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The target <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> instance that will be updated with values from the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The source <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a> whose values are applied to <code class="paramref">obs</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A completed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the updated <code class="paramref">obs</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the obs to an event or alarm depending on its type and inserts it if needed</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T source, bool onlyByName) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>source</code> <span class="xref">T</span></dt>
|
||||
<dd><p>Observation</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>True if the observation needs to generate an alert</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>Mapped observation</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd><p>Type</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HPAZ_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.HPAZ.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Pre-maps a list of patient observations by creating deep copies, applying configuration-based mapping,
|
||||
and triggering blue code calculation. Returns the original list of patient observations unchanged.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToMap)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToMap</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to process for mapping and blue code calculation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>The original list of patient observations passed to the method.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.HPAZ | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.HPAZ | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HPAZ">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HPAZ" data-uid="adas_core.Application.Customizations.HPAZ" class="text-break">Namespace adas_core.Application.Customizations.HPAZ</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.HPAZ.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Represents a service that provides calculated observations, receiving its dependencies through the supplied <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+732
@@ -0,0 +1,732 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Implements the HRYC-specific clinical calculations that derive secondary values (NEWS alarms, IROX, Resp_Rate_Calculated, Hydric_Balance_Calculated, Weight_Diff, Diuresis_Weight, Delta_Pressure, Daily_Balance_Calculated, Allergies, DVE, Drainage_Height, Resp_Type, and Hour_Balance) from incoming raw observations and active configurations loaded from .">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HRYC_CalculatedObservations" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.HRYC.html">HRYC</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Implements the HRYC-specific clinical calculations that derive secondary
|
||||
<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> values (NEWS alarms, IROX, Resp_Rate_Calculated, Hydric_Balance_Calculated,
|
||||
Weight_Diff, Diuresis_Weight, Delta_Pressure, Daily_Balance_Calculated, Allergies, DVE, Drainage_Height,
|
||||
Resp_Type, and Hour_Balance) from incoming raw observations and active configurations loaded from
|
||||
<a class="xref" href="adas_core.Domain.Models.AppSettings.ApiSettings.html">ApiSettings</a>.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Customizations.HRYC.CalculatedObservations.html">CalculatedObservations</a> class,
|
||||
resolving its dependencies (observation, patient, light-beacon, and config-observation services,
|
||||
plus the logger) from the supplied <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a> and loading the configured
|
||||
code catalogues (high-frequency ventilation, non-invasive ventilation, and invasive ventilation)
|
||||
from <a class="xref" href="adas_core.Domain.Models.AppSettings.ApiSettings.html">ApiSettings</a>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd><p>The application's service provider used to resolve the required dependencies and configuration.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>No-op implementation of the active-bolus calculation hook. The HRYC customization does not
|
||||
derive an OpiateBoluses observation.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient (ignored).</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A completed task.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>No-op implementation of the medicine-observation calculation hook. The HRYC customization does
|
||||
not derive Medication or ERMedication observations from the active medicine list.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The list of active medicines (ignored).</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient (ignored).</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A completed task.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Resolves time-inconsistencies for a new patient observation when it arrives with the same
|
||||
(down-to-the-second) timestamp as the latest stored observation of the same name. The new
|
||||
observation's <code>Time</code> is shifted forward by one second to avoid duplicate-key collisions.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation to evaluate for time inconsistencies.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task that resolves to the (possibly time-shifted) <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>.
|
||||
Returns the input unchanged when its <code>Name</code> is null or empty, logging the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Returns an empty enumerable of active treatments. The HRYC customization does not currently
|
||||
maintain a per-patient active-treatment cache.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient (ignored).</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A completed task containing an empty <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Identity mapping for a <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>: returns the supplied instance unchanged,
|
||||
wrapped in a completed task. Provided to satisfy the customization contract.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A task containing the same <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance that was passed in.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Placeholder mapping for a <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>. The HRYC customization does not
|
||||
currently derive observations from treatments.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The treatment to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>Never returns a result.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Always thrown because treatment mapping is not implemented in the HRYC customization.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Identity mapping for a <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>: returns the supplied instance unchanged,
|
||||
wrapped in a completed task. Provided to satisfy the customization contract; pump observations
|
||||
do not require HRYC-specific calculation.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The pump observation to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>A task containing the same <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a> instance that was passed in.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Identity mapping for a source alarm observation paired with a <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a>:
|
||||
returns the supplied observation unchanged, wrapped in a completed task. Provided to satisfy the
|
||||
customization contract.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggered the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The alarm metadata to be inserted alongside the observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task containing the same <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> instance that was passed in.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Dispatches the supplied raw observation to the appropriate HRYC calculation based on its
|
||||
<a class="xref" href="adas_core.Domain.Models.BasePatientObservation.html#adas_core_Domain_Models_BasePatientObservation_Name">Name</a>. The set of supported calculations includes
|
||||
<code>Resp_Mode</code> (ventilation type), <code>Diuresis</code> / <code>Weight_Current</code>
|
||||
(weight difference and diuresis-per-kilogram), <code>AllergiesObs</code>, <code>DrainagesObs</code>,
|
||||
<code>PEEP</code> / <code>Pleateu_Pressure</code> (driving pressure), <code>Daily_Balance</code>,
|
||||
<code>Hydric_Balance</code> / <code>Hour_Balance</code> (time shifting), <code>FR</code> / <code>Vent_Rate</code>
|
||||
(respiratory rate), <code>SpO2</code> / <code>FiO2</code> (IROX), and <code>NEWS</code> (alarms).</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T obs, bool onlyByName) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The observation to map or transform in-place.</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>Reserved for future use. When <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, restricts the mapping strategy to
|
||||
name-based lookups only.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that resolves to the (possibly transformed) observation,
|
||||
or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> when the input observation has no name.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd><p>The concrete observation type, deriving from <a class="xref" href="adas_core.Domain.Models.BasePatientObservation.html">BasePatientObservation</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Pre-maps a batch of patient observations, optimising the order in which they are persisted
|
||||
when both <code>Vent_Rate</code> and <code>FR</code> are present. If both observations are present with
|
||||
non-zero values, <code>Vent_Rate</code> is inserted first (and removed from the returned list) so
|
||||
that <span class="xref">adas_core.Application.Customizations.HRYC.CalculatedObservations.CalculateRespRate(adas_core.Domain.Models.BasePatientObservation)</span> can derive <code>Resp_Rate_Calculated</code> correctly.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToInsert</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to pre-map. Modified in-place.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A task that resolves to the resulting list of observations (with <code>Vent_Rate</code> removed
|
||||
when it was inserted synchronously, or the original list otherwise).</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HRYC_CalculatedObservations_SendAlarm_" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.SendAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HRYC_CalculatedObservations_SendAlarm_adas_core_Domain_Models_PatientObservation_System_String_System_Nullable_adas_core_Domain_Enums_AlarmEnum_Name__" data-uid="adas_core.Application.Customizations.HRYC.CalculatedObservations.SendAlarm(adas_core.Domain.Models.PatientObservation,System.String,System.Nullable{adas_core.Domain.Enums.AlarmEnum.Name})">
|
||||
SendAlarm(PatientObservation, string, Name?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Placeholder alarm dispatch hook used by the customization contract. The HRYC customization
|
||||
dispatches NEWS alarms through its private <code>SendAlarm(BasePatientObservation, AlarmEnum.Name)</code>
|
||||
overload; calling this public overload always throws.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task SendAlarm(PatientObservation obs, string name, AlarmEnum.Name? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggered the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The alarm display name.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.html">AlarmEnum</a>.<a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">Name</a>?</dt>
|
||||
<dd><p>The optional alarm code from <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">AlarmEnum.Name</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>Never returns a result.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Always thrown because this overload is not used in the HRYC customization.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.HRYC | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.HRYC | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HRYC">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HRYC" data-uid="adas_core.Application.Customizations.HRYC" class="text-break">Namespace adas_core.Application.Customizations.HRYC</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.HRYC.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Implements the HRYC-specific clinical calculations that derive secondary
|
||||
<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> values (NEWS alarms, IROX, Resp_Rate_Calculated, Hydric_Balance_Calculated,
|
||||
Weight_Diff, Diuresis_Weight, Delta_Pressure, Daily_Balance_Calculated, Allergies, DVE, Drainage_Height,
|
||||
Resp_Type, and Hour_Balance) from incoming raw observations and active configurations loaded from
|
||||
<a class="xref" href="adas_core.Domain.Models.AppSettings.ApiSettings.html">ApiSettings</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+700
@@ -0,0 +1,700 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents a concrete implementation of the interface, providing functionality to manage a collection of calculated observations.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.HUVH.html">HUVH</a>.<a class="xref" href="adas_core.Application.Customizations.HUVH.UCIA.html">UCIA</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents a concrete implementation of the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> interface,
|
||||
providing functionality to manage a collection of calculated observations.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously calculates the active bolus for the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the patient whose active bolus should be calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown when the method is invoked, as the calculation logic has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Calculates medicine observations for a patient by validating the categories of their active medications. Typically invoked by the scheduler service to review current medication statuses.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The list of currently active medicines assigned to the patient.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose medication categories will be checked.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Ensures the timestamp of the new observation does not collide with the most recent observation for the same patient and observation name. If the new observation's time is equal to or earlier than the last observation's time (compared at second precision), the new observation's time is incremented by one second. If the observation name is null or empty, the new observation is returned unchanged after logging an error.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation whose timestamp should be adjusted to avoid time inconsistencies with prior observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The patient observation, with its <code>Time</code> adjusted when a time collision is detected, or the original observation when its name is null or empty.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all currently active treatments associated with the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose active treatments should be retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A collection of <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> objects representing the patient's active treatments.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously maps a <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance to its corresponding data representation or transfer model.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous mapping operation, containing the resulting <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown when the method is invoked, as the mapping logic has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> by determining the appropriate order control status, handling cases for missing placer orders, previous expired treatments, and treatments with a defined end time.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The patient treatment to map and update.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>The patient treatment with its order control set according to the evaluated business rules.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a> instance to its output representation as a pass-through operation.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The pump observation to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>A completed task containing the provided <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a source alarm to a patient observation. Returns the provided observation without applying changes from the alarm.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation to be returned as the mapping result.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The patient observation alarm intended to be associated with the observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task containing the patient observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Processes a patient observation by dispatching to the appropriate domain-specific calculation based on the observation name, handling over-sedation, ventilation mode, ECMO location, over-analgesia, driving pressure, ROX index, diuresis, and rehabilitation alarm assessments.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T obs, bool onlyByName = false) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The patient observation to map; may be replaced with the result of the matched asynchronous calculation when applicable.</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>Indicates whether the mapping should be performed using only the observation's name.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>The processed patient observation, potentially updated by the applicable calculation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Pre-maps the provided list of patient observations, returning it as a completed task for asynchronous processing pipelines.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToInsert</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to pre-map before insertion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A completed task containing the provided list of patient observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_SendAlarm_" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.SendAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIA_CalculatedObservations_SendAlarm_adas_core_Domain_Models_PatientObservation_System_String_System_Nullable_adas_core_Domain_Enums_AlarmEnum_Name__" data-uid="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.SendAlarm(adas_core.Domain.Models.PatientObservation,System.String,System.Nullable{adas_core.Domain.Enums.AlarmEnum.Name})">
|
||||
SendAlarm(PatientObservation, string, Name?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously sends an alarm notification associated with a patient observation, identified by a name and an optional alarm code.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task SendAlarm(PatientObservation obs, string name, AlarmEnum.Name? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggers the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name associated with the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.html">AlarmEnum</a>.<a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">Name</a>?</dt>
|
||||
<dd><p>The optional alarm code categorizing the alarm, or null if no code is specified.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous alarm sending operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown to indicate that the method has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.HUVH.UCIA | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.HUVH.UCIA | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HUVH.UCIA">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HUVH_UCIA" data-uid="adas_core.Application.Customizations.HUVH.UCIA" class="text-break">Namespace adas_core.Application.Customizations.HUVH.UCIA</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.HUVH.UCIA.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Represents a concrete implementation of the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> interface,
|
||||
providing functionality to manage a collection of calculated observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+700
@@ -0,0 +1,700 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents a concrete implementation of the interface, providing a collection of calculated observation data.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.HUVH.html">HUVH</a>.<a class="xref" href="adas_core.Application.Customizations.HUVH.UCIN.html">UCIN</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents a concrete implementation of the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> interface,
|
||||
providing a collection of calculated observation data.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Calculates the active bolus for the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient for whom the active bolus is calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method has not been implemented yet.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Persists a multivalue medication observation for the specified patient based on the currently active medicines, expiring any previous medication observation recorded for the same patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The list of active medicines from which distinct medication names are extracted to build the observation value.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the patient for whom the medication observation is calculated and stored.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Adjusts the time of a new patient observation to ensure it is at least one second after the most recent observation with the same name, preventing time conflicts. If the observation name is null or empty, the method logs an error and returns the observation unchanged.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation whose time may be adjusted to follow the most recent observation for the same patient and measurement.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The patient observation with a corrected time if a time conflict was detected, or the original observation if no adjustment was needed or the name was invalid.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the collection of active treatments associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique <span class="xref">MongoDB.Bson.ObjectId</span> of the patient whose active treatments should be fetched.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a> of nullable <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> instances for the patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously maps a <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> to a target <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> representation.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The source <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that represents the asynchronous mapping operation, containing the mapped <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown when the method is invoked, as the mapping logic has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> by determining its <a class="xref" href="adas_core.Domain.Enums.OrderControlType.html">OrderControlType</a> based on prior treatments and expiration status.
|
||||
If the placer order number is missing, the treatment is returned unchanged. The order control is set to <a class="xref" href="adas_core.Domain.Enums.OrderControlType.html#adas_core_Domain_Enums_OrderControlType_Xo">Xo</a> when previous treatments exist, <a class="xref" href="adas_core.Domain.Enums.OrderControlType.html#adas_core_Domain_Enums_OrderControlType_Dc">Dc</a> when the treatment has expired (end time set), or <a class="xref" href="adas_core.Domain.Enums.OrderControlType.html#adas_core_Domain_Enums_OrderControlType_Nw">Nw</a> otherwise.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The patient treatment to map, including its placer order, end time, and medicines.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>The mapped <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a> with its order control type and medicines updated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps the provided <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a> instance by returning it unchanged, wrapped in a completed task.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The pump observation to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>A completed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the provided <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a source alarm onto a patient observation, returning the observation unchanged without applying the alarm data.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that the alarm is to be associated with.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The alarm intended to be inserted into the observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task containing the patient observation, returned as-is.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a patient observation by applying the appropriate calculation logic based on its name, handling multi-value interventions, surgeries, complexity scoring, pre/post saturation differences, pain scales, and last defecation value.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T obs, bool onlyByName = false) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The patient observation to be mapped, which may be transformed depending on its name.</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>Indicates whether the mapping should be performed using only the observation name.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>The mapped patient observation, potentially enriched with computed values, wrapped in a task.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Performs a pre-mapping operation on a list of patient observations, returning the list for further processing.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToInsert</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to pre-map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the provided list of patient observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_SendAlarm_" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.SendAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_HUVH_UCIN_CalculatedObservations_SendAlarm_adas_core_Domain_Models_PatientObservation_System_String_System_Nullable_adas_core_Domain_Enums_AlarmEnum_Name__" data-uid="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.SendAlarm(adas_core.Domain.Models.PatientObservation,System.String,System.Nullable{adas_core.Domain.Enums.AlarmEnum.Name})">
|
||||
SendAlarm(PatientObservation, string, Name?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Sends an alarm notification for the specified patient observation, identified by name and optional alarm code.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task SendAlarm(PatientObservation obs, string name, AlarmEnum.Name? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggers the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name associated with the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.html">AlarmEnum</a>.<a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">Name</a>?</dt>
|
||||
<dd><p>The optional alarm code categorizing the type of alarm to be sent.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method has not been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.HUVH.UCIN | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.HUVH.UCIN | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.HUVH.UCIN">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_HUVH_UCIN" data-uid="adas_core.Application.Customizations.HUVH.UCIN" class="text-break">Namespace adas_core.Application.Customizations.HUVH.UCIN</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.HUVH.UCIN.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Represents a concrete implementation of the <a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a> interface,
|
||||
providing a collection of calculated observation data.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+705
@@ -0,0 +1,705 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CalculatedObservations | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CalculatedObservations | ADAS ">
|
||||
|
||||
<meta name="description" content="Provides calculated observations by leveraging services obtained from the injected service provider.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations" class="text-break">
|
||||
Class CalculatedObservations
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Customizations.html">Customizations</a>.<a class="xref" href="adas_core.Application.Customizations.NursePlan.html">NursePlan</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Provides calculated observations by leveraging services obtained from the injected service provider.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CalculatedObservations : ICalculatedObservations</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">CalculatedObservations</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Services.Interfaces.ICalculatedObservations.html">ICalculatedObservations</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations__ctor_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations__ctor_System_IServiceProvider_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.#ctor(System.IServiceProvider)">
|
||||
CalculatedObservations(IServiceProvider)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Provides calculated observations by leveraging services obtained from the injected service provider.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CalculatedObservations(IServiceProvider serviceProvider)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>serviceProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_CalculateActiveBolus_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.CalculateActiveBolus*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_CalculateActiveBolus_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.CalculateActiveBolus(MongoDB.Bson.ObjectId)">
|
||||
CalculateActiveBolus(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously calculates the active bolus for the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateActiveBolus(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose active bolus is to be calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown when the method is invoked, as the calculation logic has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_CalculateMedicineObservation_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.CalculateMedicineObservation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_CalculateMedicineObservation_System_Collections_Generic_List_adas_core_Domain_Models_Medicine__MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.CalculateMedicineObservation(System.Collections.Generic.List{adas_core.Domain.Models.Medicine},MongoDB.Bson.ObjectId)">
|
||||
CalculateMedicineObservation(List<Medicine>, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously calculates a medicine observation for the specified patient based on their active medicines.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task CalculateMedicineObservation(List<Medicine> activeMedicines, ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>activeMedicines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>The collection of medicines currently active for the patient.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the patient whose medicine observation is being calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>The method is not yet implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_FixTimeInconsistencyWithLast_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.FixTimeInconsistencyWithLast*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_FixTimeInconsistencyWithLast_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.FixTimeInconsistencyWithLast(adas_core.Domain.Models.PatientObservation)">
|
||||
FixTimeInconsistencyWithLast(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously resolves time inconsistencies between the supplied observation and the most recent previous observation, returning a corrected observation or <code>null</code> when no correction is required.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation?> FixTimeInconsistencyWithLast(PatientObservation newObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>newObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The new patient observation whose timestamps may need to be reconciled with the last recorded observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the fixed <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>, or <code>null</code> when no time inconsistency is detected.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>Thrown because the method has not been implemented yet.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_GetActiveTreatmentsByPatient_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.GetActiveTreatmentsByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_GetActiveTreatmentsByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.GetActiveTreatmentsByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetActiveTreatmentsByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the active treatment records associated with the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<IEnumerable<PatientTreatment?>> GetActiveTreatmentsByPatient(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose active treatments are being queried.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>>></dt>
|
||||
<dd><p>A task representing the asynchronous operation, containing a collection of active PatientTreatment entries, which may include null values, for the specified patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Exceptions</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></dt>
|
||||
<dd><p>The method has not yet been implemented.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
Map(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> instance to a completed task containing the same instance.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientDiagnosis> Map(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The patient diagnosis to be returned as a completed task result.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A completed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the provided diagnosis.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map_adas_core_Domain_Models_PatientTreatment_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map(adas_core.Domain.Models.PatientTreatment)">
|
||||
Map(PatientTreatment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Maps a patient treatment to its target representation asynchronously, returning the provided treatment instance unchanged.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientTreatment> Map(PatientTreatment treatment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>treatment</code> <a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a></dt>
|
||||
<dd><p>The patient treatment to map.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientTreatment.html">PatientTreatment</a>></dt>
|
||||
<dd><p>A task containing the mapped patient treatment.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map_adas_core_Domain_Models_Pumps_PumpObservation_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map(adas_core.Domain.Models.Pumps.PumpObservation)">
|
||||
Map(PumpObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously maps the provided PumpObservation, returning the input instance as the mapping result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PumpObservation> Map(PumpObservation pumpObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pumpObservation</code> <a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a></dt>
|
||||
<dd><p>The PumpObservation to be mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Pumps.PumpObservation.html">PumpObservation</a>></dt>
|
||||
<dd><p>A task containing the mapped PumpObservation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_MapSourceAlarm_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.MapSourceAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_MapSourceAlarm_adas_core_Domain_Models_PatientObservation_adas_core_Domain_Models_PatientObservationAlarm_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.MapSourceAlarm(adas_core.Domain.Models.PatientObservation,adas_core.Domain.Models.PatientObservationAlarm)">
|
||||
MapSourceAlarm(PatientObservation, PatientObservationAlarm)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Returns the provided <code class="paramref">obs</code> as-is, ignoring the <code class="paramref">alarmToInsert</code> parameter.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<PatientObservation> MapSourceAlarm(PatientObservation obs, PatientObservationAlarm alarmToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation to return.</p>
|
||||
</dd>
|
||||
<dt><code>alarmToInsert</code> <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a></dt>
|
||||
<dd><p>The patient observation alarm; not used in the current implementation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>A completed task containing the original <code class="paramref">obs</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_Map__1___0_System_Boolean_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.Map``1(``0,System.Boolean)">
|
||||
Map<T>(T, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Returns the provided patient observation wrapped in a completed task without modification.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<T?> Map<T>(T obs, bool onlyByName = false) where T : BasePatientObservation</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The patient observation to return.</p>
|
||||
</dd>
|
||||
<dt><code>onlyByName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>Reserved flag that is not used in the current implementation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>A completed task containing the provided observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_PreMapList_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.PreMapList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_PreMapList_System_Collections_Generic_List_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.PreMapList(System.Collections.Generic.List{adas_core.Domain.Models.PatientObservation})">
|
||||
PreMapList(List<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Returns the provided patient observation list unchanged as a pre-mapping step, typically used as a hook before further mapping or insertion operations.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task<List<PatientObservation>> PreMapList(List<PatientObservation> listToInsert)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>listToInsert</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The list of patient observations to be pre-mapped.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A completed <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the original list of patient observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_SendAlarm_" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.SendAlarm*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Customizations_NursePlan_CalculatedObservations_SendAlarm_adas_core_Domain_Models_PatientObservation_System_String_System_Nullable_adas_core_Domain_Enums_AlarmEnum_Name__" data-uid="adas_core.Application.Customizations.NursePlan.CalculatedObservations.SendAlarm(adas_core.Domain.Models.PatientObservation,System.String,System.Nullable{adas_core.Domain.Enums.AlarmEnum.Name})">
|
||||
SendAlarm(PatientObservation, string, Name?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Sends an alarm notification based on the specified patient observation, name, and optional alarm code.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Task SendAlarm(PatientObservation obs, string name, AlarmEnum.Name? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obs</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation that triggers the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name associated with the alarm.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="adas_core.Domain.Enums.AlarmEnum.html">AlarmEnum</a>.<a class="xref" href="adas_core.Domain.Enums.AlarmEnum.Name.html">Name</a>?</dt>
|
||||
<dd><p>The optional alarm code identifying the alarm type.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Customizations.NursePlan | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Customizations.NursePlan | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Customizations.NursePlan">
|
||||
|
||||
<h1 id="adas_core_Application_Customizations_NursePlan" data-uid="adas_core.Application.Customizations.NursePlan" class="text-break">Namespace adas_core.Application.Customizations.NursePlan</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Customizations.NursePlan.CalculatedObservations.html">CalculatedObservations</a></dt>
|
||||
<dd><p>Provides calculated observations by leveraging services obtained from the injected service provider.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+263
@@ -0,0 +1,263 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class ApiRequestException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class ApiRequestException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents errors that occur during API request processing, wrapping a descriptive message.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.ApiRequestException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_ApiRequestException" data-uid="adas_core.Application.Exceptions.ApiRequestException" class="text-break">
|
||||
Class ApiRequestException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents errors that occur during API request processing, wrapping a descriptive message.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class ApiRequestException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">ApiRequestException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_ApiRequestException__ctor_" data-uid="adas_core.Application.Exceptions.ApiRequestException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_ApiRequestException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.ApiRequestException.#ctor(System.String)">
|
||||
ApiRequestException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Represents errors that occur during API request processing, wrapping a descriptive message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ApiRequestException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+297
@@ -0,0 +1,297 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class BadRequestException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class BadRequestException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents an exception that is thrown when a bad or invalid request is received. It serves as a specialized error type derived from the base class for signaling client-side request failures.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.BadRequestException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_BadRequestException" data-uid="adas_core.Application.Exceptions.BadRequestException" class="text-break">
|
||||
Class BadRequestException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents an exception that is thrown when a bad or invalid request is received.
|
||||
It serves as a specialized error type derived from the base <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a> class for signaling client-side request failures.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class BadRequestException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">BadRequestException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_BadRequestException__ctor_" data-uid="adas_core.Application.Exceptions.BadRequestException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_BadRequestException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.BadRequestException.#ctor(System.String)">
|
||||
BadRequestException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.BadRequestException.html">BadRequestException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public BadRequestException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The error message that describes the reason for the exception.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_BadRequestException__ctor_" data-uid="adas_core.Application.Exceptions.BadRequestException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_BadRequestException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.BadRequestException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
BadRequestException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.BadRequestException.html">BadRequestException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public BadRequestException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The error message defined in <a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">HttpEnum.ErrorMessage</a> that describes the reason for the exception.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+296
@@ -0,0 +1,296 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class ConflictException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class ConflictException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents an exception that is thrown when a conflict is encountered, such as a resource state mismatch or a duplicate entry.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.ConflictException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_ConflictException" data-uid="adas_core.Application.Exceptions.ConflictException" class="text-break">
|
||||
Class ConflictException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents an exception that is thrown when a conflict is encountered, such as a resource state mismatch or a duplicate entry.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class ConflictException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">ConflictException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_ConflictException__ctor_" data-uid="adas_core.Application.Exceptions.ConflictException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_ConflictException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.ConflictException.#ctor(System.String)">
|
||||
ConflictException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.ConflictException.html">ConflictException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ConflictException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_ConflictException__ctor_" data-uid="adas_core.Application.Exceptions.ConflictException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_ConflictException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.ConflictException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
ConflictException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.ConflictException.html">ConflictException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ConflictException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The error message that describes the conflict.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+299
@@ -0,0 +1,299 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class CustomArgumentException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class CustomArgumentException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents a custom exception that is thrown when one or more arguments provided to a method are invalid.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.CustomArgumentException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_CustomArgumentException" data-uid="adas_core.Application.Exceptions.CustomArgumentException" class="text-break">
|
||||
Class CustomArgumentException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents a custom exception that is thrown when one or more arguments provided to a method are invalid.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class CustomArgumentException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">CustomArgumentException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
<h2 id="adas_core_Application_Exceptions_CustomArgumentException_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><p>This exception extends the base <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a> class to provide a domain-specific error type for argument validation failures.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_CustomArgumentException__ctor_" data-uid="adas_core.Application.Exceptions.CustomArgumentException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_CustomArgumentException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.CustomArgumentException.#ctor(System.String)">
|
||||
CustomArgumentException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.CustomArgumentException.html">CustomArgumentException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CustomArgumentException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The error message that describes the reason for the exception.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_CustomArgumentException__ctor_" data-uid="adas_core.Application.Exceptions.CustomArgumentException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_CustomArgumentException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.CustomArgumentException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
CustomArgumentException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.CustomArgumentException.html">CustomArgumentException</a> class with the specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CustomArgumentException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The error message from the <a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">HttpEnum.ErrorMessage</a> enumeration.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+299
@@ -0,0 +1,299 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class ForbbidenException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class ForbbidenException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents an exception that is thrown when an operation is forbidden or access to a resource is denied.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.ForbbidenException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_ForbbidenException" data-uid="adas_core.Application.Exceptions.ForbbidenException" class="text-break">
|
||||
Class ForbbidenException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents an exception that is thrown when an operation is forbidden or access to a resource is denied.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class ForbbidenException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">ForbbidenException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
<h2 id="adas_core_Application_Exceptions_ForbbidenException_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><p>This exception is intended to signal that a requested action violates access rules or restrictions, allowing callers to handle forbidden scenarios distinctly from other error conditions.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_ForbbidenException__ctor_" data-uid="adas_core.Application.Exceptions.ForbbidenException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_ForbbidenException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.ForbbidenException.#ctor(System.String)">
|
||||
ForbbidenException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.ForbbidenException.html">ForbbidenException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ForbbidenException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_ForbbidenException__ctor_" data-uid="adas_core.Application.Exceptions.ForbbidenException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_ForbbidenException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.ForbbidenException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
ForbbidenException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.ForbbidenException.html">ForbbidenException</a> class with a specified error message from the <a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">HttpEnum.ErrorMessage</a> enumeration.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ForbbidenException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">HttpEnum.ErrorMessage</a> enumeration value whose integer representation is used as the exception message.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+296
@@ -0,0 +1,296 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class InvalidFormatException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class InvalidFormatException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents the exception that is thrown when data is encountered in a format that is not valid or expected.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.InvalidFormatException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_InvalidFormatException" data-uid="adas_core.Application.Exceptions.InvalidFormatException" class="text-break">
|
||||
Class InvalidFormatException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents the exception that is thrown when data is encountered in a format that is not valid or expected.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class InvalidFormatException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">InvalidFormatException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_InvalidFormatException__ctor_" data-uid="adas_core.Application.Exceptions.InvalidFormatException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_InvalidFormatException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.InvalidFormatException.#ctor(System.String)">
|
||||
InvalidFormatException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.InvalidFormatException.html">InvalidFormatException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public InvalidFormatException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The error message that describes the reason for the exception.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_InvalidFormatException__ctor_" data-uid="adas_core.Application.Exceptions.InvalidFormatException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_InvalidFormatException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.InvalidFormatException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
InvalidFormatException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.InvalidFormatException.html">InvalidFormatException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public InvalidFormatException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The error message that describes the reason for the exception.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+323
@@ -0,0 +1,323 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class NotFoundException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class NotFoundException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents an exception that is thrown when a requested resource or item cannot be found.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.NotFoundException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_NotFoundException" data-uid="adas_core.Application.Exceptions.NotFoundException" class="text-break">
|
||||
Class NotFoundException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents an exception that is thrown when a requested resource or item cannot be found.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class NotFoundException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">NotFoundException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_NotFoundException__ctor_" data-uid="adas_core.Application.Exceptions.NotFoundException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_NotFoundException__ctor" data-uid="adas_core.Application.Exceptions.NotFoundException.#ctor">
|
||||
NotFoundException()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.NotFoundException.html">NotFoundException</a> class.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public NotFoundException()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_NotFoundException__ctor_" data-uid="adas_core.Application.Exceptions.NotFoundException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_NotFoundException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.NotFoundException.#ctor(System.String)">
|
||||
NotFoundException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.NotFoundException.html">NotFoundException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public NotFoundException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_NotFoundException__ctor_" data-uid="adas_core.Application.Exceptions.NotFoundException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_NotFoundException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.NotFoundException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
NotFoundException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.NotFoundException.html">NotFoundException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public NotFoundException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+263
@@ -0,0 +1,263 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class TokenException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class TokenException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents an exception that is thrown when a token-related error occurs.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.TokenException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_TokenException" data-uid="adas_core.Application.Exceptions.TokenException" class="text-break">
|
||||
Class TokenException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents an exception that is thrown when a token-related error occurs.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class TokenException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">TokenException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_TokenException__ctor_" data-uid="adas_core.Application.Exceptions.TokenException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_TokenException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.TokenException.#ctor(System.String)">
|
||||
TokenException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Represents an exception that is thrown when a token-related error occurs.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public TokenException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+296
@@ -0,0 +1,296 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class UnauthorizedException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class UnauthorizedException | ADAS ">
|
||||
|
||||
<meta name="description" content="Exception thrown when a user lacks authorization to perform an operation.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.UnauthorizedException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_UnauthorizedException" data-uid="adas_core.Application.Exceptions.UnauthorizedException" class="text-break">
|
||||
Class UnauthorizedException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Exception thrown when a user lacks authorization to perform an operation.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class UnauthorizedException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">UnauthorizedException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_UnauthorizedException__ctor_" data-uid="adas_core.Application.Exceptions.UnauthorizedException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_UnauthorizedException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.UnauthorizedException.#ctor(System.String)">
|
||||
UnauthorizedException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.UnauthorizedException.html">UnauthorizedException</a> class.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public UnauthorizedException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_UnauthorizedException__ctor_" data-uid="adas_core.Application.Exceptions.UnauthorizedException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_UnauthorizedException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.UnauthorizedException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
UnauthorizedException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.UnauthorizedException.html">UnauthorizedException</a> class.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public UnauthorizedException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The error message associated with the exception.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+299
@@ -0,0 +1,299 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class UnprocessableEntityException | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class UnprocessableEntityException | ADAS ">
|
||||
|
||||
<meta name="description" content="Represents an exception that is thrown when an entity cannot be processed due to issues with its content or structure.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions.UnprocessableEntityException">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions_UnprocessableEntityException" data-uid="adas_core.Application.Exceptions.UnprocessableEntityException" class="text-break">
|
||||
Class UnprocessableEntityException
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Exceptions.html">Exceptions</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents an exception that is thrown when an entity cannot be processed due to issues with its content or structure.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class UnprocessableEntityException : Exception, ISerializable</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
|
||||
<div><span class="xref">UnprocessableEntityException</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception">Exception.GetBaseException()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype">Exception.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring">Exception.ToString()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data">Exception.Data</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink">Exception.HelpLink</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult">Exception.HResult</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception">Exception.InnerException</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message">Exception.Message</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source">Exception.Source</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace">Exception.StackTrace</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite">Exception.TargetSite</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
<h2 id="adas_core_Application_Exceptions_UnprocessableEntityException_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><p>This exception is typically used to signal that a request or entity was understood but could not be processed, similar to the semantics of an HTTP 422 (Unprocessable Entity) response.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_UnprocessableEntityException__ctor_" data-uid="adas_core.Application.Exceptions.UnprocessableEntityException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_UnprocessableEntityException__ctor_System_String_" data-uid="adas_core.Application.Exceptions.UnprocessableEntityException.#ctor(System.String)">
|
||||
UnprocessableEntityException(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.UnprocessableEntityException.html">UnprocessableEntityException</a> class with a specified error message.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public UnprocessableEntityException(string message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The message that describes the error.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Exceptions_UnprocessableEntityException__ctor_" data-uid="adas_core.Application.Exceptions.UnprocessableEntityException.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Exceptions_UnprocessableEntityException__ctor_adas_core_Domain_Enums_HttpEnum_ErrorMessage_" data-uid="adas_core.Application.Exceptions.UnprocessableEntityException.#ctor(adas_core.Domain.Enums.HttpEnum.ErrorMessage)">
|
||||
UnprocessableEntityException(ErrorMessage)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="adas_core.Application.Exceptions.UnprocessableEntityException.html">UnprocessableEntityException</a> class with a specified error message enum.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public UnprocessableEntityException(HttpEnum.ErrorMessage message)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>message</code> <a class="xref" href="adas_core.Domain.Enums.HttpEnum.html">HttpEnum</a>.<a class="xref" href="adas_core.Domain.Enums.HttpEnum.ErrorMessage.html">ErrorMessage</a></dt>
|
||||
<dd><p>The error message enum containing the error code.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,173 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Exceptions | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Exceptions | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Exceptions">
|
||||
|
||||
<h1 id="adas_core_Application_Exceptions" data-uid="adas_core.Application.Exceptions" class="text-break">Namespace adas_core.Application.Exceptions</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.ApiRequestException.html">ApiRequestException</a></dt>
|
||||
<dd><p>Represents errors that occur during API request processing, wrapping a descriptive message.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.BadRequestException.html">BadRequestException</a></dt>
|
||||
<dd><p>Represents an exception that is thrown when a bad or invalid request is received.
|
||||
It serves as a specialized error type derived from the base <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a> class for signaling client-side request failures.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.ConflictException.html">ConflictException</a></dt>
|
||||
<dd><p>Represents an exception that is thrown when a conflict is encountered, such as a resource state mismatch or a duplicate entry.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.CustomArgumentException.html">CustomArgumentException</a></dt>
|
||||
<dd><p>Represents a custom exception that is thrown when one or more arguments provided to a method are invalid.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.ForbbidenException.html">ForbbidenException</a></dt>
|
||||
<dd><p>Represents an exception that is thrown when an operation is forbidden or access to a resource is denied.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.InvalidFormatException.html">InvalidFormatException</a></dt>
|
||||
<dd><p>Represents the exception that is thrown when data is encountered in a format that is not valid or expected.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.NotFoundException.html">NotFoundException</a></dt>
|
||||
<dd><p>Represents an exception that is thrown when a requested resource or item cannot be found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.TokenException.html">TokenException</a></dt>
|
||||
<dd><p>Represents an exception that is thrown when a token-related error occurs.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.UnauthorizedException.html">UnauthorizedException</a></dt>
|
||||
<dd><p>Exception thrown when a user lacks authorization to perform an operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Exceptions.UnprocessableEntityException.html">UnprocessableEntityException</a></dt>
|
||||
<dd><p>Represents an exception that is thrown when an entity cannot be processed due to issues with its content or structure.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+277
@@ -0,0 +1,277 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class AdasProvider | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class AdasProvider | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Providers.AdasProvider">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Providers_AdasProvider" data-uid="adas_core.Application.Providers.AdasProvider" class="text-break">
|
||||
Class AdasProvider
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Providers.html">Providers</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class AdasProvider : BaseProvider</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><a class="xref" href="adas_core.Application.Providers.BaseProvider.html">BaseProvider</a></div>
|
||||
<div><span class="xref">AdasProvider</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Providers.BaseProvider.html#adas_core_Application_Providers_BaseProvider_HttpClientFactory">BaseProvider.HttpClientFactory</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Providers.BaseProvider.html#adas_core_Application_Providers_BaseProvider_Url">BaseProvider.Url</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Providers_AdasProvider__ctor_" data-uid="adas_core.Application.Providers.AdasProvider.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Providers_AdasProvider__ctor_Microsoft_Extensions_Options_IOptions_adas_core_Domain_Models_Providers_ProvidersSettings__System_Net_Http_IHttpClientFactory_" data-uid="adas_core.Application.Providers.AdasProvider.#ctor(Microsoft.Extensions.Options.IOptions{adas_core.Domain.Models.Providers.ProvidersSettings},System.Net.Http.IHttpClientFactory)">
|
||||
AdasProvider(IOptions<ProvidersSettings>, IHttpClientFactory)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public AdasProvider(IOptions<ProvidersSettings> providerSettings, IHttpClientFactory httpClientFactory)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>providerSettings</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.extensions.options.ioptions-1">IOptions</a><<a class="xref" href="adas_core.Domain.Models.Providers.ProvidersSettings.html">ProvidersSettings</a>></dt>
|
||||
<dd></dd>
|
||||
<dt><code>httpClientFactory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.net.http.ihttpclientfactory">IHttpClientFactory</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Providers_AdasProvider_GetObservations_" data-uid="adas_core.Application.Providers.AdasProvider.GetObservations*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Providers_AdasProvider_GetObservations_adas_core_Domain_Models_MongoModels_Patient_" data-uid="adas_core.Application.Providers.AdasProvider.GetObservations(adas_core.Domain.Models.MongoModels.Patient)">
|
||||
GetObservations(Patient)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves patient observations from the ADAS system, including stay duration predictions (most and less confident scenarios) and medication predictions.
|
||||
Logs an error and skips stay prediction observations if the prediction result is null or contains an error.
|
||||
Skips the medication prediction observation if no medication predictions are returned.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public override Task<List<PatientObservation>> GetObservations(Patient patient)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patient</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a></dt>
|
||||
<dd><p>The patient for whom observations are being calculated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, returning a list of patient observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+343
@@ -0,0 +1,343 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class BaseProvider | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class BaseProvider | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Providers.BaseProvider">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Providers_BaseProvider" data-uid="adas_core.Application.Providers.BaseProvider" class="text-break">
|
||||
Class BaseProvider
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Providers.html">Providers</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public abstract class BaseProvider</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">BaseProvider</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist derived">
|
||||
<dt>Derived</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="adas_core.Application.Providers.AdasProvider.html">AdasProvider</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Providers_BaseProvider__ctor_" data-uid="adas_core.Application.Providers.BaseProvider.#ctor*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Providers_BaseProvider__ctor_Microsoft_Extensions_Options_IOptions_adas_core_Domain_Models_Providers_ProvidersSettings__System_Net_Http_IHttpClientFactory_" data-uid="adas_core.Application.Providers.BaseProvider.#ctor(Microsoft.Extensions.Options.IOptions{adas_core.Domain.Models.Providers.ProvidersSettings},System.Net.Http.IHttpClientFactory)">
|
||||
BaseProvider(IOptions<ProvidersSettings>, IHttpClientFactory)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">protected BaseProvider(IOptions<ProvidersSettings> providerSettings, IHttpClientFactory httpClientFactory)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>providerSettings</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.extensions.options.ioptions-1">IOptions</a><<a class="xref" href="adas_core.Domain.Models.Providers.ProvidersSettings.html">ProvidersSettings</a>></dt>
|
||||
<dd></dd>
|
||||
<dt><code>httpClientFactory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.net.http.ihttpclientfactory">IHttpClientFactory</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="fields">Fields
|
||||
</h2>
|
||||
|
||||
|
||||
|
||||
<h3 id="adas_core_Application_Providers_BaseProvider_HttpClientFactory" data-uid="adas_core.Application.Providers.BaseProvider.HttpClientFactory">
|
||||
HttpClientFactory
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">protected IHttpClientFactory HttpClientFactory</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Field Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.net.http.ihttpclientfactory">IHttpClientFactory</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="properties">Properties
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Providers_BaseProvider_Url_" data-uid="adas_core.Application.Providers.BaseProvider.Url*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Providers_BaseProvider_Url" data-uid="adas_core.Application.Providers.BaseProvider.Url">
|
||||
Url
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">protected string Url { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Providers_BaseProvider_GetObservations_" data-uid="adas_core.Application.Providers.BaseProvider.GetObservations*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Providers_BaseProvider_GetObservations_adas_core_Domain_Models_MongoModels_Patient_" data-uid="adas_core.Application.Providers.BaseProvider.GetObservations(adas_core.Domain.Models.MongoModels.Patient)">
|
||||
GetObservations(Patient)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the list of clinical observations associated with the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public abstract Task<List<PatientObservation>> GetObservations(Patient patient)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patient</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a></dt>
|
||||
<dd><p>The patient whose observations are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> entries for the patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace adas_core.Application.Providers | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace adas_core.Application.Providers | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Providers">
|
||||
|
||||
<h1 id="adas_core_Application_Providers" data-uid="adas_core.Application.Providers" class="text-break">Namespace adas_core.Application.Providers</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Providers.AdasProvider.html">AdasProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="adas_core.Application.Providers.BaseProvider.html">BaseProvider</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+892
@@ -0,0 +1,892 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IAdmissionRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IAdmissionRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository" class="text-break">
|
||||
Interface IAdmissionRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IAdmissionRepository : IMongoRepository<Admission></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Admission>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Admission>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Admission>.InsertOneAsync(Admission)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Admission>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Admission>.UpdateOneAsync(ObjectId, Admission)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_CountByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.CountByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_CountByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.CountByUnitId(MongoDB.Bson.ObjectId)">
|
||||
CountByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously counts the number of records associated with the specified unit identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> CountByUnitId(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the unit used to filter the records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the count of matching records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_Delete_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.Delete*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_Delete_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.Delete(MongoDB.Bson.ObjectId)">
|
||||
Delete(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the entity identified by the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Delete(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the entity to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_DeleteAdmissionsByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.DeleteAdmissionsByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_DeleteAdmissionsByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.DeleteAdmissionsByUnitId(MongoDB.Bson.ObjectId)">
|
||||
DeleteAdmissionsByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes admissions associated with the specified unit identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<bool> DeleteAdmissionsByUnitId(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the unit whose admissions will be deleted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a value indicating the result of the deletion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_DeleteMasterListOption_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.DeleteMasterListOption*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_DeleteMasterListOption_System_Collections_Generic_List_MongoDB_Bson_ObjectId__adas_core_Domain_Models_Masters_OptionList_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.DeleteMasterListOption(System.Collections.Generic.List{MongoDB.Bson.ObjectId},adas_core.Domain.Models.Masters.OptionList,System.String)">
|
||||
DeleteMasterListOption(List<ObjectId>, OptionList, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the specified option from the master list for the given units and type, returning the affected admissions.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Admission>> DeleteMasterListOption(List<ObjectId> unitIds, OptionList opt, string typeName)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitIds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The list of unit identifiers whose master list option should be deleted.</p>
|
||||
</dd>
|
||||
<dt><code>opt</code> <a class="xref" href="adas_core.Domain.Models.Masters.OptionList.html">OptionList</a></dt>
|
||||
<dd><p>The option to be removed from the master list.</p>
|
||||
</dd>
|
||||
<dt><code>typeName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the type associated with the master list option.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a> records affected by the deletion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all admission records.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Admission>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a> with all available admissions.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindById(MongoDB.Bson.ObjectId)">
|
||||
FindById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves an <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a> entity by its unique identifier, returning <code>null</code> when no matching record is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Admission?> FindById(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a> to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>, or <code>null</code> if no admission exists with the specified identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByLocation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByLocation_adas_core_Domain_Models_PatientLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByLocation(adas_core.Domain.Models.PatientLocation)">
|
||||
FindByLocation(PatientLocation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of admissions associated with the specified patient location.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Admission>> FindByLocation(PatientLocation location)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>location</code> <a class="xref" href="adas_core.Domain.Models.PatientLocation.html">PatientLocation</a></dt>
|
||||
<dd><p>The patient location used to filter and find the relevant admissions.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of admissions matching the given location.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByNhc_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByNhc*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByNhc_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByNhc(System.String)">
|
||||
FindByNhc(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves an admission record that matches the specified NHC (Número de Historia Clínica) identifier, or <code>null</code> when no matching admission exists.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Admission?> FindByNhc(string nhc)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>nhc</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The NHC (clinical history number) used to look up the admission.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>></dt>
|
||||
<dd><p>A task that resolves to the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>, or <code>null</code> if no admission is found for the given NHC.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByOrigin_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByOrigin*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByOrigin_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByOrigin(System.String)">
|
||||
FindByOrigin(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a collection of admissions filtered by the specified origin.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Admission>?> FindByOrigin(string origin)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>origin</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The origin value used to filter the admissions.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a collection of matching admissions, or <code>null</code> if no admissions are found for the given origin.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByPointOfCareId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByPointOfCareId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByPointOfCareId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByPointOfCareId(MongoDB.Bson.ObjectId)">
|
||||
FindByPointOfCareId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a list of admissions associated with the specified point of care identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Admission>> FindByPointOfCareId(ObjectId pocId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pocId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the point of care used to filter the admissions.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the list of admissions matching the specified point of care identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByUnitIds_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByUnitIds*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_FindByUnitIds_System_Collections_Generic_List_MongoDB_Bson_ObjectId__" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.FindByUnitIds(System.Collections.Generic.List{MongoDB.Bson.ObjectId})">
|
||||
FindByUnitIds(List<ObjectId>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of admissions associated with the specified unit identifiers.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Admission>> FindByUnitIds(List<ObjectId> unitIds)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitIds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The list of unit identifiers used to look up the corresponding admissions.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the list of admissions matching the provided unit identifiers.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_GetAdmissionByUnitIdWithOutPoC_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.GetAdmissionByUnitIdWithOutPoC*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_GetAdmissionByUnitIdWithOutPoC_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.GetAdmissionByUnitIdWithOutPoC(MongoDB.Bson.ObjectId)">
|
||||
GetAdmissionByUnitIdWithOutPoC(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of admissions associated with the specified unit, excluding Point of Care (PoC) entries.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Admission>> GetAdmissionByUnitIdWithOutPoC(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the unit whose admissions are being retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a> records linked to the given unit, with PoC entries excluded.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_InsertOneAsyncAndReturn_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.InsertOneAsyncAndReturn*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_InsertOneAsyncAndReturn_adas_core_Domain_Models_MongoModels_Admission_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.InsertOneAsyncAndReturn(adas_core.Domain.Models.MongoModels.Admission)">
|
||||
InsertOneAsyncAndReturn(Admission)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a new <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a> record into the data store and returns the resulting entity.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Admission?> InsertOneAsyncAndReturn(Admission origin)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>origin</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a> entity to be inserted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous insert operation, containing the inserted <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>, or <code>null</code> if no result is returned.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_SearchByPatientNumberAndDistinctUnit_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.SearchByPatientNumberAndDistinctUnit*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_SearchByPatientNumberAndDistinctUnit_System_String_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.SearchByPatientNumberAndDistinctUnit(System.String,MongoDB.Bson.ObjectId)">
|
||||
SearchByPatientNumberAndDistinctUnit(string, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Searches for an admission matching the specified patient number and unit, returning a distinct result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Admission?> SearchByPatientNumberAndDistinctUnit(string patientNumber, ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientNumber</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The patient's identifier used to locate the admission.</p>
|
||||
</dd>
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the unit to filter the search.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>></dt>
|
||||
<dd><p>A <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a> if a matching record is found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_Update_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.Update*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_Update_adas_core_Domain_Models_MongoModels_Admission_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.Update(adas_core.Domain.Models.MongoModels.Admission)">
|
||||
Update(Admission)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the specified admission record asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Update(Admission admission)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>admission</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a></dt>
|
||||
<dd><p>The admission entity containing the updated information.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_UpdateLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.UpdateLocation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_UpdateLocation_MongoDB_Bson_ObjectId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.UpdateLocation(MongoDB.Bson.ObjectId,MongoDB.Bson.ObjectId)">
|
||||
UpdateLocation(ObjectId, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the location of an entity identified by the specified identifier to a new location.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdateLocation(ObjectId id, ObjectId newLocation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the entity whose location is to be updated.</p>
|
||||
</dd>
|
||||
<dt><code>newLocation</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the new location to assign to the entity.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_UpdateMasterListOption_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.UpdateMasterListOption*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_UpdateMasterListOption_System_Collections_Generic_List_MongoDB_Bson_ObjectId__adas_core_Domain_Models_DTO_UpdateOptionMasterListDto_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.UpdateMasterListOption(System.Collections.Generic.List{MongoDB.Bson.ObjectId},adas_core.Domain.Models.DTO.UpdateOptionMasterListDto,System.String)">
|
||||
UpdateMasterListOption(List<ObjectId>, UpdateOptionMasterListDto, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the master list option for the specified units based on the provided options and type, returning the affected admissions.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Admission>> UpdateMasterListOption(List<ObjectId> unitIds, UpdateOptionMasterListDto opt, string typeName)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitIds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The list of unit identifiers whose master list option should be updated.</p>
|
||||
</dd>
|
||||
<dt><code>opt</code> <a class="xref" href="adas_core.Domain.Models.DTO.UpdateOptionMasterListDto.html">UpdateOptionMasterListDto</a></dt>
|
||||
<dd><p>The data transfer object containing the new master list option values to apply.</p>
|
||||
</dd>
|
||||
<dt><code>typeName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the option type to be updated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Admission.html">Admission</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the collection of admissions affected by the update.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_UpdatePatient_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.UpdatePatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAdmissionRepository_UpdatePatient_MongoDB_Bson_ObjectId_adas_core_Domain_Models_Person_" data-uid="adas_core.Application.Repositories.Interfaces.IAdmissionRepository.UpdatePatient(MongoDB.Bson.ObjectId,adas_core.Domain.Models.Person)">
|
||||
UpdatePatient(ObjectId, Person)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates an existing patient record identified by the specified identifier with the provided patient information.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdatePatient(ObjectId id, Person patient)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient to update.</p>
|
||||
</dd>
|
||||
<dt><code>patient</code> <a class="xref" href="adas_core.Domain.Models.Person.html">Person</a></dt>
|
||||
<dd><p>The patient object containing the updated information to apply.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+266
@@ -0,0 +1,266 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IAlarmRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IAlarmRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IAlarmRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IAlarmRepository" data-uid="adas_core.Application.Repositories.Interfaces.IAlarmRepository" class="text-break">
|
||||
Interface IAlarmRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IAlarmRepository : IMongoRepository<PatientObservationAlarm></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<PatientObservationAlarm>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<PatientObservationAlarm>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<PatientObservationAlarm>.InsertOneAsync(PatientObservationAlarm)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<PatientObservationAlarm>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<PatientObservationAlarm>.UpdateOneAsync(ObjectId, PatientObservationAlarm)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAlarmRepository_AggregatedPatientLastObservationsByField_" data-uid="adas_core.Application.Repositories.Interfaces.IAlarmRepository.AggregatedPatientLastObservationsByField*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAlarmRepository_AggregatedPatientLastObservationsByField_MongoDB_Bson_ObjectId_System_Collections_Generic_List_adas_core_Domain_Models_GroupedObservations_Field__" data-uid="adas_core.Application.Repositories.Interfaces.IAlarmRepository.AggregatedPatientLastObservationsByField(MongoDB.Bson.ObjectId,System.Collections.Generic.List{adas_core.Domain.Models.GroupedObservations.Field})">
|
||||
AggregatedPatientLastObservationsByField(ObjectId, List<Field>?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the most recent aggregated patient observations as alarm records, optionally filtered to a specific set of fields.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientObservationAlarm>> AggregatedPatientLastObservationsByField(ObjectId patientId, List<Field>? filterObservations = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose last observations should be aggregated.</p>
|
||||
</dd>
|
||||
<dt><code>filterObservations</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.GroupedObservations.Field.html">Field</a>></dt>
|
||||
<dd><p>An optional list of fields used to restrict which observation types are included in the aggregation; when null, all available observations are considered.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a>>></dt>
|
||||
<dd><p>A task that resolves to the list of aggregated <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a> entries representing the patient's latest observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAlarmRepository_AggregatedPatientNotExpiredObservationsByField_" data-uid="adas_core.Application.Repositories.Interfaces.IAlarmRepository.AggregatedPatientNotExpiredObservationsByField*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAlarmRepository_AggregatedPatientNotExpiredObservationsByField_MongoDB_Bson_ObjectId_System_Collections_Generic_List_adas_core_Domain_Models_GroupedObservations_Field__System_Collections_Generic_List_adas_core_Domain_Models_MongoModels_ConfigObservation__" data-uid="adas_core.Application.Repositories.Interfaces.IAlarmRepository.AggregatedPatientNotExpiredObservationsByField(MongoDB.Bson.ObjectId,System.Collections.Generic.List{adas_core.Domain.Models.GroupedObservations.Field},System.Collections.Generic.List{adas_core.Domain.Models.MongoModels.ConfigObservation})">
|
||||
AggregatedPatientNotExpiredObservationsByField(ObjectId, List<Field>?, List<ConfigObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves aggregated, non-expired patient observation alarms for a specific patient, optionally filtered by a set of fields and evaluated against the supplied configuration alarms.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientObservationAlarm>> AggregatedPatientNotExpiredObservationsByField(ObjectId patientId, List<Field>? filterObservations, List<ConfigObservation> configAlarm)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose observation alarms are being retrieved.</p>
|
||||
</dd>
|
||||
<dt><code>filterObservations</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.GroupedObservations.Field.html">Field</a>></dt>
|
||||
<dd><p>An optional list of fields used to restrict which observations are considered. If null, no field-based filtering is applied.</p>
|
||||
</dd>
|
||||
<dt><code>configAlarm</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>The list of configuration observation definitions used to build and aggregate the resulting alarms.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of aggregated <a class="xref" href="adas_core.Domain.Models.PatientObservationAlarm.html">PatientObservationAlarm</a> entries for the patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+275
@@ -0,0 +1,275 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IAppointmentArchiveRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IAppointmentArchiveRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IAppointmentArchiveRepository" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository" class="text-break">
|
||||
Interface IAppointmentArchiveRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IAppointmentArchiveRepository</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentArchiveRepository_DeleteBeforeDate_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository.DeleteBeforeDate*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentArchiveRepository_DeleteBeforeDate_System_DateTime_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository.DeleteBeforeDate(System.DateTime)">
|
||||
DeleteBeforeDate(DateTime)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes records that have a date earlier than the specified cutoff date.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteBeforeDate(DateTime date)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>date</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></dt>
|
||||
<dd><p>The cutoff date; records dated before this value will be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentArchiveRepository_InsertBatch_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository.InsertBatch*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentArchiveRepository_InsertBatch_System_Collections_Generic_IEnumerable_adas_core_Domain_Models_PatientAppointment__" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository.InsertBatch(System.Collections.Generic.IEnumerable{adas_core.Domain.Models.PatientAppointment})">
|
||||
InsertBatch(IEnumerable<PatientAppointment>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Inserts a batch of patient appointments asynchronously, typically as part of a bulk import or synchronization process.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> InsertBatch(IEnumerable<PatientAppointment> appointment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>appointment</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>></dt>
|
||||
<dd><p>The collection of patient appointments to be inserted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous insert operation, containing a long value that represents the result of the batch insertion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentArchiveRepository_InsertOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository.InsertOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentArchiveRepository_InsertOneAsync_adas_core_Domain_Models_PatientAppointment_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentArchiveRepository.InsertOneAsync(adas_core.Domain.Models.PatientAppointment)">
|
||||
InsertOneAsync(PatientAppointment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a single patient appointment into the underlying data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task InsertOneAsync(PatientAppointment patientAppointment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientAppointment</code> <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a></dt>
|
||||
<dd><p>The patient appointment entity to be persisted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+610
@@ -0,0 +1,610 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IAppointmentRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IAppointmentRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository" class="text-break">
|
||||
Interface IAppointmentRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IAppointmentRepository : IMongoRepository<PatientAppointment></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<PatientAppointment>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<PatientAppointment>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<PatientAppointment>.UpdateOneAsync(ObjectId, PatientAppointment)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_DeleteAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.DeleteAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_DeleteAsync_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.DeleteAsync(MongoDB.Bson.ObjectId)">
|
||||
DeleteAsync(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes the entity identified by the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteAsync(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The ObjectId of the entity to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_DeleteByPatientId_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.DeleteByPatientId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_DeleteByPatientId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.DeleteByPatientId(MongoDB.Bson.ObjectId)">
|
||||
DeleteByPatientId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes records associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteByPatientId(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique ObjectId of the patient whose related records should be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByLocation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByLocation_adas_core_Domain_Models_PatientLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByLocation(adas_core.Domain.Models.PatientLocation)">
|
||||
FindByLocation(PatientLocation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a list of patient appointments associated with the specified location.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientAppointment>> FindByLocation(PatientLocation location)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>location</code> <a class="xref" href="adas_core.Domain.Models.PatientLocation.html">PatientLocation</a></dt>
|
||||
<dd><p>The patient location used to filter and retrieve matching appointments.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a> entries for the given location.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPatientAndReason_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPatientAndReason*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPatientAndReason_MongoDB_Bson_ObjectId_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPatientAndReason(MongoDB.Bson.ObjectId,System.String)">
|
||||
FindByPatientAndReason(ObjectId, string?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a patient appointment matching the specified patient identifier and appointment reason.
|
||||
Returns <code>null</code> when no matching appointment is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<PatientAppointment?> FindByPatientAndReason(ObjectId patientId, string? appointmentReason)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose appointment should be located.</p>
|
||||
</dd>
|
||||
<dt><code>appointmentReason</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The appointment reason used to filter the lookup, or <code>null</code> to match any reason.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that resolves to the matching <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>, or <code>null</code> if none exists.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPatientAndVisitNumber_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPatientAndVisitNumber*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPatientAndVisitNumber_MongoDB_Bson_ObjectId_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPatientAndVisitNumber(MongoDB.Bson.ObjectId,System.String)">
|
||||
FindByPatientAndVisitNumber(ObjectId, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a> matching the specified patient identifier and visit number.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<PatientAppointment?> FindByPatientAndVisitNumber(ObjectId patientId, string visitNumber)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose appointment should be located.</p>
|
||||
</dd>
|
||||
<dt><code>visitNumber</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The visit number used to identify the specific appointment for the patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a> if found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPatientIdAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPatientIdAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPatientIdAsync_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPatientIdAsync(MongoDB.Bson.ObjectId)">
|
||||
FindByPatientIdAsync(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a cursor of <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a> records associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IAsyncCursor<PatientAppointment>> FindByPatientIdAsync(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique <span class="xref">MongoDB.Bson.ObjectId</span> of the patient whose appointments are being queried.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<span class="xref">IAsyncCursor</span><<a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that yields the matching patient appointments; the cursor may be empty if no appointments are found for the given patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPoC_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPoC*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_FindByPoC_adas_core_Domain_Models_MongoModels_PointOfCare_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.FindByPoC(adas_core.Domain.Models.MongoModels.PointOfCare)">
|
||||
FindByPoC(PointOfCare)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the list of patient appointments associated with the specified point of care.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientAppointment>> FindByPoC(PointOfCare poc)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>poc</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.PointOfCare.html">PointOfCare</a></dt>
|
||||
<dd><p>The point of care used to filter the patient appointments.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of patient appointments for the given point of care.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_GetByPatient_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.GetByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_GetByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.GetByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the list of patient appointments associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientAppointment>> GetByPatient(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose appointments are being retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a> objects for the specified patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_InsertOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.InsertOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_InsertOneAsync_adas_core_Domain_Models_PatientAppointment_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.InsertOneAsync(adas_core.Domain.Models.PatientAppointment)">
|
||||
InsertOneAsync(PatientAppointment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a single patient appointment record into the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task InsertOneAsync(PatientAppointment appointment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>appointment</code> <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a></dt>
|
||||
<dd><p>The patient appointment entity to be inserted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_Update_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.Update*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_Update_adas_core_Domain_Models_PatientAppointment_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.Update(adas_core.Domain.Models.PatientAppointment)">
|
||||
Update(PatientAppointment)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates an existing patient appointment asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Update(PatientAppointment appointment)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>appointment</code> <a class="xref" href="adas_core.Domain.Models.PatientAppointment.html">PatientAppointment</a></dt>
|
||||
<dd><p>The patient appointment containing the updated information.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_UpdateManyObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.UpdateManyObjectId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAppointmentRepository_UpdateManyObjectId_System_String_MongoDB_Bson_ObjectId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAppointmentRepository.UpdateManyObjectId(System.String,MongoDB.Bson.ObjectId,MongoDB.Bson.ObjectId)">
|
||||
UpdateManyObjectId(string, ObjectId, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the <span class="xref">MongoDB.Bson.ObjectId</span> field identified by <code class="paramref">nameId</code> across many records, replacing the existing value <code class="paramref">oldId</code> with the new value <code class="paramref">id</code>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdateManyObjectId(string nameId, ObjectId id, ObjectId oldId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>nameId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the field that contains the <span class="xref">MongoDB.Bson.ObjectId</span> to update.</p>
|
||||
</dd>
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The new <span class="xref">MongoDB.Bson.ObjectId</span> value to assign to matching records.</p>
|
||||
</dd>
|
||||
<dt><code>oldId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The current <span class="xref">MongoDB.Bson.ObjectId</span> value to be replaced.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+412
@@ -0,0 +1,412 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IArchivePatientCarePlanRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IArchivePatientCarePlanRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository" class="text-break">
|
||||
Interface IArchivePatientCarePlanRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IArchivePatientCarePlanRepository : IMongoRepository<PatientCarePlan></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<PatientCarePlan>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<PatientCarePlan>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<PatientCarePlan>.InsertOneAsync(PatientCarePlan)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<PatientCarePlan>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<PatientCarePlan>.UpdateOneAsync(ObjectId, PatientCarePlan)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all patient care plans from the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of all <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> entries.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByIds_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByIds*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByIds_MongoDB_Bson_ObjectId_System_String_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByIds(MongoDB.Bson.ObjectId,System.String,System.String)">
|
||||
FindByIds(ObjectId, string?, string?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of patient care plans matching the provided legacy patient identifiers.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>?> FindByIds(ObjectId oldPatientId, string? oldPatientPatientId, string? oldPatientPatientNumber)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>oldPatientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The legacy <span class="xref">MongoDB.Bson.ObjectId</span> identifier used to locate the patient.</p>
|
||||
</dd>
|
||||
<dt><code>oldPatientPatientId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>An optional legacy patient ID string used as an additional lookup criterion.</p>
|
||||
</dd>
|
||||
<dt><code>oldPatientPatientNumber</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>An optional legacy patient number string used as an additional lookup criterion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing a nullable list of <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> records, or <code>null</code> if no matching care plans are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByPatientId_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByPatientId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByPatientId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByPatientId(MongoDB.Bson.ObjectId)">
|
||||
FindByPatientId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the list of care plans associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>?> FindByPatientId(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose care plans should be retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A task that returns a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> objects for the given patient, or <code>null</code> when no care plans are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByPatientId_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByPatientId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByPatientId_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByPatientId(System.String)">
|
||||
FindByPatientId(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the list of patient care plans associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>?> FindByPatientId(string patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The unique identifier of the patient whose care plans are being queried.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> for the given patient, or <code>null</code> if no care plans are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByPatientNumber_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByPatientNumber*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_FindByPatientNumber_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.FindByPatientNumber(System.String)">
|
||||
FindByPatientNumber(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the list of care plans associated with the specified patient number, returning <code>null</code> when no matching care plans are found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>?> FindByPatientNumber(string patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The patient number used to look up the associated care plans.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A task representing the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> entries for the patient, or <code>null</code> if none exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_InsertManyAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.InsertManyAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IArchivePatientCarePlanRepository_InsertManyAsync_System_Collections_Generic_List_adas_core_Domain_Models_MongoModels_PatientCarePlan__" data-uid="adas_core.Application.Repositories.Interfaces.IArchivePatientCarePlanRepository.InsertManyAsync(System.Collections.Generic.List{adas_core.Domain.Models.MongoModels.PatientCarePlan})">
|
||||
InsertManyAsync(List<PatientCarePlan>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a collection of patient care plans into the underlying data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task InsertManyAsync(List<PatientCarePlan> patientCarePla)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientCarePla</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>></dt>
|
||||
<dd><p>The list of <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> records to be inserted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+482
@@ -0,0 +1,482 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IAuthorityRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IAuthorityRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository" class="text-break">
|
||||
Interface IAuthorityRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IAuthorityRepository : IMongoRepository<Authorization></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Authorization>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Authorization>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Authorization>.InsertOneAsync(Authorization)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Authorization>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Authorization>.UpdateOneAsync(ObjectId, Authorization)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_CreateNewAuthority_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.CreateNewAuthority*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_CreateNewAuthority_System_String_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.CreateNewAuthority(System.String,MongoDB.Bson.ObjectId)">
|
||||
CreateNewAuthority(string, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Creates a new authority assignment for the specified user with the given role name.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">void CreateNewAuthority(string roleName, ObjectId userId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>roleName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the role to assign as the new authority.</p>
|
||||
</dd>
|
||||
<dt><code>userId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the user to whom the authority will be assigned.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_DeleteAllAuthoritiesByDisplay_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.DeleteAllAuthoritiesByDisplay*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_DeleteAllAuthoritiesByDisplay_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.DeleteAllAuthoritiesByDisplay(MongoDB.Bson.ObjectId)">
|
||||
DeleteAllAuthoritiesByDisplay(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes all authorities associated with the specified display identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<bool> DeleteAllAuthoritiesByDisplay(ObjectId displayId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>displayId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the display whose related authorities should be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></dt>
|
||||
<dd><p>A task that resolves to a boolean indicating the outcome of the deletion operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_DeleteAllAuthoritiesByUnit_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.DeleteAllAuthoritiesByUnit*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_DeleteAllAuthoritiesByUnit_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.DeleteAllAuthoritiesByUnit(MongoDB.Bson.ObjectId)">
|
||||
DeleteAllAuthoritiesByUnit(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes all authorities associated with the specified unit.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<bool> DeleteAllAuthoritiesByUnit(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the unit whose authorities should be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></dt>
|
||||
<dd><p>A task that resolves to <code>true</code> if the authorities were successfully deleted; otherwise, <code>false</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_DeleteAllAuthoritiesByUser_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.DeleteAllAuthoritiesByUser*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_DeleteAllAuthoritiesByUser_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.DeleteAllAuthoritiesByUser(MongoDB.Bson.ObjectId)">
|
||||
DeleteAllAuthoritiesByUser(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes all authorities associated with the specified user.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<bool> DeleteAllAuthoritiesByUser(ObjectId userId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>userId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the user whose authorities will be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result is <code>true</code> if authorities were deleted; otherwise, <code>false</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetAllAuthorities_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetAllAuthorities*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetAllAuthorities" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetAllAuthorities">
|
||||
GetAllAuthorities()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all available authorizations.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Authorization>> GetAllAuthorities()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of all <a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a> objects.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetById_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetById(MongoDB.Bson.ObjectId)">
|
||||
GetById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves an <a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a> entity by its unique identifier asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Authorization> GetById(ObjectId authId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>authId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the authorization to retrieve.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the <a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a> that matches the specified identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetByUnitId(MongoDB.Bson.ObjectId)">
|
||||
GetByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a list of authorizations associated with the specified unit identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Authorization>> GetByUnitId(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the unit whose authorizations are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a> objects matching the provided unit identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetUserAuthorities_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetUserAuthorities*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IAuthorityRepository_GetUserAuthorities_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IAuthorityRepository.GetUserAuthorities(MongoDB.Bson.ObjectId)">
|
||||
GetUserAuthorities(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the list of authorizations (authorities/permissions) associated with the specified user.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Authorization>> GetUserAuthorities(ObjectId userId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>userId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the user whose authorities are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the list of <a class="xref" href="adas_core.Domain.Models.MongoModels.Authorization.html">Authorization</a> entries assigned to the user.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+455
@@ -0,0 +1,455 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface ICameraRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface ICameraRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_ICameraRepository" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository" class="text-break">
|
||||
Interface ICameraRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface ICameraRepository : IMongoRepository<Camera></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Camera>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Camera>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Camera>.InsertOneAsync(Camera)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Camera>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Camera>.UpdateOneAsync(ObjectId, Camera)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetById_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetById(MongoDB.Bson.ObjectId)">
|
||||
GetById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a> by its unique identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Camera?> GetById(ObjectId cameraId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>cameraId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the camera to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>, or <code>null</code> if no camera is found with the specified identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetByName_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetByName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetByName_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetByName(System.String)">
|
||||
GetByName(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a camera by its name, returning <code>null</code> if no matching camera is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Camera?> GetByName(string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the camera to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that resolves to the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>, or <code>null</code> if no camera with the specified name exists.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetCameraInList_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetCameraInList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetCameraInList_System_Collections_Generic_List_MongoDB_Bson_ObjectId__" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetCameraInList(System.Collections.Generic.List{MongoDB.Bson.ObjectId})">
|
||||
GetCameraInList(List<ObjectId>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the list of <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a> objects associated with the specified configuration relays.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">List<Camera> GetCameraInList(List<ObjectId> configurationRelayList)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configurationRelayList</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The list of <span class="xref">MongoDB.Bson.ObjectId</span> values identifying the configuration relays whose cameras should be returned.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List<T></a> containing the cameras linked to the provided configuration relays; returns an empty list when no matching cameras are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetPaginatedCameras_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetPaginatedCameras*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetPaginatedCameras_adas_core_Domain_Models_Filter_PaginationFilter_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetPaginatedCameras(adas_core.Domain.Models.Filter.PaginationFilter)">
|
||||
GetPaginatedCameras(PaginationFilter)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a paginated, fluent queryable collection of cameras based on the supplied pagination filter.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">IFindFluent<Camera, Camera> GetPaginatedCameras(PaginationFilter request)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>request</code> <a class="xref" href="adas_core.Domain.Models.Filter.PaginationFilter.html">PaginationFilter</a></dt>
|
||||
<dd><p>The pagination filter containing the page number and page size used to page the camera results.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><span class="xref">IFindFluent</span><<a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>, <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>></dt>
|
||||
<dd><p>An <span class="xref">MongoDB.Driver.IFindFluent<TDocument, TProjection></span> representing the paged query of cameras.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetSearchByNameCameras_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetSearchByNameCameras*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ICameraRepository_GetSearchByNameCameras_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.GetSearchByNameCameras(System.String)">
|
||||
GetSearchByNameCameras(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously searches for cameras whose name matches the specified text.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Camera>> GetSearchByNameCameras(string textToSearch)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>textToSearch</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The text used to filter cameras by name.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a> objects matching the search criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ICameraRepository_InsertOneCamera_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.InsertOneCamera*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ICameraRepository_InsertOneCamera_adas_core_Domain_Models_MongoModels_Camera_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.InsertOneCamera(adas_core.Domain.Models.MongoModels.Camera)">
|
||||
InsertOneCamera(Camera)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Inserts a new camera record into the data store and returns the persisted entity, or <code>null</code> if the camera could not be inserted.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Camera?> InsertOneCamera(Camera camera)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>camera</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a> instance containing the data to be inserted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that resolves to the inserted <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>, or <code>null</code> when the insertion is not performed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ICameraRepository_UpdateCameraAsync_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.UpdateCameraAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ICameraRepository_UpdateCameraAsync_MongoDB_Bson_ObjectId_adas_core_Domain_Models_MongoModels_Camera_" data-uid="adas_core.Application.Repositories.Interfaces.ICameraRepository.UpdateCameraAsync(MongoDB.Bson.ObjectId,adas_core.Domain.Models.MongoModels.Camera)">
|
||||
UpdateCameraAsync(ObjectId, Camera)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously updates an existing camera identified by the specified object identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Camera?> UpdateCameraAsync(ObjectId objectId, Camera camera)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>objectId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the camera to update.</p>
|
||||
</dd>
|
||||
<dt><code>camera</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a></dt>
|
||||
<dd><p>The camera object containing the updated information.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous update operation. The task result contains the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.Camera.html">Camera</a>, or <code>null</code> if no camera with the specified identifier was found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+714
@@ -0,0 +1,714 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IConfigObservationRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IConfigObservationRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository" class="text-break">
|
||||
Interface IConfigObservationRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IConfigObservationRepository : IMongoRepository<ConfigObservation></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<ConfigObservation>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<ConfigObservation>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<ConfigObservation>.InsertOneAsync(ConfigObservation)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<ConfigObservation>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<ConfigObservation>.UpdateOneAsync(ObjectId, ConfigObservation)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_Count_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.Count*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_Count" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.Count">
|
||||
Count()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the total count of items.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> Count()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the total count as a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_Delete_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.Delete*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_Delete_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.Delete(MongoDB.Bson.ObjectId)">
|
||||
Delete(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the configuration observation identified by the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigObservation?> Delete(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the configuration observation to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous delete operation. The task result contains the deleted configuration observation, or <code>null</code> if no observation with the specified identifier was found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all configuration observations available in the system.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ICollection<ConfigObservation>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> instances.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindAllByName_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindAllByName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindAllByName_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindAllByName(System.String)">
|
||||
FindAllByName(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> records matching the specified name.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<ConfigObservation>> FindAllByName(string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name used to look up the configuration observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> objects matching the given name, or an empty list if none are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindAllIds_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindAllIds*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindAllIds" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindAllIds">
|
||||
FindAllIds()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all available identifiers, returning them as a list of <span class="xref">MongoDB.Bson.ObjectId</span> values.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<ObjectId>> FindAllIds()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that represents the asynchronous operation, containing a list of all <span class="xref">MongoDB.Bson.ObjectId</span> instances found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindById(MongoDB.Bson.ObjectId)">
|
||||
FindById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a configuration observation by its unique identifier, returning <code>null</code> when no matching observation exists.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigObservation?> FindById(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the configuration observation to locate.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> if found, or <code>null</code> if no observation matches the specified identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindByName_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindByName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_FindByName_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.FindByName(System.String)">
|
||||
FindByName(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a configuration observation that matches the specified name.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigObservation?> FindByName(string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the configuration observation to find.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching ConfigObservation if found; otherwise, null.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetByCodeSysAndCode_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetByCodeSysAndCode*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetByCodeSysAndCode_System_String_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetByCodeSysAndCode(System.String,System.String)">
|
||||
GetByCodeSysAndCode(string?, string?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> matching the specified coding system and code.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigObservation?> GetByCodeSysAndCode(string? codingSystem, string? code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>codingSystem</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The coding system identifier used to look up the configuration observation.</p>
|
||||
</dd>
|
||||
<dt><code>code</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The code value within the specified coding system used to look up the configuration observation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> if found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetConfigNames_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetConfigNames*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetConfigNames" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetConfigNames">
|
||||
GetConfigNames()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the list of available configuration names.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<string>> GetConfigNames()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the list of configuration names.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetConfigNames_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetConfigNames*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetConfigNames_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetConfigNames(System.String)">
|
||||
GetConfigNames(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of configuration names associated with the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<string>> GetConfigNames(string id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The identifier used to look up the configuration names.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of configuration names.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetPaginatedItems_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetPaginatedItems*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetPaginatedItems_adas_core_Domain_Models_Filter_PaginationFilter_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetPaginatedItems(adas_core.Domain.Models.Filter.PaginationFilter)">
|
||||
GetPaginatedItems(PaginationFilter)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a paginated collection of configuration observations based on the specified filter.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ICollection<ConfigObservation>> GetPaginatedItems(PaginationFilter filter)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>filter</code> <a class="xref" href="adas_core.Domain.Models.Filter.PaginationFilter.html">PaginationFilter</a></dt>
|
||||
<dd><p>The pagination filter that defines the page size, page number, and any additional criteria used to retrieve the observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> items that match the pagination criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetSingleConfigObservationItem_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetSingleConfigObservationItem*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_GetSingleConfigObservationItem_System_String_System_String_System_String_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.GetSingleConfigObservationItem(System.String,System.String,System.String,System.String)">
|
||||
GetSingleConfigObservationItem(string?, string?, string?, string?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a single <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> item matching the provided criteria, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no matching item is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigObservation?> GetSingleConfigObservationItem(string? code, string? codingSystem, string? name, string? originalName)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>code</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The code used to look up the configuration observation item, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if not specified.</p>
|
||||
</dd>
|
||||
<dt><code>codingSystem</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The coding system associated with the code, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if not specified.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name used to look up the configuration observation item, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if not specified.</p>
|
||||
</dd>
|
||||
<dt><code>originalName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The original name used to look up the configuration observation item, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if not specified.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a> item, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no item matches the specified criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_InsertOneAsyncAndReturn_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.InsertOneAsyncAndReturn*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_InsertOneAsyncAndReturn_adas_core_Domain_Models_MongoModels_ConfigObservation_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.InsertOneAsyncAndReturn(adas_core.Domain.Models.MongoModels.ConfigObservation)">
|
||||
InsertOneAsyncAndReturn(ConfigObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts the specified configuration observation item and returns the persisted entity.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigObservation> InsertOneAsyncAndReturn(ConfigObservation configObservationItem)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configObservationItem</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a></dt>
|
||||
<dd><p>The configuration observation to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous insert operation, containing the inserted <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_Update_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.Update*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigObservationRepository_Update_adas_core_Domain_Models_MongoModels_ConfigObservation_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigObservationRepository.Update(adas_core.Domain.Models.MongoModels.ConfigObservation)">
|
||||
Update(ConfigObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates an existing configuration observation in the underlying store.
|
||||
Returns the updated observation, or <code>null</code> when no matching observation is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigObservation?> Update(ConfigObservation configObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configObservation</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a></dt>
|
||||
<dd><p>The configuration observation containing the updated values to persist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>></dt>
|
||||
<dd><p>A task that resolves to the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigObservation.html">ConfigObservation</a>, or <code>null</code> if the observation does not exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+330
@@ -0,0 +1,330 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IConfigPumpsRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IConfigPumpsRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository" class="text-break">
|
||||
Interface IConfigPumpsRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IConfigPumpsRepository : IMongoRepository<ConfigPumps></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<ConfigPumps>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<ConfigPumps>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<ConfigPumps>.InsertOneAsync(ConfigPumps)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<ConfigPumps>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<ConfigPumps>.UpdateOneAsync(ObjectId, ConfigPumps)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_DeleteConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.DeleteConfig*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_DeleteConfig_adas_core_Domain_Models_MongoModels_ConfigPumps_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.DeleteConfig(adas_core.Domain.Models.MongoModels.ConfigPumps)">
|
||||
DeleteConfig(ConfigPumps)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes the specified pump configuration.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<bool> DeleteConfig(ConfigPumps config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigPumps.html">ConfigPumps</a></dt>
|
||||
<dd><p>The pump configuration to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains <code>true</code> if the configuration was successfully deleted; otherwise, <code>false</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_FindById_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.FindById(System.String)">
|
||||
FindById(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a ConfigPumps configuration by its unique identifier.
|
||||
Returns null when no matching configuration is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigPumps?> FindById(string id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The unique identifier of the configuration to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigPumps.html">ConfigPumps</a>></dt>
|
||||
<dd><p>A task that yields the matching ConfigPumps instance, or null if no configuration is found for the specified id.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_GetAllConfigs_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.GetAllConfigs*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_GetAllConfigs" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.GetAllConfigs">
|
||||
GetAllConfigs()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all pump configurations asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<ConfigPumps>?> GetAllConfigs()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigPumps.html">ConfigPumps</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigPumps.html">ConfigPumps</a> if found, or <code>null</code> if no configurations are available.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_UpdateConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.UpdateConfig*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigPumpsRepository_UpdateConfig_adas_core_Domain_Models_MongoModels_ConfigPumps_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigPumpsRepository.UpdateConfig(adas_core.Domain.Models.MongoModels.ConfigPumps)">
|
||||
UpdateConfig(ConfigPumps)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the pumps configuration using the supplied <code class="paramref">config</code> instance.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigPumps?> UpdateConfig(ConfigPumps config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigPumps.html">ConfigPumps</a></dt>
|
||||
<dd><p>The pumps configuration to be persisted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigPumps.html">ConfigPumps</a>></dt>
|
||||
<dd><p>A task that resolves to the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigPumps.html">ConfigPumps</a> instance, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if the configuration could not be found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+219
@@ -0,0 +1,219 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IConfigUnitsRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IConfigUnitsRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IConfigUnitsRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IConfigUnitsRepository" data-uid="adas_core.Application.Repositories.Interfaces.IConfigUnitsRepository" class="text-break">
|
||||
Interface IConfigUnitsRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IConfigUnitsRepository : IMongoRepository<ConfigUnits></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<ConfigUnits>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<ConfigUnits>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<ConfigUnits>.InsertOneAsync(ConfigUnits)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<ConfigUnits>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<ConfigUnits>.UpdateOneAsync(ObjectId, ConfigUnits)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IConfigUnitsRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigUnitsRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IConfigUnitsRepository_FindById_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IConfigUnitsRepository.FindById(System.String)">
|
||||
FindById(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigUnits.html">ConfigUnits</a> entity by its unique identifier.
|
||||
Returns <code>null</code> when no matching configuration unit is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ConfigUnits?> FindById(string id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The unique identifier of the configuration unit to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigUnits.html">ConfigUnits</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.ConfigUnits.html">ConfigUnits</a> or <code>null</code> if no entity is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+377
@@ -0,0 +1,377 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDeviceRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDeviceRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDeviceRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository" class="text-break">
|
||||
Interface IDeviceRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDeviceRepository : IMongoRepository<Device></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Device>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Device>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Device>.InsertOneAsync(Device)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Device>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Device>.UpdateOneAsync(ObjectId, Device)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindByKey_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindByKey*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindByKey_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindByKey(System.String)">
|
||||
FindByKey(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a device by its unique key identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Device?> FindByKey(string deviceDtoKey)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>deviceDtoKey</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The key identifier of the device to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the <a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a> if a matching device is found, or <code>null</code> if no device corresponds to the specified key.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindByMacAddr_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindByMacAddr*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindByMacAddr_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindByMacAddr(System.String)">
|
||||
FindByMacAddr(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a device matching the specified MAC address, returning null if no matching device is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Device?> FindByMacAddr(string deviceDtoMacAddr)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>deviceDtoMacAddr</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The MAC address used to look up the device.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a> or null when no device is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindBySerialNumber_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindBySerialNumber*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindBySerialNumber_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindBySerialNumber(System.String)">
|
||||
FindBySerialNumber(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Finds and returns the device matching the specified serial number, or <code>null</code> if no matching device is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Device?> FindBySerialNumber(string deviceDtoSerialNumber)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>deviceDtoSerialNumber</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The serial number used to look up the device.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a>></dt>
|
||||
<dd><p>A <a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a> instance if a match is found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindByUuid_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindByUuid*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_FindByUuid_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.FindByUuid(System.String)">
|
||||
FindByUuid(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously finds a device by its unique identifier (UUID) and returns the matching device, or null if no device is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Device?> FindByUuid(string deviceDtoUuid)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>deviceDtoUuid</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The UUID string used to look up the device.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that resolves to the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Device.html">Device</a>, or null when no device matches the provided UUID.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_UpdateDeviceStats_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.UpdateDeviceStats*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDeviceRepository_UpdateDeviceStats_MongoDB_Bson_ObjectId_adas_core_Domain_Models_DTO_DeviceDto_" data-uid="adas_core.Application.Repositories.Interfaces.IDeviceRepository.UpdateDeviceStats(MongoDB.Bson.ObjectId,adas_core.Domain.Models.DTO.DeviceDto)">
|
||||
UpdateDeviceStats(ObjectId, DeviceDto)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the statistics of an existing device identified by the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdateDeviceStats(ObjectId id, DeviceDto deviceExist)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the device whose statistics will be updated.</p>
|
||||
</dd>
|
||||
<dt><code>deviceExist</code> <a class="xref" href="adas_core.Domain.Models.DTO.DeviceDto.html">DeviceDto</a></dt>
|
||||
<dd><p>The device data transfer object representing the existing device to be updated.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous update operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+276
@@ -0,0 +1,276 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDiagnosisArchiveRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDiagnosisArchiveRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDiagnosisArchiveRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository" class="text-break">
|
||||
Interface IDiagnosisArchiveRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDiagnosisArchiveRepository</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisArchiveRepository_DeleteBeforeDate_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository.DeleteBeforeDate*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisArchiveRepository_DeleteBeforeDate_System_DateTime_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository.DeleteBeforeDate(System.DateTime)">
|
||||
DeleteBeforeDate(DateTime)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes items that occurred before the specified cutoff date.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteBeforeDate(DateTime date)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>date</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></dt>
|
||||
<dd><p>The cutoff date; items dated prior to this value will be deleted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisArchiveRepository_InsertBatch_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository.InsertBatch*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisArchiveRepository_InsertBatch_System_Collections_Generic_IEnumerable_adas_core_Domain_Models_PatientDiagnosis__" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository.InsertBatch(System.Collections.Generic.IEnumerable{adas_core.Domain.Models.PatientDiagnosis})">
|
||||
InsertBatch(IEnumerable<PatientDiagnosis>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Inserts a batch of patient diagnosis records into the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> InsertBatch(IEnumerable<PatientDiagnosis> diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>The collection of <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> entities to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation, containing the result of the batch insertion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisArchiveRepository_InsertOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository.InsertOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisArchiveRepository_InsertOneAsync_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisArchiveRepository.InsertOneAsync(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
InsertOneAsync(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a new patient diagnosis record into the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task InsertOneAsync(PatientDiagnosis patientDiagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientDiagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The patient diagnosis entity to be persisted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous insert operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+455
@@ -0,0 +1,455 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDiagnosisRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDiagnosisRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository" class="text-break">
|
||||
Interface IDiagnosisRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDiagnosisRepository : IMongoRepository<PatientDiagnosis></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<PatientDiagnosis>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<PatientDiagnosis>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<PatientDiagnosis>.UpdateOneAsync(ObjectId, PatientDiagnosis)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_DeleteAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.DeleteAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_DeleteAsync_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.DeleteAsync(MongoDB.Bson.ObjectId)">
|
||||
DeleteAsync(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes the entity identified by the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteAsync(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the entity to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_DeleteByPatientId_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.DeleteByPatientId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_DeleteByPatientId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.DeleteByPatientId(MongoDB.Bson.ObjectId)">
|
||||
DeleteByPatientId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes records associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteByPatientId(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique <span class="xref">MongoDB.Bson.ObjectId</span> of the patient whose related records should be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_FindByPatientIdAndCode_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.FindByPatientIdAndCode*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_FindByPatientIdAndCode_MongoDB_Bson_ObjectId_System_String_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.FindByPatientIdAndCode(MongoDB.Bson.ObjectId,System.String,System.String)">
|
||||
FindByPatientIdAndCode(ObjectId, string?, string?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> associated with the specified patient, diagnosis code, and coding system.
|
||||
Returns null when no matching diagnosis is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<PatientDiagnosis?> FindByPatientIdAndCode(ObjectId patientId, string? diagnosisCode, string? codingSystem)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose diagnosis is being looked up.</p>
|
||||
</dd>
|
||||
<dt><code>diagnosisCode</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The diagnosis code to match. May be null.</p>
|
||||
</dd>
|
||||
<dt><code>codingSystem</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The coding system of the diagnosis code (for example, ICD-10 or SNOMED). May be null.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>></dt>
|
||||
<dd><p>A task that resolves to the matching <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>, or null if no diagnosis matches the given criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_FindByPatientIdAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.FindByPatientIdAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_FindByPatientIdAsync_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.FindByPatientIdAsync(MongoDB.Bson.ObjectId)">
|
||||
FindByPatientIdAsync(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously finds all patient diagnoses associated with the specified patient identifier, returning a cursor to iterate over the matching documents.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IAsyncCursor<PatientDiagnosis>> FindByPatientIdAsync(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose diagnoses should be retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<span class="xref">IAsyncCursor</span><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing an IAsyncCursor of PatientDiagnosis that yields the matching documents.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_GetByPatient_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.GetByPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_GetByPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.GetByPatient(MongoDB.Bson.ObjectId)">
|
||||
GetByPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of patient diagnoses associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientDiagnosis>> GetByPatient(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose diagnoses are to be retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a> objects for the specified patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_InsertOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.InsertOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_InsertOneAsync_adas_core_Domain_Models_PatientDiagnosis_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.InsertOneAsync(adas_core.Domain.Models.PatientDiagnosis)">
|
||||
InsertOneAsync(PatientDiagnosis)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a single patient diagnosis record into the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task InsertOneAsync(PatientDiagnosis diagnosis)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>diagnosis</code> <a class="xref" href="adas_core.Domain.Models.PatientDiagnosis.html">PatientDiagnosis</a></dt>
|
||||
<dd><p>The patient diagnosis entity to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_UpdateManyObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.UpdateManyObjectId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDiagnosisRepository_UpdateManyObjectId_System_String_MongoDB_Bson_ObjectId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDiagnosisRepository.UpdateManyObjectId(System.String,MongoDB.Bson.ObjectId,MongoDB.Bson.ObjectId)">
|
||||
UpdateManyObjectId(string, ObjectId, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates many records by replacing the existing <span class="xref">MongoDB.Bson.ObjectId</span> identified by <code class="paramref">oldId</code> with the new <span class="xref">MongoDB.Bson.ObjectId</span> <code class="paramref">id</code>, scoped to the specified <code class="paramref">nameId</code>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdateManyObjectId(string nameId, ObjectId id, ObjectId oldId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>nameId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The identifier of the field or collection on which the update is performed.</p>
|
||||
</dd>
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The new <span class="xref">MongoDB.Bson.ObjectId</span> value to assign.</p>
|
||||
</dd>
|
||||
<dt><code>oldId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The existing <span class="xref">MongoDB.Bson.ObjectId</span> value to be replaced.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+890
@@ -0,0 +1,890 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDischargeRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDischargeRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository" class="text-break">
|
||||
Interface IDischargeRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDischargeRepository : IMongoRepository<Discharge></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Discharge>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Discharge>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Discharge>.InsertOneAsync(Discharge)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Discharge>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Discharge>.UpdateOneAsync(ObjectId, Discharge)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_CountByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.CountByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_CountByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.CountByUnitId(MongoDB.Bson.ObjectId)">
|
||||
CountByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously counts the number of records associated with the specified unit identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> CountByUnitId(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The ObjectId of the unit whose associated records will be counted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the count of records for the specified unit.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_Delete_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.Delete*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_Delete_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.Delete(MongoDB.Bson.ObjectId)">
|
||||
Delete(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the entity identified by the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Delete(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the entity to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_DeleteByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.DeleteByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_DeleteByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.DeleteByUnitId(MongoDB.Bson.ObjectId)">
|
||||
DeleteByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the entity associated with the specified unit identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<bool> DeleteByUnitId(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the unit whose associated record should be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The result is <code>true</code> if a record was deleted; otherwise, <code>false</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_DeleteMasterListOption_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.DeleteMasterListOption*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_DeleteMasterListOption_System_Collections_Generic_List_MongoDB_Bson_ObjectId__adas_core_Domain_Models_Masters_OptionList_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.DeleteMasterListOption(System.Collections.Generic.List{MongoDB.Bson.ObjectId},adas_core.Domain.Models.Masters.OptionList,System.String)">
|
||||
DeleteMasterListOption(List<ObjectId>, OptionList, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the specified master list option from the given units and returns the resulting discharges.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>> DeleteMasterListOption(List<ObjectId> unitIds, OptionList opt, string typeName)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitIds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The identifiers of the units from which the option will be removed.</p>
|
||||
</dd>
|
||||
<dt><code>opt</code> <a class="xref" href="adas_core.Domain.Models.Masters.OptionList.html">OptionList</a></dt>
|
||||
<dd><p>The master list option to delete.</p>
|
||||
</dd>
|
||||
<dt><code>typeName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The type name associated with the option.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> objects resulting from the deletion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all discharge records.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a collection of all <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> entities.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByDestination_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByDestination*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByDestination_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByDestination(System.String)">
|
||||
FindByDestination(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the collection of discharge records associated with the specified destination.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>?> FindByDestination(string destination)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>destination</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The destination identifier used to look up matching discharge records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that yields an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a> of matching discharge records, or <code>null</code> if no records are found for the given destination.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindById(MongoDB.Bson.ObjectId)">
|
||||
FindById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> record by its unique identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Discharge?> FindById(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the discharge record to find.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> if a matching record is found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByPoCId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByPoCId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByPoCId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByPoCId(MongoDB.Bson.ObjectId)">
|
||||
FindByPoCId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> records associated with the specified point-of-care identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>?> FindByPoCId(ObjectId pocId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pocId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The point-of-care identifier used to look up the associated discharges.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that returns an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a> of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> records, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no discharges are found for the given point-of-care identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByService_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByService*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByService_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByService(System.String)">
|
||||
FindByService(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a collection of discharges associated with the specified service.
|
||||
Returns null when no matching discharges are found for the given service.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>?> FindByService(string service)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>service</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The service identifier used to look up matching discharge records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The result is an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a> of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> entries for the specified service, or <code>null</code> if none are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByUnit_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByUnit*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_FindByUnit_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.FindByUnit(System.String)">
|
||||
FindByUnit(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> records associated with the specified unit, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no matching records are found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>?> FindByUnit(string unit)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unit</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The unit identifier used to filter the discharge records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The result is an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable<T></a> of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> containing the matching records, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> when no records are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetByPatientId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetByPatientId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetByPatientId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetByPatientId(MongoDB.Bson.ObjectId)">
|
||||
GetByPatientId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the discharge record associated with the specified patient identifier, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no discharge exists for that patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Discharge?> GetByPatientId(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose discharge record is being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that resolves to the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> when no record is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetDischargeByLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetDischargeByLocation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetDischargeByLocation_adas_core_Domain_Models_PatientLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetDischargeByLocation(adas_core.Domain.Models.PatientLocation)">
|
||||
GetDischargeByLocation(PatientLocation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the discharge record associated with the specified patient location, returning null if no discharge is found for that location.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Discharge?> GetDischargeByLocation(PatientLocation location)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>location</code> <a class="xref" href="adas_core.Domain.Models.PatientLocation.html">PatientLocation</a></dt>
|
||||
<dd><p>The patient location used to look up the associated discharge record.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> if found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetDischargeByPointOfCareId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetDischargeByPointOfCareId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetDischargeByPointOfCareId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetDischargeByPointOfCareId(MongoDB.Bson.ObjectId)">
|
||||
GetDischargeByPointOfCareId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the discharge associated with the specified point of care identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Discharge?> GetDischargeByPointOfCareId(ObjectId poc)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>poc</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the point of care used to look up the discharge.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>></dt>
|
||||
<dd><p>A task that returns the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> if one is found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetDischargesByUnitIds_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetDischargesByUnitIds*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_GetDischargesByUnitIds_System_Collections_Generic_IEnumerable_MongoDB_Bson_ObjectId__" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.GetDischargesByUnitIds(System.Collections.Generic.IEnumerable{MongoDB.Bson.ObjectId})">
|
||||
GetDischargesByUnitIds(IEnumerable<ObjectId>?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> records associated with the specified unit identifiers.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>?> GetDischargesByUnitIds(IEnumerable<ObjectId>? unitIds)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitIds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The collection of unit identifiers used to look up the matching discharges. May be <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a> objects, or <code>null</code> when no matching discharges are available.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_Update_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.Update*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_Update_adas_core_Domain_Models_MongoModels_Discharge_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.Update(adas_core.Domain.Models.MongoModels.Discharge)">
|
||||
Update(Discharge)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously updates an existing discharge record.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Update(Discharge discharge)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>discharge</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a></dt>
|
||||
<dd><p>The discharge entity containing the updated information to be persisted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_UpdateMasterListOption_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.UpdateMasterListOption*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_UpdateMasterListOption_System_Collections_Generic_List_MongoDB_Bson_ObjectId__adas_core_Domain_Models_DTO_UpdateOptionMasterListDto_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.UpdateMasterListOption(System.Collections.Generic.List{MongoDB.Bson.ObjectId},adas_core.Domain.Models.DTO.UpdateOptionMasterListDto,System.String)">
|
||||
UpdateMasterListOption(List<ObjectId>, UpdateOptionMasterListDto, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the master list option for the specified units based on the provided update details and type name.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Discharge>> UpdateMasterListOption(List<ObjectId> unitIds, UpdateOptionMasterListDto opt, string typeName)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitIds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The list of unit identifiers to be updated.</p>
|
||||
</dd>
|
||||
<dt><code>opt</code> <a class="xref" href="adas_core.Domain.Models.DTO.UpdateOptionMasterListDto.html">UpdateOptionMasterListDto</a></dt>
|
||||
<dd><p>The update option master list data transfer object containing the new option details.</p>
|
||||
</dd>
|
||||
<dt><code>typeName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the type to which the master list option applies.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Discharge.html">Discharge</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a collection of updated Discharge records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_UpdatePatient_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.UpdatePatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_UpdatePatient_MongoDB_Bson_ObjectId_adas_core_Domain_Models_MongoModels_Patient_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.UpdatePatient(MongoDB.Bson.ObjectId,adas_core.Domain.Models.MongoModels.Patient)">
|
||||
UpdatePatient(ObjectId, Patient)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates an existing patient record identified by the specified identifier with the provided patient data.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdatePatient(ObjectId id, Patient patient)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient to update.</p>
|
||||
</dd>
|
||||
<dt><code>patient</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a></dt>
|
||||
<dd><p>The patient object containing the updated information to be applied to the existing record.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_UpdateUnit_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.UpdateUnit*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDischargeRepository_UpdateUnit_MongoDB_Bson_ObjectId_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDischargeRepository.UpdateUnit(MongoDB.Bson.ObjectId,System.String)">
|
||||
UpdateUnit(ObjectId, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously updates the unit associated with the specified object identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdateUnit(ObjectId id, string unit)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the object whose unit will be updated.</p>
|
||||
</dd>
|
||||
<dt><code>unit</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The new unit value to assign to the object.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+368
@@ -0,0 +1,368 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDisplayCardConfigRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDisplayCardConfigRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository" class="text-break">
|
||||
Interface IDisplayCardConfigRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDisplayCardConfigRepository : IMongoRepository<CardConfig></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<CardConfig>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<CardConfig>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<CardConfig>.InsertOneAsync(CardConfig)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<CardConfig>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<CardConfig>.UpdateOneAsync(ObjectId, CardConfig)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_DeleteOne_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.DeleteOne*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_DeleteOne_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.DeleteOne(MongoDB.Bson.ObjectId)">
|
||||
DeleteOne(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes a single card configuration identified by the specified identifier, returning the removed configuration when found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<CardConfig?> DeleteOne(ObjectId configId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the card configuration to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous delete operation. The task result contains the deleted <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>, or <code>null</code> if no configuration with the specified identifier exists.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_GetAll_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.GetAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_GetAll" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.GetAll">
|
||||
GetAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all available card configurations.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<CardConfig>> GetAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of all <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a> items.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_GetById_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.GetById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_GetById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.GetById(MongoDB.Bson.ObjectId)">
|
||||
GetById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a card configuration by its unique identifier, returning <code>null</code> when no matching configuration is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<CardConfig?> GetById(ObjectId configId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the card configuration to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that yields the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a> if found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_InsertOneAsyncAndReturn_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.InsertOneAsyncAndReturn*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_InsertOneAsyncAndReturn_adas_core_Domain_Models_MongoModels_CardConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.InsertOneAsyncAndReturn(adas_core.Domain.Models.MongoModels.CardConfig)">
|
||||
InsertOneAsyncAndReturn(CardConfig)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a new <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a> into the data store and returns the persisted record, which may include database-generated values.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<CardConfig?> InsertOneAsyncAndReturn(CardConfig config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a> instance to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that yields the inserted <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>, or <code>null</code> if the record could not be persisted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_UpdateOne_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.UpdateOne*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayCardConfigRepository_UpdateOne_adas_core_Domain_Models_MongoModels_CardConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayCardConfigRepository.UpdateOne(adas_core.Domain.Models.MongoModels.CardConfig)">
|
||||
UpdateOne(CardConfig?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates a single <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a> record based on the provided configuration.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<UpdateResponse<CardConfig?>> UpdateOne(CardConfig? config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a> to update. May be <code>null</code> to indicate no update payload was provided.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Responses.UpdateResponse-1.html">UpdateResponse</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>>></dt>
|
||||
<dd><p>A task that resolves to an <a class="xref" href="adas_core.Domain.Models.Responses.UpdateResponse-1.html">UpdateResponse<T></a> containing the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.CardConfig.html">CardConfig</a>, or <code>null</code> if no matching record was found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+368
@@ -0,0 +1,368 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDisplayChartConfigRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDisplayChartConfigRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository" class="text-break">
|
||||
Interface IDisplayChartConfigRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDisplayChartConfigRepository : IMongoRepository<ChartConfig></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<ChartConfig>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<ChartConfig>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<ChartConfig>.InsertOneAsync(ChartConfig)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<ChartConfig>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<ChartConfig>.UpdateOneAsync(ObjectId, ChartConfig)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_DeleteOne_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.DeleteOne*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_DeleteOne_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.DeleteOne(MongoDB.Bson.ObjectId)">
|
||||
DeleteOne(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes a single chart configuration identified by its unique identifier. Returns the deleted configuration, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no matching configuration was found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ChartConfig?> DeleteOne(ObjectId configId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the chart configuration to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a>></dt>
|
||||
<dd><p>A task that resolves to the deleted <a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a>, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no configuration with the specified id exists.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_GetAll_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.GetAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_GetAll" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.GetAll">
|
||||
GetAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all chart configurations.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<ChartConfig>> GetAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a> objects.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_GetById_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.GetById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_GetById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.GetById(MongoDB.Bson.ObjectId)">
|
||||
GetById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a> by its unique identifier, returning null if no matching configuration is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ChartConfig?> GetById(ObjectId configId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the chart configuration to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a>></dt>
|
||||
<dd><p>A task that yields the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a>, or null when no configuration exists for the specified id.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_InsertOneAsyncAndReturn_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.InsertOneAsyncAndReturn*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_InsertOneAsyncAndReturn_adas_core_Domain_Models_MongoModels_ChartConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.InsertOneAsyncAndReturn(adas_core.Domain.Models.MongoModels.ChartConfig)">
|
||||
InsertOneAsyncAndReturn(ChartConfig)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a new chart configuration into the data store and returns the persisted entity, which may be null if no record is produced.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ChartConfig?> InsertOneAsyncAndReturn(ChartConfig config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a></dt>
|
||||
<dd><p>The chart configuration to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous insert operation, containing the inserted <a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a> or null when the operation yields no result.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_UpdateOne_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.UpdateOne*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayChartConfigRepository_UpdateOne_adas_core_Domain_Models_MongoModels_ChartConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayChartConfigRepository.UpdateOne(adas_core.Domain.Models.MongoModels.ChartConfig)">
|
||||
UpdateOne(ChartConfig?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates a single chart configuration and returns the operation result wrapped in an update response.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<UpdateResponse<ChartConfig?>> UpdateOne(ChartConfig? config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a></dt>
|
||||
<dd><p>The chart configuration to update. May be null.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Responses.UpdateResponse-1.html">UpdateResponse</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.ChartConfig.html">ChartConfig</a>>></dt>
|
||||
<dd><p>A task containing the update response with the updated chart configuration, which may be null.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+1184
File diff suppressed because it is too large
Load Diff
+369
@@ -0,0 +1,369 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDisplayDetailConfigRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDisplayDetailConfigRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository" class="text-break">
|
||||
Interface IDisplayDetailConfigRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDisplayDetailConfigRepository : IMongoRepository<CardDetailsConfig></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<CardDetailsConfig>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<CardDetailsConfig>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<CardDetailsConfig>.InsertOneAsync(CardDetailsConfig)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<CardDetailsConfig>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<CardDetailsConfig>.UpdateOneAsync(ObjectId, CardDetailsConfig)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_DeleteOne_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.DeleteOne*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_DeleteOne_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.DeleteOne(MongoDB.Bson.ObjectId)">
|
||||
DeleteOne(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes a single <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a> identified by its unique identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<CardDetailsConfig?> DeleteOne(ObjectId configId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a> to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the deleted <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a>, or <code>null</code> if no matching configuration was found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_GetAll_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.GetAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_GetAll" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.GetAll">
|
||||
GetAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all card details configurations from the data source.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<CardDetailsConfig>> GetAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of all <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a> entries.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_GetById_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.GetById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_GetById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.GetById(MongoDB.Bson.ObjectId)">
|
||||
GetById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a> by its unique identifier.
|
||||
Returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> when no matching configuration is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<CardDetailsConfig?> GetById(ObjectId configId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the card details configuration to retrieve.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a> or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if not found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_InsertOneAsyncAndReturn_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.InsertOneAsyncAndReturn*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_InsertOneAsyncAndReturn_adas_core_Domain_Models_MongoModels_CardDetailsConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.InsertOneAsyncAndReturn(adas_core.Domain.Models.MongoModels.CardDetailsConfig)">
|
||||
InsertOneAsyncAndReturn(CardDetailsConfig)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a new card details configuration and returns the inserted entity.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<CardDetailsConfig?> InsertOneAsyncAndReturn(CardDetailsConfig config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a></dt>
|
||||
<dd><p>The card details configuration to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a>></dt>
|
||||
<dd><p>A task representing the asynchronous operation, containing the inserted <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a>, or <code>null</code> if no entity was returned.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_UpdateOne_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.UpdateOne*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayDetailConfigRepository_UpdateOne_adas_core_Domain_Models_MongoModels_CardDetailsConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayDetailConfigRepository.UpdateOne(adas_core.Domain.Models.MongoModels.CardDetailsConfig)">
|
||||
UpdateOne(CardDetailsConfig?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates a single card details configuration record asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<UpdateResponse<CardDetailsConfig?>> UpdateOne(CardDetailsConfig? config)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>config</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a></dt>
|
||||
<dd><p>The card details configuration to update. May be <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Responses.UpdateResponse-1.html">UpdateResponse</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the update response with the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.CardDetailsConfig.html">CardDetailsConfig</a> or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> when no configuration is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+852
@@ -0,0 +1,852 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IDisplayRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IDisplayRepository | ADAS ">
|
||||
|
||||
<meta name="description" content="Repository abstraction for entities persisted in MongoDB.">
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository" class="text-break">
|
||||
Interface IDisplayRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Repository abstraction for <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> entities persisted in MongoDB.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IDisplayRepository : IMongoRepository<Display></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Display>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Display>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Display>.InsertOneAsync(Display)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Display>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Display>.UpdateOneAsync(ObjectId, Display)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_CountByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.CountByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_CountByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.CountByUnitId(MongoDB.Bson.ObjectId)">
|
||||
CountByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Counts the number of displays that belong to the specified unit.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> CountByUnitId(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the unit.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the number of displays for the unit.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_DeleteManyByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.DeleteManyByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_DeleteManyByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.DeleteManyByUnitId(MongoDB.Bson.ObjectId)">
|
||||
DeleteManyByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes every display that belongs to the specified unit.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<bool> DeleteManyByUnitId(ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the unit whose displays should be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> when at least one display was deleted; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetAll_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetAll" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetAll">
|
||||
GetAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves every display stored in the collection.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Display>> GetAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains all displays, or an empty list if none exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByCardConfigId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByCardConfigId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByCardConfigId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByCardConfigId(MongoDB.Bson.ObjectId)">
|
||||
GetByCardConfigId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all displays that reference the supplied card-configuration identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Display>> GetByCardConfigId(ObjectId configId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the card configuration to filter by.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the matching displays, or an empty list if none exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByConfigId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByConfigId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByConfigId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByConfigId(MongoDB.Bson.ObjectId)">
|
||||
GetByConfigId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all displays whose <code>DisplayConfigId</code> matches the supplied value.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Display>> GetByConfigId(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display configuration to filter by.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the matching displays, or an empty list if none exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetById_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetById(MongoDB.Bson.ObjectId)">
|
||||
GetById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a display by its unique identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display?> GetById(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display to retrieve.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> if found; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByIdWithConfigDisplay_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByIdWithConfigDisplay*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByIdWithConfigDisplay_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByIdWithConfigDisplay(MongoDB.Bson.ObjectId)">
|
||||
GetByIdWithConfigDisplay(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a display by its identifier, eagerly loading its associated <a class="xref" href="adas_core.Domain.Models.MongoModels.DisplayConfig.html">DisplayConfig</a> document.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display?> GetByIdWithConfigDisplay(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display to retrieve.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> with its config populated if found; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByName_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByName_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByName(System.String)">
|
||||
GetByName(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the display whose <code>Name</code> exactly matches the supplied value.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display?> GetByName(string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The display name to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> if found; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByPointOfCare_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByPointOfCare*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByPointOfCare_adas_core_Domain_Models_MongoModels_PointOfCare_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByPointOfCare(adas_core.Domain.Models.MongoModels.PointOfCare)">
|
||||
GetByPointOfCare(PointOfCare)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all displays that include the specified point-of-care in their point-of-care list.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Display>> GetByPointOfCare(PointOfCare pointOfCare)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pointOfCare</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.PointOfCare.html">PointOfCare</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.MongoModels.PointOfCare.html">PointOfCare</a> to filter by.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the matching displays, or an empty list if none exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByUnitId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByUnitId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetByUnitId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetByUnitId(MongoDB.Bson.ObjectId)">
|
||||
GetByUnitId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all displays that belong to the specified unit.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Display>> GetByUnitId(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the unit.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the matching displays, or an empty list if none exist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetPaginatedDisplays_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetPaginatedDisplays*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_GetPaginatedDisplays_adas_core_Domain_Models_Filter_PaginationFilter_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.GetPaginatedDisplays(adas_core.Domain.Models.Filter.PaginationFilter)">
|
||||
GetPaginatedDisplays(PaginationFilter)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Builds a paginated, sorted, and filtered query over displays according to the supplied <a class="xref" href="adas_core.Domain.Models.Filter.PaginationFilter.html">PaginationFilter</a>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">IFindFluent<Display, Display> GetPaginatedDisplays(PaginationFilter filter)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>filter</code> <a class="xref" href="adas_core.Domain.Models.Filter.PaginationFilter.html">PaginationFilter</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.Filter.PaginationFilter.html">PaginationFilter</a> containing pagination and filter criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><span class="xref">IFindFluent</span><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>, <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>An <span class="xref">MongoDB.Driver.IFindFluent<TDocument, TProjection></span> instance that can be used to further refine and execute the query.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_IsDisplayConfigInUse_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.IsDisplayConfigInUse*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_IsDisplayConfigInUse_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.IsDisplayConfigInUse(MongoDB.Bson.ObjectId)">
|
||||
IsDisplayConfigInUse(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Counts the number of displays that currently reference the supplied display configuration.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> IsDisplayConfigInUse(ObjectId displayConfigId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>displayConfigId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display configuration to check for usage.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the number of displays referencing the configuration.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateConfig*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateConfig_MongoDB_Bson_ObjectId_adas_core_Domain_Models_MongoModels_DisplayConfig_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateConfig(MongoDB.Bson.ObjectId,adas_core.Domain.Models.MongoModels.DisplayConfig)">
|
||||
UpdateConfig(ObjectId, DisplayConfig)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Replaces the <a class="xref" href="adas_core.Domain.Models.MongoModels.DisplayConfig.html">DisplayConfig</a> of the display identified by <code class="paramref">oldDisplayId</code> with the supplied configuration instance.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display?> UpdateConfig(ObjectId oldDisplayId, DisplayConfig newDisplayConfigCast)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>oldDisplayId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display whose configuration should be replaced.</p>
|
||||
</dd>
|
||||
<dt><code>newDisplayConfigCast</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.DisplayConfig.html">DisplayConfig</a></dt>
|
||||
<dd><p>The new <a class="xref" href="adas_core.Domain.Models.MongoModels.DisplayConfig.html">DisplayConfig</a> instance to assign to the display.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> if the update succeeded; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateConfigId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateConfigId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateConfigId_MongoDB_Bson_ObjectId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateConfigId(MongoDB.Bson.ObjectId,MongoDB.Bson.ObjectId)">
|
||||
UpdateConfigId(ObjectId, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the <code>DisplayConfigId</code> of the specified display.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display?> UpdateConfigId(ObjectId objectId, ObjectId displayConfigId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>objectId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display to update.</p>
|
||||
</dd>
|
||||
<dt><code>displayConfigId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The new <span class="xref">MongoDB.Bson.ObjectId</span> of the display configuration to associate with the display.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> if the update succeeded; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateConfigPreset_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateConfigPreset*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateConfigPreset_MongoDB_Bson_ObjectId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateConfigPreset(MongoDB.Bson.ObjectId,MongoDB.Bson.ObjectId)">
|
||||
UpdateConfigPreset(ObjectId, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Associates the display with an existing display-config preset by setting its <code>DisplayConfigId</code> to the supplied identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display?> UpdateConfigPreset(ObjectId objectIdDisplay, ObjectId objectIdConfigDisplay)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>objectIdDisplay</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display to update.</p>
|
||||
</dd>
|
||||
<dt><code>objectIdConfigDisplay</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display-config preset to associate.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> if the update succeeded; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateName_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdateName_adas_core_Domain_Models_MongoModels_Display_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdateName(adas_core.Domain.Models.MongoModels.Display,System.String)">
|
||||
UpdateName(Display, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the <code>Name</code> of the supplied display instance and persists it.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display> UpdateName(Display display, string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>display</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a></dt>
|
||||
<dd><p>The <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> instance to update. Its <span class="xref">MongoDB.Bson.ObjectId</span> is used to identify the document.</p>
|
||||
</dd>
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The new display name.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdatePointOfCareList_" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdatePointOfCareList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IDisplayRepository_UpdatePointOfCareList_MongoDB_Bson_ObjectId_System_Collections_Generic_List_MongoDB_Bson_ObjectId__" data-uid="adas_core.Application.Repositories.Interfaces.IDisplayRepository.UpdatePointOfCareList(MongoDB.Bson.ObjectId,System.Collections.Generic.List{MongoDB.Bson.ObjectId})">
|
||||
UpdatePointOfCareList(ObjectId, List<ObjectId>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Replaces the point-of-care list of the specified display with the supplied set of point-of-care identifiers.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Display?> UpdatePointOfCareList(ObjectId objectId, List<ObjectId> listPocObId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>objectId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the display to update.</p>
|
||||
</dd>
|
||||
<dt><code>listPocObId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The new list of <span class="xref">MongoDB.Bson.ObjectId</span> values representing the point-of-cares to associate with the display.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> representing the asynchronous operation. The task result contains the updated <a class="xref" href="adas_core.Domain.Models.MongoModels.Display.html">Display</a> if the update succeeded; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+487
@@ -0,0 +1,487 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IHistoricalConfigChangesRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IHistoricalConfigChangesRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository" class="text-break">
|
||||
Interface IHistoricalConfigChangesRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IHistoricalConfigChangesRepository : IMongoRepository<HistoricalConfigChanges></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<HistoricalConfigChanges>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<HistoricalConfigChanges>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<HistoricalConfigChanges>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<HistoricalConfigChanges>.UpdateOneAsync(ObjectId, HistoricalConfigChanges)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_Delete_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.Delete*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_Delete_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.Delete(MongoDB.Bson.ObjectId)">
|
||||
Delete(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the historical configuration change record identified by the specified identifier, returning the removed entry when found.
|
||||
If no record matches the given identifier, the task resolves to <code>null</code>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<HistoricalConfigChanges?> Delete(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the historical configuration change to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous delete operation, containing the deleted <a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a> record, or <code>null</code> if no matching record exists.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all historical configuration changes.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ICollection<HistoricalConfigChanges>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a> records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindAllIds_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindAllIds*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindAllIds" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindAllIds">
|
||||
FindAllIds()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of all object identifiers.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<ObjectId>> FindAllIds()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of ObjectId values.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindById(MongoDB.Bson.ObjectId)">
|
||||
FindById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a historical configuration changes record by its unique identifier.
|
||||
Returns null if no matching record is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<HistoricalConfigChanges?> FindById(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the historical configuration changes record to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a> record, or null if no record with the specified identifier exists.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindLastHistoricalConfigChangesByType_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindLastHistoricalConfigChangesByType*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindLastHistoricalConfigChangesByType_adas_core_Domain_Enums_DisplayConfigEnums_ConfigTypes_System_Int32_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindLastHistoricalConfigChangesByType(adas_core.Domain.Enums.DisplayConfigEnums.ConfigTypes,System.Int32)">
|
||||
FindLastHistoricalConfigChangesByType(ConfigTypes, int)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the most recent historical configuration changes filtered by the specified configuration type, limited to a given number of entries.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ICollection<HistoricalConfigChanges>> FindLastHistoricalConfigChangesByType(DisplayConfigEnums.ConfigTypes cfgType, int num = 10)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>cfgType</code> <a class="xref" href="adas_core.Domain.Enums.DisplayConfigEnums.html">DisplayConfigEnums</a>.<a class="xref" href="adas_core.Domain.Enums.DisplayConfigEnums.ConfigTypes.html">ConfigTypes</a></dt>
|
||||
<dd><p>The configuration type used to filter the historical changes.</p>
|
||||
</dd>
|
||||
<dt><code>num</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>The maximum number of recent changes to return. Defaults to 10.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a>>></dt>
|
||||
<dd><p>A task that returns a collection of historical configuration changes matching the specified type, ordered from most recent.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindLastHistoricalConfigChangesByUser_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindLastHistoricalConfigChangesByUser*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_FindLastHistoricalConfigChangesByUser_System_String_System_Nullable_adas_core_Domain_Enums_DisplayConfigEnums_ConfigTypes__System_Int32_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.FindLastHistoricalConfigChangesByUser(System.String,System.Nullable{adas_core.Domain.Enums.DisplayConfigEnums.ConfigTypes},System.Int32)">
|
||||
FindLastHistoricalConfigChangesByUser(string, ConfigTypes?, int)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the most recent historical configuration changes for the specified user, optionally filtered by configuration type.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<ICollection<HistoricalConfigChanges>> FindLastHistoricalConfigChangesByUser(string user, DisplayConfigEnums.ConfigTypes? cfgType = null, int num = 10)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>user</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The identifier of the user whose historical configuration changes are being retrieved.</p>
|
||||
</dd>
|
||||
<dt><code>cfgType</code> <a class="xref" href="adas_core.Domain.Enums.DisplayConfigEnums.html">DisplayConfigEnums</a>.<a class="xref" href="adas_core.Domain.Enums.DisplayConfigEnums.ConfigTypes.html">ConfigTypes</a>?</dt>
|
||||
<dd><p>Optional. The configuration type to filter the results by. If null, changes across all configuration types are returned.</p>
|
||||
</dd>
|
||||
<dt><code>num</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>The maximum number of historical changes to return. Defaults to 10.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a>>></dt>
|
||||
<dd><p>A task representing the asynchronous operation, containing a collection of historical configuration changes for the user.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_InsertOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.InsertOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_InsertOneAsync_adas_core_Domain_Models_MongoModels_HistoricalConfigChanges_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.InsertOneAsync(adas_core.Domain.Models.MongoModels.HistoricalConfigChanges)">
|
||||
InsertOneAsync(HistoricalConfigChanges)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a new <a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a> record into the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<HistoricalConfigChanges?> InsertOneAsync(HistoricalConfigChanges patientObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientObservation</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a></dt>
|
||||
<dd><p>The historical config change entity to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous insert operation, containing the inserted <a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a> entity, or <code>null</code> if the insertion did not produce a result.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_Update_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.Update*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IHistoricalConfigChangesRepository_Update_adas_core_Domain_Models_MongoModels_HistoricalConfigChanges_" data-uid="adas_core.Application.Repositories.Interfaces.IHistoricalConfigChangesRepository.Update(adas_core.Domain.Models.MongoModels.HistoricalConfigChanges)">
|
||||
Update(HistoricalConfigChanges)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates an existing historical config change record asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<HistoricalConfigChanges?> Update(HistoricalConfigChanges historicalConfigChange)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>historicalConfigChange</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a></dt>
|
||||
<dd><p>The historical config change entity containing the values to persist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.HistoricalConfigChanges.html">HistoricalConfigChanges</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous update operation. The result is the updated historical config change, or <code>null</code> if the record was not found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+413
@@ -0,0 +1,413 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface ILightBeaconRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface ILightBeaconRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository" class="text-break">
|
||||
Interface ILightBeaconRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface ILightBeaconRepository : IMongoRepository<LightBeacon></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<LightBeacon>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<LightBeacon>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<LightBeacon>.InsertOneAsync(LightBeacon)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<LightBeacon>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<LightBeacon>.UpdateOneAsync(ObjectId, LightBeacon)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetById_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetById(MongoDB.Bson.ObjectId)">
|
||||
GetById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a light beacon by its associated relay identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<LightBeacon?> GetById(ObjectId relayId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>relayId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the relay used to look up the corresponding light beacon.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>, or <code>null</code> if no beacon is found for the specified relay.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetByName_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetByName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetByName_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetByName(System.String)">
|
||||
GetByName(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a> by its name.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<LightBeacon?> GetByName(string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the light beacon to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>></dt>
|
||||
<dd><p>A task that returns the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>, or <code>null</code> if no beacon with the specified name is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetLightBeaconInList_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetLightBeaconInList*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetLightBeaconInList_System_Collections_Generic_List_MongoDB_Bson_ObjectId__" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetLightBeaconInList(System.Collections.Generic.List{MongoDB.Bson.ObjectId})">
|
||||
GetLightBeaconInList(List<ObjectId>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the list of <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a> objects associated with the specified configuration relay identifiers.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">List<LightBeacon> GetLightBeaconInList(List<ObjectId> configurationRelayList)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>configurationRelayList</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<span class="xref">ObjectId</span>></dt>
|
||||
<dd><p>The collection of configuration relay <span class="xref">MongoDB.Bson.ObjectId</span> values used to look up the corresponding light beacons.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List<T></a> containing the light beacons matching the provided configuration relay identifiers; returns an empty list if no matches are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetPaginatedRelays_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetPaginatedRelays*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetPaginatedRelays_adas_core_Domain_Models_Filter_PaginationFilter_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetPaginatedRelays(adas_core.Domain.Models.Filter.PaginationFilter)">
|
||||
GetPaginatedRelays(PaginationFilter)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a paginated, queryable collection of light beacons (relays) based on the supplied pagination filter.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">IFindFluent<LightBeacon, LightBeacon> GetPaginatedRelays(PaginationFilter filter)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>filter</code> <a class="xref" href="adas_core.Domain.Models.Filter.PaginationFilter.html">PaginationFilter</a></dt>
|
||||
<dd><p>The pagination filter that controls paging parameters applied to the relay list.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><span class="xref">IFindFluent</span><<a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>, <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>></dt>
|
||||
<dd><p>An <span class="xref">MongoDB.Driver.IFindFluent<TDocument, TProjection></span> exposing the paginated relay result set for further querying or enumeration.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetSearchByName_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetSearchByName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_GetSearchByName_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.GetSearchByName(System.String)">
|
||||
GetSearchByName(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a> objects whose name matches the specified search text.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<LightBeacon>> GetSearchByName(string textToSearch)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>textToSearch</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The text used to search for matching <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a> entries by name.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a> objects that match the search criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_InsertOneAsyncAndReturn_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.InsertOneAsyncAndReturn*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_ILightBeaconRepository_InsertOneAsyncAndReturn_adas_core_Domain_Models_MongoModels_LightBeacon_" data-uid="adas_core.Application.Repositories.Interfaces.ILightBeaconRepository.InsertOneAsyncAndReturn(adas_core.Domain.Models.MongoModels.LightBeacon)">
|
||||
InsertOneAsyncAndReturn(LightBeacon)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a new LightBeacon and returns the persisted entity, or null if the insertion did not produce a result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<LightBeacon?> InsertOneAsyncAndReturn(LightBeacon beacon)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>beacon</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a></dt>
|
||||
<dd><p>The LightBeacon entity to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.LightBeacon.html">LightBeacon</a>></dt>
|
||||
<dd><p>A task containing the inserted LightBeacon, or null when no entity was returned by the underlying operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+1116
File diff suppressed because it is too large
Load Diff
+563
@@ -0,0 +1,563 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IMedicineRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IMedicineRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository" class="text-break">
|
||||
Interface IMedicineRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IMedicineRepository : IMongoRepository<Medicine></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Medicine>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Medicine>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Medicine>.InsertOneAsync(Medicine)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Medicine>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Medicine>.UpdateOneAsync(ObjectId, Medicine)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_DeleteMedicineById_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.DeleteMedicineById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_DeleteMedicineById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.DeleteMedicineById(MongoDB.Bson.ObjectId)">
|
||||
DeleteMedicineById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes a medicine record from the data store using the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteMedicineById(ObjectId medicineId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>medicineId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the medicine to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetAll_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetAll" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetAll">
|
||||
GetAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all medicines from the data source.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Medicine>> GetAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a> objects; an empty list is returned when no medicines are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetDistinctFieldDataQuery_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetDistinctFieldDataQuery*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetDistinctFieldDataQuery_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetDistinctFieldDataQuery(System.String)">
|
||||
GetDistinctFieldDataQuery(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Builds a MongoDB aggregation pipeline that retrieves the distinct values for the specified field.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">IAggregateFluent<BsonDocument> GetDistinctFieldDataQuery(string field)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>field</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the field whose distinct values should be queried.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><span class="xref">IAggregateFluent</span><<span class="xref">BsonDocument</span>></dt>
|
||||
<dd><p>An <span class="xref">MongoDB.Driver.IAggregateFluent<TResult></span> representing the distinct field data query.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicine_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicine*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicine_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicine(System.String)">
|
||||
GetMedicine(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a medicine by its code asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Medicine?> GetMedicine(string code)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>code</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The code used to look up the medicine.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>A task that returns the matching <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a> if found, or <code>null</code> if no medicine matches the specified code.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicineByCodeOrNote_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicineByCodeOrNote*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicineByCodeOrNote_System_Collections_Generic_List_System_String__" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicineByCodeOrNote(System.Collections.Generic.List{System.String})">
|
||||
GetMedicineByCodeOrNote(List<string>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a list of medicines that match the specified codes or notes.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Medicine>> GetMedicineByCodeOrNote(List<string> codeNotes)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>codeNotes</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>></dt>
|
||||
<dd><p>The list of codes or notes used to look up the medicines.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the list of matching medicines.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicineById_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicineById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicineById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicineById(MongoDB.Bson.ObjectId)">
|
||||
GetMedicineById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a medicine entity by its unique identifier from the data store.
|
||||
Returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no medicine matches the provided identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Medicine?> GetMedicineById(ObjectId medicineId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>medicineId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique <span class="xref">MongoDB.Bson.ObjectId</span> of the medicine to retrieve.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> containing the matching <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a> if found, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> when no record exists for the given identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicineByName_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicineByName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetMedicineByName_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetMedicineByName(System.String)">
|
||||
GetMedicineByName(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a> entity by its name asynchronously.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Medicine?> GetMedicineByName(string name)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>name</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the medicine to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that resolves to the matching <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>, or <code>null</code> if no medicine with the specified name is found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetPaginatedMedicines_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetPaginatedMedicines*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_GetPaginatedMedicines_adas_core_Domain_Models_Filter_PaginationFilter_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.GetPaginatedMedicines(adas_core.Domain.Models.Filter.PaginationFilter)">
|
||||
GetPaginatedMedicines(PaginationFilter)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a paginated collection of medicines based on the specified pagination filter.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">IFindFluent<Medicine, Medicine> GetPaginatedMedicines(PaginationFilter filter)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>filter</code> <a class="xref" href="adas_core.Domain.Models.Filter.PaginationFilter.html">PaginationFilter</a></dt>
|
||||
<dd><p>The pagination filter containing the page number and page size used to control the result set.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><span class="xref">IFindFluent</span><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>, <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>A fluent query interface for the paginated medicines.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_PostMedicine_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.PostMedicine*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_PostMedicine_adas_core_Domain_Models_Medicine_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.PostMedicine(adas_core.Domain.Models.Medicine)">
|
||||
PostMedicine(Medicine)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously creates and posts a new medicine entry, returning the persisted <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a> on success or <code>null</code> when no result is produced.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Medicine?> PostMedicine(Medicine medicine)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>medicine</code> <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a></dt>
|
||||
<dd><p>The medicine entity to be created and submitted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>A task that resolves to the newly created <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>, or <code>null</code> if the operation does not yield a result.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_UpdateMedicine_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.UpdateMedicine*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMedicineRepository_UpdateMedicine_adas_core_Domain_Models_Medicine_" data-uid="adas_core.Application.Repositories.Interfaces.IMedicineRepository.UpdateMedicine(adas_core.Domain.Models.Medicine)">
|
||||
UpdateMedicine(Medicine)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates an existing medicine record with the provided information.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Medicine?> UpdateMedicine(Medicine medicine)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>medicine</code> <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a></dt>
|
||||
<dd><p>The medicine entity containing the updated data, typically identified by its primary key.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the updated <a class="xref" href="adas_core.Domain.Models.Medicine.html">Medicine</a>, or <code>null</code> if no matching medicine was found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+352
@@ -0,0 +1,352 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IMongoRepository<T> | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IMongoRepository<T> | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1" class="text-break">
|
||||
Interface IMongoRepository<T>
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IMongoRepository<T></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="properties">Properties
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.Collection*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.Collection">
|
||||
Collection
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">IMongoCollection<T> Collection { get; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><span class="xref">IMongoCollection</span><T></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.DeleteAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.DeleteAsync(MongoDB.Bson.ObjectId)">
|
||||
DeleteAsync(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes the entity identified by the specified identifier and returns the deleted entity.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<T?> DeleteAsync(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the entity to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><T></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing the deleted entity of type <code class="typeparamref">T</code>, or <code>null</code> if no matching entity was found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.GetCollectionName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.GetCollectionName">
|
||||
GetCollectionName()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets the name of the collection.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">string GetCollectionName()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The name of the collection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.InsertOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.InsertOneAsync(`0)">
|
||||
InsertOneAsync(T)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a single object of type <code class="typeparamref">T</code>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task InsertOneAsync(T obj)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>obj</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The object to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous insert operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.UpdateOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_" data-uid="adas_core.Application.Repositories.Interfaces.IMongoRepository`1.UpdateOneAsync(MongoDB.Bson.ObjectId,`0)">
|
||||
UpdateOneAsync(ObjectId, T)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously updates an existing document identified by the specified identifier with the provided object data.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdateOneAsync(ObjectId id, T obj)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the document to update.</p>
|
||||
</dd>
|
||||
<dt><code>obj</code> <span class="xref">T</span></dt>
|
||||
<dd><p>The object containing the updated values to persist.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+444
@@ -0,0 +1,444 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface INoticeRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface INoticeRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_INoticeRepository" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository" class="text-break">
|
||||
Interface INoticeRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface INoticeRepository : IMongoRepository<Notice></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Notice>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Notice>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Notice>.InsertOneAsync(Notice)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Notice>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Notice>.UpdateOneAsync(ObjectId, Notice)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_INoticeRepository_Delete_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.Delete*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_INoticeRepository_Delete_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.Delete(MongoDB.Bson.ObjectId)">
|
||||
Delete(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the entity identified by the specified <span class="xref">MongoDB.Bson.ObjectId</span>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Delete(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the entity to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all notices.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Notice>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains an enumerable collection of all <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a> objects.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindByDate_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindByDate*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindByDate_System_DateTime_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindByDate(System.DateTime)">
|
||||
FindByDate(DateTime)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the collection of notices that match the specified date.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Notice>?> FindByDate(DateTime date)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>date</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></dt>
|
||||
<dd><p>The date used to filter the notices to be retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a collection of <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a> objects for the specified date, or <code>null</code> if no matching notices are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindByDisplayId_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindByDisplayId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindByDisplayId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindByDisplayId(MongoDB.Bson.ObjectId)">
|
||||
FindByDisplayId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a> entities associated with the specified display identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Notice>?> FindByDisplayId(ObjectId displayId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>displayId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The display identifier used to locate the matching notices.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a>>></dt>
|
||||
<dd><p>A task that yields the collection of matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a> items, or <code>null</code> if no notices are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindById(MongoDB.Bson.ObjectId)">
|
||||
FindById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a> by its unique identifier. Returns <code>null</code> when no matching notice is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Notice?> FindById(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the notice to look up.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a>></dt>
|
||||
<dd><p>A task that yields the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a>, or <code>null</code> if no notice exists for the specified <code class="paramref">id</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindByType_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindByType*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_INoticeRepository_FindByType_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.FindByType(System.String)">
|
||||
FindByType(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a> entries that match the specified type.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<IEnumerable<Notice>?> FindByType(string type)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>type</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The notice type used to filter the lookup.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a>>></dt>
|
||||
<dd><p>A task containing the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a> items, or <code>null</code> when no results are available.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_INoticeRepository_Update_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.Update*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_INoticeRepository_Update_adas_core_Domain_Models_MongoModels_Notice_" data-uid="adas_core.Application.Repositories.Interfaces.INoticeRepository.Update(adas_core.Domain.Models.MongoModels.Notice)">
|
||||
Update(Notice)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously updates an existing notice with the provided information.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Update(Notice notice)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>notice</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.Notice.html">Notice</a></dt>
|
||||
<dd><p>The notice entity containing the updated data to be persisted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+378
@@ -0,0 +1,378 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IObservationArchiveRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IObservationArchiveRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository" class="text-break">
|
||||
Interface IObservationArchiveRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IObservationArchiveRepository : IMongoRepository<PatientObservation></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<PatientObservation>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<PatientObservation>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<PatientObservation>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<PatientObservation>.UpdateOneAsync(ObjectId, PatientObservation)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_AggregatedPatientLastObservations_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.AggregatedPatientLastObservations*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_AggregatedPatientLastObservations_MongoDB_Bson_ObjectId_System_Int32_System_DateTime_System_Collections_Generic_List_System_String__" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.AggregatedPatientLastObservations(MongoDB.Bson.ObjectId,System.Int32,System.DateTime,System.Collections.Generic.List{System.String})">
|
||||
AggregatedPatientLastObservations(ObjectId, int, DateTime, List<string>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the most recent aggregated patient observations for the specified patient, limited by a count and an upper date bound, and optionally filtered by observation names.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientObservation>> AggregatedPatientLastObservations(ObjectId patientId, int num, DateTime lastDate, List<string> filterObservations)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose observations are being queried.</p>
|
||||
</dd>
|
||||
<dt><code>num</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>The maximum number of recent observations to return.</p>
|
||||
</dd>
|
||||
<dt><code>lastDate</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></dt>
|
||||
<dd><p>The cutoff date; only observations on or before this date are considered.</p>
|
||||
</dd>
|
||||
<dt><code>filterObservations</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>></dt>
|
||||
<dd><p>An optional list of observation names to restrict the results to; pass an empty or null list to include all observations.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A task that resolves to a list of <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> entries representing the aggregated last observations matching the criteria.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_DeleteBeforeDate_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.DeleteBeforeDate*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_DeleteBeforeDate_System_DateTime_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.DeleteBeforeDate(System.DateTime)">
|
||||
DeleteBeforeDate(DateTime)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Deletes the records that have a date earlier than the specified cutoff date.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task DeleteBeforeDate(DateTime date)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>date</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></dt>
|
||||
<dd><p>The cutoff date; records dated before this value will be removed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_FindAllFromPatient_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.FindAllFromPatient*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_FindAllFromPatient_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.FindAllFromPatient(MongoDB.Bson.ObjectId)">
|
||||
FindAllFromPatient(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all patient observations associated with the specified patient.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientObservation>> FindAllFromPatient(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the patient whose observations are being retrieved.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> records for the patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_InsertBatch_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.InsertBatch*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_InsertBatch_System_Collections_Generic_IEnumerable_adas_core_Domain_Models_PatientObservation__" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.InsertBatch(System.Collections.Generic.IEnumerable{adas_core.Domain.Models.PatientObservation})">
|
||||
InsertBatch(IEnumerable<PatientObservation>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a batch of patient observation records into the underlying data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<long> InsertBatch(IEnumerable<PatientObservation> observations)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>observations</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a>></dt>
|
||||
<dd><p>The collection of <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> entities to be inserted.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>></dt>
|
||||
<dd><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task<TResult></a> that represents the asynchronous insert operation, returning a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a> value (such as the number of affected rows or a generated identifier) produced by the batch insertion.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_InsertOneAsync_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.InsertOneAsync*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IObservationArchiveRepository_InsertOneAsync_adas_core_Domain_Models_PatientObservation_" data-uid="adas_core.Application.Repositories.Interfaces.IObservationArchiveRepository.InsertOneAsync(adas_core.Domain.Models.PatientObservation)">
|
||||
InsertOneAsync(PatientObservation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously inserts a single <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a> into the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task InsertOneAsync(PatientObservation patientObservation)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientObservation</code> <a class="xref" href="adas_core.Domain.Models.PatientObservation.html">PatientObservation</a></dt>
|
||||
<dd><p>The patient observation to insert.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+1540
File diff suppressed because it is too large
Load Diff
+293
@@ -0,0 +1,293 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IPatientArchiveRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IPatientArchiveRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IPatientArchiveRepository" data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository" class="text-break">
|
||||
Interface IPatientArchiveRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IPatientArchiveRepository : IMongoRepository<Patient></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<Patient>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<Patient>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<Patient>.InsertOneAsync(Patient)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<Patient>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<Patient>.UpdateOneAsync(ObjectId, Patient)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPatientArchiveRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPatientArchiveRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves all patients from the data source.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<Patient>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of all <a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a> entities.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPatientArchiveRepository_FindByPatientNumber_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository.FindByPatientNumber*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPatientArchiveRepository_FindByPatientNumber_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository.FindByPatientNumber(System.String)">
|
||||
FindByPatientNumber(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a> matching the specified patient number, returning <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if no matching patient is found.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Patient?> FindByPatientNumber(string patientNumber)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientNumber</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The unique patient number used to look up the patient.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a>></dt>
|
||||
<dd><p>A <a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a> instance if a match is found; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPatientArchiveRepository_SearchByPatientNumberAndDistinctUnit_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository.SearchByPatientNumberAndDistinctUnit*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPatientArchiveRepository_SearchByPatientNumberAndDistinctUnit_System_String_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientArchiveRepository.SearchByPatientNumberAndDistinctUnit(System.String,MongoDB.Bson.ObjectId)">
|
||||
SearchByPatientNumberAndDistinctUnit(string, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Searches for a patient by patient number within a specific distinct unit.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<Patient?> SearchByPatientNumberAndDistinctUnit(string patientNumber, ObjectId unitId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientNumber</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The patient number used to locate the patient.</p>
|
||||
</dd>
|
||||
<dt><code>unitId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The identifier of the distinct unit in which to perform the search.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.Patient.html">Patient</a> if found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+334
@@ -0,0 +1,334 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IPatientCarePlanRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IPatientCarePlanRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository" class="text-break">
|
||||
Interface IPatientCarePlanRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IPatientCarePlanRepository : IMongoRepository<PatientCarePlan></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<PatientCarePlan>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<PatientCarePlan>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<PatientCarePlan>.InsertOneAsync(PatientCarePlan)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<PatientCarePlan>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<PatientCarePlan>.UpdateOneAsync(ObjectId, PatientCarePlan)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all patient care plans from the data store.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A task representing the asynchronous operation, containing a list of all <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_FindByPatientId_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.FindByPatientId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_FindByPatientId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.FindByPatientId(MongoDB.Bson.ObjectId)">
|
||||
FindByPatientId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the list of care plans associated with the specified patient identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>> FindByPatientId(ObjectId patientId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the patient whose care plans are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> records for the patient, or an empty list if no care plans are found.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_FindByUserId_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.FindByUserId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_FindByUserId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.FindByUserId(MongoDB.Bson.ObjectId)">
|
||||
FindByUserId(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the list of patient care plans associated with the specified user identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PatientCarePlan>> FindByUserId(ObjectId userId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>userId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the user whose patient care plans are being requested.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation, containing a list of <a class="xref" href="adas_core.Domain.Models.MongoModels.PatientCarePlan.html">PatientCarePlan</a> objects linked to the specified user.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_UpdateManyObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.UpdateManyObjectId*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPatientCarePlanRepository_UpdateManyObjectId_System_String_MongoDB_Bson_ObjectId_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IPatientCarePlanRepository.UpdateManyObjectId(System.String,MongoDB.Bson.ObjectId,MongoDB.Bson.ObjectId)">
|
||||
UpdateManyObjectId(string, ObjectId, ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates all records that reference the specified old ObjectId so they are associated with the new patient ObjectId.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task UpdateManyObjectId(string patientid, ObjectId patientId, ObjectId oldId)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>patientid</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The string identifier of the patient whose related records will be updated.</p>
|
||||
</dd>
|
||||
<dt><code>patientId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The new ObjectId that will replace the previous identifier in the matching records.</p>
|
||||
</dd>
|
||||
<dt><code>oldId</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The previous ObjectId whose references should be replaced across the matching records.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+1443
File diff suppressed because it is too large
Load Diff
+233
@@ -0,0 +1,233 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IPoCMappingRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IPoCMappingRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IPoCMappingRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IPoCMappingRepository" data-uid="adas_core.Application.Repositories.Interfaces.IPoCMappingRepository" class="text-break">
|
||||
Interface IPoCMappingRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IPoCMappingRepository</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPoCMappingRepository_FindByKey_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCMappingRepository.FindByKey*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPoCMappingRepository_FindByKey_System_String_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCMappingRepository.FindByKey(System.String)">
|
||||
FindByKey(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves a <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCMapping.html">PoCMapping</a> associated with the specified key.
|
||||
Returns <code>null</code> when no mapping exists for the given key.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<PoCMapping?> FindByKey(string key)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>key</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The key used to look up the <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCMapping.html">PoCMapping</a>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PoCMapping.html">PoCMapping</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains the <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCMapping.html">PoCMapping</a> if found, or <code>null</code> if no mapping exists for the specified key.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPoCMappingRepository_GetCollectionName_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCMappingRepository.GetCollectionName*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPoCMappingRepository_GetCollectionName" data-uid="adas_core.Application.Repositories.Interfaces.IPoCMappingRepository.GetCollectionName">
|
||||
GetCollectionName()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the name of the collection associated with the current context or entity.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">string GetCollectionName()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The collection name as a string.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+367
@@ -0,0 +1,367 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Interface IPoCSettingsRepository | ADAS </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Interface IPoCSettingsRepository | ADAS ">
|
||||
|
||||
|
||||
<link rel="icon" href="../favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../logo.svg" alt="ADAS">
|
||||
ADAS
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository">
|
||||
|
||||
|
||||
|
||||
<h1 id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository" class="text-break">
|
||||
Interface IPoCSettingsRepository
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="adas_core.html">adas_core</a>.<a class="xref" href="adas_core.Application.html">Application</a>.<a class="xref" href="adas_core.Application.Repositories.html">Repositories</a>.<a class="xref" href="adas_core.Application.Repositories.Interfaces.html">Interfaces</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>adas-core.Application.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"></div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public interface IPoCSettingsRepository : IMongoRepository<PoCSettings></code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_Collection">IMongoRepository<PoCSettings>.Collection</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_GetCollectionName">IMongoRepository<PoCSettings>.GetCollectionName()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_InsertOneAsync__0_">IMongoRepository<PoCSettings>.InsertOneAsync(PoCSettings)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_DeleteAsync_MongoDB_Bson_ObjectId_">IMongoRepository<PoCSettings>.DeleteAsync(ObjectId)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Application.Repositories.Interfaces.IMongoRepository-1.html#adas_core_Application_Repositories_Interfaces_IMongoRepository_1_UpdateOneAsync_MongoDB_Bson_ObjectId__0_">IMongoRepository<PoCSettings>.UpdateOneAsync(ObjectId, PoCSettings)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_">NumberUtils.IsNumber(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_">NumberUtils.ToDouble(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_">ObjectUtils.ToStr(object?)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_Delete_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.Delete*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_Delete_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.Delete(MongoDB.Bson.ObjectId)">
|
||||
Delete(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously deletes the entity identified by the specified <span class="xref">MongoDB.Bson.ObjectId</span>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Delete(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The <span class="xref">MongoDB.Bson.ObjectId</span> of the entity to delete.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_FindAll_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.FindAll*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_FindAll" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.FindAll">
|
||||
FindAll()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves all <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a> records.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<List<PoCSettings>> FindAll()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a>>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The task result contains a list of all <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a> entries.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_FindById_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.FindById*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_FindById_MongoDB_Bson_ObjectId_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.FindById(MongoDB.Bson.ObjectId)">
|
||||
FindById(ObjectId)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Retrieves the PoC (Proof of Concept) settings associated with the specified identifier.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<PoCSettings?> FindById(ObjectId id)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>id</code> <span class="xref">ObjectId</span></dt>
|
||||
<dd><p>The unique identifier of the PoC settings to retrieve.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a>></dt>
|
||||
<dd><p>A task that represents the asynchronous operation. The result contains the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a> if found, or <code>null</code> when no settings exist for the given identifier.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_FindByLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.FindByLocation*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_FindByLocation_adas_core_Domain_Models_PatientLocation_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.FindByLocation(adas_core.Domain.Models.PatientLocation)">
|
||||
FindByLocation(PatientLocation)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Asynchronously retrieves the Point of Care (PoC) settings associated with the specified patient location.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task<PoCSettings?> FindByLocation(PatientLocation location)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>location</code> <a class="xref" href="adas_core.Domain.Models.PatientLocation.html">PatientLocation</a></dt>
|
||||
<dd><p>The patient location used to look up the corresponding PoC settings.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a>></dt>
|
||||
<dd><p>A task that returns the matching <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a> if found; otherwise, <code>null</code>.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_Update_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.Update*"></a>
|
||||
|
||||
<h3 id="adas_core_Application_Repositories_Interfaces_IPoCSettingsRepository_Update_adas_core_Domain_Models_MongoModels_PoCSettings_" data-uid="adas_core.Application.Repositories.Interfaces.IPoCSettingsRepository.Update(adas_core.Domain.Models.MongoModels.PoCSettings)">
|
||||
Update(PoCSettings)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Updates the PoC (Proof of Concept) settings with the provided values.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">Task Update(PoCSettings pocSettings)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pocSettings</code> <a class="xref" href="adas_core.Domain.Models.MongoModels.PoCSettings.html">PoCSettings</a></dt>
|
||||
<dd><p>The PoC settings to be applied.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
|
||||
<dd><p>A task that represents the asynchronous update operation.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
+1217
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user