Initial committ of scheduling package

This commit is contained in:
sam 2009-11-30 08:53:28 +00:00
parent 394766ad38
commit c0b331a722
237 changed files with 50711 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,59 @@
using System.Reflection;
using System.Runtime.CompilerServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: AssemblyTitle("ClinicalScheduling")]
[assembly: AssemblyDescription("IHS Windows Scheduling Application")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Indian Health Service")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.1.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
[assembly: AssemblyKeyName("")]
[assembly: AssemblyFileVersionAttribute("2.1.0.0")]

Binary file not shown.

View File

@ -0,0 +1,537 @@
using System;
using System.Collections;
using System.Data;
//using System.Data.OleDb;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using IndianHealthService.BMXNet;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Contains array of availability blocks for a scheduling resource
/// </summary>
public class CGAVDocument : System.Object
{
public CGAVDocument()
{
m_AVBlocks = new CGAppointments();
m_sResourcesArray = new ArrayList();
}
#region Member Variables
public int m_nColumnCount; //todo: this should point to the view's member for column count
public int m_nTimeUnits;
public string m_sSecondary;
private string m_sDocName;
public ArrayList m_sResourcesArray;
public ScheduleType m_ScheduleType;
private DateTime m_dSelectedDate; //Holds the user's selection from the dtpicker
private DateTime m_dStartDate; //Beginning date of document data
private DateTime m_dEndDate; //Ending date of document data
public CGAppointments m_AVBlocks;
private CGDocumentManager m_DocManager;
private int m_nDocID; //Resource IEN in ^BSDXRES
#endregion
#region Properties
/// <summary>
/// Resource IEN in ^BSDXRES
/// </summary>
public int ResourceID
{
get
{
return m_nDocID;
}
set
{
m_nDocID = value;
}
}
/// <summary>
/// The list of Resource names
/// </summary>
public ArrayList Resources
{
get
{
return this.m_sResourcesArray;
}
set
{
this.m_sResourcesArray = value;
}
}
public CGDocumentManager DocManager
{
get
{
return m_DocManager;
}
set
{
m_DocManager = value;
}
}
/// <summary>
/// Contains the hashtable of Availability Blocks
/// </summary>
public CGAppointments AVBlocks
{
get
{
return m_AVBlocks;
}
set
{
m_AVBlocks = value;
}
}
/// <summary>
/// Holds the date selected by the user in CGView.dateTimePicker1
/// </summary>
public DateTime SelectedDate
{
get
{
return this.m_dSelectedDate;
}
set
{
this.m_dSelectedDate = value;
bool bRet = false;
if (m_ScheduleType == ScheduleType.Resource)
{
bRet = this.WeekNeedsRefresh(1, m_dSelectedDate, out this.m_dStartDate, out this.m_dEndDate);
}
else
{
this.m_dStartDate = m_dSelectedDate;
this.m_dEndDate = m_dSelectedDate;
this.m_dEndDate = this.m_dEndDate.AddHours(23);
this.m_dEndDate = this.m_dEndDate.AddMinutes(59);
this.m_dEndDate = this.m_dEndDate.AddSeconds(59);
}
bRet = this.RefreshDaysSchedule();
}
}
/// <summary>
/// Contains the beginning date of the appointment document
/// </summary>
public DateTime StartDate
{
get
{
return this.m_dStartDate;
}
}
public string DocName
{
get
{
return this.m_sDocName;
}
set
{
this.m_sDocName = value;
}
}
#endregion
#region Methods
public void ChangeAppointmentTime(CGAppointment pAppt, DateTime dNewStart, DateTime dNewEnd, string sResource)
{
try
{
DateTime dOldStart = pAppt.StartTime;
DateTime dOldEnd = pAppt.EndTime;
if ((dOldStart == dNewStart) && (dOldEnd == dNewEnd))
{ //no change in time
return;
}
foreach (CGAppointment a in m_AVBlocks.AppointmentTable.Values)
{
DateTime sStart2 = a.StartTime;
DateTime sEnd2 = a.EndTime;
if ((a.AppointmentKey != pAppt.AppointmentKey) && (CGSchedLib.TimesOverlap(dNewStart, dNewEnd, a.StartTime, a.EndTime)))
{
MessageBox.Show("Access blocks may not overlap.","IHS Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
}
this.DeleteAvailability(pAppt.AppointmentKey);
pAppt.StartTime = dNewStart;
pAppt.EndTime = dNewEnd;
pAppt.Resource = sResource;
this.CreateAppointment(pAppt);
}
catch(Exception e)
{
MessageBox.Show("CGDocument::ChangeAppointmentTime failed: " + e.Message);
return;
}
}
public void DeleteAvailability(int nApptID)
{
if (this.m_AVBlocks.AppointmentTable.ContainsKey(nApptID))
{
string sSql = "BSDX CANCEL AVAILABILITY^" + nApptID.ToString();
DataTable dtAppt =m_DocManager.RPMSDataTable(sSql, "DeleteAvailability");
int nErrorID;
Debug.Assert(dtAppt.Rows.Count == 1);
DataRow r = dtAppt.Rows[0];
nErrorID = Convert.ToInt32(r["ERRORID"]);
this.m_AVBlocks.RemoveAppointment(nApptID);
UpdateAllViews();
}
}
/// <summary>
/// Called by LoadTemplate to create Access Block
/// Returns the IEN of the availability block in the RPMS BSDX AVAILABILITY file.
/// </summary>
public int CreateAppointmentAuto(CGAppointment rApptInfo)
{
try
{
string sStart;
string sEnd;
string sResource;
string sNote;
string sTypeID;
string sSlots;
sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm");
sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm");
sNote = rApptInfo.Note;
sResource = rApptInfo.Resource;
sTypeID = rApptInfo.AccessTypeID.ToString();
sSlots = rApptInfo.Slots.ToString();
CGAppointment aCopy = new CGAppointment();
aCopy.CreateAppointment(rApptInfo.StartTime, rApptInfo.EndTime, sNote, 0, sResource);
aCopy.AccessTypeID = rApptInfo.AccessTypeID;
aCopy.Slots = rApptInfo.Slots;
aCopy.IsAccessBlock = true;
string sSql = "BSDX ADD NEW AVAILABILITY^" + sStart + "^" + sEnd + "^" + sTypeID + "^" + sResource + "^" + sSlots + "^" + sNote;
DataTable dtAppt =m_DocManager.RPMSDataTable(sSql, "NewAvailability");
int nApptID;
int nErrorID;
Debug.Assert(dtAppt.Rows.Count == 1);
DataRow r = dtAppt.Rows[0];
nApptID =Convert.ToInt32(r["AVAILABILITYID"]);
nErrorID = Convert.ToInt32(r["ERRORID"]);
if (nErrorID != -1)
{
throw new Exception("RPMS Error");
}
Debug.Write("CreateAvailabilityAuto -- new AV block created\n");
UpdateAllViews();
aCopy.AppointmentKey = nApptID;
return nApptID;
}
catch (Exception ex)
{
Debug.Write("CGAVDocument.CreateAppointmentAuto Failed: " + ex.Message);
return -1;
}
}
public int CreateAppointment(CGAppointment rApptInfo)
{
try
{
string sStart;
string sEnd;
string sResource;
string sNote;
string sTypeID;
string sSlots;
sStart = rApptInfo.StartTime.ToString("M-d-yyyy@HH:mm");
sEnd = rApptInfo.EndTime.ToString("M-d-yyyy@HH:mm");
sNote = rApptInfo.Note;
sResource = rApptInfo.Resource;
sTypeID = rApptInfo.AccessTypeID.ToString();
sSlots = rApptInfo.Slots.ToString();
CGAppointment aCopy = new CGAppointment();
aCopy.CreateAppointment(rApptInfo.StartTime, rApptInfo.EndTime, sNote, 0, sResource);
aCopy.AccessTypeID = rApptInfo.AccessTypeID;
aCopy.Slots = rApptInfo.Slots;
aCopy.IsAccessBlock = true;
aCopy.AccessTypeName = this.AccessNameFromID(aCopy.AccessTypeID);
foreach (CGAppointment a in this.m_AVBlocks.AppointmentTable.Values)
{
DateTime sStart2 = a.StartTime;
DateTime sEnd2 = a.EndTime;
if (CGSchedLib.TimesOverlap(aCopy.StartTime, aCopy.EndTime, a.StartTime, a.EndTime))
{
// throw new Exception("Access blocks may not overlap.");
MessageBox.Show("Access blocks may not overlap.","IHS Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return -1;
}
}
string sSql = "BSDX ADD NEW AVAILABILITY^" + sStart + "^" + sEnd + "^" + sTypeID + "^" + sResource + "^" + sSlots + "^" + sNote;
DataTable dtAppt =m_DocManager.RPMSDataTable(sSql, "NewAvailability");
int nApptID;
int nErrorID;
Debug.Assert(dtAppt.Rows.Count == 1);
DataRow r = dtAppt.Rows[0];
nApptID =Convert.ToInt32(r["AVAILABILITYID"]);
nErrorID = Convert.ToInt32(r["ERRORID"]);
if (nErrorID != -1)
{
throw new Exception("RPMS Error");
}
Debug.Write("CreateAvailability -- new AV block created\n");
aCopy.AppointmentKey = nApptID;
this.m_AVBlocks.AddAppointment(aCopy);
UpdateAllViews();
return nApptID;
}
catch (Exception ex)
{
Debug.Write("CGAVDocument.CreateAppointment Failed: " + ex.Message);
return -1;
}
}
private int GetTotalMinutes(DateTime dDate)
{
return ((dDate.Hour * 60) + dDate.Minute);
}
private string AccessNameFromID(int nAccessTypeID)
{
DataView dvTypes = new DataView(this.DocManager.GlobalDataSet.Tables["AccessTypes"]);
dvTypes.Sort = "BMXIEN ASC";
int nRow = dvTypes.Find(nAccessTypeID);
DataRowView drv = dvTypes[nRow];
string sAccessTypeName = drv["ACCESS_TYPE_NAME"].ToString();
return sAccessTypeName;
}
/// <summary>
/// Update availability block schedule based on info in RPMS
/// </summary>
public bool RefreshDaysSchedule()
{
DateTime dStart;
DateTime dEnd;
int nKeyID;
string sNote;
string sResource;
string sAccessType;
string sSlots;
CGAppointment pAppointment;
CGDocumentManager pApp = CGDocumentManager.Current;
DataTable rAppointmentSchedule;
this.m_AVBlocks.ClearAllAppointments();
ArrayList apptTypeIDs = new ArrayList();
rAppointmentSchedule = CGSchedLib.CreateAssignedSlotSchedule(m_DocManager, (string) m_sResourcesArray[0], this.m_dStartDate, this.m_dEndDate, apptTypeIDs,/* */ this.m_ScheduleType, "0");
CGSchedLib.OutputArray(rAppointmentSchedule, "rAppointmentSchedule");
foreach (DataRow r in rAppointmentSchedule.Rows)
{
nKeyID = Convert.ToInt32(r["AVAILABILITYID"].ToString());
if (nKeyID > 0)
{
dStart = (DateTime) r["START_TIME"];
dEnd = (DateTime) r["END_TIME"];
sNote = r["NOTE"].ToString();
sResource = r["RESOURCE"].ToString();
sAccessType = r["ACCESS_TYPE"].ToString();
sSlots = r["SLOTS"].ToString();
pAppointment = new CGAppointment();
pAppointment.CreateAppointment(dStart, dEnd, sNote, nKeyID, sResource);
pAppointment.AccessTypeID = Convert.ToInt16(sAccessType);
pAppointment.Slots = Convert.ToInt16(sSlots);
pAppointment.IsAccessBlock = true;
pAppointment.AccessTypeName = this.AccessNameFromID(pAppointment.AccessTypeID);
this.m_AVBlocks.AddAppointment(pAppointment);
}
}
return true;
}
/// <summary>
/// Given a selected date,
/// Calculates StartDay and End Day and returns them in output params.
/// nWeeks == number of Weeks to display
/// nColumnCount is number of days displayed per week. If 5 columns, begin on
/// Monday, if 7 Columns, begin on Sunday
///
/// Returns TRUE if the document's data needs refreshing based on
/// this newly selected date.
/// </summary>
public bool WeekNeedsRefresh(int nWeeks, DateTime SelectedDate,
out DateTime WeekStartDay, out DateTime WeekEndDay)
{
DateTime OldStartDay = m_dStartDate;
DateTime OldEndDay = m_dEndDate;
int nWeekDay = (int) SelectedDate.DayOfWeek; //0 == Sunday
int nOff = 1;
TimeSpan ts = new TimeSpan(nWeekDay - nOff,0,0,0); //d,h,m,s
if (m_nColumnCount == 1)
{
ts = new TimeSpan(0,23,59,59);
WeekStartDay = SelectedDate;
}
else
{
WeekStartDay = SelectedDate - ts;
if (m_nColumnCount == 7)
{
ts = new TimeSpan(1,0,0,0);
WeekStartDay -= ts;
}
int nEnd = (m_nColumnCount == 7) ? 1 : 3;
ts = new TimeSpan((7* nWeeks) - nEnd, 23, 59,59);
}
WeekEndDay = WeekStartDay + ts;
bool bRet = (( WeekStartDay.Date != OldStartDay.Date) || (WeekEndDay.Date != OldEndDay.Date));
return bRet;
}
public void OnOpenDocument()
{
//Create new Document
// DateTime dStart;
// DateTime dEnd;
Debug.Assert(m_sResourcesArray.Count > 0);
m_sSecondary = "";
m_ScheduleType = (m_sResourcesArray.Count == 1) ? ScheduleType.Resource: ScheduleType.Clinic;
bool bRet = false;
//Set initial From and To dates based on current day
// DateTime dDate = new DateTime(2001,12,05); //test line
DateTime dDate = DateTime.Today;
if (m_ScheduleType == ScheduleType.Resource)
{
bRet = this.WeekNeedsRefresh(1,dDate, out this.m_dStartDate, out this.m_dEndDate);
}
else
{
this.m_dStartDate = dDate;
this.m_dEndDate = dDate;
this.m_dEndDate = this.m_dEndDate.AddHours(23);
this.m_dEndDate = this.m_dEndDate.AddMinutes(59);
this.m_dEndDate = this.m_dEndDate.AddSeconds(59);
}
bRet = this.RefreshDaysSchedule();
CGAVView view = null;
//If this document already has a view, the use it
Hashtable h = CGDocumentManager.Current.AvailabilityViews;
CGAVDocument d;
bool bReuseView = false;
foreach (CGAVView v in h.Keys)
{
d = (CGAVDocument) h[v];
if (d == this)
{
view = v;
bReuseView = true;
break;
}
}
//Otherwise, create new View
if (bReuseView == false)
{
view = new CGAVView();
view.DocManager = this.DocManager;
view.StartDate = m_dStartDate;
//Assign the document to the view
view.Document = this;
//Link the calendargrid's appointments table to the document's table
view.AVBlocks = this.AVBlocks;
view.Text = "Edit Availability - " + this.DocName;
view.Show();
}
this.UpdateAllViews();
}
public void AddResource(string sResource)
{
//TODO: Test that resource is not currently in list, that it IS a resource, etc
this.m_sResourcesArray.Add(sResource);
this.UpdateAllViews();
}
/// <summary>
/// Calls each AVview associated with this AVdocument and tells it to update itself
/// </summary>
public void UpdateAllViews()
{
//iterate through all views and call update.
Hashtable h = CGDocumentManager.Current.AvailabilityViews;
CGAVDocument d;
foreach (CGAVView v in h.Keys)
{
d = (CGAVDocument) h[v];
if (d == this)
{
v.UpdateArrays();
}
}
}
#endregion
}//End class
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,158 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ctxApptClipMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ctxCalendarGrid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>151, 17</value>
</metadata>
<data name="calendarGrid1.Resources" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAEAQAAABxTeXN0ZW0uQ29sbGVjdGlvbnMuQXJyYXlMaXN0AwAAAAZfaXRl
bXMFX3NpemUIX3ZlcnNpb24FAAAICAkCAAAAAAAAAAAAAAAQAgAAAAAAAAAL
</value>
</data>
<metadata name="mainMenu1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>281, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAIAICAQAAAAAADoAgAAJgAAABAQEAAAAAAAKAEAAA4DAAAoAAAAIAAAAEAAAAABAAQAAAAAAIAC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAMDAwACAgIAAAAD/AAD/
AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIh3iI
iId4iAAAAAAAAAAACId4iIiHeIAiIiIggAAAAAAAAAAAAAgCqqqqoggAAAAAAAAAAACAKqqqqiAIAAiH
eId4iIiIAqqqqqIAAIAIh3iHeIiIgCqqqqogAACAAAAAAAAACAKqqqqiAAAAgAAAAAAAAIAqqqqqIAAA
AIAAAAAAAAgCqqqqogAAAAgAAAAAAAAAIiIiIiAAAACAAAAA////8AAAAAAAAAAIAAAAAP////8Aqqqq
IAAAgAAAAAD/iIj/gCqqqqIACAAAAAAA/4iI/4gCqqqqIIAAAAAAAP//////8AAAAAgAAAAAAAD/////
//+IiIiPAAAAAAAA/4iI/4iI/4iI/wAAAAAAAP+IiP+IiP+IiP8AAAAAAAD/////////////AAAAAAAA
/////////////wAAAAAAAP+IiP+IiP+IiP8AAAAAAAD/iIj/iIj/iIj/AAAAAAAA/////////////wAA
AAAAAP////////////8AAAAAAERERERERERERERERAAAAABEREREREREREREREQAAAAARERERERERERE
REREAAAAAERERERERERERERERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////
///4AAAP+AAAB///gAP//wADgAAAAYAAAAH/+AAB//AAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8AA
AD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/////////
//8oAAAAEAAAACAAAAABAAQAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAA
AACAAIAAgIAAAMDAwACAgIAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAAAHh4iHgA
CAAAAAAAACIiAAh4eIgCqqIIAAAAACqqIAAAAAACqqIAAAAP/wAAAAAAAA+IgKqiAAAAD//4AADwAAAP
iPiPiPAAAA//////8AAAD4j4j4jwAAAP//////AAAERERERERAAAREREREREAAAAAAAAAAAA//8AAMAD
AAD/gQAAgAAAAP4AAADAAQAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAA//8AAA==
</value>
</data>
</root>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.Name">
<value>CGDocumentManager</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,992 @@
using System;
using System.Data;
//using System.Data.OleDb;
using System.Collections;
using System.Diagnostics;
using System.Drawing;
using IndianHealthService.BMXNet;
namespace IndianHealthService.ClinicalScheduling
{
public enum ScheduleType
{
Resource,
Clinic
}
/// <summary>
/// CGSchedLib contains static functions that are called from throughout the
/// scheduling application.
/// </summary>
public class CGSchedLib
{
public CGSchedLib()
{
}
public static DataTable CreateAppointmentSchedule(CGDocumentManager docManager, ArrayList saryResNames, DateTime StartTime, DateTime EndTime)
{
string sResName = "";
for (int i = 0; i < saryResNames.Count; i++)
{
sResName += saryResNames[i];
if ((i+1) < saryResNames.Count)
sResName += "|";
}
string sStart;
string sEnd;
sStart = StartTime.ToString("M-d-yyyy");
sEnd = EndTime.ToString("M-d-yyyy@HH:m");
string sSql = "BSDX CREATE APPT SCHEDULE^" + sResName + "^" + sStart + "^" + sEnd ;
DataTable dtRet = docManager.RPMSDataTable(sSql, "AppointmentSchedule");
return dtRet;
}
public static void OutputArray(DataTable dt, string sName)
{
#if (DEBUG && OUTPUTARRAY)
Debug.Write("\n " + sName + " OutputArray:\n");
if (dt == null)
return;
foreach (DataColumn c in dt.Columns)
{
Debug.Write(c.ToString());
}
Debug.Write("\n");
foreach (DataRow r in dt.Rows)
{
foreach (DataColumn c in dt.Columns)
{
Debug.Write(r[c].ToString());
}
Debug.Write("\n");
}
Debug.Write("\n");
#endif
}
public static DataTable CreateAvailabilitySchedule(CGDocumentManager docManager,
ArrayList saryResourceNames, DateTime StartTime, DateTime EndTime,
ArrayList saryApptTypes,/**/ ScheduleType stType, string sSearchInfo)
{
DataTable rsOut;
rsOut = new DataTable("AvailabilitySchedule");
DataTable rsSlotSchedule;
DataTable rsApptSchedule;
DataTable rsTemp1;
int nSize = saryResourceNames.Count;
if (nSize == 0)
{
return rsOut;
}
string sResName;
for (int i = 0; i < nSize; i++)
{
sResName = saryResourceNames[i].ToString();
rsSlotSchedule = CGSchedLib.CreateAssignedSlotSchedule(docManager, sResName, StartTime, EndTime, saryApptTypes,/**/ stType, sSearchInfo);
OutputArray(rsSlotSchedule, "rsSlotSchedule");
if (rsSlotSchedule.Rows.Count > 0 )
{
rsApptSchedule = CGSchedLib.CreateAppointmentSlotSchedule(docManager, sResName, StartTime, EndTime, stType);
OutputArray(rsApptSchedule, "rsApptSchedule");
rsTemp1 = CGSchedLib.SubtractSlotsRS2(rsSlotSchedule, rsApptSchedule, sResName);
OutputArray(rsTemp1, "rsTemp1");
}
else
{
rsTemp1 = rsSlotSchedule;
OutputArray(rsTemp1, "rsTemp1");
}
if (i == 0)
{
rsOut = rsTemp1;
OutputArray(rsOut, "rsOut");
}
else
{
rsOut = CGSchedLib.UnionBlocks(rsTemp1, rsOut);
OutputArray(rsOut, "United rsOut");
}
}
return rsOut;
}
public static DataTable CreateAssignedTypeSchedule(CGDocumentManager docManager, string sResourceName, DateTime StartTime, DateTime EndTime, ScheduleType stType)
{
string sStart;
string sEnd;
sStart = StartTime.ToString("M-d-yyyy");
sEnd = EndTime.ToString("M-d-yyyy");
// string sSource = (stType == ScheduleType.Resource ? "ST_RESOURCE" : "ST_CLINIC");
string sSql = "BSDX TYPE BLOCKS OVERLAP^" + sStart + "^" + sEnd + "^" + sResourceName ;//+ "^" + sSource;
DataTable rs = docManager.RPMSDataTable(sSql, "AssignedTypeSchedule");
if (rs.Rows.Count == 0)
return rs;
DataTable rsCopy = new DataTable("rsCopy");
DataColumn dCol = new DataColumn();
dCol.DataType = Type.GetType("System.DateTime");
dCol.ColumnName = "StartTime";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
rsCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.DateTime");
dCol.ColumnName = "EndTime";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
rsCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.Int16");
dCol.ColumnName = "AppointmentTypeID";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
rsCopy.Columns.Add(dCol);
dCol = new DataColumn();
//dCol.DataType = Type.GetType("System.Int16");
dCol.DataType = Type.GetType("System.Int32"); //MJL 11/17/2006
dCol.ColumnName = "AvailabilityID";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
rsCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.String");
dCol.ColumnName = "ResourceName";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
rsCopy.Columns.Add(dCol);
DateTime dLastEnd;
DateTime dStart;
DateTime dEnd;
// DataRow r;
DataRow rNew;
rNew = rs.Rows[rs.Rows.Count - 1];
dLastEnd = (DateTime) rNew["EndTime"];
rNew = rs.Rows[0];
dStart = (DateTime) rNew["StartTime"];
long UNSPECIFIED_TYPE = 10;
long UNSPECIFIED_ID = 0;
//if first block in vgetrows starts later than StartTime,
// then pad with a new block
if (dStart > StartTime)
{
dEnd = dStart;
rNew = rsCopy.NewRow();
rNew["StartTime"] = StartTime;
rNew["EndTime"] = dEnd;
rNew["AppointmentTypeID"] = UNSPECIFIED_TYPE;
rNew["AvailabilityID"] = UNSPECIFIED_ID;
rNew["ResourceName"] = sResourceName;
rsCopy.Rows.Add(rNew);
}
//if first block start time is < StartTime then trim
if (dStart < StartTime)
{
rNew = rs.Rows[0];
rNew["StartTime"] = StartTime;
dStart = StartTime;
}
int nAppointmentTypeID;
int nAvailabilityID;
dEnd = dStart;
foreach (DataRow rEach in rs.Rows)
{
dStart = (DateTime) rEach["StartTime"];
if (dStart > dEnd)
{
rNew = rsCopy.NewRow();
rNew["StartTime"] = dEnd;
rNew["EndTime"] = dStart;
rNew["AppointmentTypeID"] = 0;
rNew["AvailabilityID"] = UNSPECIFIED_ID;
rNew["ResourceName"] = sResourceName;
rsCopy.Rows.Add(rNew);
}
dEnd = (DateTime) rEach["EndTime"];
if (dEnd > EndTime)
dEnd = EndTime;
nAppointmentTypeID = (int) rEach["AppointmentTypeID"];
nAvailabilityID = (int) rEach["AvailabilityID"];
rNew = rsCopy.NewRow();
rNew["StartTime"] = dStart;
rNew["EndTime"] = dEnd;
rNew["AppointmentTypeID"] = nAppointmentTypeID;
rNew["AvailabilityID"] = nAvailabilityID;
rNew["ResourceName"] = sResourceName;
rsCopy.Rows.Add(rNew);
}
//Pad the end if necessary
if (dLastEnd < EndTime)
{
rNew = rsCopy.NewRow();
rNew["StartTime"] = dLastEnd;
rNew["EndTime"] = EndTime;
rNew["AppointmentTypeID"] = UNSPECIFIED_TYPE;
rNew["AvailabilityID"] = UNSPECIFIED_ID;
rNew["ResourceName"] = sResourceName;
rsCopy.Rows.Add(rNew);
}
OutputArray(rsCopy, "CreateAssignedTypeSchedule");
return rsCopy;
}
public static DataTable CreateAssignedSlotSchedule(CGDocumentManager docManager, string sResourceName, DateTime StartTime, DateTime EndTime, ArrayList rsaryApptTypeIDs, /**/ ScheduleType stType, string sSearchInfo)
{
//Appointment type ids is now always "" so that all appointment types are returned.
string sApptTypeIDs = "";
//The following code block is not used now, but keep for possible later use:
//Unpack the Appointment Type IDs
/*
*/
int nSize = rsaryApptTypeIDs.Count;
for (int i=0; i < nSize; i++)
{
sApptTypeIDs += rsaryApptTypeIDs[i];
if (i < (nSize-1))
sApptTypeIDs += "|";
}
string sStart;
string sEnd;
sStart = StartTime.ToString("M-d-yyyy");
sEnd = EndTime.ToString("M-d-yyyy@H:mm");
string sSql = "BSDX CREATE ASGND SLOT SCHED^" + sResourceName + "^" + sStart + "^" + sEnd + "^" + sApptTypeIDs + "^" + sSearchInfo; //+ "^" + sSTType ;
DataTable dtRet = docManager.RPMSDataTable(sSql, "AssignedSlotSchedule");
if (sResourceName == "")
{
return dtRet;
}
return dtRet;
}
public static DataTable CreateCopyTable()
{
DataTable dtCopy = new DataTable("dtCopy");
DataColumn dCol = new DataColumn();
dCol.DataType = Type.GetType("System.DateTime");
dCol.ColumnName = "START_TIME";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.DateTime");
dCol.ColumnName = "END_TIME";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.Int16");
dCol.ColumnName = "SLOTS";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.String");
dCol.ColumnName = "RESOURCE";
dCol.ReadOnly = true;
dCol.AllowDBNull = true;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.String");
dCol.ColumnName = "ACCESS_TYPE";
dCol.ReadOnly = true;
dCol.AllowDBNull = true;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.String");
dCol.ColumnName = "NOTE";
dCol.ReadOnly = true;
dCol.AllowDBNull = true;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
return dtCopy;
}
public static DataTable CreateAppointmentSlotSchedule(CGDocumentManager docManager, string sResourceName, DateTime StartTime, DateTime EndTime, ScheduleType stType)
{
string sStart;
string sEnd;
sStart = StartTime.ToString("M-d-yyyy");
sEnd = EndTime.ToString("M-d-yyyy");
string sSTType = (stType == ScheduleType.Resource ? "ST_RESOURCE" : "ST_CLINIC");
string sSql = "BSDX APPT BLOCKS OVERLAP^" + sStart + "^" + sEnd + "^" + sResourceName ;//+ "^" + sSTType;
DataTable dtRet = docManager.RPMSDataTable(sSql, "AppointmentSlotSchedule");
if (dtRet.Rows.Count < 1)
return dtRet;
//Create CDateTimeArray & load records from rsOut
int nRC;
nRC = dtRet.Rows.Count;
ArrayList cdtArray = new ArrayList();
cdtArray.Capacity = (nRC * 2);
DateTime v;
int i = 0;
foreach (DataRow r in dtRet.Rows)
{
v = (DateTime) r[dtRet.Columns["START_TIME"]];
cdtArray.Add(v);
v = (DateTime) r[dtRet.Columns["END_TIME"]];
cdtArray.Add(v);
}
cdtArray.Sort();
//Create a CTimeBlockArray and load it from rsOut
ArrayList ctbAppointments = new ArrayList(nRC);
CGAvailability cTB;
i = 0;
foreach (DataRow r in dtRet.Rows)
{
cTB = new CGAvailability();
cTB.StartTime = (DateTime) r[dtRet.Columns["START_TIME"]];
cTB.EndTime = (DateTime) r[dtRet.Columns["END_TIME"]];
ctbAppointments.Add(cTB);
}
//Create a TimeBlock Array from the data in the DateTime array
ArrayList ctbApptSchedule = new ArrayList();
ScheduleFromArray(cdtArray, StartTime, EndTime, ref ctbApptSchedule);
//Find number of TimeBlocks in ctbApptSchedule that
//overlap the TimeBlocks in ctbAppointments
ArrayList ctbApptSchedule2 = new ArrayList();
CGAvailability cTB2;
int nSlots = 0;
for (i=0; i< ctbApptSchedule.Count; i++)
{
cTB = (CGAvailability) ctbApptSchedule[i];
nSlots = BlocksOverlap(cTB, ctbAppointments);
cTB2 = new CGAvailability();
cTB2.Create(cTB.StartTime, cTB.EndTime, nSlots);
ctbApptSchedule2.Add(cTB2);
}
ConsolidateBlocks(ctbApptSchedule2);
DataTable dtCopy = new DataTable("dtCopy");
DataColumn dCol = new DataColumn();
dCol.DataType = Type.GetType("System.DateTime");
dCol.ColumnName = "START_TIME";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.DateTime");
dCol.ColumnName = "END_TIME";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.Int16");
dCol.ColumnName = "SLOTS";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
dCol = new DataColumn();
dCol.DataType = Type.GetType("System.String");
dCol.ColumnName = "RESOURCE";
dCol.ReadOnly = true;
dCol.AllowDBNull = false;
dCol.Unique = false;
dtCopy.Columns.Add(dCol);
for (int k=0; k < ctbApptSchedule2.Count; k++)
{
cTB = (CGAvailability) ctbApptSchedule2[k];
DataRow newRow;
newRow = dtCopy.NewRow();
newRow["START_TIME"] = cTB.StartTime;
newRow["END_TIME"] = cTB.EndTime;
newRow["SLOTS"] = cTB.Slots;
newRow["RESOURCE"] = sResourceName;
dtCopy.Rows.Add(newRow);
}
return dtCopy;
}
public static int BlocksOverlap(CGAvailability rBlock, ArrayList rTBArray)
{
//this overload implements default false for bCountSlots
return CGSchedLib.BlocksOverlap(rBlock, rTBArray, false);
}
public static int BlocksOverlap(CGAvailability rBlock, ArrayList rTBArray, bool bCountSlots)
{
//If bCountSlots == true, then returns
//sum of Slots in overlapping blocks
//instead of the count of overlapping blocks
DateTime dStart1;
DateTime dStart2;
DateTime dEnd1;
DateTime dEnd2;
int nSlots;
int nCount = 0;
CGAvailability cBlock;
dStart1 = rBlock.StartTime;
dEnd1 = rBlock.EndTime;
for (int j=0; j< rTBArray.Count; j++)
{
cBlock = (CGAvailability) rTBArray[j];
dStart2 = cBlock.StartTime;
dEnd2 = cBlock.EndTime;
nSlots = cBlock.Slots;
if (TimesOverlap(dStart1, dEnd1, dStart2, dEnd2))
{
if (bCountSlots == true)
{
nCount += nSlots;
}
else
{
nCount++;
}
}
}
return nCount;
}
//BOOL CResourceLink::TimesOverlap(COleDateTime dStart1, COleDateTime dEnd1, COleDateTime dStart2, COleDateTime dEnd2)
public static bool TimesOverlap(DateTime dStart1, DateTime dEnd1, DateTime dStart2, DateTime dEnd2)
{
Rectangle rect1 = new Rectangle();
Rectangle rect2 = new Rectangle();
rect1.X = 0;
rect2.X = 0;
rect1.Width = 1;
rect2.Width = 1;
rect1.Y = CGSchedLib.MinSince80(dStart1);
rect1.Height = CGSchedLib.MinSince80(dEnd1) - rect1.Y;
rect2.Y = CGSchedLib.MinSince80(dStart2);
rect2.Height = CGSchedLib.MinSince80(dEnd2) - rect2.Y;
bool bRet = rect2.IntersectsWith(rect1);
return bRet;
}
public static void ConsolidateBlocks(ArrayList rTBArray)
{
//TODO: Test this function
int j = 0;
bool bDirty = false;
CGAvailability cBlockA;
CGAvailability cBlockB;
CGAvailability cTemp1;
if (rTBArray.Count < 2)
return;
do
{
bDirty = false;
for (j = 0; j < (rTBArray.Count - 1); j++) //TODO: why minus 1?
{
cBlockA = (CGAvailability) rTBArray[j];
cBlockB = (CGAvailability) rTBArray[j+1];
if ((cBlockA.EndTime == cBlockB.StartTime)
&& (cBlockA.Slots == cBlockB.Slots)
&& (cBlockA.ResourceList == cBlockB.ResourceList)
&& (cBlockA.AccessRuleList == cBlockB.AccessRuleList)
)
{
cTemp1 = new CGAvailability();
cTemp1.StartTime = cBlockA.StartTime;
cTemp1.EndTime = cBlockB.EndTime;
cTemp1.Slots = cBlockA.Slots;
cTemp1.AccessRuleList = cBlockA.AccessRuleList;
cTemp1.ResourceList = cBlockA.ResourceList;
rTBArray.Insert(j, cTemp1);
rTBArray.RemoveRange(j+1, 2);
bDirty = true;
break;
}
}
}
while (!((bDirty == false) || (rTBArray.Count == 1)));
}
public static DataTable SubtractSlotsRS2(DataTable rsBlocks1, DataTable rsBlocks2, string sResource)
{
//Subtract slots in rsBlocks2 from rsBlocks1
//7-16-01 SUBCLINIC data field in rsBlocks1 persists thru routine.
//7-18-01 RESOURCE and ACCESS_TYPE fields presisted
if ((rsBlocks2.Rows.Count == 0) || (rsBlocks1.Rows.Count == 0))
return rsBlocks1;
//Create an array of the start and end times of blocks2
ArrayList cdtArray = new ArrayList(2*(rsBlocks1.Rows.Count + rsBlocks2.Rows.Count));
foreach (DataRow r in rsBlocks1.Rows)
{
cdtArray.Add(r[rsBlocks1.Columns["START_TIME"]]);
cdtArray.Add(r[rsBlocks1.Columns["END_TIME"]]);
}
foreach (DataRow r in rsBlocks2.Rows)
{
cdtArray.Add(r[rsBlocks2.Columns["START_TIME"]]);
cdtArray.Add(r[rsBlocks2.Columns["END_TIME"]]);
}
cdtArray.Sort();
ArrayList ctbReturn = new ArrayList();
DateTime cDate = new DateTime();
ScheduleFromArray(cdtArray, cDate, cDate, ref ctbReturn);
//Set up return table
DataTable rsCopy = CGSchedLib.CreateCopyTable(); //TODO: There's a datatable method that does this.
long nSlots = 0;
CGAvailability cTB;
for (int j=0; j < (ctbReturn.Count -1); j++) //TODO: why minus 1?
{
cTB = (CGAvailability) ctbReturn[j];
nSlots = SlotsInBlock(cTB, rsBlocks1) - SlotsInBlock(cTB, rsBlocks2);
string sResourceList = "";
string sAccessRuleList = "";
string sNote = "";
if (nSlots > 0)
{
bool bRet = ResourceRulesInBlock(cTB, rsBlocks1, ref sResourceList, ref sAccessRuleList, ref sNote);
}
DataRow newRow;
newRow = rsCopy.NewRow();
newRow["START_TIME"] = cTB.StartTime;
newRow["END_TIME"] = cTB.EndTime;
newRow["SLOTS"] = nSlots;
//Subclinic, Access Rule and Resource are null in subtractedSlot sets
newRow["RESOURCE"] = sResource;
newRow["ACCESS_TYPE"] = sAccessRuleList;
newRow["NOTE"] = sNote;
rsCopy.Rows.Add(newRow);
}
return rsCopy;
}
public static DataTable UnionBlocks(DataTable rs1, DataTable rs2)
{
//Test input tables
Debug.Assert(rs1 != null);
Debug.Assert(rs2 != null);
CGSchedLib.OutputArray(rs1, "UnionBlocks rs1");
CGSchedLib.OutputArray(rs2, "UnionBlocks rs2");
DataTable rsCopy;
DataRow dr;
if (rs1.Columns.Count >= rs2.Columns.Count)
{
rsCopy = rs1.Copy();
foreach (DataRow dr2 in rs2.Rows)
{
dr = rsCopy.NewRow();
dr.ItemArray = dr2.ItemArray;
//dr["START_TIME"] = dr2["START_TIME"];
//dr["END_TIME"] = dr2["END_TIME"];
//dr["SLOTS"] = dr2["SLOTS"];
rsCopy.Rows.Add(dr);
}
}
else
{
rsCopy = rs2.Copy();
foreach (DataRow dr2 in rs1.Rows)
{
dr = rsCopy.NewRow();
dr.ItemArray = dr2.ItemArray;
rsCopy.Rows.Add(dr);
}
}
return rsCopy;
}
public static DataTable IntersectBlocks(DataTable rs1, DataTable rs2)
{
DataTable rsCopy = CGSchedLib.CreateCopyTable();
//Test input tables
if ((rs1 == null) || (rs2 == null))
return rsCopy;
if ((rs1.Rows.Count == 0) || (rs2.Rows.Count == 0))
return rsCopy;
int nSlots1 = 0;
int nSlots2 = 0;
int nSlots3 = 0;
DateTime dStart1;
DateTime dStart2;
DateTime dStart3;
DateTime dEnd1;
DateTime dEnd2;
DateTime dEnd3;
string sClinic;
string sClinic2;
// Rectangle rect1 = new Rectangle();
// Rectangle rect2 = new Rectangle();
// rect1.X = 0;
// rect2.X = 0;
// rect1.Width = 1;
// rect2.Width = 1;
// DataColumn cSlots = rs1.Columns["SLOTS"];
foreach (System.Data.DataRow r1 in rs1.Rows)
{
nSlots1 = (int) r1[rs1.Columns["SLOTS"]];
if (nSlots1 > 0)
{
dStart1 = (DateTime) r1[rs1.Columns["START_TIME"]];
dEnd1 = (DateTime) r1[rs1.Columns["END_TIME"]];
sClinic = r1[rs1.Columns["SUBCLINIC"]].ToString();
if (sClinic == "NULL")
sClinic = "";
// rect1.Y = CGSchedLib.MinSince80(dStart1);
// rect1.Height = CGSchedLib.MinSince80(dEnd1) - rect1.Y;
foreach (System.Data.DataRow r2 in rs2.Rows)
{
nSlots2 = (int) r2[rs2.Columns["SLOTS"]];
if (nSlots2 > 0)
{
dStart2 = (DateTime) r2[rs2.Columns["START_TIME"]];
dEnd2 = (DateTime) r2[rs2.Columns["END_TIME"]];
sClinic2 = r2[rs2.Columns["SUBCLINIC"]].ToString();
// rect2.Y = CGSchedLib.MinSince80(dStart2);
// rect2.Height = CGSchedLib.MinSince80(dEnd2) - rect2.Y;
if (
/*(rect2.IntersectsWith(rect1) == true)*/
(CGSchedLib.TimesOverlap(dStart1, dEnd1, dStart2, dEnd2) == true)
&&
((sClinic == sClinic2) || (sClinic == "NONE") || (sClinic2 == "NONE"))
)
{
dStart3 = (dStart1 >= dStart2) ? dStart1 : dStart2 ;
dEnd3 = (dEnd1 >= dEnd2) ? dEnd2 : dEnd1;
nSlots3 = (nSlots1 >= nSlots2) ? nSlots2 : nSlots1 ;
DataRow newRow;
newRow = rsCopy.NewRow();
newRow["START_TIME"] = dStart3;
newRow["END_TIME"] = dEnd3;
newRow["SLOTS"] = nSlots3;
newRow["SUBCLINIC"] = (sClinic == "NONE") ? sClinic2 : sClinic;
//Access Rule and Resource are null in interesected sets
newRow["ACCESS_TYPE"] = "";
newRow["RESOURCE"] = "";
rsCopy.Rows.Add(newRow);
}
}//nSlots2 > 0
}//foreach r2 in rs2.rows
}//nSlots1 > 0
}//foreach r1 in rs1.rows
return rsCopy;
}//end IntersectBlocks
public static int MinSince80(DateTime d)
{
//Returns the total minutes between d and 1 Jan 1980
DateTime y = new DateTime(1980,1,1,0,0,0);
Debug.Assert(d > y);
TimeSpan ts = d - y;
//Assure ts.TotalMinutes within int range so that cast on next line works
Debug.Assert(ts.TotalMinutes < 2147483646);
int nMinutes = (int) ts.TotalMinutes;
return nMinutes;
}
public static void ScheduleFromArray(ArrayList cdtArray, DateTime dStartTime, DateTime dEndTime, ref ArrayList rTBArray)
{
int j = 0;
CGAvailability cTB;
if (cdtArray.Count == 0)
return;
Debug.Assert(cdtArray.Count > 0);
Debug.Assert(cdtArray[0].GetType() == typeof(DateTime));
//If StartTime passed in, then adjust for it
if (dStartTime.Ticks > 0)
{
if ((DateTime) cdtArray[0] > dStartTime)
{
cTB = new CGAvailability();
cTB.Create(dStartTime, (DateTime) cdtArray[0], 0);
rTBArray.Add(cTB);
}
if ((DateTime) cdtArray[0] < dStartTime)
{
for (j = 0; j < cdtArray.Count; j++)
{
if ((DateTime) cdtArray[j] < dStartTime)
cdtArray[j] = dStartTime;
}
}
}
//Trim the end if necessary
if (dEndTime.Ticks > 0)
{
for (j = 0; j < cdtArray.Count; j++)
{
if ((DateTime) cdtArray[j] > dEndTime)
cdtArray[j] = dEndTime;
}
}
//build the schedule in rTBArray
DateTime dTemp = new DateTime();
DateTime dStart;
DateTime dEnd;
int k = 0;
for (j = 0; j < (cdtArray.Count -1); j++) //TODO: why minus 1?
{
if ((DateTime) cdtArray[j] != dTemp)
{
dStart =(DateTime) cdtArray[j];
dTemp = dStart;
for (k = j+1; k < cdtArray.Count; k++)
{
dEnd = new DateTime();
if ((DateTime) cdtArray[k] != dStart)
{
dEnd = (DateTime) cdtArray[k];
}
if (dEnd.Ticks > 0)
{
cTB = new CGAvailability();
cTB.Create(dStart, dEnd, 0);
rTBArray.Add(cTB);
break;
}
}
}
}
}//end ScheduleFromArray
//long CResourceLink::SlotsInBlock(CTimeBlock &rTimeBlock, _RecordsetPtr rsBlock)
public static int SlotsInBlock(CGAvailability rTimeBlock, DataTable rsBlock)
{
DateTime dStart1;
DateTime dStart2;
DateTime dEnd1;
DateTime dEnd2;
int nSlots = 0;
if (rsBlock.Rows.Count == 0)
return nSlots;
Rectangle rect1 = new Rectangle();
Rectangle rect2 = new Rectangle();
rect1.X = 0;
rect2.X = 0;
rect1.Width = 1;
rect2.Width = 1;
dStart1 = rTimeBlock.StartTime;
dEnd1 = rTimeBlock.EndTime;
rect1.Y = CGSchedLib.MinSince80(dStart1);
rect1.Height = CGSchedLib.MinSince80(dEnd1) - rect1.Y;
foreach (DataRow r in rsBlock.Rows)
{
dStart2 = (DateTime) r[rsBlock.Columns["START_TIME"]];
dEnd2 = (DateTime) r[rsBlock.Columns["END_TIME"]];
rect2.Y = CGSchedLib.MinSince80(dStart2);
rect2.Height = CGSchedLib.MinSince80(dEnd2) - rect2.Y;
if (rect2.IntersectsWith(rect1) == true)
{
string sSlots = r[rsBlock.Columns["SLOTS"]].ToString();
nSlots = System.Convert.ToInt16(sSlots);
// nSlots = (int) r[rsBlock.Columns["SLOTS"]];
break;
}
}
return nSlots;
}//end SlotsInBlock
public static string ClinicInBlock(CGAvailability rTimeBlock, DataTable rsBlock)
{
DateTime dStart1;
DateTime dStart2;
DateTime dEnd1;
DateTime dEnd2;
string sClinic = "";
if (rsBlock.Rows.Count == 0)
return sClinic;
Rectangle rect1 = new Rectangle();
Rectangle rect2 = new Rectangle();
rect1.X = 0;
rect2.X = 0;
rect1.Width = 1;
rect2.Width = 1;
dStart1 = rTimeBlock.StartTime;
dEnd1 = rTimeBlock.EndTime;
rect1.Y = CGSchedLib.MinSince80(dStart1);
rect1.Height = CGSchedLib.MinSince80(dEnd1) - rect1.Y;
foreach (DataRow r in rsBlock.Rows)
{
dStart2 = (DateTime) r[rsBlock.Columns["START_TIME"]];
dEnd2 = (DateTime) r[rsBlock.Columns["END_TIME"]];
rect2.Y = CGSchedLib.MinSince80(dStart2);
rect2.Height = CGSchedLib.MinSince80(dEnd2) - rect2.Y;
if (rect2.IntersectsWith(rect1) == true)
{
sClinic = r[rsBlock.Columns["SUBCLINIC"]].ToString();
break;
}
}
return sClinic;
}//end ClinicInBlock
public static bool ResourceRulesInBlock(CGAvailability rTimeBlock, DataTable rsBlock, ref string sResourceList, ref string sAccessRuleList, ref string sNote)
{
DateTime dStart1;
DateTime dStart2;
DateTime dEnd1;
DateTime dEnd2;
string sResource;
string sAccessRule;
if (rsBlock.Rows.Count == 0)
return true;
Rectangle rect1 = new Rectangle();
Rectangle rect2 = new Rectangle();
rect1.X = 0;
rect2.X = 0;
rect1.Width = 1;
rect2.Width = 1;
dStart1 = rTimeBlock.StartTime;
dEnd1 = rTimeBlock.EndTime;
rect1.Y = CGSchedLib.MinSince80(dStart1);
rect1.Height = CGSchedLib.MinSince80(dEnd1) - rect1.Y;
foreach (DataRow r in rsBlock.Rows)
{
dStart2 = (DateTime) r[rsBlock.Columns["START_TIME"]];
dEnd2 = (DateTime) r[rsBlock.Columns["END_TIME"]];
rect2.Y = CGSchedLib.MinSince80(dStart2);
rect2.Height = CGSchedLib.MinSince80(dEnd2) - rect2.Y;
if (rect2.IntersectsWith(rect1) == true)
{
sResource = r[rsBlock.Columns["RESOURCE"]].ToString();
if (sResource == "NULL")
sResource = "";
if (sResource != "")
{
if (sResourceList == "")
{
sResourceList += sResource;
}
else
{
sResourceList += "^" + sResource;
}
}
sAccessRule = r[rsBlock.Columns["ACCESS_TYPE"]].ToString();
if (sAccessRule == "0")
sAccessRule = "";
if (sAccessRule != "")
{
if (sAccessRuleList == "")
{
sAccessRuleList += sAccessRule;
}
else
{
sAccessRuleList += "^" + sAccessRule;
}
}
sNote = r[rsBlock.Columns["NOTE"]].ToString();
}
}
return true;
}//End ResourceRulesInBlock
}
}

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Font Name="Tahoma" Size="8.25" />
<Class Name="IndianHealthService.ClinicalScheduling.CGView">
<Position X="0.5" Y="0.5" Width="1.5" />
<TypeIdentifier>
<FileName>CGView.cs</FileName>
<HashCode>DBuO+A/ufrC8J96Wgi264uOaaLj8+O62UEo12OCfGSw=</HashCode>
</TypeIdentifier>
<Compartments>
<Compartment Name="Fields" Collapsed="true" />
<Compartment Name="Properties" Collapsed="true" />
<Compartment Name="Methods" Collapsed="true" />
<Compartment Name="Nested Types" Collapsed="false" />
</Compartments>
<NestedTypes>
<Delegate Name="IndianHealthService.ClinicalScheduling.CGView.OnUpdateScheduleDelegate" Collapsed="true">
<TypeIdentifier>
<NewMemberFileName>CGView.cs</NewMemberFileName>
</TypeIdentifier>
</Delegate>
</NestedTypes>
</Class>
</ClassDiagram>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,192 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="mainMenu1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="contextMenu1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>126, 17</value>
</metadata>
<metadata name="ctxApptClipMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>248, 17</value>
</metadata>
<metadata name="ctxCalendarGrid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>382, 17</value>
</metadata>
<data name="calendarGrid1.Resources" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAEAQAAABxTeXN0ZW0uQ29sbGVjdGlvbnMuQXJyYXlMaXN0AwAAAAZfaXRl
bXMFX3NpemUIX3ZlcnNpb24FAAAICAkCAAAAAAAAAAAAAAAQAgAAAAAAAAAL
</value>
</data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>75</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAMAICAQAAAAAADoAgAANgAAABAQEAAAAAAAKAEAAB4DAAAwMBAAAAAAAGgGAABGBAAAKAAAACAA
AABAAAAAAQAEAAAAAACAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIAAAACAgACAAAAAgACAAICA
AACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARE
QP////////////////AERED////////////////wCIiA8ADwAPAA8ADwAPAA8AREQP//////////////
//AERED////////////////wCIiA8ADwAPAA8ADwAPAA8AREQP////////////////AERED/////////
///////wCIiA8ADwAPAA8ADwAPAA8AREQP////////////////AERED////////////////wCIiA8ADw
APAA8ADwAPAA8AREQP////////////////AERED////////////////wCIiA8ADwAPAA8ADwAPAA8ARE
QP////////////////AERED////////////////wBERAAAAAAAAAAAAAAAAAAARERESERIREhESERIRE
hEAEREREhESERIREhESERIRABERERIREhESERIREhESEQARERESERIREhESERIREhEAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAD/////////////////////KAAAABAAAAAgAAAAAQAEAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAIAAAIAAAACAgACAAAAAgACAAICAAADAwMAAgICAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP//
/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdw//////AABEDw8PDw8AAHcP/////wAARA8PDw8PAAB3
D/////8AAEQPDw8PDwAAdw//////AABEAAAAAAAAAERHR0dHRwAAREdHR0dHAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAP//AAD//wAAgAEAAIABAAiAAcAAgAEAAIABAACAAQAIgAHAAIABAACAAQAAgAEACIAB
AACAAQAA//8AAP//AAgoAAAAMAAAAGAAAAABAAQAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
gAAAgAAAAICAAIAAAACAAIAAgIAAAICAgADAwMAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA////AAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABE
REQP////////////////////////8ABEREQP////////////////////////8ABEREQP////////////
////////////8ABIiIQP8AAP8AAP8AAP8AAP8AAP8AAP8ABEREQP////////////////////////8ABE
REQP////////////////////////8ABEREQP////////////////////////8ABIiIQP8AAP8AAP8AAP
8AAP8AAP8AAP8ABEREQP////////////////////////8ABEREQP////////////////////////8ABE
REQP////////////////////////8ABIiIQP8AAP8AAP8AAP8AAP8AAP8AAP8ABEREQP////////////
////////////8ABEREQP////////////////////////8ABEREQP////////////////////////8ABI
iIQP8AAP8AAP8AAP8AAP8AAP8AAP8ABEREQP////////////////////////8ABEREQP////////////
////////////8ABEREQP////////////////////////8ABIiIQP8AAP8AAP8AAP8AAP8AAP8AAP8ABE
REQP////////////////////////8ABEREQP////////////////////////8ABEREQP////////////
////////////8ABEREQAAAAAAAAAAAAAAAAAAAAAAAAAAABEREREREREREREREREREREREREREREQABE
RERERIRERIRERIRERIRERIRERIREQABERERERIRERIRERIRERIRERIRERIREQABERERERIRERIRERIRE
RIRERIRERIREQABERERERIRERIRERIRERIRERIRERIREQABEREREREREREREREREREREREREREREQAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAP///////wAA////////AAD///////8AAP///////wAA////////AAD///////8AAP//
/////wAA////////AAD///////8AAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAA
AACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAA
AAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAA
AACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAA
AAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAD///////8AAP///////wAA////////
AAD///////8AAP///////wAA////////AAD///////8AAA==
</value>
</data>
</root>

View File

@ -0,0 +1,592 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="mainMenu1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mainMenu1.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</data>
<data name="mainMenu1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuFile.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuFile.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuOpenSchedule.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuOpenSchedule.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuRPMSServer.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Assembly</value>
</data>
<data name="mnuRPMSServer.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuRPMSLogin.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Assembly</value>
</data>
<data name="mnuRPMSLogin.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuSchedulingManagment.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuSchedulingManagment.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuPrint.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuPrint.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuClose.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuClose.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuAppointment.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuAppointment.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuNewAppointment.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuNewAppointment.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuEditAppointment.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuEditAppointment.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuDeleteAppointment.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuDeleteAppointment.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuCopyAppointment.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuCopyAppointment.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuFindAppt.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuFindAppt.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuCheckIn.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuCheckIn.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuViewPatientAppts.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuViewPatientAppts.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuCalendar.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuCalendar.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu1Day.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu1Day.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu5Day.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu5Day.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu7Day.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu7Day.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="menuItem4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuTimeScale.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuTimeScale.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu10Minute.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu10Minute.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu15Minute.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu15Minute.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu20Minute.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu20Minute.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu30Minute.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnu30Minute.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuViewScheduleTree.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuViewScheduleTree.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuViewRightPanel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuViewRightPanel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuHelp.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuHelp.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuHelpAbout.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuHelpAbout.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuTest.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuTest.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuTest1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuTest1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tvSchedules.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tvSchedules.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tvSchedules.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="contextMenu1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="contextMenu1.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>126, 17</value>
</data>
<data name="contextMenu1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxOpenSchedule.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxOpenSchedule.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxEditAvailability.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxEditAvailability.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxProperties.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxProperties.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxFindAppt.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxFindAppt.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelRight.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelRight.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panelRight.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelRight.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panelRight.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelRight.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelClip.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelClip.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panelClip.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelClip.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panelClip.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelClip.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstClip.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstClip.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lstClip.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxApptClipMenu.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxApptClipMenu.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>248, 17</value>
</data>
<data name="ctxApptClipMenu.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuRemoveClipItem.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuRemoveClipItem.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuClearClipItems.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="mnuClearClipItems.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelTop.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelTop.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panelTop.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelTop.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panelTop.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelTop.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dateTimePicker1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dateTimePicker1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dateTimePicker1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblResource.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblResource.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblResource.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelCenter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelCenter.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panelCenter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelCenter.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panelCenter.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panelCenter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalendarGrid.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalendarGrid.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>382, 17</value>
</data>
<data name="ctxCalendarGrid.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridAdd.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridAdd.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridEdit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridEdit.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridDelete.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridDelete.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridCheckIn.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="ctxCalGridCheckIn.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panelBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panelBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panelBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panelBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="statusBar1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="statusBar1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="statusBar1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="splitter1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="splitter1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="splitter1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="splitter2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="splitter2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="splitter2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.Name">
<value>CGView</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>75</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,129 @@
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{8D1686A4-87D3-43F9-9E54-6CFB307A734E}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>
</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>CalendarGrid</AssemblyName>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Library</OutputType>
<RootNamespace>CalendarGrid</RootNamespace>
<StartupObject>
</StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>0.0</OldToolsVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="RPX20Lib">
<Name>RPX20Lib</Name>
<HintPath>..\..\RPX20\ReleaseMinDependency\RPX20Lib.dll</HintPath>
</Reference>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Design">
<Name>System.Design</Name>
</Reference>
<Reference Include="System.Drawing">
<Name>System.Drawing</Name>
</Reference>
<Reference Include="System.Windows.Forms">
<Name>System.Windows.Forms</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="CalendarGrid.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CGAppointment.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGAppointments.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGCell.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGCells.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGDocument.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGRange.cs">
<SubType>Code</SubType>
</Compile>
<EmbeddedResource Include="CalendarGrid.resx">
<DependentUpon>CalendarGrid.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,56 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ReferencePath>C:\Documents and Settings\hwhitt\My Documents\Visual Studio Projects\RPX20\ReleaseMinDependency\</ReferencePath>
<CopyProjectDestinationFolder>
</CopyProjectDestinationFolder>
<CopyProjectUncPath>
</CopyProjectUncPath>
<CopyProjectOption>0</CopyProjectOption>
<ProjectView>ProjectFiles</ProjectView>
<ProjectTrust>0</ProjectTrust>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>
</StartArguments>
<StartPage>
</StartPage>
<StartProgram>
</StartProgram>
<StartURL>
</StartURL>
<StartWorkingDirectory>
</StartWorkingDirectory>
<StartWithIE>true</StartWithIE>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>
</StartArguments>
<StartPage>
</StartPage>
<StartProgram>
</StartProgram>
<StartURL>
</StartURL>
<StartWorkingDirectory>
</StartWorkingDirectory>
<StartWithIE>true</StartWithIE>
</PropertyGroup>
</Project>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,464 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>App.ico</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>ClinicalScheduling</AssemblyName>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>WinExe</OutputType>
<RootNamespace>IndianHealthService.ClinicalScheduling</RootNamespace>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<StartupObject>IndianHealthService.ClinicalScheduling.CGDocumentManager</StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<SccProjectName>
</SccProjectName>
<SccLocalPath>
</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>
</SccProvider>
<OldToolsVersion>2.0</OldToolsVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkSubset>
</TargetFrameworkSubset>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>2.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG</DefineConstants>
<DocumentationFile>bin\Release\ClinicalScheduling.XML</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>
</DefineConstants>
<DocumentationFile>bin\Release\ClinicalScheduling.XML</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="BMXNet20, Version=2.0.2459.21970, Culture=neutral, PublicKeyToken=069dc2499aed6a8c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\BMXNet20.dll</HintPath>
</Reference>
<Reference Include="CalendarGrid, Version=1.0.2790.30319, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\CalendarGrid.dll</HintPath>
</Reference>
<Reference Include="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
<Reference Include="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
<Reference Include="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
<Reference Include="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
<Reference Include="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
<Reference Include="CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.configuration" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing">
<Name>System.Drawing</Name>
</Reference>
<Reference Include="System.Web.Extensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Web.Services">
<Name>System.Web.Services</Name>
</Reference>
<Reference Include="System.Windows.Forms">
<Name>System.Windows.Forms</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="CGView.cd" />
<None Include="ClassDiagram1.cd" />
<None Include="ClassDiagram2.cd" />
<None Include="dsPatientApptDisplay2.xsc">
<DependentUpon>dsPatientApptDisplay2.xsd</DependentUpon>
</None>
<None Include="dsPatientApptDisplay2.xss">
<DependentUpon>dsPatientApptDisplay2.xsd</DependentUpon>
</None>
<None Include="dsPatientApptDisplay2.xsx">
<DependentUpon>dsPatientApptDisplay2.xsd</DependentUpon>
</None>
<None Include="dsRebookAppts.xsc">
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
</None>
<None Include="dsRebookAppts.xss">
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
</None>
<None Include="dsRebookAppts.xsx">
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
</None>
<Content Include="App.ico" />
<Content Include="dsPatientApptDisplay2.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>dsPatientApptDisplay2.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</Content>
<Content Include="dsRebookAppts.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>dsRebookAppts.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</Content>
<Compile Include="AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGAVDocument.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGAVView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CGDocument.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGDocumentManager.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CGSchedLib.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="crAppointmentList.cs">
<DependentUpon>crAppointmentList.rpt</DependentUpon>
<SubType>Component</SubType>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Include="crCancelLetter.cs">
<DependentUpon>crCancelLetter.rpt</DependentUpon>
<SubType>Component</SubType>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Include="crPatientApptDisplay.cs">
<DependentUpon>crPatientApptDisplay.rpt</DependentUpon>
<SubType>Component</SubType>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Include="crPatientLetter.cs">
<DependentUpon>crPatientLetter.rpt</DependentUpon>
<SubType>Component</SubType>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Include="crRebookLetter.cs">
<DependentUpon>crRebookLetter.rpt</DependentUpon>
<SubType>Component</SubType>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Include="DAccessGroup.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DAccessGroupItem.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DAccessTemplate.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DAccessType.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DAppointPage.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DApptSearch.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DCancelAppt.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DCheckIn.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DCopyAppts.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="dInputText.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DManagement.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DNoShow.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DPatientApptDisplay.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DPatientLetter.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DPatientLookup.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DResource.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DResourceGroup.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DResourceGroupItem.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DResourceUser.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DSelectLetterClinics.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DSelectSchedules.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="dsPatientApptDisplay2.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>dsPatientApptDisplay2.xsd</DependentUpon>
</Compile>
<Compile Include="DSplash.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="dsRebookAppts.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>dsRebookAppts.xsd</DependentUpon>
</Compile>
<EmbeddedResource Include="CGAVView.resx">
<DependentUpon>CGAVView.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="CGDocumentManager.resx">
<DependentUpon>CGDocumentManager.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="CGView.resx">
<DependentUpon>CGView.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="crAppointmentList.rpt">
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
<LastGenOutput>crAppointmentList.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="crCancelLetter.rpt">
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
<LastGenOutput>crCancelLetter.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="crPatientApptDisplay.rpt">
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
<LastGenOutput>crPatientApptDisplay.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="crPatientLetter.rpt">
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
<LastGenOutput>crPatientLetter.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="crRebookLetter.rpt">
<Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>
<LastGenOutput>crRebookLetter.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="DAccessGroup.resx">
<DependentUpon>DAccessGroup.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DAccessGroupItem.resx">
<DependentUpon>DAccessGroupItem.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DAccessTemplate.resx">
<DependentUpon>DAccessTemplate.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DAccessType.resx">
<DependentUpon>DAccessType.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DAppointPage.resx">
<DependentUpon>DAppointPage.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DApptSearch.resx">
<DependentUpon>DApptSearch.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DCancelAppt.resx">
<DependentUpon>DCancelAppt.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DCheckIn.resx">
<DependentUpon>DCheckIn.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DCopyAppts.resx">
<DependentUpon>DCopyAppts.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="dInputText.resx">
<DependentUpon>dInputText.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DManagement.resx">
<DependentUpon>DManagement.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DNoShow.resx">
<DependentUpon>DNoShow.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DPatientApptDisplay.resx">
<DependentUpon>DPatientApptDisplay.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DPatientLetter.resx">
<DependentUpon>DPatientLetter.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DPatientLookup.resx">
<DependentUpon>DPatientLookup.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DResource.resx">
<DependentUpon>DResource.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DResourceGroup.resx">
<DependentUpon>DResourceGroup.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DResourceGroupItem.resx">
<DependentUpon>DResourceGroupItem.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DResourceUser.resx">
<DependentUpon>DResourceUser.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DSelectLetterClinics.resx">
<DependentUpon>DSelectLetterClinics.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DSelectSchedules.resx">
<DependentUpon>DSelectSchedules.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DSplash.resx">
<DependentUpon>DSplash.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Service Include="{967B4E0D-AD0C-4609-AB67-0FA40C0206D8}" />
<Service Include="{CF845C55-C321-4742-B673-E6212D061ED9}" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
<Visible>False</Visible>
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
<Visible>False</Visible>
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,69 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastOpenVersion>7.10.3077</LastOpenVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ReferencePath>
</ReferencePath>
<CopyProjectDestinationFolder>
</CopyProjectDestinationFolder>
<CopyProjectUncPath>
</CopyProjectUncPath>
<CopyProjectOption>0</CopyProjectOption>
<ProjectView>ProjectFiles</ProjectView>
<ProjectTrust>0</ProjectTrust>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory>
</InstallUrlHistory>
<SupportUrlHistory>
</SupportUrlHistory>
<UpdateUrlHistory>
</UpdateUrlHistory>
<BootstrapperUrlHistory>
</BootstrapperUrlHistory>
<ErrorReportUrlHistory>
</ErrorReportUrlHistory>
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>http://homedev.ihs.gov/otherprgms/clinicalscheduling/ClinicalScheduling.exe</StartArguments>
<StartPage>
</StartPage>
<StartProgram>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\IEExec.exe</StartProgram>
<StartURL>
</StartURL>
<StartWorkingDirectory>
</StartWorkingDirectory>
<StartWithIE>false</StartWithIE>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>
</StartArguments>
<StartPage>
</StartPage>
<StartProgram>
</StartProgram>
<StartURL>
</StartURL>
<StartWorkingDirectory>
</StartWorkingDirectory>
<StartWithIE>false</StartWithIE>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,10 @@
""
{
"FILE_VERSION" = "9237"
"ENLISTMENT_CHOICE" = "NEVER"
"PROJECT_FILE_RELATIVE_PATH" = "relative:Documents and Settings\\Horace\\My Documents\\Visual Studio 2005\\Projects\\ClinicalScheduling20\\ClinicalScheduling"
"NUMBER_OF_EXCLUDED_FILES" = "0"
"ORIGINAL_PROJECT_FILE_PATH" = ""
"NUMBER_OF_NESTED_PROJECTS" = "0"
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
}

View File

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C# Express 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClinicalScheduling", "ClinicalScheduling.csproj", "{8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

View File

@ -0,0 +1,270 @@
using System;
using System.Windows.Forms;
//using RPX20Lib;
using System.Data;
//using System.Data.OleDb;
using System.Text;
using IndianHealthService.BMXNet;
using System.Reflection;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Contains information about the RPMS connection
/// </summary>
public class CGConnectInfo
{
public CGConnectInfo()
{
//
// TODO: Add constructor logic here
//
}
private bool m_bConnected;
string m_sVerify;
string m_sAccess;
string m_sServerAddress;
int m_nServerPort;
private string m_sDUZ;
private string m_sDUZ2;
private int m_nDivisionCount = 0;
private string m_sUserName;
private string m_sDivision;
public bool Connected
{
get
{
return m_bConnected;
}
}
public bool LoadConnectInfo()
{
//Returns True if able to connect to RPMS
//Step 1
//Get RPMS Server Address and Port from Registry.
//Prompt for them if they're not there.
//Return False if unable to get address/port
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
//Old Version Below:
//Loads and decypts M Connection info from registry
//Tests connection
//Sets m_bConnected based on test
//returns m_bConnected
//(see ConnectInfo.cpp)
string sTempAddress;
sTempAddress = "127.0.0.1";
// sTempAddress = "161.223.91.10";
int nTempPort = 0;
// Load from registry (HKCU)
// Decrypt Access and Verify codes
string sTempAccess2 = "HMWXXX8"; //TODO: Get from registry
// sTempAccess2 = "JANXXX1"; //TODO: Get from registry
// if (!DecryptString(pbAccessData, &lAccessSize, sTempAccess2))
// return FALSE;
//
string sTempVerify2 = "MOLLYB8"; //TODO: Get from registry
// sTempVerify2 = "JANXXX2"; //TODO: Get from registry
// if (!DecryptString(pbVerifyData, &lVerifySize, sTempVerify2))
// return FALSE;
m_sAccess = sTempAccess2;
m_sVerify = sTempVerify2;
m_sServerAddress = sTempAddress;
if (m_sServerAddress == "")
{
m_sServerAddress = "RPMSWindow";
m_sAccess = "";
m_sVerify = "";
}
m_nServerPort = nTempPort;
if (m_nServerPort == 0)
m_nServerPort = 9200;
// RPX20Lib.MConnect m;
// m = new MConnectClass();
BMXNetLib m = new BMXNetLib();
m.MServerPort = m_nServerPort;
m.AppContext="BMXRPC";
bool bRet = false;
try
{
bRet = m.OpenConnection(sTempAddress, sTempAccess2, sTempVerify2);
}
catch (BMXNetException exBMX)
{
throw exBMX;
}
catch (Exception bmxEx)
{
string sMessage = bmxEx.Message + bmxEx.StackTrace;
throw new BMXNetException(sMessage);
}
if (bRet == true){
try {
this.m_sAccess = sTempAccess2;
this.m_sVerify = sTempVerify2;
this.m_sServerAddress = sTempAddress;
this.m_nServerPort = m.MServerPort;
this.m_sDUZ = m.DUZ;
string sRpc = "BMX USER";
m_sUserName = m.TransmitRPC(sRpc, m_sDUZ);
System.Data.DataTable rsDivisions;
rsDivisions = this.GetUserDivisions(m_sAccess, m_sVerify, m_sServerAddress, m_nServerPort);
m_nDivisionCount = rsDivisions.Rows.Count;
foreach (System.Data.DataRow r in rsDivisions.Rows)
{
string sTemp = r["MOST_RECENT_LOOKUP"].ToString();
if (sTemp == "1")
{
this.m_sDivision = r["FACILITY_NAME"].ToString();
this.m_sDUZ2 = r["FACILITY_IEN"].ToString();
break;
}
}
m_bConnected = true;
}
catch(Exception bmxEx)
{
m_bConnected = false;
string sMessage = bmxEx.Message + bmxEx.StackTrace;
throw new BMXNetException(sMessage);
}
}
return m_bConnected;
}
bool TestConnection(string sAccess, string sVerify, string sAddress, int nPort)
{
// Try RPMS Connection & set m_bconnected TRUE if successful
// RPX20Lib.MConnect m;
// m = new MConnectClass();
BMXNetLib m = new BMXNetLib();
bool bRet = false;
try
{
//from old MServices->Login
m.MServerPort = nPort;
bRet = m.OpenConnection(sAddress, sAccess, sVerify);
this.m_sDUZ = m.DUZ;
}
catch(Exception ex)
{
Debug.Write("CConnectInfo::TestConnection: Error: " + ex.Message);
bRet = false;
}
finally
{
m.CloseConnection();
}
return bRet;
}
private DataTable GetUserDivisions(string sTempAccess2, string sTempVerify2, string sTempAddress, int MServerPort)
{
try
{
//Connection string model:
//"Provider=BMXODB.RPMS.1;Data source=127.0.0.1;Location=9200;Extended Properties=BMXRPC;Password=HMWXXX8^MOLLYB8"
string sConn;
sConn = "Data source=" + sTempAddress + ";Location=" + MServerPort.ToString() + ";Extended Properties=BMXRPC;Password=" + sTempAccess2 + "^" + sTempVerify2;
BMXNetConnection rpmsConn = new BMXNetConnection(sConn);
rpmsConn.Open();
BMXNetCommand cmd = (BMXNetCommand) rpmsConn.CreateCommand();
cmd.CommandText = "BMXGetFacRS^" + m_sDUZ;
BMXNetDataAdapter da = new BMXNetDataAdapter();
da.SelectCommand = cmd;
DataSet dsDivisions = new DataSet("Divisions");
da.Fill(dsDivisions, "DivisionTable");
DataTable tb = dsDivisions.Tables["DivisionTable"];
return tb;
}
catch (Exception bmxEx)
{
string sMessage = bmxEx.Message + bmxEx.StackTrace;
throw new BMXNetException(sMessage);
}
}
public string UserName
{
get
{
return this.m_sUserName;
}
}
public string DivisionName
{
get
{
return this.m_sDivision;
}
}
public string GetDSN(string sAppContext)
{
string sDsn = "Data source=";
if (sAppContext == "")
sAppContext = "BMXRPC";
if (this.m_bConnected == false)
return sDsn.ToString();
sDsn += this.m_sServerAddress ;
sDsn += ";Location=";
sDsn += this.m_nServerPort.ToString();
sDsn += ";Extended Properties=";
sDsn += sAppContext;
sDsn += ";Password=";
sDsn += this.m_sAccess;
sDsn += "^";
sDsn += this.m_sVerify;
return sDsn;
}
/// <summary>
/// String representation of DUZ
/// </summary>
public string DUZ
{
get
{
return m_sDUZ;
}
}
}
}

View File

@ -0,0 +1,204 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DAccessGroup.
/// </summary>
public class DAccessGroup : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.TextBox txtAccessGroupName;
private System.Windows.Forms.Label label1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DAccessGroup()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
m_sAccessGroupName = "";
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.txtAccessGroupName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.pnlPageBottom.SuspendLayout();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.Add(this.cmdCancel);
this.pnlPageBottom.Controls.Add(this.cmdOK);
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 158);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(496, 40);
this.pnlPageBottom.TabIndex = 7;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(376, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Enabled = false;
this.cmdOK.Location = new System.Drawing.Point(296, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// txtAccessGroupName
//
this.txtAccessGroupName.Location = new System.Drawing.Point(184, 72);
this.txtAccessGroupName.Name = "txtAccessGroupName";
this.txtAccessGroupName.Size = new System.Drawing.Size(256, 20);
this.txtAccessGroupName.TabIndex = 0;
this.txtAccessGroupName.Text = "";
this.txtAccessGroupName.TextChanged += new System.EventHandler(this.txtAccessGroupName_TextChanged);
//
// label1
//
this.label1.Location = new System.Drawing.Point(48, 72);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(136, 16);
this.label1.TabIndex = 9;
this.label1.Text = "Access Group Name:";
//
// DAccessGroup
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(496, 198);
this.Controls.Add(this.txtAccessGroupName);
this.Controls.Add(this.label1);
this.Controls.Add(this.pnlPageBottom);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DAccessGroup";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Access Group";
this.pnlPageBottom.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private string m_sAccessGroupName;
public void InitializePage(int nSelectedRGID, DataSet dsGlobal)
{
if (nSelectedRGID < 0) //then we're in ADD mode
{
this.Text = "Add New Access Group";
this.cmdOK.Enabled = false;
}
else //we're in EDIT mode
{
this.Text = "Edit Access Group";
}
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
txtAccessGroupName.Text = m_sAccessGroupName;
}
else
{
m_sAccessGroupName = txtAccessGroupName.Text;
}
}
private void txtAccessGroupName_TextChanged(object sender, System.EventArgs e)
{
string sText = txtAccessGroupName.Text;
if ((sText.Length > 2) && (sText.Length < 30))
{
cmdOK.Enabled = true;
}
else
{
cmdOK.Enabled = false;
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
UpdateDialogData(false);
}
/// <summary>
/// Gets the name of the Access Group;
/// </summary>
public string AccessGroupName
{
get
{
return m_sAccessGroupName;
}
set
{
m_sAccessGroupName = value;
}
}
}
}

View File

@ -0,0 +1,184 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtAccessGroupName.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtAccessGroupName.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtAccessGroupName.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.Name">
<value>DAccessGroup</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,212 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DAccessGroupItem.
/// </summary>
public class DAccessGroupItem : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cboAccessType;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DAccessGroupItem()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.cboAccessType = new System.Windows.Forms.ComboBox();
this.pnlPageBottom.SuspendLayout();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.AddRange(new System.Windows.Forms.Control[] {
this.cmdCancel,
this.cmdOK});
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 112);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(472, 40);
this.pnlPageBottom.TabIndex = 6;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(376, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(296, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(24, 40);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(120, 16);
this.label1.TabIndex = 10;
this.label1.Text = "Select Access Type:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// cboAccessType
//
this.cboAccessType.Location = new System.Drawing.Point(152, 40);
this.cboAccessType.Name = "cboAccessType";
this.cboAccessType.Size = new System.Drawing.Size(248, 21);
this.cboAccessType.TabIndex = 9;
this.cboAccessType.Text = "cboAccessType";
//
// DAccessGroupItem
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(472, 152);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.label1,
this.cboAccessType,
this.pnlPageBottom});
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DAccessGroupItem";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "DAccessGroupItem";
this.pnlPageBottom.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Fields
int m_nAccessTypeID;
string m_sAccessTypeName;
#endregion Fields
public void InitializePage(int nSelectedATID, DataSet dsGlobal)
{
//Datasource the ACCESS GROUP combo box
DataTable dtAccessType = dsGlobal.Tables["AccessTypes"];
DataView dvAccessType = new DataView(dtAccessType);
cboAccessType.DataSource = dvAccessType;
cboAccessType.DisplayMember = "ACCESS_TYPE_NAME";
cboAccessType.ValueMember = "BMXIEN";
Debug.Assert(nSelectedATID == -1); //We're always in ADD mode
this.Text = "Add New Access Type to Group";
m_nAccessTypeID = 0;
m_sAccessTypeName = "";
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
cboAccessType.SelectedValue = m_nAccessTypeID;
}
else
{
m_nAccessTypeID = Convert.ToInt16(cboAccessType.SelectedValue);
m_sAccessTypeName = cboAccessType.DisplayMember;
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
UpdateDialogData(false);
}
#region Properties
/// <summary>
/// Contains the IEN of the AccessType in the BSDX_ACCESS_TYPE file
/// </summary>
public int AccessTypeID
{
get
{
return m_nAccessTypeID;
}
}
/// <summary>
/// Contains the name of the AccessType
/// </summary>
public string AccessTypeName
{
get
{
return m_sAccessTypeName;
}
}
#endregion Properties
}
}

