Download as ods, pdf, or txt
Download as ods, pdf, or txt
You are on page 1of 52

Control

Controls Usings
ASLControl.cs ASLServer.DataModels
Microsoft.Extensions.Hosting
System.Collections.Generic
System.Linq
System.Reactive.Subjects
QlmLicenseLib
Pulse

PeripheralControl.cs

SoundControl.cs Microsoft.EntityFrameworkCore

VirtualVentilatorControl.cs

LungModelControl.cs System.Threading;
Microsoft.AspNetCore.Server.IIS.Core;

SettingsControl.cs ASLServer.DataTransferObjects;
ASLServer.FunctionClasses.Helpers_and_Utils;
Microsoft.AspNetCore.Server.IIS.Core;
Microsoft.EntityFrameworkCore;
Microsoft.Extensions.DependencyInjection;
System.Collections.Generic;
System.Threading.Tasks;

TruMonitorControl

Page 1
Control

RandomizationControl

RpBoxControl

ScenarioControl

SpontBreathControl

TransitionControl

TrendingControl

Page 2
Control

Class Method
GetData
HandleRawData
GetAnalogData

SendPausedNotes

Disconnect(IPAddress ip)

NewClientConnected(string clientId)

SetModule
erver.IIS.Core;

ses.Helpers_and_Utils;
erver.IIS.Core;

pendencyInjection;

TruMonitorConnectionChanged
SetAllImages
GetStatus
SetAllParameters
SetAllLabs
SetParam
Mon_lock_timer_Elapsed
GetCurrentValues
SendTempImage
SetValues
SetWaveformID

Page 3
Control

AddImages
SendNote
HideAllLabs
HideAllParameters
SetAudioAlert
SetInstructorMode
SetDisplayTab

UpdateRandom

SetScenario
StartTransition
_transitionControl_TransitionComplete

SetModule

RemoveTransitionFromList
GetTrendParam

UpdateTrend

Page 4
Control

Properties Comments
static QLM.LicenseValidator lv;
static string settingsFile;
static string wizardExec;

_httpClient httpclient code can be removed


_deviceIP httpclient code can be removed
_port remove completely
_url httpclient code can be removed
_connected httpclient code can be removed
apiKey httpclient code can be removed
httpclient code can be removed
remove completely
httpclient code can be removed
remove completely
httpclient code can be removed

Page 5
Control

httpclient code can be removed


httpclient code can be removed
httpclient code can be removed
httpclient code can be removed
httpclient code can be removed
httpclient code can be removed
httpclient code can be removed

DebriefId

StoredSpontBreath

_simPaused

Page 6
API

API Usings Class Method


CommonUtility.cs Microsoft.Extensions.DependencyInjection; GetReturnValue
System.Linq; Dispose
System.Net.Http.Headers;
System.Threading.Tasks;
Microsoft.IdentityModel.Tokens;

PatientAPI.cs Newtonsoft.Json;
System.Linq;
System.Net.Http;
System.Threading.Tasks;

BaseAPIService BaseAPIService

Page 7
API

Properties Comments

Page 8
DTO

DTOs Usings Class Method


BreathByBreathDTO. System
System.Linq
System.Threading.Tasks

DebriefConditionDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

DebriefDTO System.Threading.Tasks

DebriefLearnerActionDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

DebriefLungModelDTO System.Collections.Generic
System.Linq
System.Threading.Tasks
ASLServer.DataModels
Newtonsoft.Json

DebriefNoteDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

DebriefSoundDataDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

DebriefVikDataDTO System.Linq
System.Threading.Tasks

DebriefVitalsInvestigationsDTO System.Collections.Generic

Page 9
DTO

System.Linq
System.Threading.Tasks

DebriefVitalsValuesDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

DebriefWaveformDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

LearnerActionDescriptionDTO System
System.Collections.Generic
System.Linq
System.Threading.Tasks

LearnerActionDTO System.Collections.Generic
System.Linq
System.Threading.Tasks
System.ComponentModel

LocalPlaylistDTO System.Threading.Tasks

LungModelDTO System.Linq
System.Threading.Tasks

Mappers System
System.Collections.Generic
System.Linq
System.Threading.Tasks
ASLServer.DataModels

PaletteDTO System.Drawing

Page 10
DTO

System.Threading.Tasks

PatientConditionDTO Newtonsoft.Json
System.Drawing
System.Threading.Tasks

PatientDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

PatientTypeDTO System
System.Collections.Generic
System.Linq
System.Threading.Tasks

RespiScopePlaylistDTO System
System.Threading.Tasks

