{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  "DatabaseSettings": {
    //"ConnectionString": "mongodb://admin:password@127.0.0.1:27017?authMechanism=SCRAM-SHA-256&amp;connectTimeoutMS=5000&amp;maxPoolSize=500&amp;retryWrites=true&amp;waitQueueMultiple=15",
    //"ConnectionString": "mongodb://localhost:27017",
    //"ConnectionString": "mongodb://smacsuci:2(R*aQpu2r@127.0.0.1:27017/?authSource=admin",
    //develop
    "ConnectionString": "mongodb://smacsuci:2(R*aQpu2r@10.0.20.67:18888/?authSource=admin",
    //"ConnectionString": "mongodb://smartuci:!H12o2020@10.206.250.147:21103/?authSource=smartuci",
    //producción
    //"ConnectionString": "mongodb://smartuci:!H12o2020@localhost:27017/?authSource=smartuci",
    //"ConnectionString": "mongodb://admin:4q*pHca@10.0.20.78:22007",
    "DatabaseName": "H12O_20240118"
  },
  "RabbitMQSettings": {
    "ConnectionString": "host=localhost;port=9999;username=smacs;password=smacs!;publisherConfirms=true;timeout=30",
    "PatientsQueue": "patients",
    "TreatmentsQueue": "treatments",
    "ObservationsQueue": "observations",
    "PumpsQueue": "pumps",
    "MaxRetries": 1
  },
  "ApiSettings": {
    "Customize": "H12O.UCIN",
    "PointOfCareMapping": {
      "Key": "PV1",
      "Required": false,
      "Refresh": 600
    },
    "ConfigObservation": {
      "Key": "PV1",
      "IgnoreUnknownObservation": true,
      "IgnoreUnknownTreatment": false,
      "Refresh": 60
    },
    "RecordingQueue": "recordings",
    "RetentionPolicy": "NoDelete",
    "RetentionPolicyValue": 0,
    "CreatePatientWithORU": true,
    "CreatePatientWithSIU": true,
    "CreatePatientWithoutLocation": false,
    "UpdatePatientDataWithORU": true,
    "UpdatePatientLocationWithORU": false,
    "ArchivePatientWithOru": false,
    "UpdatePatientNumberWithOru": false,
    "OnArchivePatientAction": "Archive",
    "ArchivePatientsWihtoutObservationsSinceDays": 10,
    "CheckInactivePatientSchedulerIntervalHours": 24,
    "CheckActiveTreatmentsSchedulerIntervalMinutes": 2,
    "SinceDischargeTimeToArchive": 48,
    "Shift": [
      "08:00",
      "15:00",
      "22:00"
    ],
    "FindPatientByLocationWithoutID": false,
    "PersistObservationCodes": true,
    "IccaFacility": "Philips.CIS.CVC",
    "SendingFacility": [
      "LABORATORIO"
    ],
    "AllergiesCode": [
      "473011001"
    ],
    "DrainageCode": [
      "56868008"
    ],
    "PositionCode": [
      "386053000"
    ],
    "IsolationCode": [
      "302147001"
    ],
    "HighFrequencyVentilation": [
      "PC-HFO",
      "Alto Flujo"
    ],
    "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",
      "CPAP",
      "V.N.I. Ciclada"
    ],
    "Surgery": [
      "138875005",
      "370896006",
      "370896006",
      "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",
      "18791000140100",
      "18801000140104",
      "18811000140101"
    ],
    "IntravenousLinesCode": [
      "10546003"
    ],
    "Electroencephalogram": [
      "42803009",
      "408987002"
    ],
    "Ecmo": [
      "705923009"
    ],
    "NotesIndicatingMedication": [
      "SUEROS Y HEMODER,Perfusiones,Medicación,NPT"
    ],
    //Dejar siempre en ultima posicion el Ino code 84481000140102
    "Respiratory": [
      "361110005",
      "416362002",
      "84481000140102"
    ],
    "Oni": [
      "84481000140102",
      "416362002"
    ],
    "BalizaUrl": "http://10.0.10.35/info.html",
    "BalizaPassword": "password",
    "ConfigObservationRefresh": 120,
    "ConfigUnitsRequired": true,
    "ActivateSchedulerCheckExpiredObservation": false,
    "schedulerCheckExpiredObservationsIntervalMinutes": 5,
    "diagnosisSystem": "Snomed-CT",
    "DiagnosisCode": [
      "55607006"
    ],
    "PumpExpiresSeconds": 120,
    "SendPumpsZero": false,
    "PumPressureAlarm": [],
    "VolumetricAirOcclusionAlarm": [
      "Accumulated Air In Line",
      "Air In Line",
      "Occlusion",
      "Upstream Occlusion"
    ],
    "EndContinuousInfusionAlarm": [
      "End Of Infusion",
      "Near End Of Infusion"
    ],
    "InotropicEndInfusionAlarm": [
      "Near End Of Infusion",
      "Occlusion",
      "Air In Line"
    ],
    "inotropicMedicines": [
      "Dopamina",
      "Dobutamina",
      "Milrinona",
      "Noradrenalina",
      "Levosimendán"
    ],
    "ActivateCheckInactivePatients": false
  }
}
