Originally posted by Mark Perschbacher
MATH was never my best subject, just a little joke. I have an xlate I've been struggling with, and thought I'd throw it out to the experts. I have an ORU that has both OBX and NTE segments, and I'm trying to covert it to just NTE. Here is a sample of what I have to work with
1(0).1(0).1(0).OBX(0) : >|||^DIAGNOSIS:<
1(0).1(0).1(0).NTE(0) : >|||Epithelial Cell Abnormality.<
1(0).1(0).1(0).NTE(1) : >|||Atypical squamous cells of undetermined significance.<
1(0).1(0).1(1).OBX(0) : >|||^Recommendation:<
1(0).1(0).1(1).NTE(0) : >|||Suggest follow up as clincally appropriate.<
1(0).1(0).1(2).OBX(0) : >|||^Specimen adequacy:<
1(0).1(0).1(2).NTE(0) : >|||Satisfactory for evaluation. Endocervical and/or squamous<
1(0).1(0).1(2).NTE(1) : >|||metaplastic cells (endocervical component) are present.<
1(0).1(0).1(3).OBX(0) : >|||^Clinician provided ICD9:<
1(0).1(0).1(3).NTE(0) : >|||627.7<
1(0).1(0).1(3).NTE(1) : >|||v01.6; Contact with or exposure to venereal disease.<
1(0).1(0).1(4).OBX(0) : >|||^Performed by:<
1(0).1(0).1(4).NTE(0) : >|||CoPath testing Pathologist/Cytotech<
1(0).1(0).1(5).OBX(0) : >|||^Electronically signed by:<
1(0).1(0).1(5).NTE(0) : >|||Test Cytotech CoPath<
1(0).1(0).1(6).OBX(0) : >|||^Pathologist provided ICD9:<
1(0).1(0).1(6).NTE(0) : >|||795.01<
All I'm doing at this point is COPY the iterations of the OBX groups and NTE segments. The only way I can figure to retain this data format in NTE would be to configure a MATH action to add one to the NTE iteration, and then COPY the OBX to the new first NTE iteration. Does this seem like a reasonable approach, and does anyone know how this would be managed?