ScenarioDiagramDTO System.Threading.Tasks

ScenarioInfoDTO System.Threading.Tasks

ScenarioPhaseDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

ScenarioWorksheetDTO Microsoft.AspNetCore.Components
Microsoft.EntityFrameworkCore.Metadata.Internal
System.Composition
System.Net.NetworkInformation
System.Reflection
System.Security.Cryptography.X509Certificates
System.Threading.Tasks

Page 11
DTO

SimpleScenarioDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

TagDTO System.Collections.Generic
System.Linq
System.Threading.Tasks

VitalsImagesDTO System
System.Collections.Generic
System.Linq
System.Threading.Tasks

VitalsLabsDTO System
System.Collections.Generic
System.Linq
System.Threading.Tasks
Microsoft.AspNetCore.Mvc

VitalsParametersDTO System
System.Collections.Generic
System.Linq
System.Threading.Tasks

VitalsWaveformsDTO System
System.Collections.Generic
System.Linq
System.Threading.Tasks

Page 12
DTO

Properties Comments

Page 13
DTO

DateCreated
DateModified

ToLearnerActionDTOMap

Page 14
DTO

LearningLevel

Page 15
Data Processing

Data Processing Usings

BreathParsing ASLServer.BackgroundServices
ASLServer.FunctionClasses.Helpers_and_Utils.Miscellaneous
ASLServer.FunctionClasses.Helpers_and_Utils.Settings

CreateProcessedData Microsoft.AspNetCore.Mvc.Filters
Microsoft.CodeAnalysis.CSharp.Syntax
System
System.Diagnostics
ASLServer.FunctionClasses.Helpers_and_Utils.Settings

Page 16
Data Processing

Class Method Properties Comments


FindAirwayPressureEqualsPEEP(ASLBreathInd
ices Indices, int[] VolMaxIndices, int[]
StartPatientEffortIndices, double[]
AirwayPressure, int loopCounter)

GetBreathIndices(List<ProcessedData>
processedData, double
BreathStartVolThreshold, double
ExpStartVolumeThreshold, bool lastPoint)

Page 17
Miscellaneous

Miscellaneous Usings Class Method


ArrayHelper System; ArrayHelper
System.Collections.Generic;
System.Threading.Tasks;

FixedSizedQueue System.Threading.Tasks

Sounds System.Threading.Tasks DeserializeFromJson(Stream s)


SerializeToJson(Stream s)
LocalPlaylistEntry
Add(LocalSounds sound)
FindSoundIndex
FindSoundIndex(Guid search)

Page 18
Miscellaneous

Properties Comments

Page 19
PulseHelper

PulseHelper Usings Class Method Properties


PulseTimeStep.cs System.Threading.Tasks; PulseTimeStep
System.Linq;

Page 20
PulseHelper

Comments

Page 21
Database Models

Database Models
Allergies.cs

AllergyToPatientMapping.cs
BronchopulmonaryHygieneDeviceEquipmentInfo.cs
CognitiveActivities.cs
CognitiveActivitiesToScenarioMapping.cs
ConfederateRoles.cs
ConfederateRoleToScenarioMapping.cs
ConnectionTypes.cs
DebriefBreathData.cs
DebriefDataView.cs
DebriefingGuidedReflectionQuestions.cs

DebriefingQuestionToScenarioId.cs

DebriefingQuestionToScenarioMapping.cs
DebriefLearnerActions.cs
DebriefLungModelData.cs
DebriefNotes.cs
DebriefPatientConditions.cs
Debriefs.cs
DebriefSoundData.cs
DebriefVikData.cs
DebriefVitalsInvestigationsData.cs
DebriefVitalsValuesData.cs
DebriefWaveformData.cs
DiagnosticsAvailable.cs
DiagnosticsToScenarioMapping.cs
Disciplines.cs

DisciplinesToScenarioMapping.cs

Dispositions.cs

DMMapData.cs

DocumentationForms.cs

DocumentationToScenarioMapping.cs
Equipment.cs

EquipmentAttachedToManikin.cs

Page 22
Database Models

EquipmentAttachedToManikinToScenarioMapping.cs

EquipmentAvailableInRoom.cs

EquipmentAvailableInRoomToScenarioMapping.cs

EquipmentToScenarioMapping.cs
EtTubeEquipmentInfo.cs
HighFlowDeviceEquipmentInfo.cs
Images.cs
ImageTypes.cs
Immunizations.cs

