コード例 #1
0
ファイル: DLD.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a DLD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DLD(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Discharge location");
     data[1] = new TS(message,"Effective date");
 }
コード例 #2
0
ファイル: SCV.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a SCV.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public SCV(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Parameter class");
     data[1] = new IS(message, 0,"Parameter value");
 }
コード例 #3
0
ファイル: MOP.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a MOP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public MOP(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Money or percentage indicator");
     data[1] = new NM(message,"Money or percentage quantity");
 }
コード例 #4
0
ファイル: RI.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a RI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RI(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Repeat pattern");
     data[1] = new ST(message,"Explicit time interval");
 }
コード例 #5
0
ファイル: DTN.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DTN(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Day type");
     data[1] = new NM(message,"Number of days");
 }
コード例 #6
0
ファイル: UVC.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a UVC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public UVC(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Value code");
     data[1] = new NM(message,"Value amount");
 }
コード例 #7
0
ファイル: JCC.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a JCC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public JCC(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 327,"Job code");
     data[1] = new IS(message, 328,"Job class");
 }
コード例 #8
0
ファイル: PCF.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a PCF.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PCF(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 0,"Pre-certification patient type");
     data[1] = new ID(message, 0,"Pre-certification required");
     data[2] = new TS(message,"Pre-certification window");
 }
コード例 #9
0
ファイル: PTA.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a PTA.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PTA(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 0,"Policy type");
     data[1] = new IS(message, 0,"Amount class");
     data[2] = new NM(message,"Amount");
 }
コード例 #10
0
ファイル: RMC.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a RMC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RMC(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 0,"Room type");
     data[1] = new IS(message, 0,"Amount type");
     data[2] = new NM(message,"Coverage amount");
 }
コード例 #11
0
ファイル: PI.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a PI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PI(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ST(message,"ID number (ST)");
     data[1] = new IS(message, 0,"Type of ID number (IS)");
     data[2] = new ST(message,"Other qualifying info");
 }
コード例 #12
0
ファイル: DLN.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a DLN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DLN(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ST(message,"Driver´s License Number");
     data[1] = new IS(message, 0,"Issuing State, province, country");
     data[2] = new DT(message,"Expiration date");
 }
コード例 #13
0
ファイル: HD.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a HD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public HD(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 300,"Namespace ID");
     data[1] = new ST(message,"Universal ID");
     data[2] = new ID(message, 301,"Universal ID type");
 }
コード例 #14
0
ファイル: EI.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a EI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public EI(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Entity identifier");
     data[1] = new IS(message, 300,"Namespace ID");
     data[2] = new ST(message,"Universal ID");
     data[3] = new ID(message, 301,"Universal ID type");
 }
コード例 #15
0
ファイル: PLN.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a PLN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PLN(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"ID number (ST)");
     data[1] = new IS(message, 0,"Type of ID number (IS)");
     data[2] = new ST(message,"State/other qualifying info");
     data[3] = new DT(message,"Expiration date");
 }
コード例 #16
0
ファイル: CX.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a CX.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CX(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new ST(message,"ID");
     data[1] = new NM(message,"Check digit");
     data[2] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[3] = new HD(message,"Assigning authority");
     data[4] = new IS(message, 203,"Identifier type code");
     data[5] = new HD(message,"Assigning facility");
 }
コード例 #17
0
ファイル: PN.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a PN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PN(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new FN(message,"Family+last name");
     data[1] = new ST(message,"Given name");
     data[2] = new ST(message,"Middle initial or name");
     data[3] = new ST(message,"Suffix (e.g., JR or III)");
     data[4] = new ST(message,"Prefix (e.g., DR)");
     data[5] = new IS(message, 0,"Degree (e.g., MD)");
 }
コード例 #18
0
ファイル: RFR.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a RFR.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RFR(Message message, string description)
     : base(message, description)
 {
     data = new Type[7];
     data[0] = new NR(message,"Numeric range");
     data[1] = new IS(message, 0,"Administrative sex");
     data[2] = new NR(message,"Age range");
     data[3] = new NR(message,"Gestational age range");
     data[4] = new TX(message,"Species");
     data[5] = new ST(message,"Race/subspecies");
     data[6] = new TX(message,"Conditions");
 }