View File

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DAccessGroupItem</value>
</data>
</root>

View File

@ -0,0 +1,392 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DAccessTemplate.
/// </summary>
public class DAccessTemplate : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescriptionResourceGroup;
private System.Windows.Forms.Label lblDescriptionResourceGroup;
private System.Windows.Forms.Button cmdSelectTemplate;
private System.Windows.Forms.TextBox txtTemplate;
private System.Windows.Forms.DateTimePicker dtpStartDate;
private System.Windows.Forms.NumericUpDown udWeeksToApply;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
#region Methods
public void InitializePage()
{
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
udWeeksToApply.Value = 1;
}
else
{
//
m_nWeeksToApply = (int) udWeeksToApply.Value;
m_dtStart = dtpStartDate.Value;
}
}
public DAccessTemplate()
{
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
//assure that it's a monday in the future
DateTime dtStart = dtpStartDate.Value;
if ((dtStart.DayOfWeek != System.DayOfWeek.Monday) ||
(dtStart < DateTime.Today))
{
MessageBox.Show("Please select a future Monday.");
m_bCancelOK = true;
return;
}
if (m_bSelectedFile == false)
{
MessageBox.Show("Please select a valid template file.");
m_bCancelOK = true;
return;
}
if ((this.udWeeksToApply.Value > 52)||(this.udWeeksToApply.Value < 1))
{
MessageBox.Show("For the number of weeks to apply the template, please select a number between 1 and 52.");
m_bCancelOK = true;
return;
}
m_bCancelOK = false;
//Send the values from the controls to the fields
this.UpdateDialogData(false);
}
private void cmdSelectTemplate_Click(object sender, System.EventArgs e)
{
//Open the file dialog and pick a file
m_bSelectedFile = false;
OpenFileDialog openFileDialog1 = new OpenFileDialog();
string sPath = "";
sPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
openFileDialog1.InitialDirectory = "c:\\" ;
openFileDialog1.InitialDirectory = sPath ;
openFileDialog1.Filter = "Schedule Template Files (*.bsdxa)|*.bsdxa|All files (*.*)|*.*" ;
openFileDialog1.FilterIndex = 0 ;
openFileDialog1.RestoreDirectory = true ;
if(openFileDialog1.ShowDialog() == DialogResult.OK)
{
m_bSelectedFile = true;
m_ofDialog = openFileDialog1;
this.txtTemplate.Text = openFileDialog1.FileName;
}
}
#endregion Methods
#region Fields
private OpenFileDialog m_ofDialog;
private DateTime m_dtStart;
private int m_nWeeksToApply;
private bool m_bCancelOK = false;
private bool m_bSelectedFile = false;
#endregion Fields
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescriptionResourceGroup = new System.Windows.Forms.GroupBox();
this.lblDescriptionResourceGroup = new System.Windows.Forms.Label();
this.cmdSelectTemplate = new System.Windows.Forms.Button();
this.txtTemplate = new System.Windows.Forms.TextBox();
this.dtpStartDate = new System.Windows.Forms.DateTimePicker();
this.udWeeksToApply = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.pnlPageBottom.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescriptionResourceGroup.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.udWeeksToApply)).BeginInit();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.Add(this.cmdCancel);
this.pnlPageBottom.Controls.Add(this.cmdOK);
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 264);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(440, 40);
this.pnlPageBottom.TabIndex = 7;
//
// cmdCancel
//
this.cmdCancel.CausesValidation = false;
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(360, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(280, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescriptionResourceGroup);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 184);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(440, 80);
this.pnlDescription.TabIndex = 8;
//
// grpDescriptionResourceGroup
//
this.grpDescriptionResourceGroup.Controls.Add(this.lblDescriptionResourceGroup);
this.grpDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescriptionResourceGroup.Location = new System.Drawing.Point(0, 0);
this.grpDescriptionResourceGroup.Name = "grpDescriptionResourceGroup";
this.grpDescriptionResourceGroup.Size = new System.Drawing.Size(440, 80);
this.grpDescriptionResourceGroup.TabIndex = 1;
this.grpDescriptionResourceGroup.TabStop = false;
this.grpDescriptionResourceGroup.Text = "Description";
//
// lblDescriptionResourceGroup
//
this.lblDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescriptionResourceGroup.Location = new System.Drawing.Point(3, 16);
this.lblDescriptionResourceGroup.Name = "lblDescriptionResourceGroup";
this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(434, 61);
this.lblDescriptionResourceGroup.TabIndex = 0;
this.lblDescriptionResourceGroup.Text = "Use this panel to define an access pattern for future clinic availability.";
//
// cmdSelectTemplate
//
this.cmdSelectTemplate.Location = new System.Drawing.Point(24, 40);
this.cmdSelectTemplate.Name = "cmdSelectTemplate";
this.cmdSelectTemplate.Size = new System.Drawing.Size(136, 32);
this.cmdSelectTemplate.TabIndex = 9;
this.cmdSelectTemplate.Text = "Select Access Template";
this.cmdSelectTemplate.Click += new System.EventHandler(this.cmdSelectTemplate_Click);
//
// txtTemplate
//
this.txtTemplate.Location = new System.Drawing.Point(176, 32);
this.txtTemplate.Multiline = true;
this.txtTemplate.Name = "txtTemplate";
this.txtTemplate.ReadOnly = true;
this.txtTemplate.Size = new System.Drawing.Size(248, 48);
this.txtTemplate.TabIndex = 10;
this.txtTemplate.Text = "";
//
// dtpStartDate
//
this.dtpStartDate.AllowDrop = true;
this.dtpStartDate.Checked = false;
this.dtpStartDate.Location = new System.Drawing.Point(176, 104);
this.dtpStartDate.Name = "dtpStartDate";
this.dtpStartDate.Size = new System.Drawing.Size(184, 20);
this.dtpStartDate.TabIndex = 11;
//
// udWeeksToApply
//
this.udWeeksToApply.Location = new System.Drawing.Point(176, 144);
this.udWeeksToApply.Maximum = new System.Decimal(new int[] {
52,
0,
0,
0});
this.udWeeksToApply.Minimum = new System.Decimal(new int[] {
1,
0,
0,
0});
this.udWeeksToApply.Name = "udWeeksToApply";
this.udWeeksToApply.Size = new System.Drawing.Size(96, 20);
this.udWeeksToApply.TabIndex = 12;
this.udWeeksToApply.Value = new System.Decimal(new int[] {
1,
0,
0,
0});
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 104);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(152, 16);
this.label1.TabIndex = 13;
this.label1.Text = "Starting Week (Monday):";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 144);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(152, 16);
this.label2.TabIndex = 13;
this.label2.Text = "Number of Weeks to Apply:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// DAccessTemplate
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(440, 304);
this.Controls.Add(this.label1);
this.Controls.Add(this.udWeeksToApply);
this.Controls.Add(this.dtpStartDate);
this.Controls.Add(this.txtTemplate);
this.Controls.Add(this.cmdSelectTemplate);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlPageBottom);
this.Controls.Add(this.label2);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DAccessTemplate";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Apply Access Template";
this.Closing += new System.ComponentModel.CancelEventHandler(this.DAccessTemplate_Closing);
this.pnlPageBottom.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescriptionResourceGroup.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.udWeeksToApply)).EndInit();
this.ResumeLayout(false);
}
#endregion
private void DAccessTemplate_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
if (m_bCancelOK == true)
{
e.Cancel = true;
m_bCancelOK = false;
}
else
{
e.Cancel = false;
}
}
#region Properties
/// <summary>
/// Returns the open file dialog object
/// </summary>
public OpenFileDialog FileDialog
{
get
{
return m_ofDialog;
}
}
/// <summary>
/// Sets or returns the start date to apply the template
/// </summary>
public DateTime StartDate
{
get
{
return m_dtStart;
}
set
{
m_dtStart = value;
}
}
/// <summary>
/// Sets or returns the number of weeks to apply the template
/// </summary>
public int WeeksToApply
{
get
{
return m_nWeeksToApply;
}
set
{
m_nWeeksToApply = value;
}
}
#endregion Properties
}
}

