Exemple #1
0
 public AllergyMongoContext(string contractDBName)
     : base(contractDBName, true)
 {
     ContractName     = contractDBName;
     Allergies        = new MongoSet <MEAllergy, ObjectId>(this, COLL_Allergy);
     PatientAllergies = new MongoSet <MEPatientAllergy, ObjectId>(this, COLL_PatientAllergy);
 }
Exemple #2
0
 public PatientMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     Patients           = new MongoSet <MEPatient, ObjectId>(this, COLL_PATIENTS);
     PatientUsers       = new MongoSet <MEPatientUser, ObjectId>(this, COLL_PATIENTUSERS);
     CohortPatientViews = new MongoSet <MECohortPatientView, ObjectId>(this, COLL_COHORTPATIENTVIEWS);
 }
 public ProgramMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     Programs                = new MongoSet <MEProgram, ObjectId>(this, COLL_ContractProgramS);
     PatientPrograms         = new MongoSet <MEPatientProgram, ObjectId>(this, COLL_PatientProgramS);
     PatientProgramResponses = new MongoSet <MEPatientProgramResponse, ObjectId>(this, COLL_PatientProgramResponseS);
     Responses               = new MongoSet <MEResponse, ObjectId>(this, COLL_StepResponseS);
     ProgramAttributes       = new MongoSet <MEProgramAttribute, ObjectId>(this, COLL_ProgramAttributeS);
 }
Exemple #4
0
 public MedicationMongoContext(string contractDBName)
     : base(contractDBName, true)
 {
     ContractName          = contractDBName;
     Medications           = new MongoSet <MEMedication, ObjectId>(this, COLL_MedicationS);
     PatientMedSupps       = new MongoSet <MEPatientMedSupp, ObjectId>(this, COLL_PatientMedSupp);
     MedicationMaps        = new MongoSet <MEMedicationMapping, ObjectId>(this, COLL_MedMap);
     PatientMedFrequencies = new MongoSet <MEPatientMedFrequency, ObjectId>(this, COLL_PatientMedFrequency);
 }
Exemple #5
0
 public PatientGoalMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     PatientGoals         = new MongoSet <MEPatientGoal, ObjectId>(this, COLL_PatientGoalS);
     Goals                = new MongoSet <MEGoal, ObjectId>(this, COLL_GoalS);
     PatientBarriers      = new MongoSet <MEPatientBarrier, ObjectId>(this, COLL_PatientGoalBarrierS);
     PatientTasks         = new MongoSet <MEPatientTask, ObjectId>(this, COLL_PatientGoalTaskS);
     Tasks                = new MongoSet <METask, ObjectId>(this, COLL_GoalTaskS);
     PatientInterventions = new MongoSet <MEPatientIntervention, ObjectId>(this, COLL_PatientGoalInterventionS);
     Interventions        = new MongoSet <MEIntervention, ObjectId>(this, COLL_GoalInterventionS);
     AttributesLibrary    = new MongoSet <MEAttributeLibrary, ObjectId>(this, COLL_Attributes);
 }
 public ContactMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     Contacts = new MongoSet <MEContact, ObjectId>(this, COLL_ContactS);
 }
 public ModuleMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     Modules = new MongoSet <MEModule, ObjectId>(this, COLL_ModuleS);
 }
 public YesNoStepMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     YesNoSteps = new MongoSet <MEYesNo, ObjectId>(this, COLL_Step);
 }
 public SearchMongoContext(string contractDBName)
     : base(contractDBName, true)
 {
     ContractName = contractDBName;
     Searchs      = new MongoSet <MESearch, ObjectId>(this, COLL_SearchS);
 }
 public PatientObservationMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     PatientObservations = new MongoSet <MEPatientObservation, ObjectId>(this, COLL_PatientObservationS);
     Observations        = new MongoSet <MEObservation, ObjectId>(this, COLL_ObservationS);
 }
 public ContactCareTeamMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     CareTeam = new MongoSet <MEContactCareTeam, ObjectId>(this, CollectionName);
 }
Exemple #12
0
 public SchedulingMongoContext(string contractDBName)
     : base(contractDBName, true)
 {
     ToDos     = new MongoSet <METoDo, ObjectId>(this, COLL_ToDoS);
     Schedules = new MongoSet <MESchedule, ObjectId>(this, COLL_ScheduleS);
 }
Exemple #13
0
 public SecurityMongoContext() : base(dbServiceName, false)
 {
     APIUsers    = new MongoSet <MEAPIUser, ObjectId>(this, COLL_APIUSERS);
     APIKeys     = new MongoSet <MEAPIKey, ObjectId>(this, COLL_APIKEYS);
     APISessions = new MongoSet <MEAPISession, ObjectId>(this, COLL_APISESSIONS);
 }
Exemple #14
0
 public LookUpMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     LookUps  = new MongoSet <MELookup, ObjectId>(this, COLL_LOOKUP);
     Settings = new MongoSet <MESetting, ObjectId>(this, COLL_SETTING);
 }
 public PatientSystemMongoContext(string contractDBName)
     : base(ConfigurationManager.AppSettings.Get("PhytelServicesConnName"), contractDBName, true)
 {
     PatientSystems = new MongoSet <MEPatientSystem, ObjectId>(this, COLL_PatientSystemS);
     Systems        = new MongoSet <MESystem, ObjectId>(this, COLL_System);
 }