Exemplo n.º 1
0
 ///<summary>
 /// Creates a XAD.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public XAD(IMessage message, string description) : base(message, description)
 {
     data     = new IType[23];
     data[0]  = new SAD(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, 399, "Country");
     data[6]  = new ID(message, 190, "Address Type");
     data[7]  = new ST(message, "Other Geographic Designation");
     data[8]  = new CWE(message, "County/Parish Code");
     data[9]  = new CWE(message, "Census Tract");
     data[10] = new ID(message, 465, "Address Representation Code");
     data[11] = new ST(message, "Address Validity Range");
     data[12] = new DTM(message, "Effective Date");
     data[13] = new DTM(message, "Expiration Date");
     data[14] = new CWE(message, "Expiration Reason");
     data[15] = new ID(message, 136, "Temporary Indicator");
     data[16] = new ID(message, 136, "Bad Address Indicator");
     data[17] = new ID(message, 617, "Address Usage");
     data[18] = new ST(message, "Addressee");
     data[19] = new ST(message, "Comment");
     data[20] = new NM(message, "Preference Order");
     data[21] = new CWE(message, "Protection Code");
     data[22] = new EI(message, "Address Identifier");
 }
Exemplo n.º 2
0
 ///<summary>
 /// Creates a PIP.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public PIP(IMessage message, string description) : base(message, description)
 {
     data    = new IType[5];
     data[0] = new CWE(message, "Privilege");
     data[1] = new CWE(message, "Privilege Class");
     data[2] = new DT(message, "Expiration Date");
     data[3] = new DT(message, "Activation Date");
     data[4] = new EI(message, "Facility");
 }
Exemplo n.º 3
0
Arquivo: PL.cs Projeto: nHapiNET/nHapi
 ///<summary>
 /// Creates a PL.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public PL(IMessage message, string description) : base(message, description)
 {
     data     = new IType[11];
     data[0]  = new HD(message, "Point of Care");
     data[1]  = new HD(message, "Room");
     data[2]  = new HD(message, "Bed");
     data[3]  = new HD(message, "Facility");
     data[4]  = new IS(message, 306, "Location Status");
     data[5]  = new IS(message, 305, "Person Location Type");
     data[6]  = new HD(message, "Building");
     data[7]  = new HD(message, "Floor");
     data[8]  = new ST(message, "Location Description");
     data[9]  = new EI(message, "Comprehensive Location Identifier");
     data[10] = new HD(message, "Assigning Authority for Location");
 }
Exemplo n.º 4
0
 ///<summary>
 /// Creates a XTN.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public XTN(IMessage message, string description) : base(message, description)
 {
     data     = new IType[18];
     data[0]  = new ST(message, "Telephone Number");
     data[1]  = new ID(message, 201, "Telecommunication Use Code");
     data[2]  = new ID(message, 202, "Telecommunication Equipment Type");
     data[3]  = new ST(message, "Communication Address");
     data[4]  = new SNM(message, "Country Code");
     data[5]  = new SNM(message, "Area/City Code");
     data[6]  = new SNM(message, "Local Number");
     data[7]  = new SNM(message, "Extension");
     data[8]  = new ST(message, "Any Text");
     data[9]  = new ST(message, "Extension Prefix");
     data[10] = new ST(message, "Speed Dial Code");
     data[11] = new ST(message, "Unformatted Telephone number");
     data[12] = new DTM(message, "Effective Start Date");
     data[13] = new DTM(message, "Expiration Date");
     data[14] = new CWE(message, "Expiration Reason");
     data[15] = new CWE(message, "Protection Code");
     data[16] = new EI(message, "Shared Telecommunication Identifier");
     data[17] = new NM(message, "Preference Order");
 }
Exemplo n.º 5
0
 ///<summary>
 /// Creates a EIP.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public EIP(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new EI(message, "Placer Assigned Identifier");
     data[1] = new EI(message, "Filler Assigned Identifier");
 }