本文整理汇总了C#中ModelClassFactory类的典型用法代码示例。如果您正苦于以下问题:C# ModelClassFactory类的具体用法?C# ModelClassFactory怎么用?C# ModelClassFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ModelClassFactory类属于命名空间,在下文中一共展示了ModelClassFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: INV
/**
* Creates a INV (Inventory Detail) segment object that belongs to the given
* message.
*/
public INV(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message message = Message;
try {
this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Substance Identifier");
this.add(typeof(CE), true, 0, 250, new System.Object[]{message}, "Substance Status");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Substance Type");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Inventory Container Identifier");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Container Carrier Identifier");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Position on Carrier");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Initial Quantity");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Current Quantity");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Available Quantity");
this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Consumption Quantity");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Quantity Units");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Expiration Date/Time");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "First Used Date/Time");
this.add(typeof(TQ), false, 1, 200, new System.Object[]{message}, "On Board Stability Duration");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Test/Fluid Identifier(s)");
this.add(typeof(ST), false, 1, 200, new System.Object[]{message}, "Manufacturer Lot Number");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Manufacturer Identifier");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Supplier Identifier");
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(GetType()).error("Can't instantiate " + this.getStructureName(), he);
}
}
示例2: BPX
/**
* Creates a BPX (Blood product dispense status) segment object that belongs to the given
* message.
*/
public BPX(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message 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 " + this.getStructureName(), he);
}
}
示例3: ARQ
/**
* Creates a ARQ (Appointment Request) segment object that belongs to the given
* message.
*/
public ARQ(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message 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), false, 1, 200, new System.Object[]{message}, "Request 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(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");
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), 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, 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");
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(GetType()).error("Can't instantiate " + this.getStructureName(), he);
}
}
示例4: RXA
/**
* Creates a RXA (Pharmacy/Treatment Administration) segment object that belongs to the given
* message.
*/
public RXA(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message message = Message;
try {
this.add(typeof(NM), true, 1, 4, new System.Object[]{message}, "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, 250, 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, 250, new System.Object[]{message}, "Administered Units");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Administered Dosage Form");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Administration Notes");
this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Administering Provider");
this.add(typeof(LA2), 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, 250, 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, 250, new System.Object[]{message}, "Substance Manufacturer Name");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Substance/Treatment Refusal Reason");
this.add(typeof(CE), false, 0, 250, 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 " + this.getStructureName(), he);
}
}
示例5: UB2
/**
* Creates a UB2 (UB2 - UB92 data segment) segment object that belongs to the given
* message.
*/
public UB2(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message 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, 7, 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, 12, 11, new System.Object[]{message}, "Value Amount & Code");
this.add(typeof(OCD), false, 8, 11, new System.Object[]{message}, "Occurrence Code & Date (32-35)");
this.add(typeof(OSP), false, 2, 28, new System.Object[]{message}, "Occurrence Span Code/Dates (36)");
this.add(typeof(ST), false, 2, 29, new System.Object[]{message}, "UB92 Locator 2 (State)");
this.add(typeof(ST), false, 2, 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, 3, 23, new System.Object[]{message}, "Document Control Number");
this.add(typeof(ST), false, 23, 4, new System.Object[]{message}, "UB92 Locator 49 (National)");
this.add(typeof(ST), false, 5, 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, 2, 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 " + this.getStructureName(), he);
}
}
示例6: RXG
/**
* Creates a RXG (Pharmacy/Treatment Give) segment object that belongs to the given
* message.
*/
public RXG(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message 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 " + this.getStructureName(), he);
}
}
示例7: DG1
/**
* Creates a DG1 (Diagnosis) segment object that belongs to the given
* message.
*/
public DG1(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message 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");
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(GetType()).error("Can't instantiate " + this.getStructureName(), he);
}
}
示例8: BAR_P05_VISIT
/**
* Creates a new BAR_P05_VISIT Group.
*/
public BAR_P05_VISIT(Group parent, ModelClassFactory factory)
: base(parent, factory)
{
try
{
this.add(typeof(PV1), false, false);
this.add(typeof(PV2), false, false);
this.add(typeof(DB1), false, true);
this.add(typeof(OBX), false, true);
this.add(typeof(AL1), false, true);
this.add(typeof(DG1), false, true);
this.add(typeof(DRG), false, false);
this.add(typeof(BAR_P05_PROCEDURE), false, true);
this.add(typeof(GT1), false, true);
this.add(typeof(NK1), false, true);
this.add(typeof(BAR_P05_INSURANCE), false, true);
this.add(typeof(ACC), false, false);
this.add(typeof(UB1), false, false);
this.add(typeof(UB2), false, false);
}
catch(HL7Exception e)
{
HapiLogFactory.getHapiLog(GetType()).error("Unexpected error creating BAR_P05_VISIT - this is probably a bug in the source code generator.", e);
}
}
示例9: PCR
/**
* Creates a PCR (PCR - possible causal relationship segment) segment object that belongs to the given
* message.
*/
public PCR(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message message = Message;
try {
this.add(typeof(CE), true, 1, 60, new System.Object[]{message}, "Implicated Product");
this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 249}, "Generic Product");
this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Product Class");
this.add(typeof(CQ), false, 1, 8, new System.Object[]{message}, "Total Duration Of Therapy");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Manufacture Date");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Expiration Date");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Implantation Date");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Explantation Date");
this.add(typeof(IS), false, 1, 8, new System.Object[]{message, 244}, "Single Use Device");
this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Indication For Product Use");
this.add(typeof(IS), false, 1, 8, new System.Object[]{message, 245}, "Product Problem");
this.add(typeof(ST), false, 3, 30, new System.Object[]{message}, "Product Serial/Lot Number");
this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 246}, "Product Available For Inspection");
this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Product Evaluation Performed");
this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Product Evaluation Status");
this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Product Evaluation Results");
this.add(typeof(ID), false, 1, 8, new System.Object[]{message, 248}, "Evaluated Product Source");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date Product Returned To Manufacturer");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 242}, "Device Operator Qualifications");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 250}, "Relatedness Assessment");
this.add(typeof(ID), false, 6, 2, new System.Object[]{message, 251}, "Action Taken In Response To The Event");
this.add(typeof(ID), false, 6, 2, new System.Object[]{message, 252}, "Event Causality Observations");
this.add(typeof(ID), false, 3, 1, new System.Object[]{message, 253}, "Indirect Exposure Mechanism");
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(GetType()).error("Can't instantiate " + this.getStructureName(), he);
}
}
示例10: BTX
/**
* Creates a BTX (Blood Product Transfusion/Disposition) segment object that belongs to the given
* message.
*/
public BTX(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message 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 " + this.getStructureName(), he);
}
}
示例11: GT1
/**
* Creates a GT1 (GUARANTOR) segment object that belongs to the given
* message.
*/
public GT1(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message message = Message;
try {
this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - guarantor");
this.add(typeof(CK), false, 1, 20, new System.Object[]{message}, "Guarantor number");
this.add(typeof(PN), true, 1, 48, new System.Object[]{message}, "Guarantor name");
this.add(typeof(PN), false, 1, 48, new System.Object[]{message}, "Guarantor spouse name");
this.add(typeof(AD), false, 1, 106, new System.Object[]{message}, "Guarantor address");
this.add(typeof(TN), false, 3, 40, new System.Object[]{message}, "Guarantor phone number - home");
this.add(typeof(TN), false, 3, 40, new System.Object[]{message}, "Guarantor phone number - business");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Guarantor date of birth");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 1}, "Guarantor sex");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 68}, "Guarantor type");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 63}, "Guarantor relationship");
this.add(typeof(ST), false, 1, 11, new System.Object[]{message}, "Guarantor social security number");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Guarantor date - begin");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Guarantor date - end");
this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Guarantor priority");
this.add(typeof(ST), false, 1, 45, new System.Object[]{message}, "Guarantor employer name");
this.add(typeof(AD), false, 1, 106, new System.Object[]{message}, "Guarantor employer address");
this.add(typeof(TN), false, 3, 40, new System.Object[]{message}, "Guarantor employ phone number");
this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Guarantor employee ID number");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 66}, "Guarantor employment status");
this.add(typeof(ST), false, 1, 60, new System.Object[]{message}, "Guarantor organization");
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(GetType()).error("Can't instantiate " + this.getStructureName(), he);
}
}
示例12: UB1
/**
* Creates a UB1 (UB82) segment object that belongs to the given
* message.
*/
public UB1(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message 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, 5, 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, 8, 12, new System.Object[]{message}, "Value Amount & 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, 5, 20, 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 " + this.getStructureName(), he);
}
}
示例13: PD1
/**
* Creates a PD1 (Patient Additional Demographic) segment object that belongs to the given
* message.
*/
public PD1(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message message = Message;
try {
this.add(typeof(IS), false, 0, 2, new System.Object[]{message, 223}, "Living Dependency");
this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 220}, "Living Arrangement");
this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Patient Primary Facility");
this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Patient Primary Care Provider Name & ID No.");
this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 231}, "Student Indicator");
this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 295}, "Handicap");
this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 315}, "Living Will Code");
this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 316}, "Organ Donor Code");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Separate Bill");
this.add(typeof(CX), false, 0, 250, new System.Object[]{message}, "Duplicate Patient");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Publicity Code");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Protection Indicator");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Protection Indicator Effective Date");
this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Place of Worship");
this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Advance Directive Code");
this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 441}, "Immunization Registry Status");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Immunization Registry Status Effective Date");
this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Publicity Code Effective Date");
this.add(typeof(IS), false, 1, 5, new System.Object[]{message, 140}, "Military Branch");
this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 141}, "Military Rank/Grade");
this.add(typeof(IS), false, 1, 3, new System.Object[]{message, 142}, "Military Status");
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(GetType()).error("Can't instantiate " + this.getStructureName(), he);
}
}
示例14: STF
/**
* Creates a STF (STF - staff identification segment) segment object that belongs to the given
* message.
*/
public STF(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message message = Message;
try {
this.add(typeof(CE), true, 1, 60, new System.Object[]{message}, "Primary Key Value - STF");
this.add(typeof(CX), false, 0, 60, new System.Object[]{message}, "Staff ID Code");
this.add(typeof(XPN), false, 0, 48, new System.Object[]{message}, "Staff Name");
this.add(typeof(IS), 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/Time 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}, "Hospital Service");
this.add(typeof(XTN), false, 0, 40, new System.Object[]{message}, "Phone");
this.add(typeof(XAD), false, 0, 106, new System.Object[]{message}, "Office/Home Address");
this.add(typeof(DIN), false, 0, 26, new System.Object[]{message}, "Institution Activation Date");
this.add(typeof(DIN), false, 0, 26, new System.Object[]{message}, "Institution 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(CE), false, 1, 80, new System.Object[]{message}, "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 - Staff");
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 " + this.getStructureName(), he);
}
}
示例15: ORC
/**
* Creates a ORC (Common Order) segment object that belongs to the given
* message.
*/
public ORC(Group parent, ModelClassFactory factory)
: base(parent,factory)
{
Message message = Message;
try {
this.add(typeof(ID), true, 1, 2, new System.Object[]{message, 119}, "Order Control");
this.add(typeof(EI), false, 1, 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(EI), false, 1, 22, new System.Object[]{message}, "Placer Group Number");
this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 38}, "Order Status");
this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 121}, "Response Flag");
this.add(typeof(TQ), false, 0, 200, new System.Object[]{message}, "Quantity/Timing");
this.add(typeof(EIP), false, 1, 200, new System.Object[]{message}, "Parent");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date/Time of Transaction");
this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Entered By");
this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Verified By");
this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Ordering Provider");
this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Enterer's Location");
this.add(typeof(XTN), false, 2, 250, new System.Object[]{message}, "Call Back Phone Number");
this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Order Effective Date/Time");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Order Control Code Reason");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Entering Organization");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Entering Device");
this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Action By");
this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Advanced Beneficiary Notice Code");
this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Ordering Facility Name");
this.add(typeof(XAD), false, 0, 250, new System.Object[]{message}, "Ordering Facility Address");
this.add(typeof(XTN), false, 0, 250, new System.Object[]{message}, "Ordering Facility Phone Number");
this.add(typeof(XAD), false, 0, 250, new System.Object[]{message}, "Ordering Provider Address");
this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "Order Status Modifier");
} catch (HL7Exception he) {
HapiLogFactory.getHapiLog(GetType()).error("Can't instantiate " + this.getStructureName(), he);
}
}