View File

@ -0,0 +1,265 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescriptionResourceGroup.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescriptionResourceGroup.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSelectTemplate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdSelectTemplate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSelectTemplate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtTemplate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtTemplate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtTemplate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="dtpStartDate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtpStartDate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtpStartDate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="udWeeksToApply.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="udWeeksToApply.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udWeeksToApply.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Name">
<value>DAccessTemplate</value>
</data>
</root>

View File

@ -0,0 +1,331 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DAccessType.
/// </summary>
public class DAccessType : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Button cmdSelectColor;
private System.Windows.Forms.TextBox txtColor;
private System.Windows.Forms.CheckBox chkInactivate;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
private DataTable m_dtTypes;
private string m_sAccessIEN;
private string m_sAccessName;
private string m_sColor;
private int m_nRed;
private int m_nGreen;
private int m_nBlue;
private bool m_bInactive;
private System.Windows.Forms.TextBox txtAccessType;
private System.Windows.Forms.Label label1;
public DAccessType()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.cmdSelectColor = new System.Windows.Forms.Button();
this.txtColor = new System.Windows.Forms.TextBox();
this.chkInactivate = new System.Windows.Forms.CheckBox();
this.txtAccessType = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.cmdCancel);
this.panel1.Controls.Add(this.cmdOK);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 144);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(370, 40);
this.panel1.TabIndex = 99;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(288, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 4;
this.cmdCancel.Text = "Cancel";
this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click);
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(208, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 3;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// cmdSelectColor
//
this.cmdSelectColor.Location = new System.Drawing.Point(8, 48);
this.cmdSelectColor.Name = "cmdSelectColor";
this.cmdSelectColor.Size = new System.Drawing.Size(96, 32);
this.cmdSelectColor.TabIndex = 1;
this.cmdSelectColor.Text = "Select Display Color";
this.cmdSelectColor.Click += new System.EventHandler(this.cmdSelectColor_Click);
//
// txtColor
//
this.txtColor.BackColor = System.Drawing.SystemColors.Menu;
this.txtColor.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtColor.ForeColor = System.Drawing.SystemColors.Window;
this.txtColor.Location = new System.Drawing.Point(128, 48);
this.txtColor.Multiline = true;
this.txtColor.Name = "txtColor";
this.txtColor.ReadOnly = true;
this.txtColor.Size = new System.Drawing.Size(144, 32);
this.txtColor.TabIndex = 31;
this.txtColor.TabStop = false;
this.txtColor.Text = "";
//
// chkInactivate
//
this.chkInactivate.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chkInactivate.Location = new System.Drawing.Point(56, 96);
this.chkInactivate.Name = "chkInactivate";
this.chkInactivate.Size = new System.Drawing.Size(88, 16);
this.chkInactivate.TabIndex = 2;
this.chkInactivate.Text = "Inactive:";
//
// txtAccessType
//
this.txtAccessType.Location = new System.Drawing.Point(128, 16);
this.txtAccessType.Name = "txtAccessType";
this.txtAccessType.Size = new System.Drawing.Size(144, 20);
this.txtAccessType.TabIndex = 0;
this.txtAccessType.Text = "";
//
// label1
//
this.label1.Location = new System.Drawing.Point(8, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(112, 16);
this.label1.TabIndex = 36;
this.label1.Text = "Access Type Name:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// DAccessType
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(370, 184);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtAccessType);
this.Controls.Add(this.chkInactivate);
this.Controls.Add(this.txtColor);
this.Controls.Add(this.cmdSelectColor);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DAccessType";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Manage Access Types";
this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void cmdSelectColor_Click(object sender, System.EventArgs e)
{
ColorDialog MyDialog = new ColorDialog();
// Keeps the user from selecting a custom color.
MyDialog.AllowFullOpen = true ;
// Allows the user to get help. (The default is false.)
MyDialog.ShowHelp = true ;
// Sets the initial color select to the current text color,
// so that if the user cancels out, the original color is restored.
MyDialog.Color = txtColor.BackColor ;
MyDialog.ShowDialog();
txtColor.BackColor = MyDialog.Color;
}
public void InitializePage(int nRow, DataSet dsGlobal)
{
m_dtTypes = dsGlobal.Tables["AccessTypes"];
if (nRow < 0) //then we're in ADD mode
{
m_sAccessIEN = "";
m_sAccessName = "";
m_sColor = "Gray";
Color c = Color.FromKnownColor(KnownColor.AppWorkspace);
m_nRed = c.R;
m_nBlue = c.B;
m_nGreen = c.G;
m_bInactive = false;
}
else //we're in EDIT mode
{
string sTemp;
DataRow dr = m_dtTypes.Rows[nRow];
m_sAccessIEN = dr["BMXIEN"].ToString();
m_sAccessName = dr["ACCESS_TYPE_NAME"].ToString();
m_sColor = dr["DISPLAY_COLOR"].ToString();
sTemp = dr["RED"].ToString();
sTemp = (sTemp == "")?"0":sTemp;
m_nRed = Convert.ToInt16(sTemp);
sTemp = dr["GREEN"].ToString();
sTemp = (sTemp == "")?"0":sTemp;
m_nGreen = Convert.ToInt16(sTemp);
sTemp = dr["BLUE"].ToString();
sTemp = (sTemp == "")?"0":sTemp;
m_nBlue = Convert.ToInt16(sTemp);
string sInactive = dr["INACTIVE"].ToString();
m_bInactive = (sInactive == "YES")?true:false;
}
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
txtAccessType.Text = m_sAccessName;
this.chkInactivate.Checked = m_bInactive;
this.txtColor.BackColor = Color.FromArgb(m_nRed, m_nGreen, m_nBlue);
}
else
{
m_sAccessName = txtAccessType.Text;
m_bInactive = this.chkInactivate.Checked;
m_nRed = this.txtColor.BackColor.R;
m_nGreen = this.txtColor.BackColor.G;
m_nBlue = this.txtColor.BackColor.B;
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
this.UpdateDialogData(false);
}
private void cmdCancel_Click(object sender, System.EventArgs e)
{
}
public string AccessIEN
{
get
{
return m_sAccessIEN;
}
}
public string AccessTypeName
{
get
{
return m_sAccessName;
}
}
public string DisplayColor
{
get
{
return m_sColor;
}
}
public bool Inactive
{
get
{
return m_bInactive;
}
}
public int Red
{
get
{
return m_nRed;
}
}
public int Green
{
get
{
return m_nGreen;
}
}
public int Blue
{
get
{
return m_nBlue;
}
}
}
}

View File

@ -0,0 +1,211 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSelectColor.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdSelectColor.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSelectColor.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtColor.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtColor.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtColor.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkInactivate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkInactivate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkInactivate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtAccessType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtAccessType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtAccessType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DAccessType</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,788 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using System.Diagnostics;
using IndianHealthService.BMXNet;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Appointment Info Dialog
/// </summary>
public class DAppointPage : System.Windows.Forms.Form
{
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPatientInfo;
private System.Windows.Forms.TabPage tabAppointment;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.TextBox txtCity;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox txtZip;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox txtState;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox txtStreet;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox txtPhoneOffice;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtPhoneHome;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox txtCommunity;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtSSN;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtDOB;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtPatientName;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Label lblClinic;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.TextBox txtNote;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lblDuration;
private System.Windows.Forms.Label lblStartTime;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.TextBox txtHRN;
private System.Windows.Forms.Button cmdViewAppointments;
private System.Windows.Forms.Button cmdPrintLetter;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DAppointPage()
{
InitializeComponent();
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.Button cmdViewEHR;
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabAppointment = new System.Windows.Forms.TabPage();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.lblClinic = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.txtNote = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.lblDuration = new System.Windows.Forms.Label();
this.lblStartTime = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label14 = new System.Windows.Forms.Label();
this.txtHRN = new System.Windows.Forms.TextBox();
this.txtCommunity = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.txtSSN = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtDOB = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtPatientName = new System.Windows.Forms.TextBox();
this.tabPatientInfo = new System.Windows.Forms.TabPage();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.label12 = new System.Windows.Forms.Label();
this.txtPhoneOffice = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.txtPhoneHome = new System.Windows.Forms.TextBox();
this.txtCity = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.txtZip = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.txtState = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.txtStreet = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.cmdPrintLetter = new System.Windows.Forms.Button();
this.cmdViewAppointments = new System.Windows.Forms.Button();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
cmdViewEHR = new System.Windows.Forms.Button();
this.tabControl1.SuspendLayout();
this.tabAppointment.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox1.SuspendLayout();
this.tabPatientInfo.SuspendLayout();
this.groupBox2.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// cmdViewEHR
//
cmdViewEHR.CausesValidation = false;
cmdViewEHR.Location = new System.Drawing.Point(131, 8);
cmdViewEHR.Name = "cmdViewEHR";
cmdViewEHR.Size = new System.Drawing.Size(70, 24);
cmdViewEHR.TabIndex = 4;
cmdViewEHR.Text = "View EHR";
cmdViewEHR.Click += new System.EventHandler(this.cmdViewEHR_Click);
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabAppointment);
this.tabControl1.Controls.Add(this.tabPatientInfo);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(463, 374);
this.tabControl1.TabIndex = 0;
//
// tabAppointment
//
this.tabAppointment.Controls.Add(this.groupBox3);
this.tabAppointment.Controls.Add(this.groupBox1);
this.tabAppointment.Location = new System.Drawing.Point(4, 22);
this.tabAppointment.Name = "tabAppointment";
this.tabAppointment.Size = new System.Drawing.Size(455, 348);
this.tabAppointment.TabIndex = 1;
this.tabAppointment.Text = "Appointment";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.lblClinic);
this.groupBox3.Controls.Add(this.label15);
this.groupBox3.Controls.Add(this.txtNote);
this.groupBox3.Controls.Add(this.label1);
this.groupBox3.Controls.Add(this.lblDuration);
this.groupBox3.Controls.Add(this.lblStartTime);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Location = new System.Drawing.Point(8, 136);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(439, 168);
this.groupBox3.TabIndex = 13;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Appointment";
//
// lblClinic
//
this.lblClinic.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblClinic.Location = new System.Drawing.Point(200, 48);
this.lblClinic.Name = "lblClinic";
this.lblClinic.Size = new System.Drawing.Size(233, 16);
this.lblClinic.TabIndex = 19;
//
// label15
//
this.label15.Location = new System.Drawing.Point(152, 48);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(40, 16);
this.label15.TabIndex = 18;
this.label15.Text = "Clinic:";
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtNote
//
this.txtNote.AcceptsReturn = true;
this.txtNote.Location = new System.Drawing.Point(80, 72);
this.txtNote.Multiline = true;
this.txtNote.Name = "txtNote";
this.txtNote.Size = new System.Drawing.Size(353, 88);
this.txtNote.TabIndex = 17;
//
// label1
//
this.label1.Location = new System.Drawing.Point(4, 80);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 16);
this.label1.TabIndex = 16;
this.label1.Text = "Notes:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblDuration
//
this.lblDuration.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblDuration.Location = new System.Drawing.Point(80, 48);
this.lblDuration.Name = "lblDuration";
this.lblDuration.Size = new System.Drawing.Size(56, 16);
this.lblDuration.TabIndex = 15;
//
// lblStartTime
//
this.lblStartTime.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblStartTime.Location = new System.Drawing.Point(80, 24);
this.lblStartTime.Name = "lblStartTime";
this.lblStartTime.Size = new System.Drawing.Size(353, 16);
this.lblStartTime.TabIndex = 14;
//
// label4
//
this.label4.Location = new System.Drawing.Point(16, 48);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 16);
this.label4.TabIndex = 13;
this.label4.Text = "Duration:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label3
//
this.label3.Location = new System.Drawing.Point(8, 24);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(64, 16);
this.label3.TabIndex = 12;
this.label3.Text = "Start Time:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label14);
this.groupBox1.Controls.Add(this.txtHRN);
this.groupBox1.Controls.Add(this.txtCommunity);
this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.txtSSN);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.txtDOB);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.txtPatientName);
this.groupBox1.Location = new System.Drawing.Point(8, 8);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(439, 120);
this.groupBox1.TabIndex = 12;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Patient ID";
//
// label14
//
this.label14.Location = new System.Drawing.Point(56, 64);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(40, 16);
this.label14.TabIndex = 13;
this.label14.Text = "HRN:";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtHRN
//
this.txtHRN.Location = new System.Drawing.Point(96, 64);
this.txtHRN.Name = "txtHRN";
this.txtHRN.ReadOnly = true;
this.txtHRN.Size = new System.Drawing.Size(120, 20);
this.txtHRN.TabIndex = 12;
//
// txtCommunity
//
this.txtCommunity.Location = new System.Drawing.Point(96, 88);
this.txtCommunity.Name = "txtCommunity";
this.txtCommunity.ReadOnly = true;
this.txtCommunity.Size = new System.Drawing.Size(337, 20);
this.txtCommunity.TabIndex = 10;
//
// label7
//
this.label7.Location = new System.Drawing.Point(24, 88);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(72, 16);
this.label7.TabIndex = 11;
this.label7.Text = "Community:";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label6
//
this.label6.Location = new System.Drawing.Point(224, 40);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(40, 16);
this.label6.TabIndex = 9;
this.label6.Text = "SSN:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSSN
//
this.txtSSN.Location = new System.Drawing.Point(272, 40);
this.txtSSN.Name = "txtSSN";
this.txtSSN.ReadOnly = true;
this.txtSSN.Size = new System.Drawing.Size(161, 20);
this.txtSSN.TabIndex = 8;
//
// label5
//
this.label5.Location = new System.Drawing.Point(64, 40);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(32, 16);
this.label5.TabIndex = 7;
this.label5.Text = "DOB:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtDOB
//
this.txtDOB.Location = new System.Drawing.Point(96, 40);
this.txtDOB.Name = "txtDOB";
this.txtDOB.ReadOnly = true;
this.txtDOB.Size = new System.Drawing.Size(120, 20);
this.txtDOB.TabIndex = 6;
//
// label2
//
this.label2.Location = new System.Drawing.Point(56, 16);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(40, 16);
this.label2.TabIndex = 5;
this.label2.Text = "Name:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtPatientName
//
this.txtPatientName.Location = new System.Drawing.Point(96, 16);
this.txtPatientName.Name = "txtPatientName";
this.txtPatientName.ReadOnly = true;
this.txtPatientName.Size = new System.Drawing.Size(337, 20);
this.txtPatientName.TabIndex = 0;
//
// tabPatientInfo
//
this.tabPatientInfo.Controls.Add(this.groupBox2);
this.tabPatientInfo.Location = new System.Drawing.Point(4, 22);
this.tabPatientInfo.Name = "tabPatientInfo";
this.tabPatientInfo.Size = new System.Drawing.Size(455, 348);
this.tabPatientInfo.TabIndex = 0;
this.tabPatientInfo.Text = "Contact Information";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.label12);
this.groupBox2.Controls.Add(this.txtPhoneOffice);
this.groupBox2.Controls.Add(this.label13);
this.groupBox2.Controls.Add(this.txtPhoneHome);
this.groupBox2.Controls.Add(this.txtCity);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.txtZip);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Controls.Add(this.txtState);
this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Controls.Add(this.txtStreet);
this.groupBox2.Location = new System.Drawing.Point(8, 16);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(444, 128);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Address";
//
// label12
//
this.label12.Location = new System.Drawing.Point(224, 96);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(40, 16);
this.label12.TabIndex = 23;
this.label12.Text = "Ofc:";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtPhoneOffice
//
this.txtPhoneOffice.Location = new System.Drawing.Point(272, 96);
this.txtPhoneOffice.Name = "txtPhoneOffice";
this.txtPhoneOffice.Size = new System.Drawing.Size(166, 20);
this.txtPhoneOffice.TabIndex = 22;
//
// label13
//
this.label13.Location = new System.Drawing.Point(8, 96);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(88, 16);
this.label13.TabIndex = 21;
this.label13.Text = "Phone (Home):";
this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtPhoneHome
//
this.txtPhoneHome.Location = new System.Drawing.Point(96, 96);
this.txtPhoneHome.Name = "txtPhoneHome";
this.txtPhoneHome.Size = new System.Drawing.Size(120, 20);
this.txtPhoneHome.TabIndex = 20;
//
// txtCity
//
this.txtCity.Location = new System.Drawing.Point(96, 48);
this.txtCity.Name = "txtCity";
this.txtCity.Size = new System.Drawing.Size(342, 20);
this.txtCity.TabIndex = 18;
//
// label8
//
this.label8.Location = new System.Drawing.Point(16, 48);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(72, 16);
this.label8.TabIndex = 19;
this.label8.Text = "City:";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label9
//
this.label9.Location = new System.Drawing.Point(224, 72);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(40, 16);
this.label9.TabIndex = 17;
this.label9.Text = "Zip:";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtZip
//
this.txtZip.Location = new System.Drawing.Point(272, 72);
this.txtZip.Name = "txtZip";
this.txtZip.Size = new System.Drawing.Size(166, 20);
this.txtZip.TabIndex = 16;
//
// label10
//
this.label10.Location = new System.Drawing.Point(56, 72);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(40, 16);
this.label10.TabIndex = 15;
this.label10.Text = "State:";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtState
//
this.txtState.Location = new System.Drawing.Point(96, 72);
this.txtState.Name = "txtState";
this.txtState.Size = new System.Drawing.Size(120, 20);
this.txtState.TabIndex = 14;
//
// label11
//
this.label11.Location = new System.Drawing.Point(56, 22);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(40, 16);
this.label11.TabIndex = 13;
this.label11.Text = "Street:";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtStreet
//
this.txtStreet.Location = new System.Drawing.Point(96, 22);
this.txtStreet.Name = "txtStreet";
this.txtStreet.Size = new System.Drawing.Size(342, 20);
this.txtStreet.TabIndex = 12;
//
// panel1
//
this.panel1.Controls.Add(cmdViewEHR);
this.panel1.Controls.Add(this.cmdPrintLetter);
this.panel1.Controls.Add(this.cmdViewAppointments);
this.panel1.Controls.Add(this.cmdCancel);
this.panel1.Controls.Add(this.cmdOK);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 334);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(463, 40);
this.panel1.TabIndex = 1;
//
// cmdPrintLetter
//
this.cmdPrintLetter.CausesValidation = false;
this.cmdPrintLetter.Location = new System.Drawing.Point(208, 8);
this.cmdPrintLetter.Name = "cmdPrintLetter";
this.cmdPrintLetter.Size = new System.Drawing.Size(68, 24);
this.cmdPrintLetter.TabIndex = 3;
this.cmdPrintLetter.Text = "Print Letter";
this.cmdPrintLetter.Click += new System.EventHandler(this.cmdPrintLetter_Click);
//
// cmdViewAppointments
//
this.cmdViewAppointments.CausesValidation = false;
this.cmdViewAppointments.Location = new System.Drawing.Point(12, 8);
this.cmdViewAppointments.Name = "cmdViewAppointments";
this.cmdViewAppointments.Size = new System.Drawing.Size(112, 24);
this.cmdViewAppointments.TabIndex = 2;
this.cmdViewAppointments.Text = "View Appointments";
this.cmdViewAppointments.Click += new System.EventHandler(this.cmdViewAppointments_Click);
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(387, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 1;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(317, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 0;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// DAppointPage
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(463, 374);
this.Controls.Add(this.panel1);
this.Controls.Add(this.tabControl1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DAppointPage";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Patient Appointment";
this.Load += new System.EventHandler(this.DAppointPage_Load);
this.tabControl1.ResumeLayout(false);
this.tabAppointment.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.tabPatientInfo.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Fields
private CGDocumentManager m_DocManager;
private string m_sPatientName;
private string m_sPatientHRN;
private string m_sPatientIEN;
private string m_sPatientDOB;
private string m_sPatientSSN;
private string m_sCity;
private string m_sPhoneHome;
private string m_sPhoneOffice;
private string m_sState;
private string m_sStreet;
private string m_sZip;
private string m_sNote;
private DateTime m_dStartTime;
private int m_nDuration;
private string m_sClinic;
#endregion //fields
#region Methods
public void InitializePage(CGAppointment a)
{
InitializePage(a.PatientID.ToString(), a.StartTime, a.Duration, "", a.Note);
}
public void InitializePage(string sPatientIEN, DateTime dStart, int nDuration, string sClinic, string sNote)
{
m_dStartTime = dStart;
m_nDuration = nDuration;
m_sClinic = sClinic;
m_sPatientIEN = sPatientIEN;
m_sNote = sNote;
try
{
string sSql;
sSql = "BSDX GET BASIC REG INFO^" + m_sPatientIEN;
DataTable tb = m_DocManager.RPMSDataTable(sSql, "PatientRegInfo");
Debug.Assert(tb.Rows.Count == 1);
DataRow r = tb.Rows[0];
this.m_sPatientName = r["NAME"].ToString();
this.m_sPatientHRN = r["HRN"].ToString();
this.m_sPatientIEN = r["IEN"].ToString();
this.m_sPatientSSN = r["SSN"].ToString();
DateTime dDob =(DateTime) r["DOB"]; //what if it's null?
this.m_sPatientDOB = dDob.ToShortDateString();
this.m_sStreet = r["STREET"].ToString();
this.m_sCity = r["CITY"].ToString();
this.m_sPhoneOffice = r["OFCPHONE"].ToString();
this.m_sState = r["STATE"].ToString();
this.m_sZip = r["ZIP"].ToString();
this.m_sPhoneHome = r["HOMEPHONE"].ToString();
this.UpdateDialogData(true);
}
catch(Exception e)
{
MessageBox.Show("DAppointPage::InitializePage -- Unable to retrieve patient information from RPMS. " + e.Message);
}
}
/// <summary>
/// Move data from member variables to controls (b == true)
/// or from controls to member variables (b == false)
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true) //move member vars into control data
{
lblClinic.Text = m_sClinic;
lblDuration.Text = m_nDuration.ToString();
lblStartTime.Text = m_dStartTime.ToShortDateString() + " " + m_dStartTime.ToShortTimeString();
txtCity.Text = this.m_sCity;
txtDOB.Text = this.m_sPatientDOB;
txtHRN.Text = this.m_sPatientHRN;
txtNote.Text = this.m_sNote;
txtPatientName.Text = m_sPatientName;
txtPhoneHome.Text = this.m_sPhoneHome;
txtPhoneOffice.Text = this.m_sPhoneOffice;
txtSSN.Text = this.m_sPatientSSN;
txtState.Text = this.m_sState;
txtStreet.Text = this.m_sStreet;
txtZip.Text = this.m_sZip;
}
else //move control data into member vars
{
string sNote = txtNote.Text;
sNote = sNote.Replace("^", " ");
this.m_sNote = sNote;
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
this.UpdateDialogData(false);
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void cmdViewAppointments_Click(object sender, System.EventArgs e)
{
try
{
Debug.Assert(m_sPatientIEN != "");
int nPatientID = Convert.ToInt32(m_sPatientIEN);
ViewPatientAppointments(nPatientID);
}
catch (Exception ex)
{
MessageBox.Show(this, ex.Message, "IHS Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
public void ViewPatientAppointments(int PatientID)
{
DPatientApptDisplay dPa = new DPatientApptDisplay();
dPa.InitializeForm(this.DocManager, PatientID);
if (dPa.ShowDialog(this) != DialogResult.Cancel)
{
return;
}
}
public void ViewPatientEHR()
{
MessageBox.Show("Sorry, not implemented in WorldVista.", "Not Implemented");
/* not implemented right now in CPRS //SMH 7/25/09
Debug.Assert(m_sPatientIEN != "");
string sWID = Environment.MachineName;
string sCmd = "BSDX EHR PATIENT^" + sWID + "^" + m_sPatientIEN;
DataTable dtAppt = this.DocManager.RPMSDataTable(sCmd, "EHR Patient");
*/
}
private void cmdPrintLetter_Click(object sender, System.EventArgs e)
{
try
{
Debug.Assert(m_sPatientIEN != "");
int nPatientID = Convert.ToInt32(m_sPatientIEN);
PrintPatientLetter(nPatientID);
}
catch (Exception ex)
{
MessageBox.Show(this, ex.Message, "IHS Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
private void PrintPatientLetter(int PatientID)
{
//Print letter for individual patient
try
{
DPatientLetter dPa = new DPatientLetter();
dPa.InitializeForm(DocManager, PatientID);
if (dPa.ShowDialog(this) != DialogResult.Cancel)
{
return;
}
}
catch (Exception ex)
{
throw ex;
}
}
private void DAppointPage_Load(object sender, System.EventArgs e)
{
cmdPrintLetter.Enabled = !(m_dStartTime < DateTime.Today);
}
private void cmdViewEHR_Click(object sender, EventArgs e)
{
ViewPatientEHR();
}
#endregion //Methods
#region Properties
public string Note
{
get
{
return m_sNote;
}
set
{
m_sNote = value;
}
}
public CGDocumentManager DocManager
{
get
{
return m_DocManager;
}
set
{
m_DocManager = value;
}
}
#endregion //Properties
} //end Class
}

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="cmdViewEHR.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@ -0,0 +1,820 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DApptSearch.
/// </summary>
public class DApptSearch : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescription;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.CheckedListBox lstAccessTypes;
private System.Windows.Forms.ComboBox cboAccessTypeFilter;
private System.Windows.Forms.GroupBox grpDayOfWeek;
private System.Windows.Forms.CheckBox chkSun;
private System.Windows.Forms.CheckBox chkSat;
private System.Windows.Forms.CheckBox chkFri;
private System.Windows.Forms.CheckBox chkThu;
private System.Windows.Forms.CheckBox chkWed;
private System.Windows.Forms.CheckBox chkTue;
private System.Windows.Forms.CheckBox chkMon;
private System.Windows.Forms.GroupBox grpTimeOfDay;
private System.Windows.Forms.RadioButton rdoBoth;
private System.Windows.Forms.RadioButton rdoPM;
private System.Windows.Forms.RadioButton rdoAM;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.MonthCalendar calStartDate;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.DataGrid grdResult;
private System.Windows.Forms.Button cmdSearch;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DApptSearch()
{
InitializeComponent();
}
#region Fields
private CGDocumentManager m_DocManager;
private DataSet m_dsGlobal;
DataTable m_dtTypes;
DataView m_dvTypes;
DateTime m_dStart;
DateTime m_dEnd;
ArrayList m_alResources;
ArrayList m_alAccessTypes;
string m_sWeekDays;
string m_sAmpm;
DataTable m_dtResult;
DataView m_dvResult;
string m_sSelectedResource;
DateTime m_sSelectedDate;
#endregion Fields
#region Methods
public void LoadListBox(string sGroup)
{
if (sGroup == "ALL")
{
//Load the Access Type list box with ALL access types
m_dtTypes = m_dsGlobal.Tables["AccessTypes"];
m_dvTypes = new DataView(m_dtTypes);
lstAccessTypes.DataSource = m_dvTypes;
lstAccessTypes.DisplayMember = "ACCESS_TYPE_NAME";
lstAccessTypes.Tag = 1; //This holds the column index of the ACCESS_TYPE_NAME column
lstAccessTypes.ValueMember = "BMXIEN";
}
else
{
//Load the Access Type list box with active access types belonging
//to group sGroup
//Build AccessGroup table containing *active* AccessTypes and their Groups
m_dtTypes = m_dsGlobal.Tables["AccessGroupType"];
CGSchedLib.OutputArray(m_dtTypes, "Access Group Type");
//Create a view that is filterable on Access Group
m_dvTypes = new DataView(m_dtTypes);
m_dvTypes.RowFilter = "ACCESS_GROUP = '" + this.cboAccessTypeFilter.Text + "'";
lstAccessTypes.DataSource = m_dvTypes;
lstAccessTypes.DisplayMember = "ACCESS_TYPE";
lstAccessTypes.ValueMember = "ACCESS_TYPE_ID";
lstAccessTypes.Tag = 4; //This holds the column index of the ACCESS_TYPE column
}
}
public void InitializePage(ArrayList alResources, CGDocumentManager docManager)
{
this.m_DocManager = docManager;
this.m_dsGlobal = m_DocManager.GlobalDataSet;
System.IntPtr pHandle = this.Handle;
LoadListBox("ALL");
m_dStart = DateTime.Today;
m_dEnd = new DateTime(9999);
this.m_alResources = alResources;
this.m_alAccessTypes = new ArrayList();
this.m_sAmpm="both";
this.m_sWeekDays = "";
//Load filter combo with list of access type groups
DataTable dtGroup = m_dsGlobal.Tables["AccessGroup"];
DataSet dsTemp = new DataSet("dsTemp");
dsTemp.Tables.Add(dtGroup.Copy());
DataTable dtTemp = dsTemp.Tables["AccessGroup"];
DataView dvGroup = new DataView(dtTemp);
DataRowView drv = dvGroup.AddNew();
drv["ACCESS_GROUP"]="<Show All Access Types>";
cboAccessTypeFilter.DataSource = dvGroup;
cboAccessTypeFilter.DisplayMember = "ACCESS_GROUP";
cboAccessTypeFilter.SelectedText = "<Show All Access Types>";
cboAccessTypeFilter.SelectedIndex = cboAccessTypeFilter.Items.Count - 1;
cboAccessTypeFilter.Refresh();
//Create DataGridTableStyle for Result grid
DataGridTableStyle tsResult = new DataGridTableStyle();
tsResult.MappingName = "Result";
tsResult.ReadOnly = true;
// Add START_TIME column style.
DataGridTextBoxColumn colStartTime = new DataGridTextBoxColumn();
colStartTime.MappingName = "START_TIME";
colStartTime.HeaderText = "Start Time";
colStartTime.Width = 200;
colStartTime.Format = "f";
tsResult.GridColumnStyles.Add(colStartTime);
// Add END_TIME column style.
DataGridTextBoxColumn colEndTime = new DataGridTextBoxColumn();
colEndTime.MappingName = "END_TIME";
colEndTime.HeaderText = "End Time";
colEndTime.Width = 75;
colEndTime.Format = "h:mm tt";
tsResult.GridColumnStyles.Add(colEndTime);
// Add RESOURCE column style.
DataGridTextBoxColumn colResource = new DataGridTextBoxColumn();
colResource.MappingName = "RESOURCE";
colResource.HeaderText = "Resource";
colResource.Width = 200;
tsResult.GridColumnStyles.Add(colResource);
// Add SLOTS column style.
DataGridTextBoxColumn colSlots = new DataGridTextBoxColumn();
colSlots.MappingName = "SLOTS";
colSlots.HeaderText = "Slots";
colSlots.Width = 50;
tsResult.GridColumnStyles.Add(colSlots);
// Add AMPM column style.
DataGridTextBoxColumn colAccess = new DataGridTextBoxColumn();
colAccess.MappingName = "ACCESSNAME";
colAccess.HeaderText = "Access Type";
colAccess.Width = 200;
tsResult.GridColumnStyles.Add(colAccess);
grdResult.TableStyles.Add(tsResult);
this.UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true) //move member vars into controls
{
}
else //move control data into member vars
{
//Build AccessType list
this.m_alAccessTypes.Clear();
for (int j = 0; j < this.lstAccessTypes.CheckedItems.Count; j++)
{
DataRowView drv = (DataRowView) lstAccessTypes.CheckedItems[j];
int nIndex = (int) lstAccessTypes.Tag;
string sItem = drv.Row.ItemArray[nIndex].ToString();
m_alAccessTypes.Add(sItem);
}
//AM/PM
this.m_sAmpm = (this.rdoAM.Checked == true) ? "AM":"BOTH";
if (this.m_sAmpm != "AM")
this.m_sAmpm = (this.rdoPM.Checked == true) ? "PM":"BOTH";
//Weekday
this.m_sWeekDays = ""; //any
if (chkMon.Checked == true)
m_sWeekDays += "Monday";
if (chkTue.Checked == true)
m_sWeekDays += "Tuesday";
if (chkWed.Checked == true)
m_sWeekDays += "Wednesday";
if (chkThu.Checked == true)
m_sWeekDays += "Thursday";
if (chkFri.Checked == true)
m_sWeekDays += "Friday";
if (chkSat.Checked == true)
m_sWeekDays += "Saturday";
if (chkSun.Checked == true)
m_sWeekDays += "Sunday";
//Start
this.m_dStart = this.calStartDate.SelectionStart;
//End
m_dEnd = calStartDate.SelectionEnd;
m_dEnd = m_dEnd.AddHours(23);
m_dEnd = m_dEnd.AddMinutes(59);
}
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#endregion Methods
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.cmdSearch = new System.Windows.Forms.Button();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescription = new System.Windows.Forms.GroupBox();
this.lblDescription = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.lstAccessTypes = new System.Windows.Forms.CheckedListBox();
this.cboAccessTypeFilter = new System.Windows.Forms.ComboBox();
this.grpDayOfWeek = new System.Windows.Forms.GroupBox();
this.chkSun = new System.Windows.Forms.CheckBox();
this.chkSat = new System.Windows.Forms.CheckBox();
this.chkFri = new System.Windows.Forms.CheckBox();
this.chkThu = new System.Windows.Forms.CheckBox();
this.chkWed = new System.Windows.Forms.CheckBox();
this.chkTue = new System.Windows.Forms.CheckBox();
this.chkMon = new System.Windows.Forms.CheckBox();
this.grpTimeOfDay = new System.Windows.Forms.GroupBox();
this.rdoBoth = new System.Windows.Forms.RadioButton();
this.rdoPM = new System.Windows.Forms.RadioButton();
this.rdoAM = new System.Windows.Forms.RadioButton();
this.label1 = new System.Windows.Forms.Label();
this.calStartDate = new System.Windows.Forms.MonthCalendar();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.grdResult = new System.Windows.Forms.DataGrid();
this.panel1.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescription.SuspendLayout();
this.groupBox1.SuspendLayout();
this.grpDayOfWeek.SuspendLayout();
this.grpTimeOfDay.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grdResult)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.cmdSearch);
this.panel1.Controls.Add(this.cmdCancel);
this.panel1.Controls.Add(this.cmdOK);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 456);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(730, 40);
this.panel1.TabIndex = 4;
//
// cmdSearch
//
this.cmdSearch.Location = new System.Drawing.Point(536, 8);
this.cmdSearch.Name = "cmdSearch";
this.cmdSearch.Size = new System.Drawing.Size(72, 24);
this.cmdSearch.TabIndex = 2;
this.cmdSearch.Text = "Search";
this.cmdSearch.Click += new System.EventHandler(this.cmdSearch_Click);
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(616, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 1;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(128, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 0;
this.cmdOK.Text = "OK";
this.cmdOK.Visible = false;
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescription);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 392);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(730, 64);
this.pnlDescription.TabIndex = 47;
//
// grpDescription
//
this.grpDescription.Controls.Add(this.lblDescription);
this.grpDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescription.Location = new System.Drawing.Point(0, 0);
this.grpDescription.Name = "grpDescription";
this.grpDescription.Size = new System.Drawing.Size(730, 64);
this.grpDescription.TabIndex = 0;
this.grpDescription.TabStop = false;
this.grpDescription.Text = "Description";
//
// lblDescription
//
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescription.Location = new System.Drawing.Point(3, 16);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(724, 45);
this.lblDescription.TabIndex = 1;
this.lblDescription.Text = "Search for available appointment times using this panel. You may narrow your sea" +
"rch by selecting an access type or by selecting specific days of the week or tim" +
"es of day.";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.lstAccessTypes);
this.groupBox1.Controls.Add(this.cboAccessTypeFilter);
this.groupBox1.Controls.Add(this.grpDayOfWeek);
this.groupBox1.Controls.Add(this.grpTimeOfDay);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.calStartDate);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(730, 208);
this.groupBox1.TabIndex = 56;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Search Parameters";
//
// label3
//
this.label3.Location = new System.Drawing.Point(472, 72);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(80, 16);
this.label3.TabIndex = 63;
this.label3.Text = "Access Type:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(472, 24);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(104, 16);
this.label2.TabIndex = 62;
this.label2.Text = "Access Group:";
//
// lstAccessTypes
//
this.lstAccessTypes.CheckOnClick = true;
this.lstAccessTypes.HorizontalScrollbar = true;
this.lstAccessTypes.Location = new System.Drawing.Point(472, 88);
this.lstAccessTypes.MultiColumn = true;
this.lstAccessTypes.Name = "lstAccessTypes";
this.lstAccessTypes.Size = new System.Drawing.Size(224, 109);
this.lstAccessTypes.TabIndex = 61;
//
// cboAccessTypeFilter
//
this.cboAccessTypeFilter.Location = new System.Drawing.Point(472, 40);
this.cboAccessTypeFilter.Name = "cboAccessTypeFilter";
this.cboAccessTypeFilter.Size = new System.Drawing.Size(224, 21);
this.cboAccessTypeFilter.TabIndex = 60;
this.cboAccessTypeFilter.Text = "cboAccessTypeFilter";
this.cboAccessTypeFilter.SelectionChangeCommitted += new System.EventHandler(this.cboAccessTypeFilter_SelectionChangeCommitted);
//
// grpDayOfWeek
//
this.grpDayOfWeek.Controls.Add(this.chkSun);
this.grpDayOfWeek.Controls.Add(this.chkSat);
this.grpDayOfWeek.Controls.Add(this.chkFri);
this.grpDayOfWeek.Controls.Add(this.chkThu);
this.grpDayOfWeek.Controls.Add(this.chkWed);
this.grpDayOfWeek.Controls.Add(this.chkTue);
this.grpDayOfWeek.Controls.Add(this.chkMon);
this.grpDayOfWeek.Location = new System.Drawing.Point(224, 96);
this.grpDayOfWeek.Name = "grpDayOfWeek";
this.grpDayOfWeek.Size = new System.Drawing.Size(240, 96);
this.grpDayOfWeek.TabIndex = 59;
this.grpDayOfWeek.TabStop = false;
this.grpDayOfWeek.Text = "Day of the Week";
//
// chkSun
//
this.chkSun.Location = new System.Drawing.Point(176, 64);
this.chkSun.Name = "chkSun";
this.chkSun.Size = new System.Drawing.Size(48, 16);
this.chkSun.TabIndex = 6;
this.chkSun.Text = "Sun";
//
// chkSat
//
this.chkSat.Location = new System.Drawing.Point(128, 64);
this.chkSat.Name = "chkSat";
this.chkSat.Size = new System.Drawing.Size(48, 16);
this.chkSat.TabIndex = 5;
this.chkSat.Text = "Sat";
//
// chkFri
//
this.chkFri.Location = new System.Drawing.Point(72, 64);
this.chkFri.Name = "chkFri";
this.chkFri.Size = new System.Drawing.Size(48, 16);
this.chkFri.TabIndex = 4;
this.chkFri.Text = "Fri";
//
// chkThu
//
this.chkThu.Location = new System.Drawing.Point(16, 64);
this.chkThu.Name = "chkThu";
this.chkThu.Size = new System.Drawing.Size(48, 16);
this.chkThu.TabIndex = 3;
this.chkThu.Text = "Thu";
//
// chkWed
//
this.chkWed.Location = new System.Drawing.Point(128, 32);
this.chkWed.Name = "chkWed";
this.chkWed.Size = new System.Drawing.Size(48, 16);
this.chkWed.TabIndex = 2;
this.chkWed.Text = "Wed";
//
// chkTue
//
this.chkTue.Location = new System.Drawing.Point(72, 32);
this.chkTue.Name = "chkTue";
this.chkTue.Size = new System.Drawing.Size(48, 16);
this.chkTue.TabIndex = 1;
this.chkTue.Text = "Tue";
//
// chkMon
//
this.chkMon.Location = new System.Drawing.Point(16, 32);
this.chkMon.Name = "chkMon";
this.chkMon.Size = new System.Drawing.Size(48, 16);
this.chkMon.TabIndex = 0;
this.chkMon.Text = "Mon";
//
// grpTimeOfDay
//
this.grpTimeOfDay.Controls.Add(this.rdoBoth);
this.grpTimeOfDay.Controls.Add(this.rdoPM);
this.grpTimeOfDay.Controls.Add(this.rdoAM);
this.grpTimeOfDay.Location = new System.Drawing.Point(224, 32);
this.grpTimeOfDay.Name = "grpTimeOfDay";
this.grpTimeOfDay.Size = new System.Drawing.Size(240, 48);
this.grpTimeOfDay.TabIndex = 58;
this.grpTimeOfDay.TabStop = false;
this.grpTimeOfDay.Text = "Time of Day";
//
// rdoBoth
//
this.rdoBoth.Checked = true;
this.rdoBoth.Location = new System.Drawing.Point(176, 24);
this.rdoBoth.Name = "rdoBoth";
this.rdoBoth.Size = new System.Drawing.Size(48, 16);
this.rdoBoth.TabIndex = 2;
this.rdoBoth.TabStop = true;
this.rdoBoth.Text = "Both";
//
// rdoPM
//
this.rdoPM.Location = new System.Drawing.Point(96, 24);
this.rdoPM.Name = "rdoPM";
this.rdoPM.Size = new System.Drawing.Size(72, 16);
this.rdoPM.TabIndex = 1;
this.rdoPM.Text = "PM Only";
//
// rdoAM
//
this.rdoAM.Location = new System.Drawing.Point(16, 24);
this.rdoAM.Name = "rdoAM";
this.rdoAM.Size = new System.Drawing.Size(72, 16);
this.rdoAM.TabIndex = 0;
this.rdoAM.Text = "AM Only";
//
// label1
//
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.label1.Location = new System.Drawing.Point(16, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(136, 16);
this.label1.TabIndex = 57;
this.label1.Text = "Date Range:";
//
// calStartDate
//
this.calStartDate.Location = new System.Drawing.Point(16, 40);
this.calStartDate.MaxSelectionCount = 62;
this.calStartDate.Name = "calStartDate";
this.calStartDate.TabIndex = 56;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.grdResult);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox2.Location = new System.Drawing.Point(0, 208);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(730, 184);
this.groupBox2.TabIndex = 57;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Search Result";
//
// grdResult
//
this.grdResult.CaptionVisible = false;
this.grdResult.DataMember = "";
this.grdResult.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdResult.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.grdResult.Location = new System.Drawing.Point(3, 16);
this.grdResult.Name = "grdResult";
this.grdResult.ReadOnly = true;
this.grdResult.Size = new System.Drawing.Size(724, 165);
this.grdResult.TabIndex = 0;
this.grdResult.DoubleClick += new System.EventHandler(this.grdResult_DoubleClick);
this.grdResult.CurrentCellChanged += new System.EventHandler(this.grdResult_CurrentCellChanged);
//
// DApptSearch
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(730, 496);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DApptSearch";
this.Text = "Find Clinic Availability";
this.panel1.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescription.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.grpDayOfWeek.ResumeLayout(false);
this.grpTimeOfDay.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.grdResult)).EndInit();
this.ResumeLayout(false);
}
#endregion
#region Event Handlers
private void cmdOK_Click(object sender, System.EventArgs e)
{
}
private void cmdSearch_Click(object sender, System.EventArgs e)
{
//Get the control data into local vars
UpdateDialogData(false);
//Resource array, Begin date, Access type array, MTWTF , AM PM
//Assemble |-delimited resource string
string sResources = "";
for (int j=0; j < m_alResources.Count; j++)
{
sResources = sResources + m_alResources[j];
if (j < (m_alResources.Count - 1))
sResources = sResources + "|";
}
//Access Types Array
string sTypes = "";
if (m_alAccessTypes.Count > 0)
{
for (int j=0; j < m_alAccessTypes.Count; j++)
{
sTypes = sTypes + (string) m_alAccessTypes[j];
if (j < (m_alAccessTypes.Count-1))
sTypes = sTypes + "|";
}
}
string sSearchInfo = "1|" + m_sAmpm + "|" + m_sWeekDays;
m_dtResult = CGSchedLib.CreateAvailabilitySchedule(m_DocManager, m_alResources, m_dStart, m_dEnd, m_alAccessTypes, ScheduleType.Resource, sSearchInfo);
if (m_dtResult.Rows.Count == 0)
{
MessageBox.Show("No availability found.");
return;
}
m_dtResult.TableName = "Result";
m_dtResult.Columns.Add("AMPM", System.Type.GetType("System.String") ,"Convert(START_TIME, 'System.String')" );
m_dtResult.Columns.Add("DAYOFWEEK", System.Type.GetType("System.String"));
m_dtResult.Columns.Add("ACCESSNAME", System.Type.GetType("System.String"));
DataRow drAT;
DateTime dt;
string sDOW;
int nAccessTypeID;
string sAccessType;
CGSchedLib.OutputArray(m_dtResult, "Result Grid");
foreach (DataRow dr in m_dtResult.Rows)
{
dt = (DateTime) dr["START_TIME"];
sDOW = dt.DayOfWeek.ToString();
dr["DAYOFWEEK"] = sDOW;
if (dr["ACCESS_TYPE"].ToString() != "")
{
nAccessTypeID =Convert.ToInt16(dr["ACCESS_TYPE"].ToString());
drAT = m_dsGlobal.Tables["AccessTypes"].Rows.Find(nAccessTypeID);
if (drAT != null)
{
sAccessType = drAT["ACCESS_TYPE_NAME"].ToString();
dr["ACCESSNAME"] = sAccessType;
}
}
}
CGSchedLib.OutputArray(m_dtResult, "Result Grid");
m_dvResult = new DataView(m_dtResult);
string sFilter = "(SLOTS > 0)";
if (m_sAmpm != "")
{
if (m_sAmpm == "AM")
sFilter = sFilter + " AND (AMPM LIKE '*AM*')";
if (m_sAmpm == "PM")
sFilter = sFilter + " AND (AMPM LIKE '*PM*')";
}
bool sOr = false;
if (m_sWeekDays != "")
{
sFilter += " AND (";
if (chkMon.Checked == true)
{
sFilter = sFilter + "(DAYOFWEEK LIKE '*Monday*')";
sOr = true;
}
if (chkTue.Checked == true)
{
sFilter = (sOr == true)?sFilter + " OR ":sFilter;
sFilter = sFilter + "(DAYOFWEEK LIKE '*Tuesday*')";
sOr = true;
}
if (chkWed.Checked == true)
{
sFilter = (sOr == true)?sFilter + " OR ":sFilter;
sFilter = sFilter + "(DAYOFWEEK LIKE '*Wednesday*')";
sOr = true;
}
if (chkThu.Checked == true)
{
sFilter = (sOr == true)?sFilter + " OR ":sFilter;
sFilter = sFilter + "(DAYOFWEEK LIKE '*Thursday*')";
sOr = true;
}
if (chkFri.Checked == true)
{
sFilter = (sOr == true)?sFilter + " OR ":sFilter;
sFilter = sFilter + "(DAYOFWEEK LIKE '*Friday*')";
sOr = true;
}
if (chkSat.Checked == true)
{
sFilter = (sOr == true)?sFilter + " OR ":sFilter;
sFilter = sFilter + "(DAYOFWEEK LIKE '*Saturday*')";
sOr = true;
}
if (chkSun.Checked == true)
{
sFilter = (sOr == true)?sFilter + " OR ":sFilter;
sFilter = sFilter + "(DAYOFWEEK LIKE '*Sunday*')";
sOr = true;
}
sFilter += ")";
}
if (m_alAccessTypes.Count > 0)
{
sFilter += " AND (";
sOr = false;
foreach (string sType in m_alAccessTypes)
{
if (sOr == true)
sFilter += " OR ";
sOr = true;
sFilter += "(ACCESSNAME = '" + sType + "')";
}
sFilter += ")";
}
m_dvResult.RowFilter = sFilter;
this.grdResult.DataSource = m_dvResult;
}
private void cboAccessTypeFilter_SelectionChangeCommitted(object sender, System.EventArgs e)
{
//Load Access Types listbox & filter
string sGroup = cboAccessTypeFilter.Text;
if (sGroup == "<Show All Access Types>")
{
LoadListBox("ALL");
}
else
{
LoadListBox("SELECTED");
}
}
private void grdResult_DoubleClick(object sender, System.EventArgs e)
{
if (grdResult.DataSource == null)
return;
DataGridCell dgCell;
dgCell = this.grdResult.CurrentCell;
dgCell.ColumnNumber = 2;
this.m_sSelectedResource = grdResult[dgCell.RowNumber, dgCell.ColumnNumber].ToString();
this.m_sSelectedDate = (DateTime) grdResult[dgCell.RowNumber,0];
this.DialogResult = DialogResult.OK;
this.Close();
}
private void grdResult_CurrentCellChanged(object sender, System.EventArgs e)
{
DataGridCell dgCell;
dgCell = this.grdResult.CurrentCell;
this.grdResult.Select(dgCell.RowNumber);
}
#endregion Event Handlers
#region Properties
/// <summary>
/// Gets the resource selected by the user
/// </summary>
public string SelectedResource
{
get
{
return this.m_sSelectedResource;
}
}
/// <summary>
/// Gets the date selected by the user
/// </summary>
public DateTime SelectedDate
{
get
{
return this.m_sSelectedDate;
}
}
#endregion Properties
}
}

