public getPid ( ) : NHapi.Model.V24.Segment.PID | ||
Результат | NHapi.Model.V24.Segment.PID |
internal IList <Medication> refillMeds(IList <string> medsToRefill) { OMP_O09_PID omp_o09 = new OMP_O09_PID(); fillMshSegment(omp_o09.MSH, HL7Constants.FIELD_SEPARATOR.ToString(), "MHV EVAULT", "200MHS", "127.0.0.1", "DNS", "MHV VISTA", _cxn.DataSource.SiteId.Id, _cxn.DataSource.Provider, "DNS", "", "OMP", "O09", "OMP_O09", "", "P", "2.4"); addIdToPID(omp_o09.getPid(), _cxn.Pid, 1, "", ""); buildRxeAndOrcSegments(omp_o09, medsToRefill); PipeParser pp = new PipeParser(); string request = pp.Encode(omp_o09); System.Console.WriteLine(request); //string response = (string)_cxn.query(request); //return new RxRefillDecoder().parse(response); throw new NotImplementedException("This function needs to be completed."); }
internal IList<Medication> refillMeds(IList<string> medsToRefill) { OMP_O09_PID omp_o09 = new OMP_O09_PID(); fillMshSegment(omp_o09.MSH, HL7Constants.FIELD_SEPARATOR.ToString(), "MHV EVAULT", "200MHS", "127.0.0.1", "DNS", "MHV VISTA", _cxn.DataSource.SiteId.Id, _cxn.DataSource.Provider, "DNS", "", "OMP", "O09", "OMP_O09", "", "P", "2.4"); addIdToPID(omp_o09.getPid(), _cxn.Pid, 1, "", ""); buildRxeAndOrcSegments(omp_o09, medsToRefill); PipeParser pp = new PipeParser(); string request = pp.Encode(omp_o09); System.Console.WriteLine(request); //string response = (string)_cxn.query(request); //return new RxRefillDecoder().parse(response); throw new NotImplementedException("This function needs to be completed."); }