当前位置: 首页>>代码示例>>C#>>正文


C# IModelClassFactory类代码示例

本文整理汇总了C#中IModelClassFactory的典型用法代码示例。如果您正苦于以下问题:C# IModelClassFactory类的具体用法?C# IModelClassFactory怎么用?C# IModelClassFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


IModelClassFactory类属于命名空间,在下文中一共展示了IModelClassFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: UB1

  /**
   * Creates a UB1 (UB82) segment object that belongs to the given 
   * message.  
   */
	public UB1(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
	IMessage message = Message;
    try {
       this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - UB1");
       this.add(typeof(NM), false, 1, 1, new System.Object[]{message}, "Blood Deductible  (43)");
       this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood Furnished-Pints Of (40)");
       this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood Replaced-Pints (41)");
       this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood Not Replaced-Pints(42)");
       this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Co-Insurance Days (25)");
       this.add(typeof(IS), false, 0, 14, new System.Object[]{message, 43}, "Condition Code (35-39)");
       this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Covered Days - (23)");
       this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Non Covered Days - (24)");
       this.add(typeof(UVC), false, 0, 41, new System.Object[]{message}, "Value Amount and Code (46-49)");
       this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Number Of Grace Days (90)");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Special Program Indicator (44)");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "PSRO/UR Approval Indicator (87)");
       this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "PSRO/UR Approved Stay-Fm (88)");
       this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "PSRO/UR Approved Stay-To (89)");
       this.add(typeof(OCD), false, 0, 259, new System.Object[]{message}, "Occurrence (28-32)");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Occurrence Span (33)");
       this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Occur Span Start Date(33)");
       this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Occur Span End Date (33)");
       this.add(typeof(ST), false, 1, 30, new System.Object[]{message}, "UB-82 Locator 2");
       this.add(typeof(ST), false, 1, 7, new System.Object[]{message}, "UB-82 Locator 9");
       this.add(typeof(ST), false, 1, 8, new System.Object[]{message}, "UB-82 Locator 27");
       this.add(typeof(ST), false, 1, 17, new System.Object[]{message}, "UB-82 Locator 45");
    } catch (HL7Exception he) {
        HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
    }
  }
开发者ID:RickIsWright,项目名称:nHapi,代码行数:34,代码来源:UB1.cs

示例2: 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);
     }
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:38,代码来源:SCH.cs

示例3: 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);
    }
  }
开发者ID:RickIsWright,项目名称:nHapi,代码行数:32,代码来源:MSH.cs

示例4: RXA

 /**
    * Creates a RXA (Pharmacy administration segment) segment object that belongs to the given
    * message.
    */
 public RXA(IGroup parent, IModelClassFactory factory)
     : base(parent,factory)
 {
     IMessage message = Message;
     try {
        this.add(typeof(ID), true, 1, 4, new System.Object[]{message, 0}, "Give Sub-ID Counter");
        this.add(typeof(NM), true, 1, 4, new System.Object[]{message}, "Administration Sub-ID Counter");
        this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time Start of Administration");
        this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time End of Administration");
        this.add(typeof(CE), true, 1, 100, new System.Object[]{message}, "Administered Code");
        this.add(typeof(NM), true, 1, 20, new System.Object[]{message}, "Administered Amount");
        this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Administered Units");
        this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Administered Dosage Form");
        this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Administration Notes");
        this.add(typeof(XCN), false, 1, 200, new System.Object[]{message}, "Administering Provider");
        this.add(typeof(CM_LA1), false, 1, 200, new System.Object[]{message}, "Administered-at Location");
        this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Administered Per (Time Unit)");
        this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Administered Strength");
        this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Administered 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, 60, new System.Object[]{message}, "Substance Manufacturer Name");
        this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Substance Refusal Reason");
        this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Indication");
        this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 322}, "Completion Status");
        this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 323}, "Action Code-RXA");
        this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "System Entry Date/Time");
     } catch (HL7Exception he) {
     HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
     }
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:35,代码来源:RXA.cs

示例5: DG1

  /**
   * Creates a DG1 (Diagnosis) segment object that belongs to the given 
   * message.  
   */
	public DG1(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
	IMessage message = Message;
    try {
       this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - DG1");
       this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 53}, "Diagnosis Coding Method");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Diagnosis Code - DG1");
       this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Diagnosis Description");
       this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Diagnosis Date/Time");
       this.add(typeof(IS), true, 1, 2, new System.Object[]{message, 52}, "Diagnosis Type");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Major Diagnostic Category");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Diagnostic Related Group");
       this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "DRG Approval Indicator");
       this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 56}, "DRG Grouper Review Code");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Outlier Type");
       this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Outlier Days");
       this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Outlier Cost");
       this.add(typeof(ST), false, 1, 4, new System.Object[]{message}, "Grouper Version And Type");
       this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 359}, "Diagnosis Priority");
       this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Diagnosing Clinician");
       this.add(typeof(IS), false, 1, 3, new System.Object[]{message, 228}, "Diagnosis Classification");
       this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Confidential Indicator");
       this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Attestation Date/Time");
       this.add(typeof(EI), false, 1, 427, new System.Object[]{message}, "Diagnosis Identifier");
       this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 206}, "Diagnosis Action Code");
    } catch (HL7Exception he) {
        HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
    }
  }
