Menu

#2 How to get OBR segment?

open
nobody
None
5
2007-10-08
2007-10-08
kosovali
No

string msg=
"MSH|^~\\&|PTCT||MT||199703041533||SRM^S01|856369|D|2.3|\r" +
"ARQ||||||UNK|EMERGENCY|COMPLETE|120|min|199703051530||||AB^ABOTT^BRENT^A^^^MD|444-205-5566|||||||||\r" +
"PID|||393850||SMITH^JOHN^A||196304151300|M||C|12 ELM ST^APT#2^NORTH SPFLD.^MA^45621|ABC|111-222-3333||EN|S|CA|1234567890|00-343-1456||||||||||\r" +
"OBR|1||12345|USP^UPHIP|||199703041423|199703041605||||||||||||CARD|CARDRPT||||P|||||||DRMNM|||TRMNM|\r" +
"OBX||FT|||\\H\\***** DIAGNOSTIC REPORT******\\N\\~~\\ZU\\Attending Physician\\N\\:LARRY CARLIN~~Compared to a prior study of \\ZI\\02/22/94\\N\\. A small" +
"pneumothorax is seen at the~right apex. Atelecatic changes are seen in the right mid lung and also in the~left base. ~~Mediastinal and right thoracic" +
"chest tubes are also noted as before. ~Multiple surgical clips are seen in the lower thoracic region due to prior~esophageal surgery. ~~No evidence of " +
" florid CHF. No evidence of new parenchymal opacity since the~prior study. The NG tube is also visualized as before. ~~ Signed: R.A. Kolarshky," +
"M.D.~Cosigned: Victoria V. Venestia, M.D.~|\r" +
"OBR|2||||||199703041423|\r" +
"OBX|1|SN|SBP^SYSTOLIC BLOOD PRESSURE||^123^^||||||F|\r" +
"OBX|2|SN|BP.SOURCE^BLOOD PRESSURE SOURCE||Rt ARM||||||F|\r" +
"OBX|3|SN|BP^BLOOD PRESSURE||^123^/^85||||||F|||199709011644|\r" +
"OBX|4|ST|RES^RESPIRATION RATE||22||||||F|\r" +
"DG1|1|011.75^TB PNEUMOTHORAX-HISTO DX^I9|\r" +
"DG1|2|012.15^TB THORAX NODE-HISTO DX^I9|\r" +
"AIS|1|SN CONT C^SKILLED NURSING CONTINUOUS CARE|199703041423\r" +
"ARP|PREFSTART^0800^MON^OK^WED^OK^FRI^OK|\r" +
"AIP|1|TJ^JONES^TOM|SN^SKILLED NURSE|\r" +
"ARP|PREFSTART^0800^MON^OK^WED^OK^FRI^OK|\r";

How to get/set OBR Segment?

Discussion