/// <summary> /// Get the XmlHl7Profile that corresponds with the Hl7ProfileId. /// </summary> /// <param name="profileId">HL7 Profile Id.</param> /// <returns>XmlHl7Profile.</returns> public System.String GetXmlHl7Profile(Hl7ProfileId profileId) { System.String xmlHl7Profile = System.String.Empty; Hl7Profile hl7Profile = (Hl7Profile)_hl7ProfileStore[profileId.Id]; if (hl7Profile != null) { xmlHl7Profile = hl7Profile.XmlProfile; } return xmlHl7Profile; }
/// <summary> /// Get the XmlHl7Profile that corresponds with the Hl7ProfileId. /// </summary> /// <param name="profileId">HL7 Profile Id.</param> /// <returns>XmlHl7Profile.</returns> public System.String GetXmlHl7Profile(Hl7ProfileId profileId) { System.String xmlHl7Profile = System.String.Empty; Hl7Profile hl7Profile = (Hl7Profile)_hl7ProfileStore[profileId.Id]; if (hl7Profile != null) { xmlHl7Profile = hl7Profile.XmlProfile; } return(xmlHl7Profile); }
/// <summary> /// Class constructor. /// </summary> /// <param name="facility">HL7 Facility.</param> /// <param name="version">HL7 Version.</param> /// <param name="messageType">HL7 Message Type.</param> /// <param name="directory">HL7 Profile Directory.</param> /// <param name="filename">HL7 Profile Filename.</param> public Hl7Profile(System.String facility, System.String version, System.String messageType, System.String directory, System.String filename) { _profileId = new Hl7ProfileId(facility, version, messageType); _directory = directory; _filename = filename; }