ImmunizationToPatientMapping.cs
LearnerActionDescriptions.cs
LearnerActions.cs
LearnerActionsToConditionMappings.cs
LearnerRoles.cs
LearnerRolesToScenarioMapping.cs
LearningGoals.cs
LearningGoalsToScenarioMapping.cs
LearningObjectives.cs
LearningObjectiveToScenarioMapping.cs
LmaEquipmentInfo.cs
LocalSounds.cs
LungModel.cs
LungModelParameters.cs

LungModelRandomization.cs
LungModelTags.cs

LungModelTrends.cs

MechanicalVentEquipmentInfo.cs
MedicationsAndFluids.cs

MedicationToScenarioMapping.cs
NonInvasiveEquipmentInfo.cs
NonMedicalProps.cs
NonMedicalPropToScenarioMapping.cs

Page 23
Database Models

OxygenDeliveryEquipmentInfo.cs
PaletteColors.cs

Palettes.cs
PatientConditionChildren.cs

PatientConditionConnections.cs
PatientConditionConnectors.cs

PatientConditionEndpoints.cs

PatientConditionImages.cs

PatientConditionLocalSounds.cs
PatientConditionOffsets.cs

PatientConditionParents.cs

PatientConditions.cs
PatientConditionToScenarioMapping.cs

PatientConditionVitals.cs

Patients.cs

PatientTypes.cs
PreBriefChecklist.cs

PrebriefChecklistToScenarioMapping.cs
PrereqChecklist.cs

PrereqChecklistToScenarioMapping.cs
Props.cs

PropsToScenarioId.cs
PropsToScenarioMapping.cs
PsychomotorSkills.cs
PsychomotorSkillsToScenarioMapping.cs
Religions.cs

Page 24
Database Models

ReligionToPatientMapping.cs

RespiScopeIps.cs
RespiScopeLocations.cs

RespiscopeSounds.cs
Roles.cs
RoleToScenarioMapping.cs
ScenarioInformation.cs

ScenarioPhases.cs
ScenarioProgressionToScenarioId.cs

ScenarioProgressionToScenarioMapping.cs
ScenarioProgressOutline.cs

Scenarios.cs
ScenarioTags.cs

SelectedDisciplines.cs
Serializable.cs

SettingEnvironment.cs
SettingEnvironmentToScenarioMapping.cs
SimplifiedLungModels.cs
SimulatorTaskToScenarioMapping.cs
SimulatorTaskTrainersNeeded.cs

SuctionEquipmentInfo.cs
Tags.cs
TrachEquipmentInfo.cs
TruMonitorWaveformOptions.cs

Page 25
Database Models

Users.cs

UserSettings.cs

VentialtionEquipmentModels.cs

VentilationEquipment.cs

VentilationEquipmentBrands.cs

VentilationEquipmentModels.cs

VentilationEquipmentToScenarioMapping.cs

VentilationEquipmentTypes.cs

VentSettings.cs
VitalsImages.cs
VitalsLabsAbg.cs
VitalsLabsBio.cs
VitalsLabsHema.cs
VitalsParameters.cs
VitalsVisibilities.cs

VitalsWaveforms.cs
WorksheetFields.cs

WorksheetSections.cs

Page 26
Database Models

Using

System.Collections.Generic;

System.Collections.Generic;

System.Collections.Generic;
System.Collections.Generic;
System;
System.Collections.Generic;
System;
System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;

System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;
System;

System.Collections.Generic;

System.Collections.Generic;
System;
System.Collections.Generic;
System.Linq;
System.Threading.Tasks;
System;

System.Collections.Generic;
System;

System;

Page 27
Database Models

System.Collections.Generic;
System;
System.Collections.Generic;
System;

System.Collections.Generic;
System;
System.Collections.Generic;

System;
System;

System.Collections.Generic;
System;

System.Collections.Generic;

System.Collections.Generic;

System.Collections.Generic;

System.Collections.Generic;

System.Collections.Generic;

System.Collections.Generic;

System.Collections.Generic;
System.Collections.Generic;

System.Collections.Generic;
System;

System;

System.Collections.Generic;

System.Collections.Generic;

Page 28
Database Models

System.Collections.Generic;

System.Collections.Generic;
System;
System.Collections.Generic;
System.Collections.Generic;
System;
System.Collections.Generic;
System;
System.Collections.Generic;
System;
System.Collections.Generic;
System.Collections.Generic;
System;
System.Collections.Generic;
System;

System.Collections.Generic;
System;
System;

System;

System.Collections.Generic;

System.Collections.Generic;
System.Collections.Generic;
System;
System.Collections.Generic;
System.Collections.Generic;

System.Collections.Generic;
System;

Page 29
Database Models

System.Collections.Generic;
System;
System.Collections.Generic;