View File

@ -0,0 +1,445 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSearch.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdSearch.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSearch.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="groupBox1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="groupBox1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="groupBox1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="groupBox1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="groupBox1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="groupBox1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstAccessTypes.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstAccessTypes.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lstAccessTypes.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboAccessTypeFilter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboAccessTypeFilter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboAccessTypeFilter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDayOfWeek.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDayOfWeek.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDayOfWeek.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDayOfWeek.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDayOfWeek.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDayOfWeek.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkSun.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkSun.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkSun.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkSat.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkSat.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkSat.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkFri.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkFri.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkFri.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkThu.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkThu.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkThu.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkWed.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkWed.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkWed.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkTue.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkTue.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkTue.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkMon.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkMon.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkMon.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpTimeOfDay.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpTimeOfDay.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpTimeOfDay.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpTimeOfDay.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpTimeOfDay.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpTimeOfDay.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoBoth.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoBoth.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoBoth.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoPM.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoPM.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoPM.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoAM.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoAM.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoAM.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="calStartDate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="calStartDate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="calStartDate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="groupBox2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="groupBox2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="groupBox2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="groupBox2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="groupBox2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="groupBox2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grdResult.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grdResult.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grdResult.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.Name">
<value>DApptSearch</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,531 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.OleDb;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DApptSearch.
/// </summary>
public class DApptSearch : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescription;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.CheckBox chkMon;
private System.Windows.Forms.CheckBox chkTue;
private System.Windows.Forms.CheckBox chkWed;
private System.Windows.Forms.CheckBox chkThu;
private System.Windows.Forms.CheckBox chkFri;
private System.Windows.Forms.GroupBox grpTimeOfDay;
private System.Windows.Forms.GroupBox grpDayOfWeek;
private System.Windows.Forms.CheckBox chkSat;
private System.Windows.Forms.CheckBox chkSun;
private System.Windows.Forms.RadioButton rdoAM;
private System.Windows.Forms.RadioButton rdoPM;
private System.Windows.Forms.RadioButton rdoBoth;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckedListBox lstAccessTypes;
private System.Windows.Forms.ComboBox cboAccessTypeFilter;
private System.Windows.Forms.MonthCalendar calStartDate;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DApptSearch()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
#region Fields
private OleDbConnection m_RPMSConnection;
private CGDocumentManager m_DocManager;
private DataSet m_dsGlobal;
DataTable m_dtTypes;
DataView m_dvTypes;
DateTime m_dStart;
DateTime m_dEnd;
ArrayList m_alResources;
ArrayList m_alAccessTypes;
string m_sWeekDays;
string m_sAmpm;
#endregion Fields
public void LoadListBox(string sGroup)
{
if (sGroup == "ALL")
{
//Load the Access Type list box with ALL access types
m_dtTypes = m_dsGlobal.Tables["AccessTypes"];
m_dvTypes = new DataView(m_dtTypes);
lstAccessTypes.DataSource = m_dvTypes;
lstAccessTypes.DisplayMember = "ACCESS_TYPE_NAME";
lstAccessTypes.ValueMember = "BMXIEN";
}
else
{
//Load the Access Type list box with active access types belonging
//to group sGroup
//Build AccessGroup table containing *active* AccessTypes and their Groups
m_dtTypes = m_dsGlobal.Tables["AccessGroupType"];
//Create a view that is filterable on Access Group
m_dvTypes = new DataView(m_dtTypes);
m_dvTypes.RowFilter = "ACCESS_GROUP = '" + this.cboAccessTypeFilter.Text + "'";
lstAccessTypes.DataSource = m_dvTypes;
lstAccessTypes.DisplayMember = "ACCESS_TYPE";
lstAccessTypes.ValueMember = "ACCESS_TYPE_ID";
}
}
public void InitializePage(ArrayList alResources, CGDocumentManager docManager)
{
this.m_DocManager = docManager;
this.m_dsGlobal = m_DocManager.GlobalDataSet;
this.m_RPMSConnection = m_DocManager.ADOConnection;
LoadListBox("ALL");
m_dStart = DateTime.Today;
m_dEnd = new DateTime(9999);
this.m_alResources = alResources;
this.m_alAccessTypes = new ArrayList();
this.m_sAmpm="both";
this.m_sWeekDays = "";
//Load filter combo with list of access type groups
DataTable dtGroup = m_dsGlobal.Tables["AccessGroup"];
DataSet dsTemp = new DataSet("dsTemp");
dsTemp.Tables.Add(dtGroup.Copy());
DataTable dtTemp = dsTemp.Tables["AccessGroup"];
DataView dvGroup = new DataView(dtTemp);
DataRowView drv = dvGroup.AddNew();
drv["ACCESS_GROUP"]="<Show All Access Types>";
dvGroup.Sort = "ACCESS_GROUP ASC";
cboAccessTypeFilter.DataSource = dvGroup;
cboAccessTypeFilter.DisplayMember = "ACCESS_GROUP";
cboAccessTypeFilter.SelectedIndex = cboAccessTypeFilter.Items.Count - 1;
//TODO: Initialize member vars
this.UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true) //move member vars into controls
{
// lblClinic.Text = m_pAppt.Resource;
// lblEndTime.Text = m_pAppt.EndTime.ToShortDateString() + " " + m_pAppt.EndTime.ToShortTimeString();
// lblStartTime.Text = m_pAppt.StartTime.ToShortDateString() + " " + m_pAppt.StartTime.ToShortTimeString();
// txtNote.Text = m_pAppt.Note;
// nudSlots.Value = m_pAppt.Slots;
// if (m_pAppt.AccessTypeID != 0)
// {
// lstAccessTypes.SelectedValue = m_pAppt.AccessTypeID;
// }
}
else //move control data into member vars
{
//Build AccessType list
this.m_alAccessTypes.Clear();
for (int j = 0; j < this.lstAccessTypes.CheckedItems.Count; j++)
{
m_alAccessTypes.Add(this.lstAccessTypes.Items[j].ToString());
}
//TODO: AM/PM
this.m_sAmpm = "both";
//TODO: Weekday
this.m_sWeekDays = "any";
// m_pAppt.Note = txtNote.Text;
// int nIndex = this.lstAccessTypes.SelectedIndex;
// string sTemp = (string) this.lstAccessTypes.SelectedValue;
// sTemp = (sTemp == "")?"-1":sTemp;
// m_pAppt.AccessTypeID = Convert.ToInt16(sTemp);
// m_pAppt.Slots = Convert.ToInt16(nudSlots.Value);
}
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescription = new System.Windows.Forms.GroupBox();
this.lblDescription = new System.Windows.Forms.Label();
this.calStartDate = new System.Windows.Forms.MonthCalendar();
this.label1 = new System.Windows.Forms.Label();
this.grpTimeOfDay = new System.Windows.Forms.GroupBox();
this.rdoBoth = new System.Windows.Forms.RadioButton();
this.rdoPM = new System.Windows.Forms.RadioButton();
this.rdoAM = new System.Windows.Forms.RadioButton();
this.grpDayOfWeek = new System.Windows.Forms.GroupBox();
this.chkSun = new System.Windows.Forms.CheckBox();
this.chkSat = new System.Windows.Forms.CheckBox();
this.chkFri = new System.Windows.Forms.CheckBox();
this.chkThu = new System.Windows.Forms.CheckBox();
this.chkWed = new System.Windows.Forms.CheckBox();
this.chkTue = new System.Windows.Forms.CheckBox();
this.chkMon = new System.Windows.Forms.CheckBox();
this.cboAccessTypeFilter = new System.Windows.Forms.ComboBox();
this.lstAccessTypes = new System.Windows.Forms.CheckedListBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescription.SuspendLayout();
this.grpTimeOfDay.SuspendLayout();
this.grpDayOfWeek.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
this.cmdCancel,
this.cmdOK});
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 440);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(488, 40);
this.panel1.TabIndex = 4;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(416, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 1;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(336, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 0;
this.cmdOK.Text = "Search";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.AddRange(new System.Windows.Forms.Control[] {
this.grpDescription});
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 376);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(488, 64);
this.pnlDescription.TabIndex = 47;
//
// grpDescription
//
this.grpDescription.Controls.AddRange(new System.Windows.Forms.Control[] {
this.lblDescription});
this.grpDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescription.Name = "grpDescription";
this.grpDescription.Size = new System.Drawing.Size(488, 64);
this.grpDescription.TabIndex = 0;
this.grpDescription.TabStop = false;
this.grpDescription.Text = "Description";
//
// lblDescription
//
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescription.Location = new System.Drawing.Point(3, 16);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(482, 45);
this.lblDescription.TabIndex = 1;
this.lblDescription.Text = "Search for available appointment times using this panel. You may narrow your sea" +
"rch by selecting an access type or by selecting specific days of the week or tim" +
"es of day.";
//
// calStartDate
//
this.calStartDate.Location = new System.Drawing.Point(24, 32);
this.calStartDate.Name = "calStartDate";
this.calStartDate.TabIndex = 48;
//
// label1
//
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.label1.Location = new System.Drawing.Point(16, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(208, 16);
this.label1.TabIndex = 49;
this.label1.Text = "Search for first availabiltiy after this date:";
//
// grpTimeOfDay
//
this.grpTimeOfDay.Controls.AddRange(new System.Windows.Forms.Control[] {
this.rdoBoth,
this.rdoPM,
this.rdoAM});
this.grpTimeOfDay.Location = new System.Drawing.Point(240, 16);
this.grpTimeOfDay.Name = "grpTimeOfDay";
this.grpTimeOfDay.Size = new System.Drawing.Size(240, 48);
this.grpTimeOfDay.TabIndex = 50;
this.grpTimeOfDay.TabStop = false;
this.grpTimeOfDay.Text = "Time of Day";
//
// rdoBoth
//
this.rdoBoth.Checked = true;
this.rdoBoth.Location = new System.Drawing.Point(176, 24);
this.rdoBoth.Name = "rdoBoth";
this.rdoBoth.Size = new System.Drawing.Size(48, 16);
this.rdoBoth.TabIndex = 2;
this.rdoBoth.TabStop = true;
this.rdoBoth.Text = "Both";
//
// rdoPM
//
this.rdoPM.Location = new System.Drawing.Point(96, 24);
this.rdoPM.Name = "rdoPM";
this.rdoPM.Size = new System.Drawing.Size(72, 16);
this.rdoPM.TabIndex = 1;
this.rdoPM.Text = "PM Only";
//
// rdoAM
//
this.rdoAM.Location = new System.Drawing.Point(16, 24);
this.rdoAM.Name = "rdoAM";
this.rdoAM.Size = new System.Drawing.Size(72, 16);
this.rdoAM.TabIndex = 0;
this.rdoAM.Text = "AM Only";
//
// grpDayOfWeek
//
this.grpDayOfWeek.Controls.AddRange(new System.Windows.Forms.Control[] {
this.chkSun,
this.chkSat,
this.chkFri,
this.chkThu,
this.chkWed,
this.chkTue,
this.chkMon});
this.grpDayOfWeek.Location = new System.Drawing.Point(240, 80);
this.grpDayOfWeek.Name = "grpDayOfWeek";
this.grpDayOfWeek.Size = new System.Drawing.Size(240, 104);
this.grpDayOfWeek.TabIndex = 51;
this.grpDayOfWeek.TabStop = false;
this.grpDayOfWeek.Text = "Day of the Week";
//
// chkSun
//
this.chkSun.Location = new System.Drawing.Point(176, 64);
this.chkSun.Name = "chkSun";
this.chkSun.Size = new System.Drawing.Size(48, 16);
this.chkSun.TabIndex = 6;
this.chkSun.Text = "Sun";
//
// chkSat
//
this.chkSat.Location = new System.Drawing.Point(128, 64);
this.chkSat.Name = "chkSat";
this.chkSat.Size = new System.Drawing.Size(48, 16);
this.chkSat.TabIndex = 5;
this.chkSat.Text = "Sat";
//
// chkFri
//
this.chkFri.Location = new System.Drawing.Point(72, 64);
this.chkFri.Name = "chkFri";
this.chkFri.Size = new System.Drawing.Size(48, 16);
this.chkFri.TabIndex = 4;
this.chkFri.Text = "Fri";
//
// chkThu
//
this.chkThu.Location = new System.Drawing.Point(16, 64);
this.chkThu.Name = "chkThu";
this.chkThu.Size = new System.Drawing.Size(48, 16);
this.chkThu.TabIndex = 3;
this.chkThu.Text = "Thu";
//
// chkWed
//
this.chkWed.Location = new System.Drawing.Point(128, 32);
this.chkWed.Name = "chkWed";
this.chkWed.Size = new System.Drawing.Size(48, 16);
this.chkWed.TabIndex = 2;
this.chkWed.Text = "Wed";
//
// chkTue
//
this.chkTue.Location = new System.Drawing.Point(72, 32);
this.chkTue.Name = "chkTue";
this.chkTue.Size = new System.Drawing.Size(48, 16);
this.chkTue.TabIndex = 1;
this.chkTue.Text = "Tue";
//
// chkMon
//
this.chkMon.Location = new System.Drawing.Point(16, 32);
this.chkMon.Name = "chkMon";
this.chkMon.Size = new System.Drawing.Size(48, 16);
this.chkMon.TabIndex = 0;
this.chkMon.Text = "Mon";
//
// cboAccessTypeFilter
//
this.cboAccessTypeFilter.Location = new System.Drawing.Point(72, 208);
this.cboAccessTypeFilter.Name = "cboAccessTypeFilter";
this.cboAccessTypeFilter.Size = new System.Drawing.Size(224, 21);
this.cboAccessTypeFilter.TabIndex = 52;
this.cboAccessTypeFilter.Text = "cboAccessTypeFilter";
this.cboAccessTypeFilter.SelectionChangeCommitted += new System.EventHandler(this.cboAccessTypeFilter_SelectionChangeCommitted);
//
// lstAccessTypes
//
this.lstAccessTypes.CheckOnClick = true;
this.lstAccessTypes.HorizontalScrollbar = true;
this.lstAccessTypes.Location = new System.Drawing.Point(72, 240);
this.lstAccessTypes.MultiColumn = true;
this.lstAccessTypes.Name = "lstAccessTypes";
this.lstAccessTypes.Size = new System.Drawing.Size(408, 124);
this.lstAccessTypes.TabIndex = 53;
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 208);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(48, 32);
this.label2.TabIndex = 54;
this.label2.Text = "Access Group";
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 240);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(56, 32);
this.label3.TabIndex = 55;
this.label3.Text = "Access Type";
//
// DApptSearch
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(488, 480);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.label3,
this.label2,
this.lstAccessTypes,
this.cboAccessTypeFilter,
this.grpDayOfWeek,
this.grpTimeOfDay,
this.label1,
this.calStartDate,
this.pnlDescription,
this.panel1});
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DApptSearch";
this.Text = "DApptSearch";
this.panel1.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescription.ResumeLayout(false);
this.grpTimeOfDay.ResumeLayout(false);
this.grpDayOfWeek.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void cboAccessTypeFilter_SelectionChangeCommitted(object sender, System.EventArgs e)
{
//Load Access Types listbox & filter
string sGroup = cboAccessTypeFilter.Text;
if (sGroup == "<Show All Access Types>")
{
LoadListBox("ALL");
}
else
{
LoadListBox("SELECTED");
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
//Get the control data into local vars
UpdateDialogData(false);
//Do the search
DataSet rsOut = new DataSet("AvailabilitySearch");
OleDbCommand cmd = m_RPMSConnection.CreateCommand();
System.Data.OleDb.OleDbDataAdapter da = new OleDbDataAdapter();
//Resource array, Begin date, Access type array, MTWTF , AM PM
// string sSql = "BSDX SEARCH AVAILABILITY^" + m_nAccessGroupID.ToString() + "^" + nAccessTypeID.ToString();
// cmd.CommandText = sSql;
da.SelectCommand = cmd;
da.Fill(rsOut, "AvailabilitySearch");
// if the result set count > 0 open the result dialog
// else display a "no availability found" messagebox and return
//if the return from the result dialog is cancel then return to the search dialog
//else close the search dialog with dialogresult.oi
}
}
}

View File