コード例 #19
0
ファイル: CSU.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a CSU.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CSU(Message message, string description)
     : base(message, description)
 {
     data = new Type[7];
     data[0] = new NM(message,"Channel sensitivity");
     data[1] = new ST(message,"Unit of measure identifier");
     data[2] = new ST(message,"Unit of measure description");
     data[3] = new IS(message, 0,"Unit of measure coding system");
     data[4] = new ST(message,"Alternate unit of measure identifier");
     data[5] = new ST(message,"Alternate unit of measure description");
     data[6] = new IS(message, 0,"Alternate unit of measure coding system");
 }
コード例 #20
0
ファイル: XON.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a XON.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XON(Message message, string description)
     : base(message, description)
 {
     data = new Type[9];
     data[0] = new ST(message,"Organization name");
     data[1] = new IS(message, 0,"Organization name type code");
     data[2] = new NM(message,"ID number (NM)");
     data[3] = new NM(message,"Check digit");
     data[4] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[5] = new HD(message,"Assigning authority");
     data[6] = new IS(message, 0,"Identifier type code");
     data[7] = new HD(message,"Assigning facility ID");
     data[8] = new ID(message, 0,"Name Representation code");
 }
コード例 #21
0
ファイル: CN.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a CN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CN(Message message, string description)
     : base(message, description)
 {
     data = new Type[9];
     data[0] = new ST(message,"ID number (ST)");
     data[1] = new ST(message,"Family name");
     data[2] = new ST(message,"Given name");
     data[3] = new ST(message,"Middle initial or name");
     data[4] = new ST(message,"Suffix (e.g., JR or III)");
     data[5] = new ST(message,"Prefix (e.g., DR)");
     data[6] = new IS(message, 0,"Degree (e.g., MD)");
     data[7] = new IS(message, 0,"Source table");
     data[8] = new HD(message,"Assigning authority");
 }
コード例 #22
0
ファイル: LA1.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a LA1.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public LA1(Message message, string description)
     : base(message, description)
 {
     data = new Type[9];
     data[0] = new IS(message, 0,"Point of care (IS)");
     data[1] = new IS(message, 0,"Room");
     data[2] = new IS(message, 0,"Bed");
     data[3] = new HD(message,"Facility (HD)");
     data[4] = new IS(message, 0,"Location status");
     data[5] = new IS(message, 0,"Person location type");
     data[6] = new IS(message, 0,"Building");
     data[7] = new IS(message, 0,"Floor");
     data[8] = new AD(message,"Address");
 }
コード例 #23
0
ファイル: NDL.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a NDL.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public NDL(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new CN(message,"Name");
     data[1] = new TS(message,"Start date/time");
     data[2] = new TS(message,"End date/time");
     data[3] = new IS(message, 0,"Point of care (IS)");
     data[4] = new IS(message, 0,"Room");
     data[5] = new IS(message, 0,"Bed");
     data[6] = new HD(message,"Facility (HD)");
     data[7] = new IS(message, 0,"Location status");
     data[8] = new IS(message, 0,"Person location type");
     data[9] = new IS(message, 0,"Building");
     data[10] = new IS(message, 0,"Floor");
 }
コード例 #24
0
ファイル: XAD.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a XAD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XAD(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new ST(message,"Street address");
     data[1] = new ST(message,"Other designation");
     data[2] = new ST(message,"City");
     data[3] = new ST(message,"State or province");
     data[4] = new ST(message,"Zip or postal code");
     data[5] = new ID(message, 0,"Country");
     data[6] = new ID(message, 0,"Address type");
     data[7] = new ST(message,"Other geographic designation");
     data[8] = new IS(message, 0,"County/parish code");
     data[9] = new IS(message, 0,"Census tract");
     data[10] = new ID(message, 0,"Address representation code");
 }
コード例 #25
0
ファイル: CNS.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a CNS.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CNS(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new ST(message,"ID number (ST)");
     data[1] = new ST(message,"Family name");
     data[2] = new ST(message,"Given name");
     data[3] = new ST(message,"Second and further given names or initials thereof");
     data[4] = new ST(message,"Suffix (e.g., JR or III)");
     data[5] = new ST(message,"Prefix (e.g., DR)");
     data[6] = new IS(message, 0,"Degree (e.g., MD)");
     data[7] = new IS(message, 0,"Source table");
     data[8] = new IS(message, 0,"Assigning authority namespace ID");
     data[9] = new ST(message,"Assigning authority universal ID");
     data[10] = new ID(message, 0,"Assigning authority universal ID type");
 }
