Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. XData SearchSpec [ XMLNamespace = "http://www.intersystems.com/EnsSearchTable" ]
  2. {
  3. <Items>
  4. <!--
  5. Items that do not depend on DocType, indexing any HL7 message.
  6. The | character cannot be used in IDKEY indexes. So using a + in this example
  7. Any | in the data (i.e. not used as a possible HL7 separator) will be converted
  8. on filing to the Search Table as a +
  9. Original HL7 data remains unchanged.
  10. -->
  11. <Item DocType="" PropName="SendingFacilApp" >{1:4}_"+"_{1:3}</Item>
  12. <Item DocType="" PropName="RecvingFacilApp" >{1:6}_"+"_{1:5 }</Item>
  13. <Item DocType="" PropName="MSHDateTime" PropType='DateTime:HL7' >{1:7}</Item>
  14.  
  15. <!-- Get fields from named segments found in any HL7 message -->
  16. <Item DocType="" PropName="InsuranceCo" >[IN1:4()]</Item>
  17.  
  18. <!-- Get specific field from specific segment HL7 message assigned a specific DocType -->
  19. <Item DocType="Demo.HL7.MsgRouter.Schema:ORM_O01 " PropName="ServiceId">{ORCgrp().OBRuniongrp.OBRunion.OBR:UniversalServiceID.text}</Item>
  20. <Item DocType="2.3.1:ORU_R01 " PropName="ServiceId">{PIDgrpgrp().ORCgrp(1).OBR:UniversalServiceID.text}</Item>
  21. </Items>
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement