public getPid ( ) : NHapi.Model.V24.Segment.PID | ||
Résultat | NHapi.Model.V24.Segment.PID |
internal IList <Medication> getMedsHl7() { QBP_Q13_PID msg = new QBP_Q13_PID(); fillMshSegment(msg.MSH, HL7Constants.FIELD_SEPARATOR.ToString(), "MHV EVAULT", "200MHS", "127.0.0.1", "DNS", "MHV VISTA", _cxn.DataSource.SiteId.Id, _cxn.DataSource.Provider, "DNS", "", "QBP", "Q13", "QBP_Q13", "", "P", "2.4"); fillQpdSegment(msg, msg.QPD, "0", new DateTime(), new DateTime(), "", "Q13", "RxList"); addIdToPID(msg.getPid(), _cxn.Pid, 1, "", ""); fillRdfSegment(msg.RDF, DATA_FIELDs); fillRcpSegment(msg.RCP); string response = (string)_cxn.query(msg.encode()); return(toMedsFromHL7(response)); }
internal IList<Medication> getMedsHl7() { QBP_Q13_PID msg = new QBP_Q13_PID(); fillMshSegment(msg.MSH, HL7Constants.FIELD_SEPARATOR.ToString(), "MHV EVAULT", "200MHS", "127.0.0.1", "DNS", "MHV VISTA", _cxn.DataSource.SiteId.Id, _cxn.DataSource.Provider, "DNS", "", "QBP", "Q13", "QBP_Q13", "", "P", "2.4"); fillQpdSegment(msg, msg.QPD, "0", new DateTime(), new DateTime(), "", "Q13", "RxList"); addIdToPID(msg.getPid(), _cxn.Pid, 1, "", ""); fillRdfSegment(msg.RDF, DATA_FIELDs); fillRcpSegment(msg.RCP); string response = (string)_cxn.query(msg.encode()); return toMedsFromHL7(response); }