コード例 #26
0
ファイル: OSD.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a OSD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public OSD(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new ID(message, 0,"Sequence/results flag");
     data[1] = new ST(message,"Placer order number: entity identifier");
     data[2] = new IS(message, 0,"Placer order number: namespace ID");
     data[3] = new ST(message,"Filler order number: entity identifier");
     data[4] = new IS(message, 0,"Filler order number: namespace ID");
     data[5] = new ST(message,"Sequence condition value");
     data[6] = new NM(message,"Maximum number of repeats");
     data[7] = new ST(message,"Placer order number: universal ID");
     data[8] = new ID(message, 0,"Placer order number; universal ID type");
     data[9] = new ST(message,"Filler order number: universal ID");
     data[10] = new ID(message, 0,"Filler order number: universal ID type");
 }
コード例 #27
0
ファイル: XCN.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a XCN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XCN(Message message, string description)
     : base(message, description)
 {
     data = new Type[15];
     data[0] = new ST(message,"ID number (ST)");
     data[1] = new FN(message,"Family+last name");
     data[2] = new ST(message,"Given name");
     data[3] = new ST(message,"Middle initial or name");
     data[4] = new ST(message,"Suffix (e.g., JR or III)");
     data[5] = new ST(message,"Prefix (e.g., DR)");
     data[6] = new IS(message, 0,"Degree (e.g., MD)");
     data[7] = new IS(message, 0,"Source table");
     data[8] = new HD(message,"Assigning authority");
     data[9] = new ID(message, 0,"Name type code");
     data[10] = new ST(message,"Identifier check digit");
     data[11] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[12] = new IS(message, 0,"Identifier type code");
     data[13] = new HD(message,"Assigning facility");
     data[14] = new ID(message, 0,"Name Representation code");
 }
コード例 #28
0
ファイル: LA2.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a LA2.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public LA2(Message message, string description)
     : base(message, description)
 {
     data = new Type[16];
     data[0] = new IS(message, 0,"Point of care (IS)");
     data[1] = new IS(message, 0,"Room");
     data[2] = new IS(message, 0,"Bed");
     data[3] = new HD(message,"Facility (HD)");
     data[4] = new IS(message, 0,"Location status");
     data[5] = new IS(message, 0,"Person location type");
     data[6] = new IS(message, 0,"Building");
     data[7] = new IS(message, 0,"Floor");
     data[8] = new ST(message,"Street address");
     data[9] = new ST(message,"Other designation");
     data[10] = new ST(message,"City");
     data[11] = new ST(message,"State or province");
     data[12] = new ST(message,"Zip or postal code");
     data[13] = new ID(message, 0,"Country");
     data[14] = new ID(message, 0,"Address type");
     data[15] = new ST(message,"Other geographic designation");
 }
コード例 #29
0
ファイル: SCV.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a SCV.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public SCV(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Parameter class");
     data[1] = new IS(message, 0, "Parameter value");
 }
コード例 #30
0
ファイル: JCC.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a JCC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public JCC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 327, "Job code");
     data[1] = new IS(message, 328, "Job class");
 }
コード例 #31
0
ファイル: DTN.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DTN(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Day type");
     data[1] = new NM(message, "Number of days");
 }
コード例 #32
0
ファイル: UB2.cs プロジェクト: snosrap/nhapi
 /**
    * Returns all repetitions of Condition Code (24-30) (UB2-3).
    */
 public IS[] getConditionCode2430()
 {
     IS[] ret = null;
     try {
     Type[] t = this.getField(3);
     ret = new IS[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (IS)t[i];
     }
     } catch (HL7Exception he) {
     HapiLogFactory.getHapiLog(this.GetType()).error("Unexpected problem obtaining field value.  This is a bug.", he);
     throw new System.Exception("An unexpected error ocurred", he);
     } catch (System.Exception cce) {
     HapiLogFactory.getHapiLog(GetType()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
     throw new System.Exception("An unexpected error ocurred", cce);
       }
      return ret;
 }
コード例 #33
0
ファイル: UVC.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a UVC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public UVC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Value code");
     data[1] = new NM(message, "Value amount");
 }
コード例 #34
0
ファイル: FC.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a FC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public FC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 64, "Financial Class");
     data[1] = new TS(message, "Effective Date");
 }
コード例 #35
0
 ///<summary>
 /// Creates a MOP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public MOP(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Money or percentage indicator");
     data[1] = new NM(message, "Money or percentage quantity");
 }
コード例 #36
0
ファイル: RI.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a RI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RI(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Repeat pattern");
     data[1] = new ST(message, "Explicit time interval");
 }
コード例 #37
0
 ///<summary>
 /// Creates a DLD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DLD(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Discharge location");
     data[1] = new TS(message, "Effective date");
 }