274 lines
7.4 KiB
JSON
274 lines
7.4 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"Serilog": {
|
|
"Using": [
|
|
"Serilog.Sinks.Console",
|
|
"Serilog.Sinks.File",
|
|
"Serilog.Exceptions",
|
|
"Serilog.Expressions",
|
|
"Serilog.Enrichers.Thread"
|
|
],
|
|
"Enrich": [
|
|
"WithExceptionDetails",
|
|
"WithDynamicProperty",
|
|
"WithThreadId"
|
|
],
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"adas_core": "Debug",
|
|
"EasyNetQ": "Information",
|
|
"Quartz": "Information",
|
|
"Microsoft": "Warning",
|
|
"System": "Error"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"formatter": {
|
|
"type": "Serilog.Templates.ExpressionTemplate, Serilog.Expressions",
|
|
"template": "{@t:yyyy-MM-dd HH:mm:ss} [{@l:u3}]{#if SourceContext is not null} ({SourceContext,35}){#end}: {@m}\n{@x}"
|
|
},
|
|
"theme": "Serilog.Sinks.SystemConsole.Themes.SystemConsoleTheme::Grayscale, Serilog.Sinks.Console"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/.log",
|
|
"formatter": {
|
|
"type": "Serilog.Templates.ExpressionTemplate, Serilog.Expressions",
|
|
"template": "{@t:yyyy-MM-dd HH:mm:ss} [{@l:u3}]{#if SourceContext is not null} ({#if Length(SourceContext) > 35}{Substring(SourceContext, Length(SourceContext) - 35)}{#else}{SourceContext,35}{#end}){#end}: {@m}{#if TraceId is not null} TraceId: {TraceId}{#end}{#if TraceMessageId is not null} TraceMessageId: {TraceMessageId}{#end} TraceIdentifier: {TraceIdentifier} Thread: {ThreadId} \n{@x}"
|
|
},
|
|
//"outputTemplate": "[{Timestamp:o}] [{Level:u}] [{SourceContext:l}] {Message}{NewLine}{Exception}",
|
|
"rollingInterval": 4,
|
|
//0: Infinite, 1: Year, 2: Month, 3: Day, 4: Hour, 5: Minute
|
|
"retainedFileCountLimit": 72,
|
|
// 3 days
|
|
"rollOnFileSizeLimit": true
|
|
//"fileSizeLimitBytes": 20971520 // 20Mb
|
|
}
|
|
}
|
|
],
|
|
"Properties": {
|
|
"Application": "ADASCORE"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"DatabaseSettings": {
|
|
//"ConnectionString": "mongodb://admin:password@127.0.0.1:27017?authMechanism=SCRAM-SHA-256&connectTimeoutMS=5000&maxPoolSize=500&retryWrites=true&waitQueueMultiple=15",
|
|
//"ConnectionString": "mongodb://smacs:!HRYCM21@10.0.20.78:20907",
|
|
//develop
|
|
"ConnectionString": "mongodb://smacsuci:2(R*aQpu2r@10.0.20.67:18888/?authSource=admin",
|
|
//producción
|
|
//"ConnectionString": "mongodb://admin:4q*pHca@10.0.20.78:22007",
|
|
//"ConnectionString": "mongodb://localhost:27017",
|
|
"DatabaseName": "hgugmm"
|
|
},
|
|
"RabbitMQSettings": {
|
|
"ConnectionString": "host=localhost;port=9999;username=smacs;password=smacs!;publisherConfirms=true;timeout=30",
|
|
//"ConnectionString": "host=localhost;port=18672;username=smacs;password=smacs;publisherConfirms=true;timeout=10",
|
|
"PatientsQueue": "patients",
|
|
"TreatmentsQueue": "treatments",
|
|
"ObservationsQueue": "observations",
|
|
"PumpsQueue": "pumps",
|
|
"MaxRetries": 1
|
|
},
|
|
//"ProvidersSettings": [
|
|
// {
|
|
// "Name": "Adas",
|
|
// "Url": "http://185.208.206.12:8080/"
|
|
// }
|
|
//],
|
|
|
|
"ApiSettings": {
|
|
"Customize": "HGMM",
|
|
"PointOfCareMapping": {
|
|
"Key": "PV1",
|
|
"Required": false,
|
|
"Refresh": 600
|
|
},
|
|
"ConfigObservation": {
|
|
"Key": "PV1",
|
|
"IgnoreUnknownObservation": true,
|
|
"IgnoreUnknownTreatment": false,
|
|
"Refresh": 60
|
|
},
|
|
"RetentionPolicy": "NoDelete",
|
|
"RetentionPolicyValue": 15,
|
|
"CreatePatientWithORU": true,
|
|
"CreatePatientWithSIU": true,
|
|
"CreatePatientWithoutLocation": false,
|
|
"CreatePatientWithADT_A08": false,
|
|
"UpdatePatientDataWithORU": true,
|
|
"UpdatePatientLocationWithORU": false,
|
|
"ArchivePatientWithOru": false,
|
|
"UpdatePatientNumberWithOru": false,
|
|
"OnArchivePatientAction": "Archive",
|
|
"ArchivePatientsWithoutObservationsSinceHours": 48,
|
|
"SinceDischargeTimeToArchive ": 48,
|
|
"CheckInactivePatientSchedulerIntervalHours": 24,
|
|
"CheckActiveTreatmentsSchedulerIntervalMinutes": 10,
|
|
"ActivateSchedulerGetProvidersObservations": false,
|
|
"SinceDischargeTimeToArchive": 48,
|
|
"Shift": [
|
|
"08:00",
|
|
"15:00",
|
|
"18:00"
|
|
],
|
|
"FindPatientByLocationWithoutID": false,
|
|
"PersistObservationCodes": true,
|
|
"IccaFacility": "Philips",
|
|
"SendingFacility": [
|
|
"LABORATORIO"
|
|
],
|
|
"AllergiesCode": [
|
|
"473011001"
|
|
],
|
|
"DrainageCode": [
|
|
"56868008"
|
|
],
|
|
"PositionCode": [
|
|
"386053000"
|
|
],
|
|
"IsolationCode": [
|
|
"302147001"
|
|
],
|
|
"HighFrequencyVentilation": [
|
|
"PC-HFO"
|
|
],
|
|
"InvasiveVentilation": [
|
|
"A/C (S.I.P.P.V. )",
|
|
"A/C (S.I.P.P.V.) + V.G.",
|
|
"PRVC",
|
|
"PC-SIMV",
|
|
"SIMV-PRVC",
|
|
"PC-AC",
|
|
"SIMV",
|
|
"SIMV-PC",
|
|
"S.I.M.V.",
|
|
"PC-CMV",
|
|
"SIPPV",
|
|
"PC"
|
|
],
|
|
"NonInvasiveVentilation": [
|
|
"DUOPAP",
|
|
"NCPAP"
|
|
],
|
|
"Surgery": [
|
|
"138875005",
|
|
"35631009",
|
|
"420419008",
|
|
"370897002",
|
|
"115959002",
|
|
"370896006"
|
|
],
|
|
"SurgeryText": [
|
|
"Cirugía láser of",
|
|
"Cirugía",
|
|
"Cirugía sentidos",
|
|
"Cirugía respirat",
|
|
"Cirugía locomoto",
|
|
"Cirugía renal",
|
|
"Cirugía digestiv",
|
|
"Cirugía neuro"
|
|
],
|
|
"Transcutaneous": [
|
|
"151756",
|
|
"151760"
|
|
],
|
|
"RegionalBrainSaturation": [
|
|
"194908",
|
|
"194909"
|
|
],
|
|
"MedicationBolus": [
|
|
"000523",
|
|
"001034",
|
|
"21011000140105",
|
|
"322440003",
|
|
"322761006",
|
|
"18851000140100",
|
|
"333919005",
|
|
"333920004",
|
|
"333922007"
|
|
],
|
|
"IntravenousLinesCode": [
|
|
"10546003"
|
|
],
|
|
"Electroencephalogram": [
|
|
"42803009"
|
|
],
|
|
//Dejar siempre en ultima posicion el Ino code 84481000140102
|
|
"Respiratory": [
|
|
"361110005",
|
|
"416362002",
|
|
"84481000140102"
|
|
],
|
|
"Oni": "84481000140102",
|
|
"BalizaUrl": "http://10.0.10.35/info.html",
|
|
"BalizaPassword": "password",
|
|
"TimeToSendGroupedObs": 20,
|
|
"ActivateSchedulerCheckNewsJob": true,
|
|
"ConfigObservationRefresh": 150,
|
|
"ConfigUnitsRequired": true,
|
|
"ActivateSchedulerCheckExpiredObservation": true,
|
|
"SchedulerCheckExpiredObservationsIntervalMinutes": 5,
|
|
"PumpExpiresSeconds": 100,
|
|
"SendPumpsZero": false,
|
|
"PumPressureAlarm": [
|
|
"Downstream Occlusion"
|
|
],
|
|
"VolumetricAirOcclusionAlarm": [
|
|
"Occlusion",
|
|
"Upstream Occlusion"
|
|
],
|
|
"VolumetricAirInLineAlarm": [
|
|
"Accumulated Air In Line",
|
|
"Air In Line",
|
|
"Air In Line Now"
|
|
],
|
|
"EndContinuousInfusionAlarm": [
|
|
"End Of Infusion",
|
|
"Near End Of Infusion",
|
|
"End Of Infusion - KVO Stop",
|
|
"End Of Infusion - KVO",
|
|
"End Of Infusion - Stop"
|
|
],
|
|
"InotropicEndInfusionAlarm": [
|
|
"End Of Infusion",
|
|
"Near End Of Infusion",
|
|
"End Of Infusion - KVO Stop",
|
|
"End Of Infusion - KVO",
|
|
"End Of Infusion - Stop"
|
|
],
|
|
"InotropicMedicines": [
|
|
"Dopamina",
|
|
"Dobutamina",
|
|
"Milrinona",
|
|
"Noradrenalina",
|
|
"Levosimendán",
|
|
"Alteplasa-rTPA",
|
|
"Esmolol",
|
|
"Milrinona",
|
|
"Nitroprusiato",
|
|
"Norad BASE"
|
|
],
|
|
"ActivateCheckInactivePatients": true,
|
|
"PathUpdateFiles": [
|
|
"C:",
|
|
"MeddisPicu_Deploy",
|
|
"configs",
|
|
"updateFiles"
|
|
],
|
|
"CalculateExtremeEvents": true,
|
|
"PushPatientWithORU": true
|
|
}
|
|
}
|