MEDITECH DR, NPR, MEDITECH Reporting, MEDITECH Reports, MEDITECH DR Reports, MEDITECH BI, MEDITECH Data Repository
I'm your host, John Sharpe, a MEDITECH Report Writing Consultant living in Spokane, WA. Read more ...
Expand your network by connecting on these social media sites:
Sign up for the MEDITECH Reports Blog; details to attend MEDITECH workshops are sent out 1 week in advance to all MEDITECH Report blog subscribers.These MEDITECH Workshops are sponsored by Donna Carroll at the MEDITECH Community Bulletin
Ascii Table: For NPR Report Writer Loop Builder: For NPR Macros Key Codes: For CDS Attributes List Builder: For NPR Macros MT Report Names: For NPR Reports MT Structure Viewer: For Physicals Strings: Format & Sort
Current Articles | RSS Feed
A friend from Providence Healthcare Toronto recently wanted to know how to tell the difference between parent & child segments when reading MEDITECH Data Definitions.Let’s consider 3 common Radiology Order fields from Client Server 5.6: - accession.number $(R)RO[ro]ASN|0- cc doc $(R)RO[ro]CD[cd]|0 - order status $(R)RO[ro]|2So ... how can we determine if these 3 fields are in the same segment? It comes down to subscripts. Subscripts are the values that live between the pairs of brackets ([ro] for example). If there is one set of brackets, and the subscripts are the same, then we can assume that the segment is the same. Applying that rule to the definitions above, we can ascertain that accession.number and status are in the same segment... - accession.number $(R)RO[ro]ASN|0- status $(R)RO[ro]|2... because they only have 1 set of brackets and subscript(s) are the same.The cc doctor is in the child segment because both physical addresses have the same base address in common: $(R)RO[ro]; yet the address has another set of brackets (subscript) which define the child segment.- cc doc $(R)RO[ro]CD[cd]|0 So ... why isn't accession.number ($(R)RO[ro]ASN) in a separate segment than status ($(R)RO[ro])? These two structures share the same physical address and subscripts. The only difference is the constant. I think of a constant as a way to keep the base file clean; without using more subscripts. This makes the data easier to access in the NPR Report Writer.Your emailed questions and responses to this post will be rolled back in to this post to make this information more digestible.
Want an alert when the next post is published? Click the phone and Subscribe to the MEDITECH Reports Blog!
Allowed tags: <a> link, <b> bold, <i> italics