开发者ID:RickIsWright,项目名称:nHapi,代码行数:32,代码来源:DG1.cs

示例6: PRC

  /**
   * Creates a PRC (Pricing) segment object that belongs to the given 
   * message.  
   */
	public PRC(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
	IMessage message = Message;
    try {
       this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Primary Key Value - PRC");
       this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Facility ID - PRC");
       this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Department");
       this.add(typeof(IS), false, 0, 1, new System.Object[]{message, 4}, "Valid Patient Classes");
       this.add(typeof(CP), false, 0, 12, new System.Object[]{message}, "Price");
       this.add(typeof(ST), false, 0, 200, new System.Object[]{message}, "Formula");
       this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Minimum Quantity");
       this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Maximum Quantity");
       this.add(typeof(MO), false, 1, 12, new System.Object[]{message}, "Minimum Price");
       this.add(typeof(MO), false, 1, 12, new System.Object[]{message}, "Maximum Price");
       this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Effective Start Date");
       this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Effective End Date");
       this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 268}, "Price Override Flag");
       this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Billing Category");
       this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Chargeable Flag");
       this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 183}, "Active/Inactive Flag");
       this.add(typeof(MO), false, 1, 12, new System.Object[]{message}, "Cost");
       this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 269}, "Charge On Indicator");
    } catch (HL7Exception he) {
        HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
    }
  }
开发者ID:liddictm,项目名称:nHapi,代码行数:29,代码来源:PRC.cs

示例7: BPX

 /**
    * Creates a BPX (Blood product dispense status) segment object that belongs to the given
    * message.
    */
 public BPX(IGroup parent, IModelClassFactory factory)
     : base(parent,factory)
 {
     IMessage message = Message;
     try {
        this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID _ BPX");
        this.add(typeof(CWE), true, 1, 250, new System.Object[]{message}, "BP Dispense Status");
        this.add(typeof(ID), true, 1, 1, new System.Object[]{message, 511}, "BP Status");
        this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "BP Date/Time of Status");
        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 Donation Type / Intended Use");
        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(CNE), false, 1, 250, new System.Object[]{message}, "BP Blood Group");
        this.add(typeof(CNE), false, 0, 250, new System.Object[]{message}, "BC Special Testing");
        this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "BP Expiration Date/Time");
        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(EI), false, 1, 22, new System.Object[]{message}, "BP Unique ID");
        this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "BP Actual Dispensed To Location");
        this.add(typeof(XAD), false, 1, 250, new System.Object[]{message}, "BP Actual Dispensed To Address");
        this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Dispensed to Receiver");
        this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Dispensing Individual");
     } catch (HL7Exception he) {
     HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
     }
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:34,代码来源:BPX.cs

示例8: 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);
    }
  }
开发者ID:RickIsWright,项目名称:nHapi,代码行数:38,代码来源:RXD.cs

示例9: 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);
     }
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:39,代码来源:STF.cs

示例10: 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);
     }
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:39,代码来源:RXG.cs

示例11: 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);
    }
  }
开发者ID:liddictm,项目名称:nHapi,代码行数:30,代码来源:BTX.cs

示例12: ARQ

  /**
   * Creates a ARQ (Appointment Request) segment object that belongs to the given 
   * message.  
   */
	public ARQ(IGroup parent, IModelClassFactory factory) : base(parent,factory) {
	IMessage message = Message;
    try {
       this.add(typeof(EI), true, 1, 75, new System.Object[]{message}, "Placer Appointment ID");
       this.add(typeof(EI), false, 1, 75, 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, 22, new System.Object[]{message}, "Placer Group Number");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Schedule ID");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Request Event Reason");
       this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Appointment Reason");
       this.add(typeof(CE), false, 1, 250, 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, 250, new System.Object[]{message}, "Appointment Duration Units");
       this.add(typeof(DR), false, 0, 53, new System.Object[]{message}, "Requested Start Date/Time Range");
       this.add(typeof(ST), false, 1, 5, new System.Object[]{message}, "Priority-ARQ");
       this.add(typeof(RI), false, 1, 100, new System.Object[]{message}, "Repeating Interval");
       this.add(typeof(ST), false, 1, 5, new System.Object[]{message}, "Repeating Interval Duration");
       this.add(typeof(XCN), true, 0, 250, new System.Object[]{message}, "Placer Contact Person");
       this.add(typeof(XTN), false, 0, 250, new System.Object[]{message}, "Placer Contact Phone Number");
       this.add(typeof(XAD), false, 0, 250, 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, 0, 250, new System.Object[]{message}, "Entered By Person");
       this.add(typeof(XTN), false, 0, 250, 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(EI), false, 0, 22, new System.Object[]{message}, "Placer Order Number");
       this.add(typeof(EI), false, 0, 22, new System.Object[]{message}, "Filler Order Number");
    } catch (HL7Exception he) {
        HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
    }
  }