@ -0,0 +1,580 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DCancelAppt.
/// </summary>
public class DCancelAppt : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescriptionResourceGroup;
private System.Windows.Forms.Label lblDescriptionResourceGroup;
private System.Windows.Forms.GroupBox grpCancelledby;
private System.Windows.Forms.RadioButton rdoClinic;
private System.Windows.Forms.RadioButton rdoPatient;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListBox lstReason;
private System.Windows.Forms.TextBox txtNote;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.GroupBox grpAutoRebook;
private System.Windows.Forms.CheckBox chkAutoRebook;
private System.Windows.Forms.NumericUpDown udStart;
private System.Windows.Forms.NumericUpDown udMax;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.RadioButton rdoRebookSameType;
private System.Windows.Forms.RadioButton rdoRebookAnyType;
private System.Windows.Forms.RadioButton rdoRebookSelectedType;
private System.Windows.Forms.Label lblRebookSelectedType;
private System.Windows.Forms.Label label6;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DCancelAppt()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
}
#region Fields
private bool m_bClinicCancelled = true;
private int m_nReason = 0;
private string m_sNote = "";
private DataTable m_dtCR;
private DataView m_dvCR;
private bool m_bAutoRebook = false;
private int m_nStart = 7;
private int m_nMax = 30;
// -1: use current, -2: use any non-zero type, >0 use this access type id
private int m_nRebookAccessType = -1;
#endregion Fields
#region Methods
public void InitializePage(CGDocumentManager DocManager)
{
m_bClinicCancelled = true;
m_nReason = 0;
m_sNote = "";
//Load Reasons listbox
m_dtCR = DocManager.RPMSDataTable(@"SELECT BMXIEN, NAME FROM CANCELLATION_REASONS WHERE INACTIVE=''", "CR");
m_dvCR = new DataView(m_dtCR);
m_dvCR.Sort = "NAME ASC";
lstReason.DataSource = m_dvCR;
lstReason.DisplayMember = "NAME";
lstReason.ValueMember = "BMXIEN";
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
rdoClinic.Checked = m_bClinicCancelled;
if (m_nReason != 0)
{
lstReason.SelectedValue = m_nReason;
}
txtNote.Text = m_sNote;
chkAutoRebook.Checked = m_bAutoRebook;
udStart.Value = m_nStart;
udMax.Value = m_nMax;
this.rdoRebookSameType.Checked = true;
this.rdoRebookAnyType.Checked = false;
this.rdoRebookSelectedType.Checked = false;
}
else
{
m_bClinicCancelled = rdoClinic.Checked;
m_nReason = (int) lstReason.SelectedValue;
m_sNote = txtNote.Text;
m_bAutoRebook = chkAutoRebook.Checked;
m_nStart = (int) udStart.Value;
m_nMax = (int) udMax.Value;
if (this.rdoRebookSameType.Checked == true)
{
m_nRebookAccessType = -1;
}
else
{
m_nRebookAccessType = -2;
}
}
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
this.UpdateDialogData(false);
}
#endregion Methods
#region Properties
/// <summary>
/// Sets or returns the rebook access type: -1 = use current type, -2 = use any type, 0 = prompt for a type
/// </summary>
public int RebookAccessType
{
get
{
return m_nRebookAccessType;
}
set
{
m_nRebookAccessType = value;
if (m_nRebookAccessType == -1)
{
this.rdoRebookSameType.Checked = true;
}
else
{
this.rdoRebookAnyType.Checked = true;
}
}
}
/// <summary>
/// Returns true if appt cancelled by Clinic, otherwise false
/// </summary>
public bool ClinicCancelled
{
get
{
return m_bClinicCancelled;
}
}
/// <summary>
/// Returns value of AutoRebook check box
/// </summary>
public bool AutoRebook
{
get
{
return m_bAutoRebook;
}
set
{
m_bAutoRebook = value;
}
}
/// <summary>
/// Returns internal entry in the CANCELLATION REASON file (409.2)
/// </summary>
public int CancelReason
{
get
{
return m_nReason;
}
}
/// <summary>
/// Returns cancellation remarks.
/// </summary>
public string CancelRemarks
{
get
{
return m_sNote;
}
}
/// <summary>
/// Sets or returns the number of days in the future to start searching for availability
/// </summary>
public int RebookStartDays
{
get
{
return m_nStart;
}
set
{
m_nStart = value;
}
}
/// <summary>
/// Sets and returns the maximum number of days in the future to look for rebook availability
/// </summary>
public int RebookMaxDays
{
get
{
return m_nMax;
}
set
{
m_nMax = value;
}
}
#endregion Properties
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescriptionResourceGroup = new System.Windows.Forms.GroupBox();
this.lblDescriptionResourceGroup = new System.Windows.Forms.Label();
this.grpCancelledby = new System.Windows.Forms.GroupBox();
this.rdoPatient = new System.Windows.Forms.RadioButton();
this.rdoClinic = new System.Windows.Forms.RadioButton();
this.lstReason = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.txtNote = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.grpAutoRebook = new System.Windows.Forms.GroupBox();
this.label6 = new System.Windows.Forms.Label();
this.lblRebookSelectedType = new System.Windows.Forms.Label();
this.rdoRebookSameType = new System.Windows.Forms.RadioButton();
this.label3 = new System.Windows.Forms.Label();
this.udMax = new System.Windows.Forms.NumericUpDown();
this.udStart = new System.Windows.Forms.NumericUpDown();
this.chkAutoRebook = new System.Windows.Forms.CheckBox();
this.label4 = new System.Windows.Forms.Label();
this.rdoRebookAnyType = new System.Windows.Forms.RadioButton();
this.rdoRebookSelectedType = new System.Windows.Forms.RadioButton();
this.pnlPageBottom.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescriptionResourceGroup.SuspendLayout();
this.grpCancelledby.SuspendLayout();
this.grpAutoRebook.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.udMax)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.udStart)).BeginInit();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.Add(this.cmdCancel);
this.pnlPageBottom.Controls.Add(this.cmdOK);
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 488);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(594, 40);
this.pnlPageBottom.TabIndex = 6;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(512, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(432, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescriptionResourceGroup);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 416);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(594, 72);
this.pnlDescription.TabIndex = 7;
//
// grpDescriptionResourceGroup
//
this.grpDescriptionResourceGroup.Controls.Add(this.lblDescriptionResourceGroup);
this.grpDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescriptionResourceGroup.Location = new System.Drawing.Point(0, 0);
this.grpDescriptionResourceGroup.Name = "grpDescriptionResourceGroup";
this.grpDescriptionResourceGroup.Size = new System.Drawing.Size(594, 72);
this.grpDescriptionResourceGroup.TabIndex = 1;
this.grpDescriptionResourceGroup.TabStop = false;
this.grpDescriptionResourceGroup.Text = "Description";
//
// lblDescriptionResourceGroup
//
this.lblDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescriptionResourceGroup.Location = new System.Drawing.Point(3, 16);
this.lblDescriptionResourceGroup.Name = "lblDescriptionResourceGroup";
this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(588, 53);
this.lblDescriptionResourceGroup.TabIndex = 0;
this.lblDescriptionResourceGroup.Text = @"Use this panel to cancel an appointment. Indicate whether the appointment was cancelled by the clinic or by the patient. Select a reason for the cancellation. Enter remarks in the text box. To automatically rebook cancelled appointments, check the Auto Rebook box. The Start Time in Days and Maximum Days values control the time window for rebooked appointments.";
//
// grpCancelledby
//
this.grpCancelledby.Controls.Add(this.rdoPatient);
this.grpCancelledby.Controls.Add(this.rdoClinic);
this.grpCancelledby.Location = new System.Drawing.Point(24, 24);
this.grpCancelledby.Name = "grpCancelledby";
this.grpCancelledby.Size = new System.Drawing.Size(256, 80);
this.grpCancelledby.TabIndex = 8;
this.grpCancelledby.TabStop = false;
this.grpCancelledby.Text = "Appointment Cancelled By";
//
// rdoPatient
//
this.rdoPatient.Location = new System.Drawing.Point(24, 48);
this.rdoPatient.Name = "rdoPatient";
this.rdoPatient.Size = new System.Drawing.Size(160, 16);
this.rdoPatient.TabIndex = 1;
this.rdoPatient.Text = "Cancelled by Patient";
//
// rdoClinic
//
this.rdoClinic.Location = new System.Drawing.Point(24, 24);
this.rdoClinic.Name = "rdoClinic";
this.rdoClinic.Size = new System.Drawing.Size(160, 16);
this.rdoClinic.TabIndex = 0;
this.rdoClinic.Text = "Cancelled by Clinic";
//
// lstReason
//
this.lstReason.ColumnWidth = 250;
this.lstReason.Location = new System.Drawing.Point(24, 136);
this.lstReason.Name = "lstReason";
this.lstReason.Size = new System.Drawing.Size(256, 264);
this.lstReason.TabIndex = 9;
//
// label1
//
this.label1.Location = new System.Drawing.Point(24, 112);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(248, 16);
this.label1.TabIndex = 10;
this.label1.Text = "Reason for Cancellation (Select one)";
//
// txtNote
//
this.txtNote.Location = new System.Drawing.Point(312, 304);
this.txtNote.Multiline = true;
this.txtNote.Name = "txtNote";
this.txtNote.Size = new System.Drawing.Size(272, 96);
this.txtNote.TabIndex = 11;
this.txtNote.Text = "";
//
// label2
//
this.label2.Location = new System.Drawing.Point(312, 280);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(280, 64);
this.label2.TabIndex = 10;
this.label2.Text = "Remarks (Optional)";
//
// grpAutoRebook
//
this.grpAutoRebook.Controls.Add(this.label6);
this.grpAutoRebook.Controls.Add(this.lblRebookSelectedType);
this.grpAutoRebook.Controls.Add(this.rdoRebookSameType);
this.grpAutoRebook.Controls.Add(this.label3);
this.grpAutoRebook.Controls.Add(this.udMax);
this.grpAutoRebook.Controls.Add(this.udStart);
this.grpAutoRebook.Controls.Add(this.chkAutoRebook);
this.grpAutoRebook.Controls.Add(this.label4);
this.grpAutoRebook.Controls.Add(this.rdoRebookAnyType);
this.grpAutoRebook.Controls.Add(this.rdoRebookSelectedType);
this.grpAutoRebook.Location = new System.Drawing.Point(312, 24);
this.grpAutoRebook.Name = "grpAutoRebook";
this.grpAutoRebook.Size = new System.Drawing.Size(272, 248);
this.grpAutoRebook.TabIndex = 13;
this.grpAutoRebook.TabStop = false;
this.grpAutoRebook.Text = "Auto Rebook";
//
// label6
//
this.label6.Location = new System.Drawing.Point(16, 128);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(232, 16);
this.label6.TabIndex = 19;
this.label6.Text = "Access Type for Rebooked Appointment:";
//
// lblRebookSelectedType
//
this.lblRebookSelectedType.Enabled = false;
this.lblRebookSelectedType.Location = new System.Drawing.Point(64, 224);
this.lblRebookSelectedType.Name = "lblRebookSelectedType";
this.lblRebookSelectedType.Size = new System.Drawing.Size(168, 16);
this.lblRebookSelectedType.TabIndex = 18;
//
// rdoRebookSameType
//
this.rdoRebookSameType.Location = new System.Drawing.Point(24, 152);
this.rdoRebookSameType.Name = "rdoRebookSameType";
this.rdoRebookSameType.Size = new System.Drawing.Size(160, 16);
this.rdoRebookSameType.TabIndex = 17;
this.rdoRebookSameType.Text = "Same as Current";
//
// label3
//
this.label3.Location = new System.Drawing.Point(88, 56);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(104, 16);
this.label3.TabIndex = 16;
this.label3.Text = "Start time in Days";
//
// udMax
//
this.udMax.Increment = new System.Decimal(new int[] {
7,
0,
0,
0});
this.udMax.Location = new System.Drawing.Point(16, 88);
this.udMax.Maximum = new System.Decimal(new int[] {
730,
0,
0,
0});
this.udMax.Minimum = new System.Decimal(new int[] {
1,
0,
0,
0});
this.udMax.Name = "udMax";
this.udMax.Size = new System.Drawing.Size(56, 20);
this.udMax.TabIndex = 15;
this.udMax.Value = new System.Decimal(new int[] {
30,
0,
0,
0});
//
// udStart
//
this.udStart.Location = new System.Drawing.Point(16, 54);
this.udStart.Maximum = new System.Decimal(new int[] {
730,
0,
0,
0});
this.udStart.Name = "udStart";
this.udStart.Size = new System.Drawing.Size(56, 20);
this.udStart.TabIndex = 14;
this.udStart.Value = new System.Decimal(new int[] {
14,
0,
0,
0});
//
// chkAutoRebook
//
this.chkAutoRebook.Location = new System.Drawing.Point(16, 24);
this.chkAutoRebook.Name = "chkAutoRebook";
this.chkAutoRebook.Size = new System.Drawing.Size(120, 16);
this.chkAutoRebook.TabIndex = 13;
this.chkAutoRebook.Text = "Auto Rebook";
//
// label4
//
this.label4.Location = new System.Drawing.Point(88, 88);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(104, 16);
this.label4.TabIndex = 16;
this.label4.Text = "Maximum Days";
//
// rdoRebookAnyType
//
this.rdoRebookAnyType.Location = new System.Drawing.Point(24, 176);
this.rdoRebookAnyType.Name = "rdoRebookAnyType";
this.rdoRebookAnyType.Size = new System.Drawing.Size(160, 16);
this.rdoRebookAnyType.TabIndex = 17;
this.rdoRebookAnyType.Text = "Any Access Type";
//
// rdoRebookSelectedType
//
this.rdoRebookSelectedType.Enabled = false;
this.rdoRebookSelectedType.Location = new System.Drawing.Point(24, 200);
this.rdoRebookSelectedType.Name = "rdoRebookSelectedType";
this.rdoRebookSelectedType.Size = new System.Drawing.Size(136, 16);
this.rdoRebookSelectedType.TabIndex = 17;
this.rdoRebookSelectedType.Text = "Selected Access Type:";
//
// DCancelAppt
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(594, 528);
this.ControlBox = false;
this.Controls.Add(this.grpAutoRebook);
this.Controls.Add(this.txtNote);
this.Controls.Add(this.label1);
this.Controls.Add(this.lstReason);
this.Controls.Add(this.grpCancelledby);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlPageBottom);
this.Controls.Add(this.label2);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DCancelAppt";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Cancel Appointment";
this.pnlPageBottom.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescriptionResourceGroup.ResumeLayout(false);
this.grpCancelledby.ResumeLayout(false);
this.grpAutoRebook.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.udMax)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.udStart)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}

View File

@ -0,0 +1,391 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescriptionResourceGroup.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="lblDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpCancelledby.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpCancelledby.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpCancelledby.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpCancelledby.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpCancelledby.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpCancelledby.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoPatient.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoPatient.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoPatient.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoClinic.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoClinic.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoClinic.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstReason.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstReason.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lstReason.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtNote.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtNote.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtNote.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpAutoRebook.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpAutoRebook.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpAutoRebook.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpAutoRebook.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpAutoRebook.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpAutoRebook.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label6.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label6.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label6.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblRebookSelectedType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblRebookSelectedType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblRebookSelectedType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSameType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoRebookSameType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSameType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udMax.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="udMax.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udMax.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udStart.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="udStart.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udStart.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkAutoRebook.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkAutoRebook.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkAutoRebook.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookAnyType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoRebookAnyType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookAnyType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSelectedType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoRebookSelectedType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSelectedType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DCancelAppt</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,718 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Diagnostics;
using IndianHealthService.BMXNet;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DCheckIn.
/// </summary>
public class DCheckIn : System.Windows.Forms.Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DCheckIn()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
#region Fields
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescriptionResourceGroup;
private System.Windows.Forms.Label lblDescriptionResourceGroup;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DateTimePicker dtpCheckIn;
private System.Windows.Forms.Label lblAlready;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label lblPatientName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox cboProvider;
private System.Windows.Forms.ComboBox cboStopCode;
private System.Windows.Forms.Label lblStopCode;
private System.Windows.Forms.CheckBox chkRoutingSlip;
private System.Windows.Forms.GroupBox grpPCCPlus;
private System.Windows.Forms.ComboBox cboPCCPlusClinic;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox cboPCCPlusForm;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.CheckBox chkPCCOutGuide;
private string m_sPatientName;
private DateTime m_dCheckIn;
private string m_sProvider;
private string m_sProviderIEN;
private string m_sStopCode;
private string m_sStopCodeIEN;
private CGDocumentManager m_DocManager;
private DataSet m_dsGlobal;
private DataView m_dvProvider;
private DataView m_dvCS;
private bool m_bProviderRequired;
private DataTable m_dtClinic;
private DataTable m_dtForm;
private DataView m_dvClinic;
private DataView m_dvForm;
private bool m_bInit;
public bool m_bPrintRouteSlip;
private DateTime m_dAuxTime;
/*
* PCC Variables
*/
private bool m_bPCC;
private string m_sPCCClinicIEN;
private string m_sPCCFormIEN;
private bool m_bPCCOutGuide;
#endregion Fields
#region Properties
/// <summary>
/// Returns string representation of internal entry number of Provider in PROVIDER File
/// </summary>
public string ProviderIEN
{
get
{
return this.m_sProviderIEN;
}
}
/// <summary>
/// Returns string representation of IEN of Clinic in VEN EHP CLINIC file
/// </summary>
public string PCCClinicIEN
{
get
{
return this.m_sPCCClinicIEN;
}
}
/// <summary>
/// Returns string representation of IEN of template entry in VEN PCC TEMPLATE
/// </summary>
public string PCCFormIEN
{
get
{
return m_sPCCFormIEN;
}
}
/// <summary>
/// Returns 'true' if outguide to be printed; otherwise returns 'false'
/// </summary>
public string PCCOutGuide
{
get
{
string sRet = (this.m_bPCCOutGuide == true)?"true":"false";
return sRet;
}
}
/// <summary>
/// Returns string representation of IEN of CLINIC STOP
/// </summary>
public string ClinicStopIEN
{
get
{
return this.m_sStopCodeIEN;
}
}
/// <summary>
/// Returns 'true' if routing slip to be printed; otherwise 'false'
/// </summary>
public string PrintRouteSlip
{
get
{
string sRet = (this.m_bPrintRouteSlip == true)?"true":"false";
return sRet;
}
}
/// <summary>
/// Appointment checkin time
/// </summary>
public DateTime CheckInTime
{
get
{
return m_dCheckIn;
}
set
{
m_dCheckIn = value;
}
}
/// <summary>
/// Appointment end time
/// </summary>
public DateTime AuxTime
{
get
{
return m_dAuxTime;
}
set
{
m_dAuxTime = value;
}
}
#endregion Properties
#region Methods
public void InitializePage(CGAppointment a, CGDocumentManager docManager,
string sDefaultProvider, bool bProviderRequired, bool bGeneratePCCPlus,
bool bMultCodes, string sStopCode)
{
m_bInit = true;
m_DocManager = docManager;
m_dsGlobal = m_DocManager.GlobalDataSet;
int nFind = 0;
//Provider processing
m_bProviderRequired = bProviderRequired;
m_dvProvider = new DataView(m_dsGlobal.Tables["Provider"]);
m_dvProvider.Sort = "NAME ASC";
cboProvider.DataSource = m_dvProvider;
cboProvider.DisplayMember = "NAME";
cboProvider.ValueMember = "BMXIEN";
nFind = m_dvProvider.Find((string) "<None>");
if (nFind < 0)
{
DataRowView drvProv = m_dvProvider.AddNew();
drvProv.BeginEdit();
drvProv["NAME"]="<None>";
drvProv["BMXIEN"]="0";
drvProv.EndEdit();
}
cboProvider.SelectedIndex = 0;
if (sDefaultProvider != "")
{
nFind = m_dvProvider.Find((string) sDefaultProvider);
cboProvider.SelectedIndex = nFind;
m_sProvider = sDefaultProvider;
}
//Stop code processing
this.lblStopCode.Visible = false;
this.cboStopCode.Visible = false;
m_dvCS = new DataView(m_dsGlobal.Tables["ClinicStop"]);
m_dvCS.Sort = "NAME ASC";
m_sStopCode = sStopCode;
m_sStopCodeIEN = "";
if (m_sStopCode != "")
{
//Get the IEN of the clinic stop code
nFind = m_dvCS.Find((string) m_sStopCode);
Debug.Assert(nFind > -1);
if (nFind > -1)
{
m_sStopCodeIEN = m_dvCS[nFind].Row["BMXIEN"].ToString();
}
}
if (bMultCodes == true)
{
this.lblStopCode.Visible = true;
this.cboStopCode.Visible = true;
cboStopCode.DataSource = m_dvCS;
cboStopCode.DisplayMember = "NAME";
cboStopCode.ValueMember = "BMXIEN";
if (m_sStopCode != "")
{
nFind = m_dvCS.Find((string) m_sStopCode);
cboStopCode.SelectedIndex = nFind;
}
}
m_bPCC = bGeneratePCCPlus;
PCCPlus();
m_sPatientName = a.PatientName;
if (a.CheckInTime.Ticks != 0)
{
m_dCheckIn = a.CheckInTime;
dtpCheckIn.Enabled = false;
this.cboProvider.Enabled = false;
lblAlready.Visible = true;
}
else
{
m_dCheckIn = DateTime.Now;
}
UpdateDialogData(true);
m_bInit = false;
//Synchronize PCCForm with Clinic
if (m_bPCC == true)
{
cboPCCPlusClinic_SelectedIndexChanged(this, new System.EventArgs());
}
}
private void PCCPlus()
{
//PCCPlus processing
/*Can't do PCCPlus if no stop code
* or if PRINT PCC PLUS FORM field in CLINIC SETUP PARAMETERS is false
*/
if ((m_bPCC == false) ||(m_sStopCode == ""))
{
grpPCCPlus.Enabled = false;
return;
}
else
{
grpPCCPlus.Enabled = true;
//Populate combo box with recordset of clinics based on m_sStopCode
string sCmd = "SELECT BMXIEN, NAME, DEPARTMENT, DEFAULT_ENCOUNTER_FORM, NEVER_PRINT_OUTGUIDE FROM VEN_EHP_CLINIC WHERE DEPARTMENT = '" + m_sStopCode + "'";
m_dtClinic = m_DocManager.ConnectInfo.RPMSDataTable(sCmd, "CLINIC");
m_dvClinic = new DataView(m_dtClinic);
m_dvClinic.Sort = "NAME ASC";
cboPCCPlusClinic.DataSource = m_dvClinic;
cboPCCPlusClinic.DisplayMember = "NAME";
cboPCCPlusClinic.ValueMember = "BMXIEN";
//Populate combo box with recordset of all forms
sCmd = "SELECT BMXIEN, TEMPLATE FROM VEN_EHP_EF_TEMPLATES";
m_dtForm = m_DocManager.ConnectInfo.RPMSDataTable(sCmd, "FORM");
m_dvForm = new DataView(m_dtForm);
m_dvForm.Sort = "TEMPLATE ASC";
cboPCCPlusForm.DataSource = m_dvForm;
cboPCCPlusForm.DisplayMember = "TEMPLATE";
cboPCCPlusForm.ValueMember = "BMXIEN";
if ((m_dtClinic.Rows.Count == 0) ||(m_dtForm.Rows.Count == 0))
{
//No PCCPlus clinics for current stop code
//or no forms available
grpPCCPlus.Enabled = false;
return;
}
cboPCCPlusClinic.SelectedIndex = 0;
cboPCCPlusClinic_SelectedIndexChanged(this, new System.EventArgs());
}
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true) //Move data to dialog controls from member variables
{
this.lblPatientName.Text = m_sPatientName;
this.dtpCheckIn.Value = m_dCheckIn;
}
else //Move data to member variables from dialog controls
{
/*
* Need to return Provider, ClinicStop, PrintRouteSlip,
* PCC Clinic, PCC Form, Print OutGuide
*/
m_dCheckIn = this.dtpCheckIn.Value;
m_sProviderIEN = this.cboProvider.SelectedValue.ToString();
m_bPrintRouteSlip = chkRoutingSlip.Checked;
/*
* Don't get value from CLINIC STOP combo since
* it may not be enabled, and
* it updates the member variable whenever the selection changes
*/
/*
* PCCPlus
*/
if (grpPCCPlus.Enabled == false)
{
m_bPCC = false;
m_sPCCClinicIEN = "";
m_sPCCFormIEN = "";
m_bPCCOutGuide = false;
}
else
{
m_bPCC = true;
m_sPCCClinicIEN = this.cboPCCPlusClinic.SelectedValue.ToString();
m_sPCCFormIEN = this.cboPCCPlusForm.SelectedValue.ToString();
if (chkPCCOutGuide.Enabled == false)
{
m_bPCCOutGuide = false;
}
else
{
m_bPCCOutGuide = this.chkPCCOutGuide.Checked;
}
}
}
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#endregion Methods
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescriptionResourceGroup = new System.Windows.Forms.GroupBox();
this.lblDescriptionResourceGroup = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.dtpCheckIn = new System.Windows.Forms.DateTimePicker();
this.lblAlready = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.lblPatientName = new System.Windows.Forms.Label();
this.cboProvider = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.cboStopCode = new System.Windows.Forms.ComboBox();
this.lblStopCode = new System.Windows.Forms.Label();
this.chkRoutingSlip = new System.Windows.Forms.CheckBox();
this.grpPCCPlus = new System.Windows.Forms.GroupBox();
this.chkPCCOutGuide = new System.Windows.Forms.CheckBox();
this.label4 = new System.Windows.Forms.Label();
this.cboPCCPlusClinic = new System.Windows.Forms.ComboBox();
this.cboPCCPlusForm = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.pnlPageBottom.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescriptionResourceGroup.SuspendLayout();
this.grpPCCPlus.SuspendLayout();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.Add(this.cmdCancel);
this.pnlPageBottom.Controls.Add(this.cmdOK);
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 360);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(520, 40);
this.pnlPageBottom.TabIndex = 5;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(440, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(360, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescriptionResourceGroup);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 288);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(520, 72);
this.pnlDescription.TabIndex = 6;
//
// grpDescriptionResourceGroup
//
this.grpDescriptionResourceGroup.Controls.Add(this.lblDescriptionResourceGroup);
this.grpDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescriptionResourceGroup.Location = new System.Drawing.Point(0, 0);
this.grpDescriptionResourceGroup.Name = "grpDescriptionResourceGroup";
this.grpDescriptionResourceGroup.Size = new System.Drawing.Size(520, 72);
this.grpDescriptionResourceGroup.TabIndex = 1;
this.grpDescriptionResourceGroup.TabStop = false;
this.grpDescriptionResourceGroup.Text = "Description";
//
// lblDescriptionResourceGroup
//
this.lblDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescriptionResourceGroup.Location = new System.Drawing.Point(3, 16);
this.lblDescriptionResourceGroup.Name = "lblDescriptionResourceGroup";
this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(514, 53);
this.lblDescriptionResourceGroup.TabIndex = 0;
this.lblDescriptionResourceGroup.Text = "Use this panel to check in an appointment. A PCC visit will automatically be crea" +
"ted for this patient at the check in date and time if the clinic is set up to cr" +
"eate a visit at checkin. A patient may only be checked-in once.";
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(80, 16);
this.label1.TabIndex = 7;
this.label1.Text = "Patient Name:";
//
// dtpCheckIn
//
this.dtpCheckIn.AllowDrop = true;
this.dtpCheckIn.CustomFormat = "MMMM dd yyyy H:mm";
this.dtpCheckIn.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpCheckIn.Location = new System.Drawing.Point(96, 48);
this.dtpCheckIn.Name = "dtpCheckIn";
this.dtpCheckIn.ShowUpDown = true;
this.dtpCheckIn.Size = new System.Drawing.Size(176, 20);
this.dtpCheckIn.TabIndex = 9;
//
// lblAlready
//
this.lblAlready.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblAlready.ForeColor = System.Drawing.Color.Green;
this.lblAlready.Location = new System.Drawing.Point(288, 40);
this.lblAlready.Name = "lblAlready";
this.lblAlready.Size = new System.Drawing.Size(192, 32);
this.lblAlready.TabIndex = 10;
this.lblAlready.Text = "This Patient is already checked in.";
this.lblAlready.Visible = false;
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 48);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(80, 16);
this.label3.TabIndex = 7;
this.label3.Text = "CheckIn Time:";
//
// lblPatientName
//
this.lblPatientName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblPatientName.Location = new System.Drawing.Point(96, 16);
this.lblPatientName.Name = "lblPatientName";
this.lblPatientName.Size = new System.Drawing.Size(256, 16);
this.lblPatientName.TabIndex = 11;
//
// cboProvider
//
this.cboProvider.Location = new System.Drawing.Point(96, 88);
this.cboProvider.Name = "cboProvider";
this.cboProvider.Size = new System.Drawing.Size(240, 21);
this.cboProvider.TabIndex = 12;
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 88);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(80, 16);
this.label2.TabIndex = 7;
this.label2.Text = "Visit Provider:";
//
// cboStopCode
//
this.cboStopCode.Location = new System.Drawing.Point(96, 128);
this.cboStopCode.Name = "cboStopCode";
this.cboStopCode.Size = new System.Drawing.Size(240, 21);
this.cboStopCode.TabIndex = 13;
this.cboStopCode.SelectedIndexChanged += new System.EventHandler(this.cboStopCode_SelectedIndexChanged);
//
// lblStopCode
//
this.lblStopCode.Location = new System.Drawing.Point(16, 128);
this.lblStopCode.Name = "lblStopCode";
this.lblStopCode.Size = new System.Drawing.Size(80, 16);
this.lblStopCode.TabIndex = 7;
this.lblStopCode.Text = "Stop Code:";
//
// chkRoutingSlip
//
this.chkRoutingSlip.Location = new System.Drawing.Point(368, 88);
this.chkRoutingSlip.Name = "chkRoutingSlip";
this.chkRoutingSlip.Size = new System.Drawing.Size(128, 16);
this.chkRoutingSlip.TabIndex = 14;
this.chkRoutingSlip.Text = "Print Routing Slip";
//
// grpPCCPlus
//
this.grpPCCPlus.Controls.Add(this.chkPCCOutGuide);
this.grpPCCPlus.Controls.Add(this.label4);
this.grpPCCPlus.Controls.Add(this.cboPCCPlusClinic);
this.grpPCCPlus.Controls.Add(this.cboPCCPlusForm);
this.grpPCCPlus.Controls.Add(this.label5);
this.grpPCCPlus.Location = new System.Drawing.Point(8, 168);
this.grpPCCPlus.Name = "grpPCCPlus";
this.grpPCCPlus.Size = new System.Drawing.Size(488, 104);
this.grpPCCPlus.TabIndex = 15;
this.grpPCCPlus.TabStop = false;
this.grpPCCPlus.Text = "PCC Plus";
//
// chkPCCOutGuide
//
this.chkPCCOutGuide.Location = new System.Drawing.Point(360, 24);
this.chkPCCOutGuide.Name = "chkPCCOutGuide";
this.chkPCCOutGuide.Size = new System.Drawing.Size(96, 16);
this.chkPCCOutGuide.TabIndex = 15;
this.chkPCCOutGuide.Text = "Print Outguide";
//
// label4
//
this.label4.Location = new System.Drawing.Point(8, 24);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 16);
this.label4.TabIndex = 8;
this.label4.Text = "PCC+ Clinic:";
//
// cboPCCPlusClinic
//
this.cboPCCPlusClinic.Location = new System.Drawing.Point(88, 24);
this.cboPCCPlusClinic.Name = "cboPCCPlusClinic";
this.cboPCCPlusClinic.Size = new System.Drawing.Size(240, 21);
this.cboPCCPlusClinic.TabIndex = 0;
this.cboPCCPlusClinic.SelectedIndexChanged += new System.EventHandler(this.cboPCCPlusClinic_SelectedIndexChanged);
//
// cboPCCPlusForm
//
this.cboPCCPlusForm.Location = new System.Drawing.Point(88, 64);
this.cboPCCPlusForm.Name = "cboPCCPlusForm";
this.cboPCCPlusForm.Size = new System.Drawing.Size(240, 21);
this.cboPCCPlusForm.TabIndex = 0;
//
// label5
//
this.label5.Location = new System.Drawing.Point(8, 64);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 16);
this.label5.TabIndex = 8;
this.label5.Text = "PCC+ Form:";
//
// DCheckIn
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(520, 400);
this.Controls.Add(this.grpPCCPlus);
this.Controls.Add(this.chkRoutingSlip);
this.Controls.Add(this.cboStopCode);
this.Controls.Add(this.cboProvider);
this.Controls.Add(this.lblPatientName);
this.Controls.Add(this.lblAlready);
this.Controls.Add(this.dtpCheckIn);
this.Controls.Add(this.label1);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlPageBottom);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.lblStopCode);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DCheckIn";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Appointment Check In";
this.pnlPageBottom.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescriptionResourceGroup.ResumeLayout(false);
this.grpPCCPlus.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Events
private void cmdOK_Click(object sender, System.EventArgs e)
{
this.UpdateDialogData(false);
}
private void cboStopCode_SelectedIndexChanged(object sender, System.EventArgs e)
{
/*
* Whenever the stop code changes, the set of PCCPlus Clinic Selections change
* except during init.
*/
if (m_bInit == true)
return;
//Change the value of m_sStopCode
DataRowView drv = (DataRowView) this.cboStopCode.SelectedItem;
string sStopCode = drv.Row["NAME"].ToString();
m_sStopCode = sStopCode;
m_sStopCodeIEN = drv.Row["BMXIEN"].ToString();
PCCPlus();
}
private void cboPCCPlusClinic_SelectedIndexChanged(object sender, System.EventArgs e)
{
/*
* Whenever the PCCPlus Clinic changes, the default EF TEMPLATE changes
*/
if (m_bInit == true)
return;
if (this.cboPCCPlusClinic.SelectedItem == null)
return;
DataRowView drv = (DataRowView) this.cboPCCPlusClinic.SelectedItem;
string sDefaultForm = drv.Row["DEFAULT_ENCOUNTER_FORM"].ToString();
int nFind = this.m_dvForm.Find(sDefaultForm);
if (nFind > -1)
{
this.cboPCCPlusForm.SelectedIndex = nFind;
}
}
#endregion Events
}
}

View File

@ -0,0 +1,364 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescriptionResourceGroup.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescriptionResourceGroup.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtpCheckIn.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtpCheckIn.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtpCheckIn.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblAlready.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblAlready.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblAlready.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblPatientName.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblPatientName.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblPatientName.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboProvider.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboProvider.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboProvider.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboStopCode.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboStopCode.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboStopCode.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblStopCode.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblStopCode.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblStopCode.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkRoutingSlip.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkRoutingSlip.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkRoutingSlip.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpPCCPlus.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpPCCPlus.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpPCCPlus.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpPCCPlus.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpPCCPlus.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpPCCPlus.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkPCCOutGuide.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkPCCOutGuide.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkPCCOutGuide.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboPCCPlusClinic.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboPCCPlusClinic.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboPCCPlusClinic.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboPCCPlusForm.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboPCCPlusForm.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboPCCPlusForm.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label5.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label5.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label5.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DCheckIn</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,341 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using IndianHealthService.BMXNet;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DCopyAppts.
/// </summary>
public class DCopyAppts : System.Windows.Forms.Form
{
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlOKCancel;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescription;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.Label lblSummary;
private System.Windows.Forms.Label lblProgress;
private System.ComponentModel.IContainer components;
#region Fields
private DateTime m_dtBegin;
private DateTime m_dtEnd;
private string m_HospLocationID;
private string m_HospLocationName;
private string m_ResourceID;
private string m_ResourceName;
private string m_sTask;
private CGDocumentManager m_DocManager;
private System.Windows.Forms.Timer timerPoll;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
//protected delegate void UpdateDisplayDelegate(string sText);
//protected delegate void RegisterEventDelegate(string sPort, string sEvent);
#endregion Fields
public DCopyAppts()
{
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.pnlOKCancel = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescription = new System.Windows.Forms.GroupBox();
this.lblDescription = new System.Windows.Forms.Label();
this.lblSummary = new System.Windows.Forms.Label();
this.lblProgress = new System.Windows.Forms.Label();
this.timerPoll = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.pnlOKCancel.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescription.SuspendLayout();
this.SuspendLayout();
//
// pnlOKCancel
//
this.pnlOKCancel.Controls.Add(this.cmdCancel);
this.pnlOKCancel.Controls.Add(this.cmdOK);
this.pnlOKCancel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlOKCancel.Location = new System.Drawing.Point(0, 286);
this.pnlOKCancel.Name = "pnlOKCancel";
this.pnlOKCancel.Size = new System.Drawing.Size(376, 40);
this.pnlOKCancel.TabIndex = 4;
//
// cmdCancel
//
this.cmdCancel.Location = new System.Drawing.Point(288, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 1;
this.cmdCancel.Text = "Cancel";
this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click);
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(208, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 0;
this.cmdOK.Text = "OK";
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescription);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 222);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(376, 64);
this.pnlDescription.TabIndex = 47;
//
// grpDescription
//
this.grpDescription.Controls.Add(this.lblDescription);
this.grpDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescription.Location = new System.Drawing.Point(0, 0);
this.grpDescription.Name = "grpDescription";
this.grpDescription.Size = new System.Drawing.Size(376, 64);
this.grpDescription.TabIndex = 0;
this.grpDescription.TabStop = false;
this.grpDescription.Text = "Description";
//
// lblDescription
//
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescription.Location = new System.Drawing.Point(3, 16);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(370, 45);
this.lblDescription.TabIndex = 1;
this.lblDescription.Text = "This panel displays the progress of the appointment copy process. Press the \'Can" +
"cel\' button to stop copying appointments.";
//
// lblSummary
//
this.lblSummary.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblSummary.Location = new System.Drawing.Point(32, 32);
this.lblSummary.Name = "lblSummary";
this.lblSummary.Size = new System.Drawing.Size(312, 64);
this.lblSummary.TabIndex = 48;
this.lblSummary.Text = "lblSummary";
//
// lblProgress
//
this.lblProgress.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblProgress.Location = new System.Drawing.Point(32, 128);
this.lblProgress.Name = "lblProgress";
this.lblProgress.Size = new System.Drawing.Size(312, 72);
this.lblProgress.TabIndex = 49;
this.lblProgress.Text = "lblProgress";
//
// timerPoll
//
this.timerPoll.Tick += new System.EventHandler(this.timerPoll_Tick);
//
// label1
//
this.label1.Location = new System.Drawing.Point(32, 112);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(144, 16);
this.label1.TabIndex = 50;
this.label1.Text = "Status:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(32, 16);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(144, 16);
this.label2.TabIndex = 51;
this.label2.Text = "Job Summary:";
//
// DCopyAppts
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(376, 326);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.lblProgress);
this.Controls.Add(this.lblSummary);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlOKCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.Name = "DCopyAppts";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Copy Appointments";
this.Closing += new System.ComponentModel.CancelEventHandler(this.DCopyAppts_Closing);
this.Load += new System.EventHandler(this.DCopyAppts_Load);
this.pnlOKCancel.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescription.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Methods and Handlers
public void InitializePage(DateTime StartDate, DateTime EndDate,
string HospLocationID, string HospLocationName,
string ResourceID, string ResourceName,
CGDocumentManager DocManager)
{
string sMsg = "Copying appointments from " + HospLocationName + " to " + ResourceName + ", ";
sMsg += "beginning with apppointments on " + StartDate.ToLongDateString();
sMsg += " and going through " + EndDate.ToLongDateString() + ".";
lblSummary.Text = sMsg;
m_dtBegin = StartDate;
m_dtEnd = EndDate;
m_HospLocationID = HospLocationID;
m_HospLocationName = HospLocationName;
m_ResourceID = ResourceID;
m_ResourceName = ResourceName;
m_DocManager = DocManager;
}
private void DCopyAppts_Load(object sender, System.EventArgs e)
{
try
{
//Start M copy job and get the ZTSK number
this.timerPoll.Stop();
lblProgress.Text = "Starting Process";
string sSql = "BSDX COPY APPOINTMENTS^" + m_ResourceID + "^" + m_HospLocationID + "^" + m_dtBegin.ToShortDateString() + "^" + m_dtEnd.ToShortDateString();
DataTable dt = m_DocManager.RPMSDataTable(sSql, "ApptCopy");
Debug.Assert(dt.Rows.Count == 1);
DataRow dr = dt.Rows[0];
m_sTask = "0";
Object oTask = dr["TASK_NUMBER"];
m_sTask = oTask.ToString();
Object oError = dr["ERRORID"];
string sError = oError.ToString();
if (sError != "OK")
{
timerPoll.Stop();
lblProgress.Text = sError;
cmdOK.Enabled = true;
cmdCancel.Enabled = false;
}
else
{
lblProgress.Text = "RPMS Job queued as Task #" + m_sTask;
;//this.timerPoll.Start();
cmdOK.Enabled = false;
cmdCancel.Enabled = true;
}
}
catch (Exception Ex)
{
MessageBox.Show(Ex.Message);
}
}
private void cmdCancel_Click(object sender, System.EventArgs e)
{
try
{
//Check status and update progress control
string sSql = "BSDX COPY APPOINTMENT CANCEL^" + m_sTask;
DataTable dt = m_DocManager.RPMSDataTable(sSql, "ApptCopyCancel");
Debug.Assert(dt.Rows.Count == 1);
DataRow dr = dt.Rows[0];
Object oCount = dr["RECORD_COUNT"];
string sCount = oCount.ToString();
lblProgress.Text = "Cancelling job...";
}
catch (Exception Ex)
{
MessageBox.Show(Ex.Message);
}
}
private void DCopyAppts_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
}
private void timerPoll_Tick(object sender, System.EventArgs e)
{
try
{
return;
//Check status and update progress control
//string sSql = "BSDX COPY APPOINTMENT STATUS^" + m_sTask;
//DataTable dt = m_DocManager.RPMSDataTable(sSql, "ApptCopyStatus");
//Debug.Assert(dt.Rows.Count == 1);
//DataRow dr = dt.Rows[0];
//Object oCount = dr["RECORD_COUNT"];
//string sCount = oCount.ToString();
//Object oError = dr["ERRORID"];
//string sError = oError.ToString();
//if (sError != "OK")
//{
// timerPoll.Stop();
// lblProgress.Text = sError;
//}
//else if ((sCount.StartsWith("Finished"))||(sCount.StartsWith("Cancelled")))
//{
// timerPoll.Stop();
// lblProgress.Text = sCount;
// cmdOK.Enabled = true;
// cmdCancel.Enabled = false;
//}
//else
//{
// lblProgress.Text = "RPMS Job queued as Task #" + m_sTask + ". " + sCount; // + " records copied so far.";
//}
}
catch (Exception Ex)
{
MessageBox.Show(Ex.Message);
}
}
#endregion Methods and Handlers
}
}

View File

@ -0,0 +1,256 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlOKCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlOKCancel.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlOKCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlOKCancel.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlOKCancel.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlOKCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblSummary.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblSummary.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblSummary.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblProgress.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblProgress.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblProgress.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="timerPoll.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="timerPoll.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</data>
<data name="timerPoll.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.Name">
<value>DCopyAppts</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="lblDescription.Text" xml:space="preserve">
<value>Use the resources panel to define the set of clinical entities available for scheduling at this facility. Resources may include care providers (for example, dentists and physicians) or other kinds of scheduled services, facilities or equipment. Click the small + sign next to the resource name to manage the users who can schedule this resource.</value>
</data>
<data name="lblDescriptionResourceGroup.Text" xml:space="preserve">
<value>Use this panel to organize Resources into useful groups. Resource Groups may include departments, clinics or any other collection of resources. Resource groups will be visible to all scheduling users.</value>
</data>
<data name="lblDescriptionAccessGroups.Text" xml:space="preserve">
<value>Use this panel to organize Access Types into convenient groups. Access Groups are useful when selecting the Access Type (Walk-in, Same-Day, etc) to use when setting up the schedule for a resource. Access Type Groups will be visible to all scheduling users.</value>
</data>
<data name="lblDescriptionXfer.Text" xml:space="preserve">
<value>Use this panel to copy appointments from an RPMS clinic into a Windows Scheduling clinic. Select the Beginning and Ending dates for the transfer. All appointments (except cancelled appointments) during the time between these dates will be copied from RPMS to the selected Windows Scheduling resource.</value>
</data>
<data name="lblWorkstations.Text" xml:space="preserve">
<value>From this panel you can view, communicate with and shut down workstations running clinical scheduling software. Press the Refresh button to show a current list of running workstations. To stop all scheduling clients, enter a shutdown message in the textbox below and press the Stop Workstations button.</value>
</data>
</root>

View File

@ -0,0 +1,446 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DAutoRebook.
/// </summary>
public class DNoShow : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescriptionResourceGroup;
private System.Windows.Forms.Label lblDescriptionResourceGroup;
private System.Windows.Forms.GroupBox grpAutoRebook;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label lblRebookSelectedType;
private System.Windows.Forms.RadioButton rdoRebookSameType;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown udMax;
private System.Windows.Forms.NumericUpDown udStart;
private System.Windows.Forms.CheckBox chkAutoRebook;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.RadioButton rdoRebookAnyType;
private System.Windows.Forms.RadioButton rdoRebookSelectedType;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
#region Fields
private bool m_bAutoRebook = false;
private int m_nStart = 7;
private int m_nMax = 30;
// -1: use current, -2: use any non-zero type, >0 use this access type id
private int m_nRebookAccessType = -1;
#endregion Fields
#region Methods
public void InitializePage()
{
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
chkAutoRebook.Checked = m_bAutoRebook;
udStart.Value = m_nStart;
udMax.Value = m_nMax;
this.rdoRebookSameType.Checked = true;
this.rdoRebookAnyType.Checked = false;
this.rdoRebookSelectedType.Checked = false;
}
else
{
m_bAutoRebook = chkAutoRebook.Checked;
m_nStart = (int) udStart.Value;
m_nMax = (int) udMax.Value;
if (this.rdoRebookSameType.Checked == true)
{
m_nRebookAccessType = -1;
}
else
{
m_nRebookAccessType = -2;
}
}
}
public DNoShow()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
this.UpdateDialogData(false);
}
#endregion Methods
#region Properties
/// <summary>
/// Sets or returns the rebook access type: -1 = use current type, -2 = use any type, 0 = prompt for a type
/// </summary>
public int RebookAccessType
{
get
{
return m_nRebookAccessType;
}
set
{
m_nRebookAccessType = value;
if (m_nRebookAccessType == -1)
{
this.rdoRebookSameType.Checked = true;
}
else
{
this.rdoRebookAnyType.Checked = true;
}
}
}
/// <summary>
/// Returns value of AutoRebook check box
/// </summary>
public bool AutoRebook
{
get
{
return m_bAutoRebook;
}
set
{
m_bAutoRebook = value;
}
}
/// <summary>
/// Sets or returns the number of days in the future to start searching for availability
/// </summary>
public int RebookStartDays
{
get
{
return m_nStart;
}
set
{
m_nStart = value;
}
}
/// <summary>
/// Sets and returns the maximum number of days in the future to look for rebook availability
/// </summary>
public int RebookMaxDays
{
get
{
return m_nMax;
}
set
{
m_nMax = value;
}
}
#endregion Properties
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescriptionResourceGroup = new System.Windows.Forms.GroupBox();
this.lblDescriptionResourceGroup = new System.Windows.Forms.Label();
this.grpAutoRebook = new System.Windows.Forms.GroupBox();
this.label6 = new System.Windows.Forms.Label();
this.lblRebookSelectedType = new System.Windows.Forms.Label();
this.rdoRebookSameType = new System.Windows.Forms.RadioButton();
this.label3 = new System.Windows.Forms.Label();
this.udMax = new System.Windows.Forms.NumericUpDown();
this.udStart = new System.Windows.Forms.NumericUpDown();
this.chkAutoRebook = new System.Windows.Forms.CheckBox();
this.label4 = new System.Windows.Forms.Label();
this.rdoRebookAnyType = new System.Windows.Forms.RadioButton();
this.rdoRebookSelectedType = new System.Windows.Forms.RadioButton();
this.pnlPageBottom.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescriptionResourceGroup.SuspendLayout();
this.grpAutoRebook.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.udMax)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.udStart)).BeginInit();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.Add(this.cmdCancel);
this.pnlPageBottom.Controls.Add(this.cmdOK);
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 366);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(344, 40);
this.pnlPageBottom.TabIndex = 7;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(256, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(176, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescriptionResourceGroup);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 294);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(344, 72);
this.pnlDescription.TabIndex = 8;
//
// grpDescriptionResourceGroup
//
this.grpDescriptionResourceGroup.Controls.Add(this.lblDescriptionResourceGroup);
this.grpDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescriptionResourceGroup.Location = new System.Drawing.Point(0, 0);
this.grpDescriptionResourceGroup.Name = "grpDescriptionResourceGroup";
this.grpDescriptionResourceGroup.Size = new System.Drawing.Size(344, 72);
this.grpDescriptionResourceGroup.TabIndex = 1;
this.grpDescriptionResourceGroup.TabStop = false;
this.grpDescriptionResourceGroup.Text = "Description";
//
// lblDescriptionResourceGroup
//
this.lblDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescriptionResourceGroup.Location = new System.Drawing.Point(3, 16);
this.lblDescriptionResourceGroup.Name = "lblDescriptionResourceGroup";
this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(338, 53);
this.lblDescriptionResourceGroup.TabIndex = 0;
this.lblDescriptionResourceGroup.Text = "Use this panel mark an appointment as a no-show. To automatically rebook no-show " +
"appointments, check the Auto Rebook box. The Start Time in Days and Maximum Day" +
"s values control the time window for rebooked appointments.";
//
// grpAutoRebook
//
this.grpAutoRebook.Controls.Add(this.label6);
this.grpAutoRebook.Controls.Add(this.lblRebookSelectedType);
this.grpAutoRebook.Controls.Add(this.rdoRebookSameType);
this.grpAutoRebook.Controls.Add(this.label3);
this.grpAutoRebook.Controls.Add(this.udMax);
this.grpAutoRebook.Controls.Add(this.udStart);
this.grpAutoRebook.Controls.Add(this.chkAutoRebook);
this.grpAutoRebook.Controls.Add(this.label4);
this.grpAutoRebook.Controls.Add(this.rdoRebookAnyType);
this.grpAutoRebook.Controls.Add(this.rdoRebookSelectedType);
this.grpAutoRebook.Location = new System.Drawing.Point(32, 24);
this.grpAutoRebook.Name = "grpAutoRebook";
this.grpAutoRebook.Size = new System.Drawing.Size(272, 248);
this.grpAutoRebook.TabIndex = 14;
this.grpAutoRebook.TabStop = false;
this.grpAutoRebook.Text = "Auto Rebook";
//
// label6
//
this.label6.Location = new System.Drawing.Point(16, 128);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(232, 16);
this.label6.TabIndex = 19;
this.label6.Text = "Access Type for Rebooked Appointment:";
//
// lblRebookSelectedType
//
this.lblRebookSelectedType.Enabled = false;
this.lblRebookSelectedType.Location = new System.Drawing.Point(64, 224);
this.lblRebookSelectedType.Name = "lblRebookSelectedType";
this.lblRebookSelectedType.Size = new System.Drawing.Size(168, 16);
this.lblRebookSelectedType.TabIndex = 18;
//
// rdoRebookSameType
//
this.rdoRebookSameType.Checked = true;
this.rdoRebookSameType.Location = new System.Drawing.Point(24, 152);
this.rdoRebookSameType.Name = "rdoRebookSameType";
this.rdoRebookSameType.Size = new System.Drawing.Size(160, 16);
this.rdoRebookSameType.TabIndex = 17;
this.rdoRebookSameType.TabStop = true;
this.rdoRebookSameType.Text = "Same as Current";
//
// label3
//
this.label3.Location = new System.Drawing.Point(88, 56);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(104, 16);
this.label3.TabIndex = 16;
this.label3.Text = "Start time in Days";
//
// udMax
//
this.udMax.Increment = new System.Decimal(new int[] {
7,
0,
0,
0});
this.udMax.Location = new System.Drawing.Point(16, 88);
this.udMax.Maximum = new System.Decimal(new int[] {
730,
0,
0,
0});
this.udMax.Minimum = new System.Decimal(new int[] {
1,
0,
0,
0});
this.udMax.Name = "udMax";
this.udMax.Size = new System.Drawing.Size(56, 20);
this.udMax.TabIndex = 15;
this.udMax.Value = new System.Decimal(new int[] {
30,
0,
0,
0});
//
// udStart
//
this.udStart.Location = new System.Drawing.Point(16, 54);
this.udStart.Maximum = new System.Decimal(new int[] {
730,
0,
0,
0});
this.udStart.Name = "udStart";
this.udStart.Size = new System.Drawing.Size(56, 20);
this.udStart.TabIndex = 14;
this.udStart.Value = new System.Decimal(new int[] {
14,
0,
0,
0});
//
// chkAutoRebook
//
this.chkAutoRebook.Location = new System.Drawing.Point(16, 24);
this.chkAutoRebook.Name = "chkAutoRebook";
this.chkAutoRebook.Size = new System.Drawing.Size(120, 16);
this.chkAutoRebook.TabIndex = 13;
this.chkAutoRebook.Text = "Auto Rebook";
//
// label4
//
this.label4.Location = new System.Drawing.Point(88, 88);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(104, 16);
this.label4.TabIndex = 16;
this.label4.Text = "Maximum Days";
//
// rdoRebookAnyType
//
this.rdoRebookAnyType.Location = new System.Drawing.Point(24, 176);
this.rdoRebookAnyType.Name = "rdoRebookAnyType";
this.rdoRebookAnyType.Size = new System.Drawing.Size(160, 16);
this.rdoRebookAnyType.TabIndex = 17;
this.rdoRebookAnyType.Text = "Any Access Type";
//
// rdoRebookSelectedType
//
this.rdoRebookSelectedType.Enabled = false;
this.rdoRebookSelectedType.Location = new System.Drawing.Point(24, 200);
this.rdoRebookSelectedType.Name = "rdoRebookSelectedType";
this.rdoRebookSelectedType.Size = new System.Drawing.Size(136, 16);
this.rdoRebookSelectedType.TabIndex = 17;
this.rdoRebookSelectedType.Text = "Selected Access Type:";
//
// DNoShow
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(344, 406);
this.Controls.Add(this.grpAutoRebook);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlPageBottom);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DNoShow";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "No Show Appointment";
this.pnlPageBottom.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescriptionResourceGroup.ResumeLayout(false);
this.grpAutoRebook.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.udMax)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.udStart)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}

View File

@ -0,0 +1,319 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescriptionResourceGroup.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescriptionResourceGroup.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpAutoRebook.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpAutoRebook.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpAutoRebook.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpAutoRebook.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpAutoRebook.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpAutoRebook.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label6.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label6.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label6.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblRebookSelectedType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblRebookSelectedType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblRebookSelectedType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSameType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoRebookSameType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSameType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udMax.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="udMax.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udMax.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udStart.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="udStart.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="udStart.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkAutoRebook.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkAutoRebook.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkAutoRebook.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookAnyType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoRebookAnyType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookAnyType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSelectedType.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="rdoRebookSelectedType.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="rdoRebookSelectedType.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DNoShow</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,159 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using CrystalDecisions.Windows;
using CrystalDecisions.Shared;
using CrystalDecisions.CrystalReports.Engine;
using IndianHealthService.BMXNet;
using System.Data;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DPatientApptDisplay.
/// </summary>
public class DPatientApptDisplay : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private CrystalDecisions.Windows.Forms.CrystalReportViewer crViewer1;
private System.Windows.Forms.CheckBox chkIncludePast;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public void InitializeForm(CGDocumentManager docManager, int nPatientID)
{
try
{
crViewer1.DisplayGroupTree = false;
ClinicalScheduling.crPatientApptDisplay cr = new crPatientApptDisplay();
string sSql = "BSDX PATIENT APPT DISPLAY^" + nPatientID.ToString();
System.Data.DataSet ds = new System.Data.DataSet();
DataTable dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
ds.Tables.Add(dtAppt.Copy());
cr.Database.Tables[0].SetDataSource(ds);
this.crViewer1.ReportSource = cr;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
public DPatientApptDisplay()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.chkIncludePast = new System.Windows.Forms.CheckBox();
this.panel2 = new System.Windows.Forms.Panel();
this.crViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.chkIncludePast);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(664, 32);
this.panel1.TabIndex = 1;
//
// chkIncludePast
//
this.chkIncludePast.Location = new System.Drawing.Point(16, 8);
this.chkIncludePast.Name = "chkIncludePast";
this.chkIncludePast.Size = new System.Drawing.Size(184, 16);
this.chkIncludePast.TabIndex = 0;
this.chkIncludePast.Text = "Include Past Appointments";
this.chkIncludePast.CheckedChanged += new System.EventHandler(this.chkIncludePast_CheckedChanged);
//
// panel2
//
this.panel2.Controls.Add(this.crViewer1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 32);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(664, 446);
this.panel2.TabIndex = 2;
//
// crViewer1
//
this.crViewer1.ActiveViewIndex = -1;
this.crViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.crViewer1.Location = new System.Drawing.Point(0, 0);
this.crViewer1.Name = "crViewer1";
this.crViewer1.ReportSource = null;
this.crViewer1.Size = new System.Drawing.Size(664, 446);
this.crViewer1.TabIndex = 1;
//
// DPatientApptDisplay
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(664, 478);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Name = "DPatientApptDisplay";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Patient Appointments";
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void chkIncludePast_CheckedChanged(object sender, System.EventArgs e)
{
if (chkIncludePast.Checked == true)
{
this.crViewer1.SelectionFormula = "TRUE"; //MJL 9/11/2007
}
else
{
crViewer1.SelectionFormula = "{PatientAppts.ApptDate} >= CurrentDate";
}
crViewer1.RefreshReport();
}
}
}

View File

@ -0,0 +1,184 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkIncludePast.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkIncludePast.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkIncludePast.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panel2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panel2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="crViewer1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="crViewer1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="crViewer1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DPatientApptDisplay</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,271 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using CrystalDecisions.Windows;
using CrystalDecisions.Shared;
using CrystalDecisions.CrystalReports.Engine;
using IndianHealthService.BMXNet;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DPatientLetter.
/// </summary>
public class DPatientLetter : System.Windows.Forms.Form
{
private CrystalDecisions.Windows.Forms.CrystalReportViewer crViewer1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
#region Fields
private string m_sBodyText;
#endregion Fields
#region Properties
public string BodyText
{
get
{
return m_sBodyText;
}
set
{
m_sBodyText = value;
}
}
#endregion Properties
public void InitializeForm(CGDocumentManager docManager, int nPatientID)
{
try
{
crViewer1.DisplayGroupTree = true;
ClinicalScheduling.crPatientLetter cr = new crPatientLetter();
string sSql = "BSDX PATIENT APPT DISPLAY^" + nPatientID.ToString();
System.Data.DataSet ds = new System.Data.DataSet();
DataTable dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
ds.Tables.Add(dtAppt.Copy());
System.Data.DataTable dt =
docManager.GlobalDataSet.Tables["Resources"].Copy();
ds.Tables.Add(dt);
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
crViewer1.SelectionFormula = "{PatientAppts.ApptDate} >= CurrentDate";
this.crViewer1.ReportSource = cr;
}
catch (Exception ex)
{
throw ex;
}
}
public void InitializeFormClinicSchedule(CGDocumentManager docManager,
string sClinicList,
DateTime dtBegin,
DateTime dtEnd)
{
try
{
if (sClinicList == "")
{
throw new Exception("At least one clinic must be selected.");
}
string sBegin = dtBegin.ToShortDateString();
string sEnd = dtEnd.ToShortDateString();
crViewer1.DisplayGroupTree = true;
this.Text="Clinic Schedules";
ClinicalScheduling.crAppointmentList cr = new crAppointmentList();
string sSql = "BSDX CLINIC LETTERS^" + sClinicList + "^" + sBegin + "^" + sEnd;
DataTable dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
cr.Database.Tables["PatientAppts"].SetDataSource(dtAppt);
this.crViewer1.ReportSource = cr;
}
catch (Exception ex)
{
throw ex;
}
}
public void InitializeFormRebookLetters(CGDocumentManager docManager,
string sClinicList,
DataTable dtLetters)
{
try
{
if (sClinicList == "")
{
throw new Exception("At least one clinic must be selected.");
}
crViewer1.DisplayGroupTree = true;
ClinicalScheduling.crRebookLetter cr = new crRebookLetter();
System.Data.DataSet ds = new System.Data.DataSet();
ds.Tables.Add(dtLetters.Copy());
string sSql = "BSDX RESOURCE LETTERS^" + sClinicList;
DataTable dt = docManager.RPMSDataTable(sSql, "Resources");
ds.Tables.Add(dt.Copy());
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
this.crViewer1.ReportSource = cr;
}
catch (Exception ex)
{
throw ex;
}
}
public void InitializeFormCancellationLetters(CGDocumentManager docManager,
string sClinicList,
DataTable dtLetters)
{
try
{
if (sClinicList == "")
{
throw new Exception("At least one clinic must be selected.");
}
crViewer1.DisplayGroupTree = true;
ClinicalScheduling.crCancelLetter cr = new crCancelLetter();
System.Data.DataSet ds = new System.Data.DataSet();
ds.Tables.Add(dtLetters.Copy());
string sSql = "BSDX RESOURCE LETTERS^" + sClinicList;
DataTable dt = docManager.RPMSDataTable(sSql, "Resources");
ds.Tables.Add(dt.Copy());
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
this.crViewer1.ReportSource = cr;
}
catch (Exception ex)
{
throw ex;
}
}
public void InitializeFormClinicLetters(CGDocumentManager docManager,
string sClinicList,
DateTime dtBegin,
DateTime dtEnd)
{
try
{
if (sClinicList == "")
{
throw new Exception("At least one clinic must be selected.");
}
string sBegin = dtBegin.ToShortDateString();
string sEnd = dtEnd.ToShortDateString();
crViewer1.DisplayGroupTree = true;
ClinicalScheduling.crPatientLetter cr = new crPatientLetter();
string sSql = "BSDX CLINIC LETTERS^" + sClinicList + "^" + sBegin + "^" + sEnd;
System.Data.DataSet ds = new System.Data.DataSet();
DataTable dtAppt = docManager.RPMSDataTable(sSql, "PatientAppts");
ds.Tables.Add(dtAppt.Copy());
sSql = "BSDX RESOURCE LETTERS^" + sClinicList;
DataTable dt = docManager.RPMSDataTable(sSql, "Resources");
ds.Tables.Add(dt.Copy());
cr.Database.Tables["PatientAppts"].SetDataSource(ds.Tables["PatientAppts"]);
cr.Database.Tables["BSDXResource"].SetDataSource(ds.Tables["Resources"]);
this.crViewer1.ReportSource = cr;
}
catch (Exception ex)
{
throw ex;
}
}
public DPatientLetter()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.crViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.SuspendLayout();
//
// crViewer1
//
this.crViewer1.ActiveViewIndex = -1;
this.crViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.crViewer1.Location = new System.Drawing.Point(0, 0);
this.crViewer1.Name = "crViewer1";
this.crViewer1.ReportSource = null;
this.crViewer1.Size = new System.Drawing.Size(648, 398);
this.crViewer1.TabIndex = 0;
//
// DPatientLetter
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(648, 398);
this.Controls.Add(this.crViewer1);
this.Name = "DPatientLetter";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Patient Letter";
this.ResumeLayout(false);
}
#endregion
}
}

View File

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="crViewer1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="crViewer1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="crViewer1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.Name">
<value>DPatientLetter</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,378 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DPatientLookup.
/// </summary>
public class DPatientLookup : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button cmdSearch;
private System.Windows.Forms.TextBox txtSearch;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.ListView lvwPatients;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DPatientLookup()
{
this.m_sPatientName = "";
this.m_sPatientIEN = "";
m_nMax = 20;
InitializeComponent();
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.cmdSearch = new System.Windows.Forms.Button();
this.txtSearch = new System.Windows.Forms.TextBox();
this.panel3 = new System.Windows.Forms.Panel();
this.lvwPatients = new System.Windows.Forms.ListView();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.cmdCancel);
this.panel1.Controls.Add(this.cmdOK);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 238);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(384, 40);
this.panel1.TabIndex = 2;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(304, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 1;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(224, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 0;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// panel2
//
this.panel2.Controls.Add(this.cmdSearch);
this.panel2.Controls.Add(this.txtSearch);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(384, 40);
this.panel2.TabIndex = 5;
//
// cmdSearch
//
this.cmdSearch.Location = new System.Drawing.Point(288, 8);
this.cmdSearch.Name = "cmdSearch";
this.cmdSearch.Size = new System.Drawing.Size(80, 24);
this.cmdSearch.TabIndex = 5;
this.cmdSearch.Text = "Search";
this.cmdSearch.Click += new System.EventHandler(this.cmdSearch_Click);
//
// txtSearch
//
this.txtSearch.Location = new System.Drawing.Point(16, 8);
this.txtSearch.Name = "txtSearch";
this.txtSearch.Size = new System.Drawing.Size(216, 20);
this.txtSearch.TabIndex = 4;
this.txtSearch.Text = "";
this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
//
// panel3
//
this.panel3.Controls.Add(this.lvwPatients);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 40);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(384, 198);
this.panel3.TabIndex = 6;
//
// lvwPatients
//
this.lvwPatients.AllowColumnReorder = true;
this.lvwPatients.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvwPatients.FullRowSelect = true;
this.lvwPatients.GridLines = true;
this.lvwPatients.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvwPatients.Location = new System.Drawing.Point(0, 0);
this.lvwPatients.MultiSelect = false;
this.lvwPatients.Name = "lvwPatients";
this.lvwPatients.Size = new System.Drawing.Size(384, 198);
this.lvwPatients.Sorting = System.Windows.Forms.SortOrder.Ascending;
this.lvwPatients.TabIndex = 5;
this.lvwPatients.View = System.Windows.Forms.View.Details;
this.lvwPatients.ItemActivate += new System.EventHandler(this.lvwPatients_ItemActivate);
//
// DPatientLookup
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(384, 278);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Name = "DPatientLookup";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Select Patient";
this.Load += new System.EventHandler(this.DPatientLookup_Load);
this.Activated += new System.EventHandler(this.DPatientLookup_Activated);
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Fields
private string m_sPatientName;
private DataTable m_rsPatients;
private CGDocumentManager m_DocManager;
private int m_nMax;
private string m_sPatientHRN = "";
private string m_sPatientIEN;
private string m_sPatientDOB;
private string m_sPatientSSN;
#endregion //Fields
#region Methods
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
if (this.txtSearch.Text == "")
{
this.DialogResult = DialogResult.Cancel;
return;
}
m_sPatientName = this.txtSearch.Text;
//Update spacebar lookup value
string sSql;
sSql = "BSDX SPACEBAR SET^AUPNPAT(^" + m_sPatientIEN;
DataTable dtAppt = m_DocManager.RPMSDataTable(sSql, "SpaceBarValue");
return;
}
private void cmdSearch_Click(object sender, System.EventArgs e)
{
try
{
string sSearch = txtSearch.Text;
if (sSearch == "")
return;
this.lvwPatients.Clear();
m_rsPatients = this.GetPatientLookupRS(sSearch, m_nMax);
if (m_rsPatients.Rows.Count == 0)
{
MessageBox.Show("No matching Patients Found.");
this.txtSearch.Focus();
return;
}
if (m_rsPatients.Rows.Count == 1)
{
DataRow r = m_rsPatients.Rows[0];
this.m_sPatientName = r["NAME"].ToString();
txtSearch.Text = this.m_sPatientName;
this.m_sPatientHRN = r["HRN"].ToString();
this.m_sPatientIEN = r["IEN"].ToString();
this.m_sPatientSSN = r["SSN"].ToString();
this.cmdOK.Enabled = true;
this.AcceptButton = cmdOK;
this.cmdOK.Focus();
}
lvwPatients.View = View.Details;
foreach (DataRow r in m_rsPatients.Rows)
{
string sPat = r["NAME"].ToString();
ListViewItem lv = new ListViewItem(sPat);
lv.SubItems.Add(r["HRN"].ToString());
lv.SubItems.Add(r["SSN"].ToString());
DateTime d = Convert.ToDateTime(r["DOB"]);
string sFormat = "MM/dd/yyyy";
string sDob = d.ToString(sFormat);
lv.SubItems.Add(sDob);
lv.SubItems.Add((r["IEN"].ToString()));
lvwPatients.Items.Add(lv);
}
lvwPatients.View = View.Details;
int w =-1;
lvwPatients.Columns.Add("Name", w, HorizontalAlignment.Left);
lvwPatients.Columns.Add("HRN", w, HorizontalAlignment.Left);
lvwPatients.Columns.Add("SSN", w, HorizontalAlignment.Left);
lvwPatients.Columns.Add("DOB",w, HorizontalAlignment.Left);
lvwPatients.Columns[0].Width = -1;
lvwPatients.Columns[1].Width = -1;
lvwPatients.Columns[2].Width = -1;
lvwPatients.Columns[3].Width = -1;
lvwPatients.Select();
lvwPatients.Items[0].Selected = true;
lvwPatients.Focus();
}
catch (Exception ex)
{
MessageBox.Show(this, ex.Message, "IHS Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
private DataTable GetPatientLookupRS(string sLookup, int nMax)
{
string sSql;
sSql = "BSDXPatientLookupRS^" + sLookup + "^" + nMax.ToString();
System.Data.DataTable tb = m_DocManager.RPMSDataTable(sSql, "PatientTable");
return tb;
}
private void lvwPatients_Click(object sender, System.EventArgs e)
{
}
private void lvwPatients_ItemActivate(object sender, System.EventArgs e)
{
ListViewItem v = lvwPatients.SelectedItems[0]; //only one can be selected
m_sPatientName = v.SubItems[0].Text;
m_sPatientIEN = v.SubItems[4].Text;
m_sPatientHRN = v.SubItems[1].Text;
m_sPatientDOB = v.SubItems[3].Text;
m_sPatientSSN = v.SubItems[2].Text;
this.txtSearch.Text = m_sPatientName;
this.cmdOK.Enabled = true;
this.cmdOK.Focus();
}
private void txtSearch_TextChanged(object sender, System.EventArgs e)
{
this.cmdOK.Enabled = false;
this.AcceptButton = cmdSearch;
}
private void DPatientLookup_Load(object sender, System.EventArgs e)
{
}
private void DPatientLookup_Activated(object sender, System.EventArgs e)
{
System.IntPtr pHandle = this.Handle;
this.cmdOK.Enabled = false;
this.txtSearch.Focus();
}
#endregion //Methods
#region Properties
/// <summary>
/// Gets or sets the name of the selected patient
/// </summary>
public string PatientName
{
get
{
return m_sPatientName;
}
set
{
m_sPatientName = value;
}
}
public CGDocumentManager DocManager
{
get
{
return m_DocManager;
}
set
{
m_DocManager = value;
}
}
/// <summary>
/// RPMS Internal Entry Number in PATIENT file (DFN)
/// </summary>
public string PatientIEN
{
get
{
return this.m_sPatientIEN;
}
}
/// <summary>
/// The string representation of the Health Record Number
/// </summary>
public string HealthRecordNumber
{
get
{
return m_sPatientHRN;
}
set
{
m_sPatientHRN = value;
}
}
#endregion //Properties
}
}

View File

@ -0,0 +1,229 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panel2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panel2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSearch.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdSearch.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdSearch.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtSearch.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtSearch.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtSearch.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="panel3.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="panel3.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="panel3.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="panel3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lvwPatients.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lvwPatients.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lvwPatients.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Name">
<value>DPatientLookup</value>
</data>
</root>

View File

@ -0,0 +1,816 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DResource.
/// </summary>
public class DResource : System.Windows.Forms.Form
{
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescription;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.CheckBox chkInactivate;
private System.Windows.Forms.GroupBox grpRPMSClinicLink;
private System.Windows.Forms.Label lblReactivateDate;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label lblInactivateDate;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label lblClinicCode;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label lblProvider;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label lblVisitServiceCategory;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label lblCreateVisit;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox cboRPMSClinic;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtResourceName;
private System.Windows.Forms.TabControl tabResources;
private System.Windows.Forms.TabPage tpRPMSLink;
private System.Windows.Forms.ComboBox cboTimeInterval;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TabPage tpLetter;
private System.Windows.Forms.TextBox txtLetter;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Panel pnlOkCancel;
private System.Windows.Forms.TabPage tpRebookLetter;
private System.Windows.Forms.TabPage tpCancellationLetter;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtRebookLetter;
private System.Windows.Forms.TextBox txtCancellationLetter;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DResource()
{
InitializeComponent();
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlOkCancel = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescription = new System.Windows.Forms.GroupBox();
this.lblDescription = new System.Windows.Forms.Label();
this.tabResources = new System.Windows.Forms.TabControl();
this.tpRPMSLink = new System.Windows.Forms.TabPage();
this.label11 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.cboTimeInterval = new System.Windows.Forms.ComboBox();
this.chkInactivate = new System.Windows.Forms.CheckBox();
this.grpRPMSClinicLink = new System.Windows.Forms.GroupBox();
this.lblReactivateDate = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.lblInactivateDate = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.lblClinicCode = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.lblProvider = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.lblVisitServiceCategory = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.lblCreateVisit = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.cboRPMSClinic = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.txtResourceName = new System.Windows.Forms.TextBox();
this.tpLetter = new System.Windows.Forms.TabPage();
this.label9 = new System.Windows.Forms.Label();
this.txtLetter = new System.Windows.Forms.TextBox();
this.tpRebookLetter = new System.Windows.Forms.TabPage();
this.label12 = new System.Windows.Forms.Label();
this.txtRebookLetter = new System.Windows.Forms.TextBox();
this.tpCancellationLetter = new System.Windows.Forms.TabPage();
this.label13 = new System.Windows.Forms.Label();
this.txtCancellationLetter = new System.Windows.Forms.TextBox();
this.pnlOkCancel.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescription.SuspendLayout();
this.tabResources.SuspendLayout();
this.tpRPMSLink.SuspendLayout();
this.grpRPMSClinicLink.SuspendLayout();
this.tpLetter.SuspendLayout();
this.tpRebookLetter.SuspendLayout();
this.tpCancellationLetter.SuspendLayout();
this.SuspendLayout();
//
// pnlOkCancel
//
this.pnlOkCancel.Controls.Add(this.cmdCancel);
this.pnlOkCancel.Controls.Add(this.cmdOK);
this.pnlOkCancel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlOkCancel.Location = new System.Drawing.Point(0, 424);
this.pnlOkCancel.Name = "pnlOkCancel";
this.pnlOkCancel.Size = new System.Drawing.Size(498, 40);
this.pnlOkCancel.TabIndex = 3;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(416, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 25;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(336, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 20;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescription);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 344);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(498, 80);
this.pnlDescription.TabIndex = 46;
//
// grpDescription
//
this.grpDescription.Controls.Add(this.lblDescription);
this.grpDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescription.Location = new System.Drawing.Point(0, 0);
this.grpDescription.Name = "grpDescription";
this.grpDescription.Size = new System.Drawing.Size(498, 80);
this.grpDescription.TabIndex = 0;
this.grpDescription.TabStop = false;
this.grpDescription.Text = "Description";
//
// lblDescription
//
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescription.Location = new System.Drawing.Point(3, 16);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(492, 61);
this.lblDescription.TabIndex = 1;
this.lblDescription.Text = @"Resources may optionally be linked to an RPMS Clinic. To define the parameters for an RPMS clinic, you must log into RPMS and use the RPMS Scheduling Supervisor's menus. The Time Interval field controls the increment of time used on the Calendar display. The Letter Text tab contains the body text of reminder letters for this clinic.";
//
// tabResources
//
this.tabResources.Controls.Add(this.tpRPMSLink);
this.tabResources.Controls.Add(this.tpLetter);
this.tabResources.Controls.Add(this.tpRebookLetter);
this.tabResources.Controls.Add(this.tpCancellationLetter);
this.tabResources.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabResources.Location = new System.Drawing.Point(0, 0);
this.tabResources.Name = "tabResources";
this.tabResources.SelectedIndex = 0;
this.tabResources.Size = new System.Drawing.Size(498, 344);
this.tabResources.TabIndex = 10;
this.tabResources.SelectedIndexChanged += new System.EventHandler(this.tabResources_SelectedIndexChanged);
//
// tpRPMSLink
//
this.tpRPMSLink.Controls.Add(this.label11);
this.tpRPMSLink.Controls.Add(this.label5);
this.tpRPMSLink.Controls.Add(this.cboTimeInterval);
this.tpRPMSLink.Controls.Add(this.chkInactivate);
this.tpRPMSLink.Controls.Add(this.grpRPMSClinicLink);
this.tpRPMSLink.Controls.Add(this.label1);
this.tpRPMSLink.Controls.Add(this.txtResourceName);
this.tpRPMSLink.Location = new System.Drawing.Point(4, 22);
this.tpRPMSLink.Name = "tpRPMSLink";
this.tpRPMSLink.Size = new System.Drawing.Size(490, 318);
this.tpRPMSLink.TabIndex = 0;
this.tpRPMSLink.Text = "Resource Link";
//
// label11
//
this.label11.Location = new System.Drawing.Point(328, 40);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(80, 16);
this.label11.TabIndex = 52;
this.label11.Text = "minutes.";
//
// label5
//
this.label5.Location = new System.Drawing.Point(192, 40);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 16);
this.label5.TabIndex = 51;
this.label5.Text = "Time Scale:";
//
// cboTimeInterval
//
this.cboTimeInterval.Items.AddRange(new object[] {
"5",
"10",
"15",
"20",
"30",
"60"});
this.cboTimeInterval.Location = new System.Drawing.Point(256, 38);
this.cboTimeInterval.MaxDropDownItems = 6;
this.cboTimeInterval.Name = "cboTimeInterval";
this.cboTimeInterval.Size = new System.Drawing.Size(64, 21);
this.cboTimeInterval.TabIndex = 10;
//
// chkInactivate
//
this.chkInactivate.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chkInactivate.Location = new System.Drawing.Point(80, 40);
this.chkInactivate.Name = "chkInactivate";
this.chkInactivate.Size = new System.Drawing.Size(72, 16);
this.chkInactivate.TabIndex = 5;
this.chkInactivate.Text = "Inactive:";
//
// grpRPMSClinicLink
//
this.grpRPMSClinicLink.Controls.Add(this.lblReactivateDate);
this.grpRPMSClinicLink.Controls.Add(this.label10);
this.grpRPMSClinicLink.Controls.Add(this.lblInactivateDate);
this.grpRPMSClinicLink.Controls.Add(this.label8);
this.grpRPMSClinicLink.Controls.Add(this.lblClinicCode);
this.grpRPMSClinicLink.Controls.Add(this.label6);
this.grpRPMSClinicLink.Controls.Add(this.lblProvider);
this.grpRPMSClinicLink.Controls.Add(this.label7);
this.grpRPMSClinicLink.Controls.Add(this.lblVisitServiceCategory);
this.grpRPMSClinicLink.Controls.Add(this.label3);
this.grpRPMSClinicLink.Controls.Add(this.lblCreateVisit);
this.grpRPMSClinicLink.Controls.Add(this.label2);
this.grpRPMSClinicLink.Controls.Add(this.label4);
this.grpRPMSClinicLink.Controls.Add(this.cboRPMSClinic);
this.grpRPMSClinicLink.Location = new System.Drawing.Point(32, 88);
this.grpRPMSClinicLink.Name = "grpRPMSClinicLink";
this.grpRPMSClinicLink.Size = new System.Drawing.Size(384, 208);
this.grpRPMSClinicLink.TabIndex = 48;
this.grpRPMSClinicLink.TabStop = false;
this.grpRPMSClinicLink.Text = "RPMS Clinic Link";
//
// lblReactivateDate
//
this.lblReactivateDate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblReactivateDate.Location = new System.Drawing.Point(176, 168);
this.lblReactivateDate.Name = "lblReactivateDate";
this.lblReactivateDate.Size = new System.Drawing.Size(176, 16);
this.lblReactivateDate.TabIndex = 57;
//
// label10
//
this.label10.Location = new System.Drawing.Point(56, 168);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(112, 16);
this.label10.TabIndex = 56;
this.label10.Text = "Reactivate Date:";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblInactivateDate
//
this.lblInactivateDate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblInactivateDate.Location = new System.Drawing.Point(176, 144);
this.lblInactivateDate.Name = "lblInactivateDate";
this.lblInactivateDate.Size = new System.Drawing.Size(176, 16);
this.lblInactivateDate.TabIndex = 55;
//
// label8
//
this.label8.Location = new System.Drawing.Point(48, 144);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(120, 16);
this.label8.TabIndex = 54;
this.label8.Text = "Inactivate Date:";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblClinicCode
//
this.lblClinicCode.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblClinicCode.Location = new System.Drawing.Point(176, 120);
this.lblClinicCode.Name = "lblClinicCode";
this.lblClinicCode.Size = new System.Drawing.Size(176, 16);
this.lblClinicCode.TabIndex = 53;
//
// label6
//
this.label6.Location = new System.Drawing.Point(96, 120);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(72, 16);
this.label6.TabIndex = 52;
this.label6.Text = "Clinic Code:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblProvider
//
this.lblProvider.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblProvider.Location = new System.Drawing.Point(176, 96);
this.lblProvider.Name = "lblProvider";
this.lblProvider.Size = new System.Drawing.Size(176, 16);
this.lblProvider.TabIndex = 51;
//
// label7
//
this.label7.Location = new System.Drawing.Point(104, 96);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(64, 16);
this.label7.TabIndex = 50;
this.label7.Text = "Provider:";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblVisitServiceCategory
//
this.lblVisitServiceCategory.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblVisitServiceCategory.Location = new System.Drawing.Point(176, 72);
this.lblVisitServiceCategory.Name = "lblVisitServiceCategory";
this.lblVisitServiceCategory.Size = new System.Drawing.Size(176, 16);
this.lblVisitServiceCategory.TabIndex = 49;
//
// label3
//
this.label3.Location = new System.Drawing.Point(48, 72);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(120, 16);
this.label3.TabIndex = 48;
this.label3.Text = "Visit Sevice Category:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblCreateVisit
//
this.lblCreateVisit.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblCreateVisit.Location = new System.Drawing.Point(176, 48);
this.lblCreateVisit.Name = "lblCreateVisit";
this.lblCreateVisit.Size = new System.Drawing.Size(40, 16);
this.lblCreateVisit.TabIndex = 47;
//
// label2
//
this.label2.Location = new System.Drawing.Point(32, 48);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(136, 16);
this.label2.TabIndex = 46;
this.label2.Text = "Create Visit at Check-In?";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label4
//
this.label4.Location = new System.Drawing.Point(32, 18);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 16);
this.label4.TabIndex = 45;
this.label4.Text = "RPMS Clinic:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// cboRPMSClinic
//
this.cboRPMSClinic.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboRPMSClinic.Location = new System.Drawing.Point(112, 16);
this.cboRPMSClinic.Name = "cboRPMSClinic";
this.cboRPMSClinic.Size = new System.Drawing.Size(256, 21);
this.cboRPMSClinic.TabIndex = 15;
//
// label1
//
this.label1.Location = new System.Drawing.Point(36, 11);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(96, 16);
this.label1.TabIndex = 47;
this.label1.Text = "Resource Name:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtResourceName
//
this.txtResourceName.Location = new System.Drawing.Point(140, 11);
this.txtResourceName.MaxLength = 30;
this.txtResourceName.Name = "txtResourceName";
this.txtResourceName.Size = new System.Drawing.Size(256, 20);
this.txtResourceName.TabIndex = 0;
this.txtResourceName.Text = "";
//
// tpLetter
//
this.tpLetter.Controls.Add(this.label9);
this.tpLetter.Controls.Add(this.txtLetter);
this.tpLetter.Location = new System.Drawing.Point(4, 22);
this.tpLetter.Name = "tpLetter";
this.tpLetter.Size = new System.Drawing.Size(490, 318);
this.tpLetter.TabIndex = 1;
this.tpLetter.Text = "Reminder Letter";
//
// label9
//
this.label9.Location = new System.Drawing.Point(32, 24);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(416, 32);
this.label9.TabIndex = 1;
this.label9.Text = "Enter the text which will appear on reminder letters sent to patients with appoin" +
"tments in this clinic. Use CTRL+Enter to start a new line.";
//
// txtLetter
//
this.txtLetter.Location = new System.Drawing.Point(32, 72);
this.txtLetter.Multiline = true;
this.txtLetter.Name = "txtLetter";
this.txtLetter.Size = new System.Drawing.Size(416, 216);
this.txtLetter.TabIndex = 20;
this.txtLetter.Text = "Dear Patient,\r\n\r\nThis letter is to remind you that you have the appointments list" +
"ed below.\r\n\r\nPlease contact us at 555-1234 if you are unable to keep this appoin" +
"tment.\r\n\r\nThank you,\r\n\r\nThe Clinic";
//
// tpRebookLetter
//
this.tpRebookLetter.Controls.Add(this.label12);
this.tpRebookLetter.Controls.Add(this.txtRebookLetter);
this.tpRebookLetter.Location = new System.Drawing.Point(4, 22);
this.tpRebookLetter.Name = "tpRebookLetter";
this.tpRebookLetter.Size = new System.Drawing.Size(490, 318);
this.tpRebookLetter.TabIndex = 2;
this.tpRebookLetter.Text = "Rebook Letter";
//
// label12
//
this.label12.Location = new System.Drawing.Point(37, 27);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(416, 32);
this.label12.TabIndex = 21;
this.label12.Text = "Enter the text which will appear on rebook letters sent to patients with appointm" +
"ents in this clinic. Use CTRL+Enter to start a new line.";
//
// txtRebookLetter
//
this.txtRebookLetter.Location = new System.Drawing.Point(37, 75);
this.txtRebookLetter.Multiline = true;
this.txtRebookLetter.Name = "txtRebookLetter";
this.txtRebookLetter.Size = new System.Drawing.Size(416, 216);
this.txtRebookLetter.TabIndex = 22;
this.txtRebookLetter.Text = "Dear Patient,\r\n\r\nThis letter is to inform you that we have changed the appointmen" +
"ts listed below.\r\n\r\nPlease contact us at 555-1234 if you are unable to keep your" +
" appointment.\r\n\r\nThank you,\r\n\r\nThe Clinic";
//
// tpCancellationLetter
//
this.tpCancellationLetter.Controls.Add(this.label13);
this.tpCancellationLetter.Controls.Add(this.txtCancellationLetter);
this.tpCancellationLetter.Location = new System.Drawing.Point(4, 22);
this.tpCancellationLetter.Name = "tpCancellationLetter";
this.tpCancellationLetter.Size = new System.Drawing.Size(490, 318);
this.tpCancellationLetter.TabIndex = 3;
this.tpCancellationLetter.Text = "Cancellation Letter";
//
// label13
//
this.label13.Location = new System.Drawing.Point(37, 27);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(416, 32);
this.label13.TabIndex = 21;
this.label13.Text = "Enter the text which will appear on cancellation letters sent to patients with ap" +
"pointments in this clinic. Use CTRL+Enter to start a new line.";
//
// txtCancellationLetter
//
this.txtCancellationLetter.Location = new System.Drawing.Point(37, 75);
this.txtCancellationLetter.Multiline = true;
this.txtCancellationLetter.Name = "txtCancellationLetter";
this.txtCancellationLetter.Size = new System.Drawing.Size(416, 216);
this.txtCancellationLetter.TabIndex = 22;
this.txtCancellationLetter.Text = "Dear Patient,\r\n\r\nThis letter is to inform you that the appointments listed below " +
"have been cancelled.\r\n\r\nPlease contact us at 555-1234 if you have questions abou" +
"t your appointments.\r\n\r\nThank you,\r\n\r\nThe Clinic";
//
// DResource
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(498, 464);
this.Controls.Add(this.tabResources);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlOkCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DResource";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Manage Resource";
this.Activated += new System.EventHandler(this.DResource_Activated);
this.pnlOkCancel.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescription.ResumeLayout(false);
this.tabResources.ResumeLayout(false);
this.tpRPMSLink.ResumeLayout(false);
this.grpRPMSClinicLink.ResumeLayout(false);
this.tpLetter.ResumeLayout(false);
this.tpRebookLetter.ResumeLayout(false);
this.tpCancellationLetter.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Fields
private DataTable m_dtResources;
private CGResource m_pResource;
private DataView m_dvHospLoc;
private DataView m_dvClinicParams;
#endregion Fields
#region Methods
public void InitializePage(int nSelectedResourceID, DataSet dsGlobal)
{
m_dtResources = dsGlobal.Tables["Resources"];
//Datasource the HOSPITAL LOCATION combo box
DataTable dtHospLoc = dsGlobal.Tables["HospitalLocation"];
m_dvHospLoc = new DataView(dtHospLoc);
m_dvHospLoc.Sort = "HOSPITAL_LOCATION_ID ASC";
int nFind = m_dvHospLoc.Find((int) 0);
if (nFind < 0)
{
DataRowView drv = m_dvHospLoc.AddNew();
drv.BeginEdit();
drv["HOSPITAL_LOCATION"]="<None>";
drv["HOSPITAL_LOCATION_ID"]=0;
drv.EndEdit();
}
DataTable dtClinicParams = dsGlobal.Tables["ClinicSetupParameters"];
m_dvClinicParams = new DataView(dtClinicParams);
// m_dvClinicParams.Sort = "HOSPITAL_LOCATION_ID ASC";
m_dvClinicParams.Sort = "HOSPITAL_LOCATION ASC";
string sFind = "<None>";
// nFind = m_dvClinicParams.Find((int) 0);
nFind = m_dvClinicParams.Find((string) sFind);
if (nFind < 0)
{
DataRowView drv = m_dvClinicParams.AddNew();
drv.BeginEdit();
drv["HOSPITAL_LOCATION"]="<None>";
drv["HOSPITAL_LOCATION_ID"]="0";
drv["CREATE_VISIT"]="";
drv["VISIT_SERVICE_CATEGORY"]="";
drv.EndEdit();
}
//smh cboRPMSClinic.DataSource = m_dvClinicParams;
cboRPMSClinic.DataSource = m_dvHospLoc;
cboRPMSClinic.DisplayMember = "HOSPITAL_LOCATION";
cboRPMSClinic.ValueMember = "HOSPITAL_LOCATION_ID";
// cboRPMSClinic.SelectedItem = nFind;
cboRPMSClinic.SelectedIndex = nFind;
//Set databindings of the label boxes
//smh lblCreateVisit.DataBindings.Add("Text", m_dvClinicParams, "CREATE_VISIT");
//smh lblClinicCode.DataBindings.Add("Text", m_dvClinicParams, "CLINIC_STOP");
lblClinicCode.DataBindings.Add("Text", m_dvHospLoc, "STOP_CODE_NUMBER"); //smh
//smh lblProvider.DataBindings.Add("Text", m_dvClinicParams, "PROVIDER");
lblProvider.DataBindings.Add("Text", m_dvHospLoc, "DEFAULT_PROVIDER"); //smh
//smh lblInactivateDate.DataBindings.Add("Text", m_dvClinicParams, "INACTIVATE_DATE");
lblInactivateDate.DataBindings.Add("Text", m_dvHospLoc, "INACTIVATE_DATE"); //smh
//smh lblReactivateDate.DataBindings.Add("Text", m_dvClinicParams, "REACTIVATE_DATE");
lblReactivateDate.DataBindings.Add("Text", m_dvHospLoc, "REACTIVATE_DATE"); //smh
//create new instance of Resource class
m_pResource = new CGResource();
if (nSelectedResourceID < 0) //then we're in ADD mode
{
this.Text = "Add New Scheduling Resource";
m_pResource.ResourceID = 0;
m_pResource.ResourceName = "";
m_pResource.Inactive = false;
m_pResource.HospitalLocationID = 0;
m_pResource.HospitalLocation = "";
m_pResource.TimeScale = 15;
}
else //we're in EDIT mode
{
this.Text = "Edit Scheduling Resource";
// DataRow dr = m_dtResources.Rows[nSelectedResourceID];
DataRow dr = m_dtResources.Rows.Find(nSelectedResourceID);
//TODO: test dr for validity
string sID = dr["RESOURCEID"].ToString();
sID = (sID == "")?"0":sID;
m_pResource.ResourceID = Convert.ToInt16(sID);
m_pResource.ResourceName = dr["RESOURCE_NAME"].ToString();
string sInactive = dr["INACTIVE"].ToString();
m_pResource.Inactive = (sInactive == "1")?true:false;
sID = dr["HOSPITAL_LOCATION_ID"].ToString();
sID = (sID == "")?"0":sID;
m_pResource.HospitalLocationID = Convert.ToInt16(sID);
if (dr["TIMESCALE"].ToString() != "")
{
m_pResource.TimeScale = (int) dr["TIMESCALE"];
}
m_pResource.LetterText = dr["LETTER_TEXT"].ToString();
m_pResource.NoShowLetterText = dr["NO_SHOW_LETTER"].ToString();
m_pResource.CancellationLetterText = dr["CLINIC_CANCELLATION_LETTER"].ToString();
dr = dsGlobal.Tables["HospitalLocation"].Rows.Find(m_pResource.HospitalLocationID);
//TODO: test dr validity
m_pResource.HospitalLocation = dr["HOSPITAL_LOCATION"].ToString();
}
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
txtResourceName.Text = m_pResource.ResourceName;
chkInactivate.Checked = m_pResource.Inactive;
cboRPMSClinic.SelectedValue = m_pResource.HospitalLocationID;
txtLetter.Text = m_pResource.LetterText;
txtRebookLetter.Text = m_pResource.NoShowLetterText;
txtCancellationLetter.Text = m_pResource.CancellationLetterText;
cboTimeInterval.Text = m_pResource.TimeScale.ToString();
}
else
{
m_pResource.ResourceName = this.txtResourceName.Text;
m_pResource.Inactive = this.chkInactivate.Checked;
m_pResource.HospitalLocationID = Convert.ToInt16(this.cboRPMSClinic.SelectedValue);
m_pResource.LetterText = txtLetter.Text;
m_pResource.CancellationLetterText = txtCancellationLetter.Text;
m_pResource.NoShowLetterText = txtRebookLetter.Text;
if (cboTimeInterval.Text != "")
m_pResource.TimeScale = Convert.ToInt16(cboTimeInterval.Text);
}
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
this.UpdateDialogData(false);
}
private void tabResources_SelectedIndexChanged(object sender, System.EventArgs e)
{
if (tabResources.SelectedIndex == 0)
{
txtResourceName.Focus();
}
else
{
txtLetter.Focus();
}
}
private void DResource_Activated(object sender, System.EventArgs e)
{
txtResourceName.Focus();
}
#endregion Methods
#region Properties
public bool Inactive
{
get
{
return m_pResource.Inactive;
}
set
{
m_pResource.Inactive = value;
}
}
public int HospitalLocationID
{
get
{
return m_pResource.HospitalLocationID;
}
set
{
m_pResource.HospitalLocationID = value;
}
}
public string ResourceName
{
get
{
return m_pResource.ResourceName;
}
set
{
m_pResource.ResourceName = value;
}
}
public string LetterText
{
get
{
return m_pResource.LetterText;
}
set
{
m_pResource.LetterText = value;
}
}
public string NoShowLetterText
{
get
{
return m_pResource.NoShowLetterText;
}
set
{
m_pResource.NoShowLetterText = value;
}
}
public string CancellationLetterText
{
get
{
return m_pResource.CancellationLetterText;
}
set
{
m_pResource.CancellationLetterText = value;
}
}
public int ResourceID
{
get
{
return m_pResource.ResourceID;
}
set
{
m_pResource.ResourceID = value;
}
}
public int TimeScale
{
get
{
return m_pResource.TimeScale;
}
set
{
m_pResource.TimeScale = value;
}
}
#endregion Properties
}
}