System.Collections.Generic;
System.Collections.Generic;
System.Collections.Generic;

System.Collections.Generic;
System;
System.Collections.Generic;

System.Collections.Generic;
System.Linq;
System.Threading.Tasks;

System.Collections.Generic;

System.Collections.Generic;
System;

System.Collections.Generic;
System;

Page 30
Database Models

System.Collections.Generic;

System.Collections.Generic;
System;
System;

System;

System;
System.Collections.Generic;
System;
System.Collections.Generic;
System;

System;

System;

System.Collections.Generic;
System;

Page 31
Database Models

Class Method Properties


AllergyId
Allergy
Note
AllergyToPatientMapping

DebriefDataView
DebriefingGuidedReflectionQuestions

DebriefingQuestionToScenarioId

DebriefingQuestionToScenarioMapping

DiagnosticsAvailable
DiagnosticsToScenarioMapping
DisciplineId
IsDefault
ScenarioInfoId
DisciplineId
ScenarioInfo
Dispositions

DocumentId
Document
Note
DocumentationToScenarioMapping
EquipmentId
Equipment1
Note
EquipmentId
Equipment

Page 32
Database Models

Note
EquipmentAttachedToManikinToScenarioMapping

EquipmentId
Equipment
Note
EquipmentAvailableInRoomToScenarioMapping

EquipmentToScenarioMapping

ImmunizationId
Immunization
Note
ImmunizationToPatientMapping

IsDefault

Note

Note

IsTrending
TrendTime
TrendStartValue
TrendEndValue
IsRandomized
RandomAmplitude
RandomSeed

LungModelId
LungModel
LungModelTrends

MedicationFluidId
MedicationFluid
Note
MedicationToScenarioMapping

Page 33
Database Models

PaletteId
Palette

PatientConditionChildren

PatientConditionConnectors

PatientConditionEndpoints

PatientConditionImages

PatientConditionLocalSounds
PatientConditionOffsets

PatientConditionParents

VentSettingsId
PatientConditionToScenarioMapping

VitalsId
VitalsParametersId
VitalsWaveformsId
VitalsLabHaemId
VitalsLabAbgId
VitalsLabsBioId
VitalsParameters
VitalsWaveforms
BriefDescription
Age
LengthOfStay

Note
DefaultOrder

PrebriefInfoId
Checklist
Note
IsDefault
DefaultOrder
PrereqChecklistToScenarioMapping
Props

PropsToScenarioId
PropsToScenarioMapping

ReligionId

Page 34
Database Models

Religion
Notes
ReligionToPatientMapping

LocationId
LocationDescription
InternalName
RespiscopeSounds
Roles
RoleToScenarioMapping
DisciplineId
LearningLevel
SimLocation
ExpectedRunTime
DebriefingLocation
ExpectedDebriefTime
BuiltWith
LearnerDisciplines

ScenarioProgressionToScenarioId

ScenarioProgressionToScenarioMapping
ProgressId
TimingApprox
ManikinActions
VentilatorInteractionsSettings
ExpectedInterventions
MayUseFollowingCues
Note

ScenarioId
Scenario
SelectedDisciplines

Note

SimulatorTaskToScenarioMapping
TaskId
SimulatorTaskNeeded
Note

TagId

Page 35
Database Models

UserId
Username
FirstName
LastName
Email
PhoneNumber
UserSettingsId
Password
SettingsId
PaletteId
VentialtionEquipmentModels

EquipmentId
Note
BrandId
ModelId
AttachedToManikin
Size
EquipmentTypeId
Brand
EquipmentType
EquipmentBrandId
Brand
EquipmentTypeId
VentilationEquipmentModels

VentilationEquipmentToScenarioMapping

EquipmentTypeId
EquipmentType
VentMode

VitalsVisibilitiesId
Ecg
Bp
SpO2
EtCo2

ExportType
MaxListLength
WorksheetSections

Page 36
Database Models

Comments

Page 37
Database Models

Page 38
Database Models

Page 39
Database Models

Page 40
Database Models

Page 41
Background Services

BackgroundServices Classes

PatientMonitorApiWrapper
TruMonitorDataService

PatientMonitorDiscoveryAndConnection
PatientMonitorDiscoveryAndConnection

PatientMonitorDiscoveryFetchData
PatientMonitorDiscoveryFetchData

PatientMonitorOldCode

ASLDataService

DataStorageService

RandomizationService

TrendingService

TruMonitorDataService

VIKDataService

Page 42
Background Services

Methods Properties

SetInstructorMode
GetVitals

