本文整理汇总了C#中IGroup类的典型用法代码示例。如果您正苦于以下问题:C# IGroup类的具体用法?C# IGroup怎么用?C# IGroup使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IGroup类属于命名空间,在下文中一共展示了IGroup类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RXG
/**
* Creates a RXG (Pharmacy/Treatment Give) segment object that belongs to the given
* message.
*/
public RXG(IGroup parent, IModelClassFactory factory)
: base(parent,factory)
{
IMessage message = Message;
try {
this.add(typeof(NM), true, 1, 4, new System.Object[]{message}, "Give Sub-ID Counter");
this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Dispense Sub-ID Counter");
this.add(typeof(TQ), false, 1, 200, new System.Object[]{message}, "Quantity/Timing");
this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Give Code");
this.add(typeof(NM), true, 1, 20, new System.Object[]{message}, "Give Amount - Minimum");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Give Amount - Maximum");
this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Give Units");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Give Dosage Form");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Administration Notes");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 167}, "Substitution Status");
this.add(typeof(LA2), false, 1, 200, new System.Object[]{message}, "Dispense-to Location");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Needs Human Review");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Pharmacy/Treatment Supplier's Special Administration Instructions");
this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Give Per (Time Unit)");
this.add(typeof(ST), false, 1, 6, new System.Object[]{message}, "Give Rate Amount");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Give Rate Units");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Give Strength");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Give Strength Units");
this.add(typeof(ST), false, 0, 20, new System.Object[]{message}, "Substance Lot Number");
this.add(typeof(TS), false, 0, 26, new System.Object[]{message}, "Substance Expiration Date");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Substance Manufacturer Name");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Indication");
this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Give Drug Strength Volume");
this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "Give Drug Strength Volume Units");
this.add(typeof(CWE), false, 1, 60, new System.Object[]{message}, "Give Barcode Identifier");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 480}, "Pharmacy Order Type");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例2: MSH
/**
* Creates a MSH (Message Header) segment object that belongs to the given
* message.
*/
public MSH(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
IMessage message = Message;
try {
this.add(typeof(ST), true, 1, 1, new System.Object[]{message}, "Field Separator");
this.add(typeof(ST), true, 1, 4, new System.Object[]{message}, "Encoding Characters");
this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Sending Application");
this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Sending Facility");
this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Receiving Application");
this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Receiving Facility");
this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time Of Message");
this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Security");
this.add(typeof(MSG), true, 1, 15, new System.Object[]{message}, "Message Type");
this.add(typeof(ST), true, 1, 20, new System.Object[]{message}, "Message Control ID");
this.add(typeof(PT), true, 1, 3, new System.Object[]{message}, "Processing ID");
this.add(typeof(VID), true, 1, 60, new System.Object[]{message}, "Version ID");
this.add(typeof(NM), false, 1, 15, new System.Object[]{message}, "Sequence Number");
this.add(typeof(ST), false, 1, 180, new System.Object[]{message}, "Continuation Pointer");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 155}, "Accept Acknowledgment Type");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 155}, "Application Acknowledgment Type");
this.add(typeof(ID), false, 1, 3, new System.Object[]{message, 399}, "Country Code");
this.add(typeof(ID), false, 0, 16, new System.Object[]{message, 211}, "Character Set");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Principal Language Of Message");
this.add(typeof(ID), false, 1, 20, new System.Object[]{message, 356}, "Alternate Character Set Handling Scheme");
this.add(typeof(EI), false, 0, 427, new System.Object[]{message}, "Message Profile Identifier");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例3: UngroupCommand
/// <summary>
/// Initializes a new instance of the <see cref="T:UngroupCommand"/> class.
/// </summary>
/// <param name="controller">The controller.</param>
/// <param name="group">The group.</param>
public UngroupCommand(IController controller, IGroup group)
: base(controller) {
this.Text = "Ungroup";
this.controller = controller;
this.mGroup = group;
bundle = new Bundle();
}
示例4: GOL
/**
* Creates a GOL (Goal Detail) segment object that belongs to the given
* message.
*/
public GOL(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
IMessage message = Message;
try {
this.add(typeof(ID), true, 1, 2, new System.Object[]{message, 287}, "Action Code");
this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Action Date/Time");
this.add(typeof(CE), true, 1, 80, new System.Object[]{message}, "Goal ID");
this.add(typeof(EI), true, 1, 60, new System.Object[]{message}, "Goal Instance ID");
this.add(typeof(EI), false, 1, 60, new System.Object[]{message}, "Episode of Care ID");
this.add(typeof(NM), false, 1, 60, new System.Object[]{message}, "Goal List Priority");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Goal Established Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Expected Goal Achieve Date/Time");
this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Classification");
this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Management Discipline");
this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Current Goal Review Status");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Current Goal Review Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Next Goal Review Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Previous Goal Review Date/Time");
this.add(typeof(TQ), false, 1, 200, new System.Object[]{message}, "Goal Review Interval");
this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Evaluation");
this.add(typeof(ST), false, 0, 300, new System.Object[]{message}, "Goal Evaluation Comment");
this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Life Cycle Status");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Goal Life Cycle Status Date/Time");
this.add(typeof(CE), false, 0, 80, new System.Object[]{message}, "Goal Target Type");
this.add(typeof(XPN), false, 0, 80, new System.Object[]{message}, "Goal Target Name");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例5: SCH
/**
* Creates a SCH (Schedule Activity Information) segment object that belongs to the given
* message.
*/
public SCH(IGroup parent, IModelClassFactory factory)
: base(parent,factory)
{
IMessage message = Message;
try {
this.add(typeof(EI), true, 1, 22, new System.Object[]{message}, "Placer Appointment ID");
this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "Filler Appointment ID");
this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Occurrence Number");
this.add(typeof(EI), false, 1, 37, new System.Object[]{message}, "Placer Group Number");
this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Schedule ID");
this.add(typeof(CE), true, 1, 200, new System.Object[]{message}, "Event Reason");
this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Appointment Reason");
this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Appointment Type");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Appointment Duration");
this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Appointment Duration Units");
this.add(typeof(TQ), true, 0, 200, new System.Object[]{message}, "Appointment Timing Quantity");
this.add(typeof(XCN), false, 1, 48, new System.Object[]{message}, "Placer Contact Person");
this.add(typeof(XTN), false, 1, 40, new System.Object[]{message}, "Placer Contact Phone Number");
this.add(typeof(XAD), false, 1, 106, new System.Object[]{message}, "Placer Contact Address");
this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Placer Contact Location");
this.add(typeof(XCN), true, 1, 38, new System.Object[]{message}, "Filler Contact Person");
this.add(typeof(XTN), false, 1, 40, new System.Object[]{message}, "Filler Contact Phone Number");
this.add(typeof(XAD), false, 1, 106, new System.Object[]{message}, "Filler Contact Address");
this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Filler Contact Location");
this.add(typeof(XCN), true, 1, 48, new System.Object[]{message}, "Entered By Person");
this.add(typeof(XTN), false, 0, 40, new System.Object[]{message}, "Entered By Phone Number");
this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Entered By Location");
this.add(typeof(EI), false, 1, 75, new System.Object[]{message}, "Parent Placer Appointment ID");
this.add(typeof(EI), false, 1, 75, new System.Object[]{message}, "Parent Filler Appointment ID");
this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Filler Status Code");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例6: RSP_K23_QUERY_RESPONSE
///<summary>
/// Creates a new RSP_K23_QUERY_RESPONSE Group.
///</summary>
public RSP_K23_QUERY_RESPONSE(IGroup parent, IModelClassFactory factory) : base(parent, factory){
try {
this.add(typeof(PID), true, false);
} catch(HL7Exception e) {
HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error creating RSP_K23_QUERY_RESPONSE - this is probably a bug in the source code generator.", e);
}
}
示例7: FT1
/**
* Creates a FT1 (Financial transaction) segment object that belongs to the given
* message.
*/
public FT1(IGroup parent, IModelClassFactory factory)
: base(parent,factory)
{
IMessage message = Message;
try {
this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - Financial Transaction");
this.add(typeof(ST), false, 1, 12, new System.Object[]{message}, "Transaction ID");
this.add(typeof(ST), false, 1, 10, new System.Object[]{message}, "Transaction Batch ID");
this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Transaction Date");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Transaction Posting Date");
this.add(typeof(ID), true, 1, 8, new System.Object[]{message, 17}, "Transaction Type");
this.add(typeof(CE), true, 1, 80, new System.Object[]{message}, "Transaction Code");
this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Transaction Description");
this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Transaction Description - alternate");
this.add(typeof(NM), false, 1, 6, new System.Object[]{message}, "Transaction Quantity");
this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Transaction Amount - Extended");
this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Transaction Amount - Unit");
this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Department Code");
this.add(typeof(CE), false, 1, 8, new System.Object[]{message}, "Insurance Plan ID");
this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Insurance Amount");
this.add(typeof(PL), false, 1, 12, new System.Object[]{message}, "Assigned Patient Location");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 24}, "Fee Schedule");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 18}, "Patient Type");
this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Diagnosis Code");
this.add(typeof(XCN), false, 1, 120, new System.Object[]{message}, "Performed By Code");
this.add(typeof(XCN), false, 1, 120, new System.Object[]{message}, "Ordered By Code");
this.add(typeof(NM), false, 1, 12, new System.Object[]{message}, "Unit Cost");
this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "Filler Order Number");
this.add(typeof(XCN), false, 1, 120, new System.Object[]{message}, "Entered By Code");
this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Procedure Code");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例8: ResolveConflicts
public void ResolveConflicts(IGroup group)
{
var conflictService = group.GetSyncConflictService();
var syncActionService = group.GetSyncActionService();
var historyService = group.GetService<IMultiFileSystemHistoryService>();
var changeGraphBuilder = new ChangeGraphBuilder(m_FileReferenceComparer);
var syncStateUpdater = new SyncActionUpdateBuilder();
foreach (var conflict in conflictService.Items)
{
IFileReference resolved;
if (TryResolveConflict(changeGraphBuilder, historyService, conflict, out resolved))
{
// remove the conflict
syncStateUpdater.RemoveConflict(conflict);
// add sync actions
throw new NotImplementedException();
}
}
syncStateUpdater.Apply(syncActionService, conflictService);
}
示例9: GroupTreeNode
internal GroupTreeNode(IGroup group)
: base(group.Name, 0, 1)
{
this.Group = group;
this.Nodes.Add(String.Empty, DUMMY_NODE);
this.Name = group.Name;
}
示例10: TXA
/**
* Creates a TXA (Document notification segment) segment object that belongs to the given
* message.
*/
public TXA(IGroup parent, IModelClassFactory factory)
: base(parent,factory)
{
IMessage message = Message;
try {
this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID- TXA");
this.add(typeof(IS), true, 1, 30, new System.Object[]{message, 270}, "Document Type");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 191}, "Document Content Presentation");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Activity Date/Time");
this.add(typeof(XCN), false, 1, 60, new System.Object[]{message}, "Primary Activity Provider Code/Name");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Origination Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Transcription Date/Time");
this.add(typeof(TS), false, 0, 26, new System.Object[]{message}, "Edit Date/Time");
this.add(typeof(XCN), false, 1, 60, new System.Object[]{message}, "Originator Code/Name");
this.add(typeof(XCN), false, 0, 60, new System.Object[]{message}, "Assigned Document Authenticator");
this.add(typeof(XCN), false, 1, 48, new System.Object[]{message}, "Transcriptionist Code/Name");
this.add(typeof(EI), true, 1, 30, new System.Object[]{message}, "Unique Document Number");
this.add(typeof(EI), false, 1, 30, new System.Object[]{message}, "Parent Document Number");
this.add(typeof(EI), false, 0, 22, new System.Object[]{message}, "Placer Order Number");
this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "Filler Order Number");
this.add(typeof(ST), false, 1, 30, new System.Object[]{message}, "Unique Document File Name");
this.add(typeof(ID), true, 0, 2, new System.Object[]{message, 271}, "Document Completion Status");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 272}, "Document Confidentiality Status");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 273}, "Document Availability Status");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 275}, "Document Storage Status");
this.add(typeof(ST), false, 1, 30, new System.Object[]{message}, "Document Change Reason");
this.add(typeof(PPN), false, 0, 60, new System.Object[]{message}, "Authentication Person, Time Stamp");
this.add(typeof(XCN), false, 0, 60, new System.Object[]{message}, "Distributed Copies (Code and Name of Recipients)");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例11: PEO
/**
* Creates a PEO (Product Experience Observation) segment object that belongs to the given
* message.
*/
public PEO(IGroup parent, IModelClassFactory factory)
: base(parent,factory)
{
IMessage message = Message;
try {
this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Event Identifiers Used");
this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Event Symptom/Diagnosis Code");
this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Event Onset Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Event Exacerbation Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Event Improved Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Event Ended Data/Time");
this.add(typeof(XAD), false, 1, 106, new System.Object[]{message}, "Event Location Occurred Address");
this.add(typeof(ID), false, 0, 1, new System.Object[]{message, 237}, "Event Qualification");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 238}, "Event Serious");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 239}, "Event Expected");
this.add(typeof(ID), false, 0, 1, new System.Object[]{message, 240}, "Event Outcome");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 241}, "Patient Outcome");
this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Others");
this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event From Original Reporter");
this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Patient");
this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Practitioner");
this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Autopsy");
this.add(typeof(CE), false, 0, 30, new System.Object[]{message}, "Cause Of Death");
this.add(typeof(XPN), false, 1, 46, new System.Object[]{message}, "Primary Observer Name");
this.add(typeof(XAD), false, 0, 106, new System.Object[]{message}, "Primary Observer Address");
this.add(typeof(XTN), false, 0, 40, new System.Object[]{message}, "Primary Observer Telephone");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 242}, "Primary Observer’s Qualification");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 242}, "Confirmation Provided By");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Primary Observer Aware Date/Time");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 243}, "Primary Observer’s Identity May Be Divulged");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例12: STF
/**
* Creates a STF (Staff identification segment) segment object that belongs to the given
* message.
*/
public STF(IGroup parent, IModelClassFactory factory)
: base(parent,factory)
{
IMessage message = Message;
try {
this.add(typeof(CE), true, 1, 60, new System.Object[]{message}, "STF - Primary Key Value");
this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Staff ID Code");
this.add(typeof(XPN), false, 1, 48, new System.Object[]{message}, "Staff Name");
this.add(typeof(ID), false, 0, 2, new System.Object[]{message, 182}, "Staff Type");
this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 1}, "Sex");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date of Birth");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 183}, "Active/Inactive Flag");
this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Department");
this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Service");
this.add(typeof(TN), false, 0, 40, new System.Object[]{message}, "Phone");
this.add(typeof(AD), false, 2, 106, new System.Object[]{message}, "Office/Home Address");
this.add(typeof(CM_DIN), false, 0, 26, new System.Object[]{message}, "Activation Date");
this.add(typeof(CM_DIN), false, 0, 26, new System.Object[]{message}, "Inactivation Date");
this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Backup Person ID");
this.add(typeof(ST), false, 0, 40, new System.Object[]{message}, "E-mail Address");
this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Preferred Method of Contact");
this.add(typeof(IS), false, 0, 1, new System.Object[]{message, 2}, "Marital Status");
this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Job Title");
this.add(typeof(JCC), false, 1, 20, new System.Object[]{message}, "Job Code/Class");
this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 66}, "Employment Status");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Additional Insured on Auto");
this.add(typeof(DLN), false, 1, 25, new System.Object[]{message}, "Driver's License Number");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Copy Auto Ins");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Auto Ins. Expires");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Date Last DMV Review");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Date Next DMV Review");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例13: RXD
/**
* Creates a RXD (Pharmacy/Treatment Dispense) segment object that belongs to the given
* message.
*/
public RXD(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
IMessage message = Message;
try {
this.add(typeof(NM), true, 1, 4, new System.Object[]{message}, "Dispense Sub-ID Counter");
this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Dispense/Give Code");
this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time Dispensed");
this.add(typeof(NM), true, 1, 20, new System.Object[]{message}, "Actual Dispense Amount");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Actual Dispense Units");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Actual Dosage Form");
this.add(typeof(ST), true, 1, 20, new System.Object[]{message}, "Prescription Number");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Number of Refills Remaining");
this.add(typeof(ST), false, 0, 200, new System.Object[]{message}, "Dispense Notes");
this.add(typeof(XCN), false, 0, 200, new System.Object[]{message}, "Dispensing Provider");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 167}, "Substitution Status");
this.add(typeof(CQ), false, 1, 10, new System.Object[]{message}, "Total Daily Dose");
this.add(typeof(LA2), false, 1, 200, new System.Object[]{message}, "Dispense-To Location");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Needs Human Review");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Pharmacy/Treatment Supplier's Special Dispensing Instructions");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Actual Strength");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Actual Strength Unit");
this.add(typeof(ST), false, 0, 20, new System.Object[]{message}, "Substance Lot Number");
this.add(typeof(TS), false, 0, 26, new System.Object[]{message}, "Substance Expiration Date");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Substance Manufacturer Name");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Indication");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Dispense Package Size");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Dispense Package Size Unit");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 321}, "Dispense Package Method");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Supplementary Code");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Initiating Location");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Packaging/Assembly Location");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例14: BTX
/**
* Creates a BTX (Blood Product Transfusion/Disposition) segment object that belongs to the given
* message.
*/
public BTX(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
IMessage message = Message;
try {
this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - BTX");
this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "BC Donation ID");
this.add(typeof(CNE), false, 1, 250, new System.Object[]{message}, "BC Component");
this.add(typeof(CNE), false, 1, 250, new System.Object[]{message}, "BC Blood Group");
this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "CP Commercial Product");
this.add(typeof(XON), false, 1, 250, new System.Object[]{message}, "CP Manufacturer");
this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "CP Lot Number");
this.add(typeof(NM), true, 1, 5, new System.Object[]{message}, "BP Quantity");
this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "BP Amount");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "BP Units");
this.add(typeof(CWE), true, 1, 250, new System.Object[]{message}, "BP Transfusion/Disposition Status");
this.add(typeof(ID), true, 1, 1, new System.Object[]{message, 511}, "BP Message Status");
this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "BP Date/Time of Status");
this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Administrator");
this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Verifier");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "BP Transfusion Start Date/Time of Status");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "BP Transfusion End Date/Time of Status");
this.add(typeof(CWE), false, 0, 250, new System.Object[]{message}, "BP Adverse Reaction Type");
this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "BP Transfusion Interrupted Reason");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}
示例15: IAM
/**
* Creates a IAM (Patient Adverse Reaction Information) segment object that belongs to the given
* message.
*/
public IAM(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
IMessage message = Message;
try {
this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - IAM");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergen Type Code");
this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Allergen Code/Mnemonic/Description");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergy Severity Code");
this.add(typeof(ST), false, 0, 15, new System.Object[]{message}, "Allergy Reaction Code");
this.add(typeof(CNE), true, 1, 250, new System.Object[]{message}, "Allergy Action Code");
this.add(typeof(EI), false, 1, 427, new System.Object[]{message}, "Allergy Unique Identifier");
this.add(typeof(ST), false, 1, 60, new System.Object[]{message}, "Action Reason");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Sensitivity to Causative Agent Code");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergen Group Code/Mnemonic/Description");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Onset Date");
this.add(typeof(ST), false, 1, 60, new System.Object[]{message}, "Onset Date Text");
this.add(typeof(TS), false, 1, 8, new System.Object[]{message}, "Reported Date/Time");
this.add(typeof(XPN), false, 1, 250, new System.Object[]{message}, "Reported By");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Relationship to Patient Code");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Alert Device Code");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergy Clinical Status Code");
this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "Statused by Person");
this.add(typeof(XON), false, 1, 250, new System.Object[]{message}, "Statused by Organization");
this.add(typeof(TS), false, 1, 8, new System.Object[]{message}, "Statused at Date/Time");
} catch (HL7Exception he) {
HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
}
}