View File

@ -0,0 +1,553 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlOkCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlOkCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlOkCancel.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlOkCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlOkCancel.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlOkCancel.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tabResources.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tabResources.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="tabResources.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tabResources.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tabResources.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tabResources.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="tpRPMSLink.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="tpRPMSLink.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpRPMSLink.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpRPMSLink.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpRPMSLink.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpRPMSLink.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="label11.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label11.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label11.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label5.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label5.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label5.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboTimeInterval.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboTimeInterval.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboTimeInterval.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkInactivate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkInactivate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkInactivate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpRPMSClinicLink.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpRPMSClinicLink.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpRPMSClinicLink.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpRPMSClinicLink.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpRPMSClinicLink.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpRPMSClinicLink.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblReactivateDate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblReactivateDate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblReactivateDate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label10.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label10.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label10.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblInactivateDate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblInactivateDate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblInactivateDate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label8.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label8.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label8.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblClinicCode.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblClinicCode.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblClinicCode.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label6.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label6.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label6.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblProvider.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblProvider.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblProvider.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label7.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label7.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label7.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblVisitServiceCategory.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblVisitServiceCategory.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblVisitServiceCategory.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblCreateVisit.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblCreateVisit.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblCreateVisit.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboRPMSClinic.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboRPMSClinic.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboRPMSClinic.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtResourceName.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtResourceName.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtResourceName.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpLetter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="tpLetter.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpLetter.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpLetter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpLetter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpLetter.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="label9.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label9.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label9.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtLetter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtLetter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtLetter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpRebookLetter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="tpRebookLetter.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpRebookLetter.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpRebookLetter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpRebookLetter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpRebookLetter.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="label12.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label12.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label12.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtRebookLetter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtRebookLetter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtRebookLetter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpCancellationLetter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="tpCancellationLetter.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpCancellationLetter.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="tpCancellationLetter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpCancellationLetter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="tpCancellationLetter.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="label13.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label13.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label13.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtCancellationLetter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtCancellationLetter.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtCancellationLetter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.Name">
<value>DResource</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,206 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DResourceGroup.
/// </summary>
public class DResourceGroup : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtResourceGroupName;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DResourceGroup()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
m_sResourceGroupName = "";
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.txtResourceGroupName = new System.Windows.Forms.TextBox();
this.pnlPageBottom.SuspendLayout();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.Add(this.cmdCancel);
this.pnlPageBottom.Controls.Add(this.cmdOK);
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 120);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(472, 40);
this.pnlPageBottom.TabIndex = 6;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(376, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Enabled = false;
this.cmdOK.Location = new System.Drawing.Point(296, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(40, 48);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(136, 16);
this.label1.TabIndex = 7;
this.label1.Text = "Resource Group Name:";
//
// txtResourceGroupName
//
this.txtResourceGroupName.Location = new System.Drawing.Point(176, 48);
this.txtResourceGroupName.Name = "txtResourceGroupName";
this.txtResourceGroupName.Size = new System.Drawing.Size(256, 20);
this.txtResourceGroupName.TabIndex = 0;
this.txtResourceGroupName.Text = "";
this.txtResourceGroupName.TextChanged += new System.EventHandler(this.txtResourceGroupName_TextChanged);
//
// DResourceGroup
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(472, 160);
this.Controls.Add(this.txtResourceGroupName);
this.Controls.Add(this.label1);
this.Controls.Add(this.pnlPageBottom);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DResourceGroup";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Add Resource Group";
this.pnlPageBottom.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private string m_sResourceGroupName;
public void InitializePage(int nSelectedRGID, DataSet dsGlobal)
{
if (nSelectedRGID < 0) //then we're in ADD mode
{
this.Text = "Add New Resource Group";
this.cmdOK.Enabled = false;
}
else //we're in EDIT mode
{
this.Text = "Edit Resource Group";
}
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
txtResourceGroupName.Text = m_sResourceGroupName;
}
else
{
m_sResourceGroupName = txtResourceGroupName.Text;
}
}
private void txtResourceGroupName_TextChanged(object sender, System.EventArgs e)
{
string sText = txtResourceGroupName.Text;
if ((sText.Length > 2) && (sText.Length < 30))
{
cmdOK.Enabled = true;
}
else
{
cmdOK.Enabled = false;
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
UpdateDialogData(false);
}
/// <summary>
/// Gets the name of the resource group
/// </summary>
public String ResourceGroupName
{
get
{
return m_sResourceGroupName;
}
set
{
m_sResourceGroupName = value;
}
}
}
}

View File

@ -0,0 +1,184 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtResourceGroupName.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtResourceGroupName.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtResourceGroupName.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.Name">
<value>DResourceGroup</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,219 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
//using System.Data.OleDb;
using IndianHealthService.BMXNet;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DResourceGroup.
/// </summary>
public class DResourceGroupItem : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cboResource;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DResourceGroupItem()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.cboResource = new System.Windows.Forms.ComboBox();
this.pnlPageBottom.SuspendLayout();
this.SuspendLayout();
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.AddRange(new System.Windows.Forms.Control[] {
this.cmdCancel,
this.cmdOK});
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 112);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(456, 40);
this.pnlPageBottom.TabIndex = 5;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(376, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(296, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(40, 40);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(96, 16);
this.label1.TabIndex = 8;
this.label1.Text = "Select Resource:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// cboResource
//
this.cboResource.Location = new System.Drawing.Point(144, 40);
this.cboResource.Name = "cboResource";
this.cboResource.Size = new System.Drawing.Size(248, 21);
this.cboResource.TabIndex = 7;
this.cboResource.Text = "cboResource";
//
// DResourceGroupItem
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(456, 152);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.label1,
this.cboResource,
this.pnlPageBottom});
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DResourceGroupItem";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "DResourceGroupItem";
this.pnlPageBottom.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Fields
int m_nResourceID;
string m_sResourceName;
// DataSet m_dtResource;
#endregion Fields
public void InitializePage(int nSelectedRID, DataSet dsGlobal)
{
// m_dtResource = dsGlobal.Tables["Resources"];
//Datasource the RESOURCE combo box
DataTable dtResource = dsGlobal.Tables["Resources"];
DataView dvResource = new DataView(dtResource);
cboResource.DataSource = dvResource;
cboResource.DisplayMember = "RESOURCE_NAME";
cboResource.ValueMember = "RESOURCEID";
if (nSelectedRID < 0) //then we're in ADD mode
{
this.Text = "Add New Resource to Group";
m_nResourceID = 0;
m_sResourceName = "";
// this.cmdOK.Enabled = false;
}
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
cboResource.SelectedValue = m_nResourceID;
}
else
{
m_nResourceID = Convert.ToInt16(cboResource.SelectedValue);
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
UpdateDialogData(false);
}
#region Properties
/// <summary>
/// Contains the IEN of the Resource in the BSDX_RESOURCE file
/// </summary>
public int ResourceID
{
get
{
return m_nResourceID;
}
}
/// <summary>
/// Contains the name of the Resource
/// </summary>
public string ResourceName
{
get
{
return m_sResourceName;
}
}
#endregion Properties
}
}

View File

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DResourceGroupItem</value>
</data>
</root>

View File

@ -0,0 +1,378 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using IndianHealthService.BMXNet;
using System.Diagnostics;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DResourceUser.
/// </summary>
public class DResourceUser : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel pnlPageBottom;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescriptionResourceGroup;
private System.Windows.Forms.Label lblDescriptionResourceGroup;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.ComboBox cboScheduleUser;
private System.Windows.Forms.CheckBox chkModifySchedule;
private System.Windows.Forms.CheckBox chkOverbook;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.CheckBox chkAppointments;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DResourceUser()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.cboScheduleUser = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.pnlPageBottom = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescriptionResourceGroup = new System.Windows.Forms.GroupBox();
this.lblDescriptionResourceGroup = new System.Windows.Forms.Label();
this.chkModifySchedule = new System.Windows.Forms.CheckBox();
this.chkOverbook = new System.Windows.Forms.CheckBox();
this.chkAppointments = new System.Windows.Forms.CheckBox();
this.pnlPageBottom.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescriptionResourceGroup.SuspendLayout();
this.SuspendLayout();
//
// cboScheduleUser
//
this.cboScheduleUser.Location = new System.Drawing.Point(144, 32);
this.cboScheduleUser.Name = "cboScheduleUser";
this.cboScheduleUser.Size = new System.Drawing.Size(248, 21);
this.cboScheduleUser.TabIndex = 0;
this.cboScheduleUser.Text = "cboScheduleUser";
this.cboScheduleUser.SelectedIndexChanged += new System.EventHandler(this.cboScheduleUser_SelectedIndexChanged);
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 32);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(120, 16);
this.label1.TabIndex = 1;
this.label1.Text = "Select Resource User:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// pnlPageBottom
//
this.pnlPageBottom.Controls.Add(this.cmdCancel);
this.pnlPageBottom.Controls.Add(this.cmdOK);
this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlPageBottom.Location = new System.Drawing.Point(0, 254);
this.pnlPageBottom.Name = "pnlPageBottom";
this.pnlPageBottom.Size = new System.Drawing.Size(448, 40);
this.pnlPageBottom.TabIndex = 4;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(376, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(56, 24);
this.cmdCancel.TabIndex = 2;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(296, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 1;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescriptionResourceGroup);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 182);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(448, 72);
this.pnlDescription.TabIndex = 5;
//
// grpDescriptionResourceGroup
//
this.grpDescriptionResourceGroup.Controls.Add(this.lblDescriptionResourceGroup);
this.grpDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescriptionResourceGroup.Location = new System.Drawing.Point(0, 0);
this.grpDescriptionResourceGroup.Name = "grpDescriptionResourceGroup";
this.grpDescriptionResourceGroup.Size = new System.Drawing.Size(448, 72);
this.grpDescriptionResourceGroup.TabIndex = 1;
this.grpDescriptionResourceGroup.TabStop = false;
this.grpDescriptionResourceGroup.Text = "Description";
//
// lblDescriptionResourceGroup
//
this.lblDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescriptionResourceGroup.Location = new System.Drawing.Point(3, 16);
this.lblDescriptionResourceGroup.Name = "lblDescriptionResourceGroup";
this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(442, 53);
this.lblDescriptionResourceGroup.TabIndex = 0;
this.lblDescriptionResourceGroup.Text = "Use this panel to assign user access to Resources. Only users who have the BSDXZ" +
"MENU key in RPMS will appear in the selection list. If Modify Schedule is check" +
"ed, then the user will be able to add and edit the resource\'s availability.";
//
// chkModifySchedule
//
this.chkModifySchedule.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chkModifySchedule.Location = new System.Drawing.Point(96, 136);
this.chkModifySchedule.Name = "chkModifySchedule";
this.chkModifySchedule.Size = new System.Drawing.Size(152, 16);
this.chkModifySchedule.TabIndex = 7;
this.chkModifySchedule.Text = "Modify Clinic Availability:";
this.chkModifySchedule.CheckedChanged += new System.EventHandler(this.chkModifySchedule_CheckedChanged);
//
// chkOverbook
//
this.chkOverbook.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chkOverbook.Location = new System.Drawing.Point(160, 104);
this.chkOverbook.Name = "chkOverbook";
this.chkOverbook.Size = new System.Drawing.Size(88, 16);
this.chkOverbook.TabIndex = 8;
this.chkOverbook.Text = "Overbook:";
this.chkOverbook.CheckedChanged += new System.EventHandler(this.chkOverbook_CheckedChanged);
//
// chkAppointments
//
this.chkAppointments.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chkAppointments.Location = new System.Drawing.Point(40, 72);
this.chkAppointments.Name = "chkAppointments";
this.chkAppointments.Size = new System.Drawing.Size(208, 16);
this.chkAppointments.TabIndex = 9;
this.chkAppointments.Text = "Add, Edit and Delete appointments:";
this.chkAppointments.CheckedChanged += new System.EventHandler(this.chkAppointments_CheckedChanged);
//
// DResourceUser
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.CancelButton = this.cmdCancel;
this.ClientSize = new System.Drawing.Size(448, 294);
this.Controls.Add(this.chkAppointments);
this.Controls.Add(this.chkOverbook);
this.Controls.Add(this.chkModifySchedule);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlPageBottom);
this.Controls.Add(this.label1);
this.Controls.Add(this.cboScheduleUser);
this.Name = "DResourceUser";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "DResourceUser";
this.pnlPageBottom.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescriptionResourceGroup.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Fields
private DataTable m_dtResourceUser;
private int m_nUserID;
private bool m_bModifySchedule;
private bool m_bOverbook;
private bool m_bAppointments;
#endregion Fields
#region Properties
/// <summary>
/// The ID of the Resource User in the NEW PERSON file.
/// </summary>
public int UserID
{
get
{
return m_nUserID;
}
}
/// <summary>
/// True if the user is allowed to modify the resource's scheduled availability
/// </summary>
public bool ModifySchedule
{
get
{
return m_bModifySchedule;
}
}
/// <summary>
/// True if the user is allowed to overbook beyond the resource's scheduled availability
/// </summary>
public bool Overbook
{
get
{
return m_bOverbook;
}
}
/// <summary>
/// True if the user is allowed to create, edit and delete appointments
/// </summary>
public bool Appoinmtments
{
get
{
return m_bAppointments;
}
}
#endregion Properties
public void InitializePage(int nSelectedRUID, DataSet dsGlobal)
{
m_dtResourceUser = dsGlobal.Tables["ResourceUser"];
//Datasource the SCHEDULE USER combo box
DataTable dtSchedUser = dsGlobal.Tables["ScheduleUser"];
DataView dvSchedUser = new DataView(dtSchedUser);
dvSchedUser.Sort = "USERNAME ASC";
cboScheduleUser.DataSource = dvSchedUser;
cboScheduleUser.DisplayMember = "USERNAME";
cboScheduleUser.ValueMember = "USERID";
if (nSelectedRUID < 0) //then we're in ADD mode
{
this.Text = "Add New Resource User";
m_nUserID = 0;
m_bModifySchedule = false;
m_bOverbook = false;
m_bAppointments = false;
this.cmdOK.Enabled = false;
}
else //we're in EDIT mode
{
this.Text = "Edit Scheduling Resource";
this.cboScheduleUser.Enabled = false;
DataRow dr = m_dtResourceUser.Rows.Find(nSelectedRUID);
m_nUserID = Convert.ToInt16(dr["USERID"]);//CHANGED FROM USERID1
string sOverbook = dr["OVERBOOK"].ToString();
m_bOverbook = (sOverbook == "YES")?true:false;
string sModify = dr["MODIFY_SCHEDULE"].ToString();
m_bModifySchedule = (sModify == "YES")?true:false;
string sAppts = dr["MODIFY_APPOINTMENTS"].ToString();
m_bAppointments = (sAppts == "YES")?true:false;
}
UpdateDialogData(true);
}
/// <summary>
/// If b is true, moves member vars into control data
/// otherwise, moves control data into member vars
/// </summary>
/// <param name="b"></param>
private void UpdateDialogData(bool b)
{
if (b == true)
{
this.chkOverbook.Checked = m_bOverbook;
this.chkModifySchedule.Checked = m_bModifySchedule;
this.cboScheduleUser.SelectedValue = m_nUserID;
this.chkAppointments.Checked = m_bAppointments;
}
else
{
m_bOverbook = this.chkOverbook.Checked;
m_bModifySchedule = this.chkModifySchedule.Checked;
m_bAppointments = this.chkAppointments.Checked;
m_nUserID = Convert.ToInt16(this.cboScheduleUser.SelectedValue);
}
}
private void cmdOK_Click(object sender, System.EventArgs e)
{
this.UpdateDialogData(false);
}
private void cboScheduleUser_SelectedIndexChanged(object sender, System.EventArgs e)
{
this.cmdOK.Enabled = true;
}
private void chkModifySchedule_CheckedChanged(object sender, System.EventArgs e)
{
if (chkModifySchedule.Checked == true)
{
this.chkAppointments.Checked = true;
this.chkOverbook.Checked = true;
}
}
private void chkOverbook_CheckedChanged(object sender, System.EventArgs e)
{
if (chkOverbook.Checked == true)
{
chkAppointments.Checked = true;
}
if (chkOverbook.Checked == false)
{
chkModifySchedule.Checked = false;
}
}
private void chkAppointments_CheckedChanged(object sender, System.EventArgs e)
{
if (chkAppointments.Checked == false)
{
chkOverbook.Checked = false;
chkModifySchedule.Checked = false;
}
}
}
}

View File

@ -0,0 +1,256 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="cboScheduleUser.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboScheduleUser.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboScheduleUser.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescriptionResourceGroup.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescriptionResourceGroup.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescriptionResourceGroup.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkModifySchedule.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkModifySchedule.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkModifySchedule.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkOverbook.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkOverbook.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkOverbook.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkAppointments.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkAppointments.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkAppointments.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DResourceUser</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,350 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DSelectLetterClinics.
/// </summary>
public class DSelectLetterClinics : System.Windows.Forms.Form
{
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlOkCancel;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescription;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.CheckedListBox lstResource;
private System.Windows.Forms.ComboBox cboResourceGroup;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.DateTimePicker dtBegin;
private System.Windows.Forms.DateTimePicker dtEnd;
private System.Windows.Forms.Label lblRange;
private System.Windows.Forms.CheckBox chkSelectAll;
private System.ComponentModel.Container components = null;
public DSelectLetterClinics()
{
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlOkCancel = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescription = new System.Windows.Forms.GroupBox();
this.lblDescription = new System.Windows.Forms.Label();
this.lstResource = new System.Windows.Forms.CheckedListBox();
this.cboResourceGroup = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.dtBegin = new System.Windows.Forms.DateTimePicker();
this.dtEnd = new System.Windows.Forms.DateTimePicker();
this.lblRange = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.chkSelectAll = new System.Windows.Forms.CheckBox();
this.pnlOkCancel.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescription.SuspendLayout();
this.SuspendLayout();
//
// pnlOkCancel
//
this.pnlOkCancel.Controls.Add(this.cmdCancel);
this.pnlOkCancel.Controls.Add(this.cmdOK);
this.pnlOkCancel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlOkCancel.Location = new System.Drawing.Point(0, 430);
this.pnlOkCancel.Name = "pnlOkCancel";
this.pnlOkCancel.Size = new System.Drawing.Size(512, 40);
this.pnlOkCancel.TabIndex = 4;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(416, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 1;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(336, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 0;
this.cmdOK.Text = "OK";
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescription);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 350);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(512, 80);
this.pnlDescription.TabIndex = 47;
//
// grpDescription
//
this.grpDescription.Controls.Add(this.lblDescription);
this.grpDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescription.Location = new System.Drawing.Point(0, 0);
this.grpDescription.Name = "grpDescription";
this.grpDescription.Size = new System.Drawing.Size(512, 80);
this.grpDescription.TabIndex = 0;
this.grpDescription.TabStop = false;
this.grpDescription.Text = "Description";
//
// lblDescription
//
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescription.Location = new System.Drawing.Point(3, 16);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(506, 61);
this.lblDescription.TabIndex = 1;
this.lblDescription.Text = "Use this panel to select resources and to specify the time period for patient rem" +
"inder letters. Check each resource (clinic) for which to print letters. Letter" +
"s will be printed for appointments between the beginning and ending dates, inclu" +
"sive.";
//
// lstResource
//
this.lstResource.HorizontalScrollbar = true;
this.lstResource.Location = new System.Drawing.Point(24, 96);
this.lstResource.MultiColumn = true;
this.lstResource.Name = "lstResource";
this.lstResource.Size = new System.Drawing.Size(448, 124);
this.lstResource.TabIndex = 48;
//
// cboResourceGroup
//
this.cboResourceGroup.Location = new System.Drawing.Point(24, 40);
this.cboResourceGroup.Name = "cboResourceGroup";
this.cboResourceGroup.Size = new System.Drawing.Size(448, 21);
this.cboResourceGroup.TabIndex = 49;
this.cboResourceGroup.SelectedIndexChanged += new System.EventHandler(this.cboResourceGroup_SelectedIndexChanged);
//
// label1
//
this.label1.Location = new System.Drawing.Point(24, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(208, 16);
this.label1.TabIndex = 50;
this.label1.Text = "Resource Group:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(24, 72);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 16);
this.label2.TabIndex = 51;
this.label2.Text = "Resource:";
//
// dtBegin
//
this.dtBegin.Location = new System.Drawing.Point(24, 312);
this.dtBegin.Name = "dtBegin";
this.dtBegin.TabIndex = 52;
//
// dtEnd
//
this.dtEnd.Location = new System.Drawing.Point(280, 312);
this.dtEnd.Name = "dtEnd";
this.dtEnd.Size = new System.Drawing.Size(192, 20);
this.dtEnd.TabIndex = 52;
//
// lblRange
//
this.lblRange.Location = new System.Drawing.Point(24, 272);
this.lblRange.Name = "lblRange";
this.lblRange.Size = new System.Drawing.Size(192, 16);
this.lblRange.TabIndex = 53;
this.lblRange.Text = "Date range for appointment letters:";
//
// label4
//
this.label4.Location = new System.Drawing.Point(24, 296);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(152, 16);
this.label4.TabIndex = 54;
this.label4.Text = "Beginning Date:";
//
// label5
//
this.label5.Location = new System.Drawing.Point(280, 296);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(152, 16);
this.label5.TabIndex = 54;
this.label5.Text = "Ending Date:";
//
// chkSelectAll
//
this.chkSelectAll.Location = new System.Drawing.Point(32, 232);
this.chkSelectAll.Name = "chkSelectAll";
this.chkSelectAll.Size = new System.Drawing.Size(168, 24);
this.chkSelectAll.TabIndex = 55;
this.chkSelectAll.Text = "Select All Resources";
this.chkSelectAll.CheckedChanged += new System.EventHandler(this.chkSelectAll_CheckedChanged);
//
// DSelectLetterClinics
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(512, 470);
this.Controls.Add(this.chkSelectAll);
this.Controls.Add(this.label4);
this.Controls.Add(this.lblRange);
this.Controls.Add(this.dtBegin);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.cboResourceGroup);
this.Controls.Add(this.lstResource);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlOkCancel);
this.Controls.Add(this.dtEnd);
this.Controls.Add(this.label5);
this.Name = "DSelectLetterClinics";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Print Apppointment Letters";
this.pnlOkCancel.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescription.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Methods
public void SetupForReports()
{
lblRange.Text = "Date Range for Appointment List:";
lblDescription.Text = "Use this panel to select resources and to specify the time period for appointment lists. Check each resource (clinic) for which to print lists. Lists will be printed for appointments between the beginning and ending dates, inclusive.";
this.Text = "Print Clinic Schedules";
}
public void InitializePage(DataSet dsGlobal, string sWindowText)
{
try
{
m_bInitialized = false;
this.Text = sWindowText;
m_dtResources = dsGlobal.Tables["GroupResources"];
m_dvResources = new DataView(m_dtResources);
m_dvResources.Sort = "RESOURCE_NAME ASC";
lstResource.DataSource = m_dvResources;
lstResource.DisplayMember = "RESOURCE_NAME";
lstResource.ValueMember = "RESOURCEID";
m_dtGroups = dsGlobal.Tables["ResourceGroup"];
m_dvGroups = new DataView(m_dtGroups);
m_dvGroups.Sort = "RESOURCE_GROUP ASC";
cboResourceGroup.DataSource = m_dvGroups;
cboResourceGroup.DisplayMember = "RESOURCE_GROUP";
cboResourceGroup.ValueMember = "RESOURCE_GROUPID";
m_dvResources.RowFilter = "RESOURCE_GROUPID = " + cboResourceGroup.SelectedValue;
m_bInitialized = true;
return;
}
catch(Exception ex)
{
throw ex;
}
}
private void cboResourceGroup_SelectedIndexChanged(object sender, System.EventArgs e)
{
if (m_bInitialized == true)
m_dvResources.RowFilter = "RESOURCE_GROUPID = " + cboResourceGroup.SelectedValue;
chkSelectAll.Checked = false;
}
private void chkSelectAll_CheckedChanged(object sender, System.EventArgs e)
{
for(int i=0; i < lstResource.Items.Count; i++)
{
lstResource.SetItemChecked(i, chkSelectAll.Checked);
}
}
#endregion Methods
#region Fields
private DataTable m_dtGroups;
private DataView m_dvGroups;
private DataTable m_dtResources;
private DataView m_dvResources;
private bool m_bInitialized;
#endregion Fields
#region Properties
/// <summary>
/// Returns the |-delimited string of selected resource id's
/// </summary>
public string SelectedClinics
{
get
{
string sRet = "";
foreach(DataRowView s in this.lstResource.CheckedItems)
{
sRet = sRet + s["RESOURCEID"].ToString() + "|";
}
return sRet;
}
}
public DateTime BeginDate
{
get
{
return dtBegin.Value;
}
}
public DateTime EndDate
{
get
{
return dtEnd.Value;
}
}
#endregion Properties
}
}

View File