InitSubscribeToUpdatedConnectionSettings
TryToConnect
DiscoverAndConnectPatientMonitor
FetchDataFromPatientMonitor
GetWaveformOptions
RunOldLoop

AddVentParams _lastBreath
GetFlowValues _dataOutStream
CurrBreathRate
NewASLBreathRandomization

SetTargetPatientMonitorInfo defaultTruMonValues

Page 43
Background Services

Comments

It's a partial class, need to remove from this file, once these 2 methods removed it has no other implementation

no implementation

no implementation

If else block can be removed as DiscoverAndConnectPatientMonitor has no implementation

Page 44
Data Models

DataModels Classes

ASLAnalogRawData

ASLBreathByBreathData
ASLBreathIndices
ASLProcessedData
ASLRawData

ASLReducedData ASLReducedData

IVentMechanicsWaveformBuilder
VentMechanicsWaveformBuilder_SamplePlaceholderFile
StartupInfo
VentLoopsBuilder
VentMechanicItem
ModesOfVentilationData
ModeOfVentilationDataConstructor
ModeOfVentilationItem
PulsePatientActionDTO
Healthy_VC_AC_ImportedData
Rootobject Patientconfiguration
Datarequestmanager
Datarequest
Decimalformat

Anyaction
Patientaction
Respiratorymechanicsconfiguration Patientaction1
Action

Settings

Constantsegment

Beginvolume

Scalarvolume3

Scalarvolumeperpressure1

Page 45
Data Models

Scalarpressuretimepervolume

Scalarpressuretimepervolume1

Scalarpressuretimepervolume2

Scalarpressuretimepervolume3

Scalarpressuretimepervolume4

Scalarpressuretimepervolume5

Scalarpressure

Scalartime
Inspiratoryholdtime
Scalartime1
Scalartime2
Scalartime3
Expiratoryrisetime
Scalartime5
Expiratoryreleasetime
Scalartime6
Intubation
Patientaction2
Action1

Equipmentaction

Mechanicalventilatorvolumecontrol
Mechanicalventilatormode

Mechanicalventilatoraction
Equipmentaction1
Action2
Mechanicalventilatorleak
Mechanicalventilatoraction1
Equipmentaction2
Action3
Severity
Scalar0to11
Advancetime
Action4
Time

Page 46
Data Models

Scalartime8

ExcelHelper
VentSettingsDataModel
VentSettingsData
VentSettingsData

LungModelData

SoundData
SoundLocationData
SoundInfo
SpontBreathData

TransitionModel

TruMonitorData
==

ParameterData

VarsForAnalysis

VIKScanData

VIKParameterScanData

VR3Data VR3Data

Page 47
Data Models

Methods Properties Comments

Aux2

ResetPrevValues

pulseTimestamp
ActiveModeAsSerializedData

PatientConfiguration
DataRequestManager
Datarequest

AdvanceTime
Intubation
PatientAction

Active
ExpiratoryPeakPressure
InspiratoryHoldTime
ExpiratoryRiseTime
ExpiratoryHoldTime
ExpiratoryReleaseTime

BeginVolume
EndVolume

ScalarVolume

Value
Unit

Page 48
Data Models

Unit

Unit

Unit

Unit

Unit

Unit

Unit

Unit

Unit

Unit
Unit

MechanicalVentilatorLeak

MechanicalVentilatorMode
Connection

Page 49
Data Models

Partial class
LoadVentSettingsFromFile Partial class
GetVentSettingEnumFromStringId

GetLungModelValueAsDouble
Replace

StartSecondOrderEffort
GetSpontBreathValueAsDouble

StopTransition

operator overloading

description

UpdateID

ParameterID
Caption
ParameterAbbr
ModelName

Page 50
Helper

Helper Classes Methods Properties


AESHelper
BreathEffortHandler
StartSecondOrderEffort
ComputeEffort
SecondOrderEffort
FindP01

Helper
OnRawDataReady

Licensing
ValidateScenario

LoggerUtility CreateLogger
CreateLogger

PeripheralHelper

PulseManager PulseEngine

Settings
Vr3Helper ReadVR3
Set
GetVariable
GetModule
GetInt
GetByte
GetBool
GetString

Page 51
Helper

Comments

This has referred in StartSecondOrderEffort but StartSecondOrderEffort has 0 references

function overloading - can remove all the method which has 0 references
function overloading - can remove all the method which has 0 references
function overloading - can remove all the method which has 0 references
function overloading - can remove all the method which has 0 references
function overloading - can remove all the method which has 0 references
function overloading - can remove all the method which has 0 references
function overloading - can remove all the method which has 0 references

Page 52

You might also like