开发者ID:liddictm,项目名称:nHapi,代码行数:36,代码来源:ARQ.cs

示例13: OBX

 /**
    * Creates a OBX (Observation/Result) segment object that belongs to the given
    * message.
    */
 public OBX(IGroup parent, IModelClassFactory factory)
     : base(parent,factory)
 {
     IMessage message = Message;
     try {
        this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - OBX");
        this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 125}, "Value Type");
        this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Observation Identifier");
        this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Observation Sub-ID");
        this.add(typeof(Varies), false, 0, 99999, new System.Object[]{message}, "Observation Value");
        this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Units");
        this.add(typeof(ST), false, 1, 60, new System.Object[]{message}, "References Range");
        this.add(typeof(IS), false, 0, 5, new System.Object[]{message, 78}, "Abnormal Flags");
        this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Probability");
        this.add(typeof(ID), false, 0, 2, new System.Object[]{message, 80}, "Nature of Abnormal Test");
        this.add(typeof(ID), true, 1, 1, new System.Object[]{message, 85}, "Observation Result Status");
        this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Effective Date of Reference Range");
        this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "User Defined Access Checks");
        this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date/Time of the Observation");
        this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Producer's ID");
        this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Responsible Observer");
        this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Observation Method");
        this.add(typeof(EI), false, 0, 22, new System.Object[]{message}, "Equipment Instance Identifier");
        this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date/Time of the Analysis");
     } catch (HL7Exception he) {
     HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
     }
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:32,代码来源:OBX.cs

示例14: UB2

 /**
    * Creates a UB2 (UB92 Data) segment object that belongs to the given
    * message.
    */
 public UB2(IGroup parent, IModelClassFactory factory)
     : base(parent,factory)
 {
     IMessage message = Message;
     try {
        this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - UB2");
        this.add(typeof(ST), false, 1, 3, new System.Object[]{message}, "Co-Insurance Days (9)");
        this.add(typeof(IS), false, 0, 2, new System.Object[]{message, 43}, "Condition Code (24-30)");
        this.add(typeof(ST), false, 1, 3, new System.Object[]{message}, "Covered Days (7)");
        this.add(typeof(ST), false, 1, 4, new System.Object[]{message}, "Non-Covered Days (8)");
        this.add(typeof(UVC), false, 0, 41, new System.Object[]{message}, "Value Amount and Code");
        this.add(typeof(OCD), false, 0, 259, new System.Object[]{message}, "Occurrence Code and Date (32-35)");
        this.add(typeof(OSP), false, 0, 268, new System.Object[]{message}, "Occurrence Span Code/Dates (36)");
        this.add(typeof(ST), false, 0, 29, new System.Object[]{message}, "UB92 Locator 2 (State)");
        this.add(typeof(ST), false, 0, 12, new System.Object[]{message}, "UB92 Locator 11 (State)");
        this.add(typeof(ST), false, 1, 5, new System.Object[]{message}, "UB92 Locator 31 (National)");
        this.add(typeof(ST), false, 0, 23, new System.Object[]{message}, "Document Control Number");
        this.add(typeof(ST), false, 0, 4, new System.Object[]{message}, "UB92 Locator 49 (National)");
        this.add(typeof(ST), false, 0, 14, new System.Object[]{message}, "UB92 Locator 56 (State)");
        this.add(typeof(ST), false, 1, 27, new System.Object[]{message}, "UB92 Locator 57 (National)");
        this.add(typeof(ST), false, 0, 2, new System.Object[]{message}, "UB92 Locator 78 (State)");
        this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Special Visit Count");
     } catch (HL7Exception he) {
     HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he);
     }
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:30,代码来源:UB2.cs

示例15: ORL_O36_OBSERVATION_REQUEST

	///<summary> 
	/// Creates a new ORL_O36_OBSERVATION_REQUEST Group.
	///</summary>
	public ORL_O36_OBSERVATION_REQUEST(IGroup parent, IModelClassFactory factory) : base(parent, factory){
	   try {
	      this.add(typeof(OBR), true, false);
	   } catch(HL7Exception e) {
	      HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error creating ORL_O36_OBSERVATION_REQUEST - this is probably a bug in the source code generator.", e);
	   }
	}
开发者ID:liddictm,项目名称:nHapi,代码行数:10,代码来源:ORL_O36_OBSERVATION_REQUEST.cs


注:本文中的IModelClassFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。