@ -0,0 +1,301 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlOkCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlOkCancel.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlOkCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlOkCancel.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlOkCancel.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlOkCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstResource.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstResource.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lstResource.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtBegin.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtBegin.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtBegin.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="dtEnd.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtEnd.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dtEnd.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblRange.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblRange.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblRange.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label5.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label5.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label5.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkSelectAll.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkSelectAll.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkSelectAll.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DSelectLetterClinics</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,352 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DSelectSchedules.
/// </summary>
public class DSelectSchedules : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel pnlOkCancel;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.Panel pnlDescription;
private System.Windows.Forms.GroupBox grpDescription;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.CheckedListBox lstResource;
private System.Windows.Forms.CheckBox chkOneWindow;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cboResourceGroup;
private System.Windows.Forms.TextBox txtGroupWindow;
private System.Windows.Forms.Label label3;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DSelectSchedules()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pnlOkCancel = new System.Windows.Forms.Panel();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.pnlDescription = new System.Windows.Forms.Panel();
this.grpDescription = new System.Windows.Forms.GroupBox();
this.lblDescription = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.lstResource = new System.Windows.Forms.CheckedListBox();
this.chkOneWindow = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.cboResourceGroup = new System.Windows.Forms.ComboBox();
this.txtGroupWindow = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.pnlOkCancel.SuspendLayout();
this.pnlDescription.SuspendLayout();
this.grpDescription.SuspendLayout();
this.SuspendLayout();
//
// pnlOkCancel
//
this.pnlOkCancel.Controls.Add(this.cmdCancel);
this.pnlOkCancel.Controls.Add(this.cmdOK);
this.pnlOkCancel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlOkCancel.Location = new System.Drawing.Point(0, 478);
this.pnlOkCancel.Name = "pnlOkCancel";
this.pnlOkCancel.Size = new System.Drawing.Size(512, 40);
this.pnlOkCancel.TabIndex = 5;
//
// cmdCancel
//
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cmdCancel.Location = new System.Drawing.Point(416, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(64, 24);
this.cmdCancel.TabIndex = 30;
this.cmdCancel.Text = "Cancel";
//
// cmdOK
//
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cmdOK.Location = new System.Drawing.Point(336, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(64, 24);
this.cmdOK.TabIndex = 25;
this.cmdOK.Text = "OK";
//
// pnlDescription
//
this.pnlDescription.Controls.Add(this.grpDescription);
this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlDescription.Location = new System.Drawing.Point(0, 398);
this.pnlDescription.Name = "pnlDescription";
this.pnlDescription.Size = new System.Drawing.Size(512, 80);
this.pnlDescription.TabIndex = 48;
//
// grpDescription
//
this.grpDescription.Controls.Add(this.lblDescription);
this.grpDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpDescription.Location = new System.Drawing.Point(0, 0);
this.grpDescription.Name = "grpDescription";
this.grpDescription.Size = new System.Drawing.Size(512, 80);
this.grpDescription.TabIndex = 0;
this.grpDescription.TabStop = false;
this.grpDescription.Text = "Description";
//
// lblDescription
//
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblDescription.Location = new System.Drawing.Point(3, 16);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(506, 61);
this.lblDescription.TabIndex = 1;
this.lblDescription.Text = "Use this panel to open a group of resource schedules. You can open each schedule" +
" in a separate window or open all schedules in one single group window. If you " +
"use a group window, you can assign a name to identify the window.";
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 80);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(240, 16);
this.label2.TabIndex = 53;
this.label2.Text = "Resource:";
//
// lstResource
//
this.lstResource.HorizontalScrollbar = true;
this.lstResource.Location = new System.Drawing.Point(16, 104);
this.lstResource.MultiColumn = true;
this.lstResource.Name = "lstResource";
this.lstResource.Size = new System.Drawing.Size(448, 184);
this.lstResource.TabIndex = 10;
//
// chkOneWindow
//
this.chkOneWindow.Checked = true;
this.chkOneWindow.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkOneWindow.Location = new System.Drawing.Point(24, 304);
this.chkOneWindow.Name = "chkOneWindow";
this.chkOneWindow.Size = new System.Drawing.Size(328, 24);
this.chkOneWindow.TabIndex = 15;
this.chkOneWindow.Text = "Open Schedules in a Single Group Window";
this.chkOneWindow.CheckedChanged += new System.EventHandler(this.chkOneWindow_CheckedChanged);
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(208, 16);
this.label1.TabIndex = 58;
this.label1.Text = "Resource Group:";
//
// cboResourceGroup
//
this.cboResourceGroup.Location = new System.Drawing.Point(16, 40);
this.cboResourceGroup.Name = "cboResourceGroup";
this.cboResourceGroup.Size = new System.Drawing.Size(448, 21);
this.cboResourceGroup.TabIndex = 5;
this.cboResourceGroup.SelectionChangeCommitted += new System.EventHandler(this.cboResourceGroup_SelectionChangeCommitted);
//
// txtGroupWindow
//
this.txtGroupWindow.Location = new System.Drawing.Point(160, 344);
this.txtGroupWindow.Name = "txtGroupWindow";
this.txtGroupWindow.Size = new System.Drawing.Size(304, 20);
this.txtGroupWindow.TabIndex = 20;
this.txtGroupWindow.Text = "";
//
// label3
//
this.label3.Location = new System.Drawing.Point(32, 344);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(120, 16);
this.label3.TabIndex = 58;
this.label3.Text = "Group Window Name:";
//
// DSelectSchedules
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(512, 518);
this.Controls.Add(this.txtGroupWindow);
this.Controls.Add(this.label1);
this.Controls.Add(this.cboResourceGroup);
this.Controls.Add(this.chkOneWindow);
this.Controls.Add(this.label2);
this.Controls.Add(this.lstResource);
this.Controls.Add(this.pnlDescription);
this.Controls.Add(this.pnlOkCancel);
this.Controls.Add(this.label3);
this.Name = "DSelectSchedules";
this.Text = "Open Selected Schedules";
this.pnlOkCancel.ResumeLayout(false);
this.pnlDescription.ResumeLayout(false);
this.grpDescription.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region Fields
private DataTable m_dtGroups;
private DataView m_dvGroups;
private DataTable m_dtResources;
private DataView m_dvResources;
private DataSet m_dsGlobal;
#endregion Fields
#region Properties
/// <summary>
/// Returns the an ArrayList of selected resource names
/// </summary>
public ArrayList SelectedClinics
{
get
{
System.Collections.ArrayList al = new System.Collections.ArrayList();
foreach(DataRowView s in this.lstResource.CheckedItems)
{
al.Add(s["RESOURCE_NAME"].ToString());
}
return al;
}
}
public bool SingleWindow
{
get
{
return this.chkOneWindow.Checked;
}
}
public string GroupWindowName
{
get
{
return this.txtGroupWindow.Text;
}
}
#endregion Properties
public void InitializePage(DataSet dsGlobal, string sWindowText)
{
try
{
m_dsGlobal = dsGlobal;
this.Text = sWindowText;
m_dtResources = dsGlobal.Tables["Resources"];
m_dvResources = new DataView(m_dtResources);
m_dvResources.Sort = "RESOURCE_NAME ASC";
m_dvResources.RowFilter = "INACTIVE <> 1 AND VIEW = 1";
lstResource.DataSource = m_dvResources;
lstResource.DisplayMember = "RESOURCE_NAME";
lstResource.ValueMember = "RESOURCE_NAME";
m_dtGroups = dsGlobal.Tables["ResourceGroup"].Copy();
m_dvGroups = new DataView(m_dtGroups);
m_dvGroups.Sort = "RESOURCE_GROUP ASC";
this.cboResourceGroup.Items.Add("<Show All Resources & Clinics>");
foreach (DataRowView drvG in m_dvGroups)
{
this.cboResourceGroup.Items.Add(drvG["RESOURCE_GROUP"]);
}
this.cboResourceGroup.Text = "<Show All Resources & Clinics>";
return;
}
catch(Exception ex)
{
throw ex;
}
}
private void cboResourceGroup_SelectionChangeCommitted(object sender, System.EventArgs e)
{
string sGroup = cboResourceGroup.SelectedItem.ToString();
if (sGroup == "<Show All Resources & Clinics>")
{
LoadListBox("ALL");
}
else
{
LoadListBox("SELECTED");
}
}
private void LoadListBox(string sGroup)
{
if (sGroup == "ALL")
{
//Load the Resources list box with ALL resources
m_dtResources = m_dsGlobal.Tables["Resources"];
m_dvResources = new DataView(m_dtResources);
m_dvResources = new DataView(m_dtResources);
m_dvResources.Sort = "RESOURCE_NAME ASC";
m_dvResources.RowFilter = "INACTIVE <> 1 AND VIEW = 1";
lstResource.DataSource = m_dvResources;
lstResource.DisplayMember = "RESOURCE_NAME";
lstResource.ValueMember = "RESOURCE_NAME";
}
else
{
//Load the Resources list box with active resources belonging
//to group sGroup
//Build Resource Group table containing *active* Resources and their Groups
m_dtResources = m_dsGlobal.Tables["GroupResources"];
//Create a view that is filterable on ResourceGroup
m_dvResources = new DataView(m_dtResources);
m_dvResources.RowFilter = "RESOURCE_GROUP = '" + this.cboResourceGroup.SelectedItem.ToString() + "'";
lstResource.DataSource = m_dvResources;
lstResource.DisplayMember = "RESOURCE_NAME";
lstResource.ValueMember = "RESOURCE_NAME";
}
}
private void chkOneWindow_CheckedChanged(object sender, System.EventArgs e)
{
this.txtGroupWindow.Enabled = this.chkOneWindow.Checked;
}
}
}

View File

@ -0,0 +1,274 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pnlOkCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlOkCancel.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlOkCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlOkCancel.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlOkCancel.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlOkCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="grpDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="grpDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="grpDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="grpDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstResource.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lstResource.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lstResource.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkOneWindow.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkOneWindow.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkOneWindow.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="cboResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cboResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtGroupWindow.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtGroupWindow.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="txtGroupWindow.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Name">
<value>DSelectSchedules</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>

View File

@ -0,0 +1,147 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DSplash.
/// </summary>
public class DSplash : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
//private System.Windows.Forms.Label lblVersion;
private System.Windows.Forms.LinkLabel lnkMail;
private System.Windows.Forms.Label lblStatus;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public DSplash()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
//this.lblVersion = new System.Windows.Forms.Label();
this.lnkMail = new System.Windows.Forms.LinkLabel();
this.lblStatus = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.label1.Location = new System.Drawing.Point(24, 32);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(448, 40);
this.label1.TabIndex = 0;
this.label1.Text = "IHS Clinical Scheduling";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lblVersion
//
//this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
//this.lblVersion.Location = new System.Drawing.Point(88, 88);
//this.lblVersion.Name = "lblVersion";
//this.lblVersion.Size = new System.Drawing.Size(328, 32);
//this.lblVersion.TabIndex = 1;
//this.lblVersion.Text = "Version ";
//this.lblVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lnkMail
//
//this.lnkMail.Location = new System.Drawing.Point(328, 224);
//this.lnkMail.Name = "lnkMail";
//this.lnkMail.Size = new System.Drawing.Size(144, 16);
//this.lnkMail.TabIndex = 2;
//this.lnkMail.TabStop = true;
//this.lnkMail.Text = "Horace.Whitt@mail.ihs.gov";
//
// lblStatus
//
this.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblStatus.Location = new System.Drawing.Point(88, 160);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(328, 16);
this.lblStatus.TabIndex = 3;
this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// DSplash
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(488, 252);
this.ControlBox = false;
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.lnkMail);
//this.Controls.Add(this.lblVersion);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Name = "DSplash";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "IHS Clinical Scheduling";
this.Load += new System.EventHandler(this.DSplash_Load);
this.ResumeLayout(false);
}
#endregion
public void SetStatus(string sStatus)
{
this.Status = sStatus;
}
private void DSplash_Load(object sender, System.EventArgs e)
{
//this.lblVersion.Text = "Version " + Application.ProductVersion;
}
#region Properties
/// <summary>
/// Gets or sets the value of the Status displayed on the splash screen
/// </summary>
public String Status
{
get
{
return lblStatus.Text;
}
set
{
lblStatus.Text = value;
}
}
#endregion Properties
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="mnuNewAppointment.Enabled" value="True" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<startup>
<supportedRuntime version="v2.0.50727" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="mnuNewAppointment.Enabled" value="True" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<startup>
<supportedRuntime version="v2.0.50727" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="mnuNewAppointment.Enabled" value="True" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<startup>
<supportedRuntime version="v2.0.50727" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="mnuNewAppointment.Enabled" value="True" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<startup>
<supportedRuntime version="v2.0.50727" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>

View File

@ -0,0 +1,9 @@
download
BMXNet.dll
I
CalendarGrid.dll
I
ClinicalScheduling.exe
I
ClinicalScheduling.exe.conig
A

View File

@ -0,0 +1,167 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.832
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace IndianHealthService.ClinicalScheduling {
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;
public class crAppointmentList : ReportClass {
public crAppointmentList() {
}
public override string ResourceName {
get {
return "crAppointmentList.rpt";
}
set {
// Do nothing
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section1 {
get {
return this.ReportDefinition.Sections[0];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section2 {
get {
return this.ReportDefinition.Sections[1];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
get {
return this.ReportDefinition.Sections[2];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
get {
return this.ReportDefinition.Sections[3];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section3 {
get {
return this.ReportDefinition.Sections[4];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section9 {
get {
return this.ReportDefinition.Sections[5];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
get {
return this.ReportDefinition.Sections[6];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
get {
return this.ReportDefinition.Sections[7];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
get {
return this.ReportDefinition.Sections[8];
}
}
}
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
public class CachedcrAppointmentList : Component, ICachedReport {
public CachedcrAppointmentList() {
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool IsCacheable {
get {
return true;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool ShareDBLogonInfo {
get {
return false;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.TimeSpan CacheTimeOut {
get {
return CachedReportConstants.DEFAULT_TIMEOUT;
}
set {
//
}
}
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
crAppointmentList rpt = new crAppointmentList();
rpt.Site = this.Site;
return rpt;
}
public virtual string GetCustomizedCacheKey(RequestContext request) {
String key = null;
// // The following is the code used to generate the default
// // cache key for caching report jobs in the ASP.NET Cache.
// // Feel free to modify this code to suit your needs.
// // Returning key == null causes the default cache key to
// // be generated.
//
// key = RequestContext.BuildCompleteCacheKey(
// request,
// null, // sReportFilename
// this.GetType(),
// this.ShareDBLogonInfo );
return key;
}
}
}

Binary file not shown.

View File

@ -0,0 +1,167 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace IndianHealthService.ClinicalScheduling {
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;
public class crCancelLetter : ReportClass {
public crCancelLetter() {
}
public override string ResourceName {
get {
return "crCancelLetter.rpt";
}
set {
// Do nothing
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section1 {
get {
return this.ReportDefinition.Sections[0];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section2 {
get {
return this.ReportDefinition.Sections[1];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section3 {
get {
return this.ReportDefinition.Sections[2];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
get {
return this.ReportDefinition.Sections[3];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section SectionBody {
get {
return this.ReportDefinition.Sections[4];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
get {
return this.ReportDefinition.Sections[5];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
get {
return this.ReportDefinition.Sections[6];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
get {
return this.ReportDefinition.Sections[7];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
get {
return this.ReportDefinition.Sections[8];
}
}
}
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
public class CachedcrCancelLetter : Component, ICachedReport {
public CachedcrCancelLetter() {
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool IsCacheable {
get {
return true;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool ShareDBLogonInfo {
get {
return false;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.TimeSpan CacheTimeOut {
get {
return CachedReportConstants.DEFAULT_TIMEOUT;
}
set {
//
}
}
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
crCancelLetter rpt = new crCancelLetter();
rpt.Site = this.Site;
return rpt;
}
public virtual string GetCustomizedCacheKey(RequestContext request) {
String key = null;
// // The following is the code used to generate the default
// // cache key for caching report jobs in the ASP.NET Cache.
// // Feel free to modify this code to suit your needs.
// // Returning key == null causes the default cache key to
// // be generated.
//
// key = RequestContext.BuildCompleteCacheKey(
// request,
// null, // sReportFilename
// this.GetType(),
// this.ShareDBLogonInfo );
return key;
}
}
}

Binary file not shown.

View File

@ -0,0 +1,159 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace IndianHealthService.ClinicalScheduling {
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;
public class crPatientApptDisplay : ReportClass {
public crPatientApptDisplay() {
}
public override string ResourceName {
get {
return "crPatientApptDisplay.rpt";
}
set {
// Do nothing
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section1 {
get {
return this.ReportDefinition.Sections[0];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section2 {
get {
return this.ReportDefinition.Sections[1];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
get {
return this.ReportDefinition.Sections[2];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
get {
return this.ReportDefinition.Sections[3];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section3 {
get {
return this.ReportDefinition.Sections[4];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
get {
return this.ReportDefinition.Sections[5];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
get {
return this.ReportDefinition.Sections[6];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
get {
return this.ReportDefinition.Sections[7];
}
}
}
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
public class CachedcrPatientApptDisplay : Component, ICachedReport {
public CachedcrPatientApptDisplay() {
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool IsCacheable {
get {
return true;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool ShareDBLogonInfo {
get {
return false;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.TimeSpan CacheTimeOut {
get {
return CachedReportConstants.DEFAULT_TIMEOUT;
}
set {
//
}
}
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
crPatientApptDisplay rpt = new crPatientApptDisplay();
rpt.Site = this.Site;
return rpt;
}
public virtual string GetCustomizedCacheKey(RequestContext request) {
String key = null;
// // The following is the code used to generate the default
// // cache key for caching report jobs in the ASP.NET Cache.
// // Feel free to modify this code to suit your needs.
// // Returning key == null causes the default cache key to
// // be generated.
//
// key = RequestContext.BuildCompleteCacheKey(
// request,
// null, // sReportFilename
// this.GetType(),
// this.ShareDBLogonInfo );
return key;
}
}
}

Binary file not shown.

View File

@ -0,0 +1,167 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace IndianHealthService.ClinicalScheduling {
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;
public class crPatientLetter : ReportClass {
public crPatientLetter() {
}
public override string ResourceName {
get {
return "crPatientLetter.rpt";
}
set {
// Do nothing
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section1 {
get {
return this.ReportDefinition.Sections[0];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section2 {
get {
return this.ReportDefinition.Sections[1];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section3 {
get {
return this.ReportDefinition.Sections[2];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
get {
return this.ReportDefinition.Sections[3];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section SectionBody {
get {
return this.ReportDefinition.Sections[4];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
get {
return this.ReportDefinition.Sections[5];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
get {
return this.ReportDefinition.Sections[6];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
get {
return this.ReportDefinition.Sections[7];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
get {
return this.ReportDefinition.Sections[8];
}
}
}
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
public class CachedcrPatientLetter : Component, ICachedReport {
public CachedcrPatientLetter() {
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool IsCacheable {
get {
return true;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool ShareDBLogonInfo {
get {
return false;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.TimeSpan CacheTimeOut {
get {
return CachedReportConstants.DEFAULT_TIMEOUT;
}
set {
//
}
}
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
crPatientLetter rpt = new crPatientLetter();
rpt.Site = this.Site;
return rpt;
}
public virtual string GetCustomizedCacheKey(RequestContext request) {
String key = null;
// // The following is the code used to generate the default
// // cache key for caching report jobs in the ASP.NET Cache.
// // Feel free to modify this code to suit your needs.
// // Returning key == null causes the default cache key to
// // be generated.
//
// key = RequestContext.BuildCompleteCacheKey(
// request,
// null, // sReportFilename
// this.GetType(),
// this.ShareDBLogonInfo );
return key;
}
}
}

Binary file not shown.

View File

@ -0,0 +1,167 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace IndianHealthService.ClinicalScheduling {
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;
public class crRebookLetter : ReportClass {
public crRebookLetter() {
}
public override string ResourceName {
get {
return "crRebookLetter.rpt";
}
set {
// Do nothing
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section1 {
get {
return this.ReportDefinition.Sections[0];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section2 {
get {
return this.ReportDefinition.Sections[1];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section3 {
get {
return this.ReportDefinition.Sections[2];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section7 {
get {
return this.ReportDefinition.Sections[3];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section SectionBody {
get {
return this.ReportDefinition.Sections[4];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section8 {
get {
return this.ReportDefinition.Sections[5];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section6 {
get {
return this.ReportDefinition.Sections[6];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
get {
return this.ReportDefinition.Sections[7];
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
get {
return this.ReportDefinition.Sections[8];
}
}
}
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
public class CachedcrRebookLetter : Component, ICachedReport {
public CachedcrRebookLetter() {
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool IsCacheable {
get {
return true;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool ShareDBLogonInfo {
get {
return false;
}
set {
//
}
}
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.TimeSpan CacheTimeOut {
get {
return CachedReportConstants.DEFAULT_TIMEOUT;
}
set {
//
}
}
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
crRebookLetter rpt = new crRebookLetter();
rpt.Site = this.Site;
return rpt;
}
public virtual string GetCustomizedCacheKey(RequestContext request) {
String key = null;
// // The following is the code used to generate the default
// // cache key for caching report jobs in the ASP.NET Cache.
// // Feel free to modify this code to suit your needs.
// // Returning key == null causes the default cache key to
// // be generated.
//
// key = RequestContext.BuildCompleteCacheKey(
// request,
// null, // sReportFilename
// this.GetType(),
// this.ShareDBLogonInfo );
return key;
}
}
}

Binary file not shown.

View File

@ -0,0 +1,192 @@
<?xml version="1.0" standalone="yes" ?>
<xs:schema id="GlobalDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="GlobalDataSet" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SchedulingUser">
<xs:complexType>
<xs:sequence>
<xs:element name="MANAGER" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessTypes">
<xs:complexType>
<xs:sequence>
<xs:element name="BMXIEN" type="xs:int" />
<xs:element name="ACCESS_TYPE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="BLUE" type="xs:int" minOccurs="0" />
<xs:element name="DEPARTMENT_NAME" type="xs:string" minOccurs="0" />
<xs:element name="DISPLAY_COLOR" type="xs:string" minOccurs="0" />
<xs:element name="GREEN" type="xs:int" minOccurs="0" />
<xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
<xs:element name="RED" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_GROUP" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessGroupType">
<xs:complexType>
<xs:sequence>
<xs:element name="ACCESS_GROUP_TYPEID" type="xs:int" />
<xs:element name="ACCESS_GROUP_ID" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_GROUP" type="xs:string" minOccurs="0" />
<xs:element name="ACCESS_TYPE_ID" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_TYPE" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_GROUP" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Resources">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCEID" type="xs:int" />
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
<xs:element name="TIMESCALE" type="xs:int" minOccurs="0" />
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" minOccurs="0" />
<xs:element name="LETTER_TEXT" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GroupResources">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_GROUP" type="xs:string" minOccurs="0" />
<xs:element name="RESOURCE_GROUP_ITEMID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="HospitalLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
<xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
<xs:element name="DEFAULT_PROVIDER" type="xs:string" minOccurs="0" />
<xs:element name="STOP_CODE_NUMBER" type="xs:string" minOccurs="0" />
<xs:element name="INACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
<xs:element name="REACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ClinicSetupParameters">
<xs:complexType>
<xs:sequence>
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
<xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
<xs:element name="CREATE_VISIT" type="xs:string" minOccurs="0" />
<xs:element name="VISIT_SERVICE_CATEGORY" type="xs:string" minOccurs="0" />
<xs:element name="PROVIDER" msdata:ReadOnly="true" msdata:Expression="Parent.DEFAULT_PROVIDER"
type="xs:string" minOccurs="0" />
<xs:element name="CLINIC_STOP" msdata:ReadOnly="true" msdata:Expression="Parent.STOP_CODE_NUMBER"
type="xs:string" minOccurs="0" />
<xs:element name="INACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.INACTIVATE_DATE"
type="xs:string" minOccurs="0" />
<xs:element name="REACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.REACTIVATE_DATE"
type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ScheduleUser">
<xs:complexType>
<xs:sequence>
<xs:element name="USERID" type="xs:int" />
<xs:element name="USERNAME" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceUser">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCEUSER_ID" type="xs:int" />
<xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
<xs:element name="OVERBOOK" type="xs:string" minOccurs="0" />
<xs:element name="MODIFY_SCHEDULE" type="xs:string" minOccurs="0" />
<xs:element name="USERID" type="xs:string" minOccurs="0" />
<xs:element name="USERID1" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessTypes" />
<xs:field xpath="BMXIEN" />
</xs:unique>
<xs:unique name="AccessGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessGroup" />
<xs:field xpath="ACCESS_GROUP" />
</xs:unique>
<xs:unique name="Constraint2">
<xs:selector xpath=".//AccessGroup" />
<xs:field xpath="BMXIEN" />
</xs:unique>
<xs:unique name="AccessGroupType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessGroupType" />
<xs:field xpath="ACCESS_GROUP_TYPEID" />
</xs:unique>
<xs:unique name="ResourceGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ResourceGroup" />
<xs:field xpath="RESOURCE_GROUP" />
</xs:unique>
<xs:unique name="Resources_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//Resources" />
<xs:field xpath="RESOURCEID" />
</xs:unique>
<xs:unique name="HospitalLocation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//HospitalLocation" />
<xs:field xpath="HOSPITAL_LOCATION_ID" />
</xs:unique>
<xs:unique name="ClinicSetupParameters_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ClinicSetupParameters" />
<xs:field xpath="HOSPITAL_LOCATION_ID" />
</xs:unique>
<xs:unique name="ScheduleUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ScheduleUser" />
<xs:field xpath="USERID" />
</xs:unique>
<xs:unique name="ResourceUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ResourceUser" />
<xs:field xpath="RESOURCEUSER_ID" />
</xs:unique>
<xs:keyref name="ResourceUser" refer="Resources_Constraint1">
<xs:selector xpath=".//ResourceUser" />
<xs:field xpath="RESOURCEID" />
</xs:keyref>
<xs:keyref name="GroupResource2" refer="Resources_Constraint1">
<xs:selector xpath=".//GroupResources" />
<xs:field xpath="RESOURCEID" />
</xs:keyref>
<xs:keyref name="GroupResource" refer="ResourceGroup_Constraint1">
<xs:selector xpath=".//GroupResources" />
<xs:field xpath="RESOURCE_GROUP" />
</xs:keyref>
<xs:keyref name="AccessGroupType" refer="Constraint2">
<xs:selector xpath=".//AccessGroupType" />
<xs:field xpath="ACCESS_GROUP_ID" />
</xs:keyref>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="HospitalLocationClinic" msdata:parent="HospitalLocation" msdata:child="ClinicSetupParameters"
msdata:parentkey="HOSPITAL_LOCATION_ID" msdata:childkey="HOSPITAL_LOCATION_ID" />
</xs:appinfo>
</xs:annotation>
</xs:schema>

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--This file is auto-generated by the XML Schema Designer. It holds layout information for components on the designer surface.-->
<XSDDesignerLayout layoutVersion="2" viewPortLeft="19018" viewPortTop="-249" zoom="100">
<SchedulingUser_XmlElement left="41930" top="1793" width="5292" height="2963" selected="0" zOrder="1" index="0" expanded="1" />
<AccessTypes_XmlElement left="4778" top="980" width="7303" height="4656" selected="0" zOrder="32" index="1" expanded="1" />
<AccessGroup_XmlElement left="12885" top="873" width="6192" height="2963" selected="0" zOrder="26" index="2" expanded="1" />
<AccessGroupType_XmlElement left="11431" top="6456" width="7673" height="3810" selected="0" zOrder="27" index="3" expanded="1" />
<ResourceGroup_XmlElement left="19605" top="1244" width="8625" height="2963" selected="0" zOrder="21" index="4" expanded="1" />
<Resources_XmlElement left="30347" top="688" width="8308" height="3810" selected="0" zOrder="2" index="5" expanded="1" />
<GroupResources_XmlElement left="19526" top="6350" width="9102" height="3387" selected="0" zOrder="16" index="6" expanded="1" />
<HospitalLocation_XmlElement left="48789" top="1297" width="8414" height="3809" selected="0" zOrder="4" index="7" expanded="1" />
<ClinicSetupParameters_XmlElement left="48763" top="5529" width="8308" height="4657" selected="0" zOrder="6" index="8" expanded="1" />
<ScheduleUser_XmlElement left="41925" top="6345" width="5292" height="2963" selected="0" zOrder="8" index="9" expanded="1" />
<ResourceUser_XmlElement left="31063" top="6772" width="7408" height="4233" selected="0" zOrder="10" index="10" expanded="1" />
<GroupResource_XmlKeyref left="27812" top="4664" width="503" height="503" selected="0" zOrder="22" />
<GroupResource2_XmlKeyref left="29882" top="4564" width="503" height="503" selected="0" zOrder="17" />
<ResourceUser_XmlKeyref left="38738" top="4719" width="503" height="503" selected="0" zOrder="12" />
<AccessGroupType_XmlKeyref left="18527" top="4745" width="503" height="503" selected="0" zOrder="28" />
</XSDDesignerLayout>

View File

@ -0,0 +1,187 @@
<?xml version="1.0" standalone="yes" ?>
<xs:schema id="GlobalDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="GlobalDataSet" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SchedulingUser">
<xs:complexType>
<xs:sequence>
<xs:element name="MANAGER" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessTypes">
<xs:complexType>
<xs:sequence>
<xs:element name="BMXIEN" type="xs:int" />
<xs:element name="ACCESS_TYPE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="BLUE" type="xs:int" minOccurs="0" />
<xs:element name="DEPARTMENT_NAME" type="xs:string" minOccurs="0" />
<xs:element name="DISPLAY_COLOR" type="xs:string" minOccurs="0" />
<xs:element name="GREEN" type="xs:int" minOccurs="0" />
<xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
<xs:element name="RED" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_GROUP" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessGroupType">
<xs:complexType>
<xs:sequence>
<xs:element name="ACCESS_GROUP_TYPEID" type="xs:int" />
<xs:element name="ACCESS_GROUP_ID" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_GROUP" type="xs:string" minOccurs="0" />
<xs:element name="ACCESS_TYPE_ID" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_TYPE" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_GROUP" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Resources">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCEID" type="xs:int" />
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
<xs:element name="TIMESCALE" type="xs:int" minOccurs="0" />
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" minOccurs="0" />
<xs:element name="LETTER_TEXT" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GroupResources">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_GROUP" type="xs:string" minOccurs="0" />
<xs:element name="RESOURCE_GROUP_ITEMID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="HospitalLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
<xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
<xs:element name="DEFAULT_PROVIDER" type="xs:string" minOccurs="0" />
<xs:element name="STOP_CODE_NUMBER" type="xs:string" minOccurs="0" />
<xs:element name="INACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
<xs:element name="REACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ClinicSetupParameters">
<xs:complexType>
<xs:sequence>
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
<xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
<xs:element name="CREATE_VISIT" type="xs:string" minOccurs="0" />
<xs:element name="VISIT_SERVICE_CATEGORY" type="xs:string" minOccurs="0" />
<xs:element name="PROVIDER" msdata:ReadOnly="true" msdata:Expression="Parent.DEFAULT_PROVIDER"
type="xs:string" minOccurs="0" />
<xs:element name="CLINIC_STOP" msdata:ReadOnly="true" msdata:Expression="Parent.STOP_CODE_NUMBER"
type="xs:string" minOccurs="0" />
<xs:element name="INACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.INACTIVATE_DATE"
type="xs:string" minOccurs="0" />
<xs:element name="REACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.REACTIVATE_DATE"
type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ScheduleUser">
<xs:complexType>
<xs:sequence>
<xs:element name="USERID" type="xs:int" />
<xs:element name="USERNAME" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceUser">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCEUSER_ID" type="xs:int" />
<xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
<xs:element name="OVERBOOK" type="xs:string" minOccurs="0" />
<xs:element name="MODIFY_SCHEDULE" type="xs:string" minOccurs="0" />
<xs:element name="USERID" type="xs:string" minOccurs="0" />
<xs:element name="USERID1" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessTypes" />
<xs:field xpath="BMXIEN" />
</xs:unique>
<xs:unique name="AccessGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessGroup" />
<xs:field xpath="ACCESS_GROUP" />
</xs:unique>
<xs:unique name="Constraint2">
<xs:selector xpath=".//AccessGroup" />
<xs:field xpath="BMXIEN" />
</xs:unique>
<xs:unique name="AccessGroupType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessGroupType" />
<xs:field xpath="ACCESS_GROUP_TYPEID" />
</xs:unique>
<xs:unique name="ResourceGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ResourceGroup" />
<xs:field xpath="RESOURCE_GROUP" />
</xs:unique>
<xs:unique name="Resources_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//Resources" />
<xs:field xpath="RESOURCEID" />
</xs:unique>
<xs:unique name="HospitalLocation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//HospitalLocation" />
<xs:field xpath="HOSPITAL_LOCATION_ID" />
</xs:unique>
<xs:unique name="ClinicSetupParameters_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ClinicSetupParameters" />
<xs:field xpath="HOSPITAL_LOCATION_ID" />
</xs:unique>
<xs:unique name="ScheduleUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ScheduleUser" />
<xs:field xpath="USERID" />
</xs:unique>
<xs:unique name="ResourceUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ResourceUser" />
<xs:field xpath="RESOURCEUSER_ID" />
</xs:unique>
<xs:keyref name="ResourceUser" refer="Resources_Constraint1">
<xs:selector xpath=".//ResourceUser" />
<xs:field xpath="RESOURCEID" />
</xs:keyref>
<xs:keyref name="GroupResource" refer="ResourceGroup_Constraint1">
<xs:selector xpath=".//GroupResources" />
<xs:field xpath="RESOURCE_GROUP" />
</xs:keyref>
<xs:keyref name="AccessGroupType" refer="Constraint2">
<xs:selector xpath=".//AccessGroupType" />
<xs:field xpath="ACCESS_GROUP_ID" />
</xs:keyref>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="HospitalLocationClinic" msdata:parent="HospitalLocation" msdata:child="ClinicSetupParameters"
msdata:parentkey="HOSPITAL_LOCATION_ID" msdata:childkey="HOSPITAL_LOCATION_ID" />
</xs:appinfo>
</xs:annotation>
</xs:schema>

View File

@ -0,0 +1,201 @@
<?xml version="1.0" standalone="yes"?>
<xs:schema id="GlobalDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="GlobalDataSet" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="VersionInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="ERROR" type="xs:string" minOccurs="0" />
<xs:element name="MAJOR_VERSION" type="xs:string" minOccurs="0" />
<xs:element name="MINOR_VERSION" type="xs:string" minOccurs="0" />
<xs:element name="BUILD" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SchedulingUser">
<xs:complexType>
<xs:sequence>
<xs:element name="MANAGER" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessTypes">
<xs:complexType>
<xs:sequence>
<xs:element name="BMXIEN" type="xs:int" />
<xs:element name="ACCESS_TYPE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="BLUE" type="xs:int" minOccurs="0" />
<xs:element name="DEPARTMENT_NAME" type="xs:string" minOccurs="0" />
<xs:element name="DISPLAY_COLOR" type="xs:string" minOccurs="0" />
<xs:element name="GREEN" type="xs:int" minOccurs="0" />
<xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
<xs:element name="RED" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_GROUP" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessGroupType">
<xs:complexType>
<xs:sequence>
<xs:element name="ACCESS_GROUP_TYPEID" type="xs:int" />
<xs:element name="ACCESS_GROUP_ID" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_GROUP" type="xs:string" minOccurs="0" />
<xs:element name="ACCESS_TYPE_ID" type="xs:int" minOccurs="0" />
<xs:element name="ACCESS_TYPE" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_GROUP" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Resources">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCEID" type="xs:int" />
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="INACTIVE" type="xs:string" minOccurs="0" />
<xs:element name="TIMESCALE" type="xs:int" minOccurs="0" />
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" minOccurs="0" />
<xs:element name="LETTER_TEXT" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GroupResources">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCE_GROUPID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_GROUP" type="xs:string" minOccurs="0" />
<xs:element name="RESOURCE_GROUP_ITEMID" type="xs:int" minOccurs="0" />
<xs:element name="RESOURCE_NAME" type="xs:string" minOccurs="0" />
<xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="HospitalLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
<xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
<xs:element name="DEFAULT_PROVIDER" type="xs:string" minOccurs="0" />
<xs:element name="STOP_CODE_NUMBER" type="xs:string" minOccurs="0" />
<xs:element name="INACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
<xs:element name="REACTIVATE_DATE" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ClinicSetupParameters">
<xs:complexType>
<xs:sequence>
<xs:element name="HOSPITAL_LOCATION_ID" type="xs:int" />
<xs:element name="HOSPITAL_LOCATION" type="xs:string" minOccurs="0" />
<xs:element name="CREATE_VISIT" type="xs:string" minOccurs="0" />
<xs:element name="VISIT_SERVICE_CATEGORY" type="xs:string" minOccurs="0" />
<xs:element name="PROVIDER" msdata:ReadOnly="true" msdata:Expression="Parent.DEFAULT_PROVIDER" type="xs:string" minOccurs="0" />
<xs:element name="CLINIC_STOP" msdata:ReadOnly="true" msdata:Expression="Parent.STOP_CODE_NUMBER" type="xs:string" minOccurs="0" />
<xs:element name="INACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.INACTIVATE_DATE" type="xs:string" minOccurs="0" />
<xs:element name="REACTIVATE_DATE" msdata:ReadOnly="true" msdata:Expression="Parent.REACTIVATE_DATE" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ScheduleUser">
<xs:complexType>
<xs:sequence>
<xs:element name="USERID" type="xs:int" />
<xs:element name="USERNAME" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceUser">
<xs:complexType>
<xs:sequence>
<xs:element name="RESOURCEUSER_ID" type="xs:int" />
<xs:element name="RESOURCEID" type="xs:int" minOccurs="0" />
<xs:element name="OVERBOOK" type="xs:string" minOccurs="0" />
<xs:element name="MODIFY_SCHEDULE" type="xs:string" minOccurs="0" />
<xs:element name="USERID" type="xs:string" minOccurs="0" />
<xs:element name="USERID1" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Provider">
<xs:complexType>
<xs:sequence>
<xs:element name="BMXIEN" type="xs:int" minOccurs="0" />
<xs:element name="NAME" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessTypes" />
<xs:field xpath="BMXIEN" />
</xs:unique>
<xs:unique name="AccessGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessGroup" />
<xs:field xpath="ACCESS_GROUP" />
</xs:unique>
<xs:unique name="Constraint2">
<xs:selector xpath=".//AccessGroup" />
<xs:field xpath="BMXIEN" />
</xs:unique>
<xs:unique name="AccessGroupType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//AccessGroupType" />
<xs:field xpath="ACCESS_GROUP_TYPEID" />
</xs:unique>
<xs:unique name="ResourceGroup_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ResourceGroup" />
<xs:field xpath="RESOURCE_GROUP" />
</xs:unique>
<xs:unique name="Resources_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//Resources" />
<xs:field xpath="RESOURCEID" />
</xs:unique>
<xs:unique name="HospitalLocation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//HospitalLocation" />
<xs:field xpath="HOSPITAL_LOCATION_ID" />
</xs:unique>
<xs:unique name="ClinicSetupParameters_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ClinicSetupParameters" />
<xs:field xpath="HOSPITAL_LOCATION_ID" />
</xs:unique>
<xs:unique name="ScheduleUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ScheduleUser" />
<xs:field xpath="USERID" />
</xs:unique>
<xs:unique name="ResourceUser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//ResourceUser" />
<xs:field xpath="RESOURCEUSER_ID" />
</xs:unique>
<xs:keyref name="ResourceUser" refer="Resources_Constraint1">
<xs:selector xpath=".//ResourceUser" />
<xs:field xpath="RESOURCEID" />
</xs:keyref>
<xs:keyref name="GroupResource" refer="ResourceGroup_Constraint1">
<xs:selector xpath=".//GroupResources" />
<xs:field xpath="RESOURCE_GROUP" />
</xs:keyref>
<xs:keyref name="AccessGroupType" refer="Constraint2">
<xs:selector xpath=".//AccessGroupType" />
<xs:field xpath="ACCESS_GROUP_ID" />
</xs:keyref>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="HospitalLocationClinic" msdata:parent="HospitalLocation" msdata:child="ClinicSetupParameters" msdata:parentkey="HOSPITAL_LOCATION_ID" msdata:childkey="HOSPITAL_LOCATION_ID" />
</xs:appinfo>
</xs:annotation>
</xs:schema>

Some files were not shown because too many files have changed in this diff Show More