簡體   English   中英

HL7細分訂單

[英]HL7 segments order

我正在使用以下段順序解析SIU S14: MSH SCH PID PV1 RGS AIL AIS

雖然它沒有錯誤地解析,但我無法從AIS段檢索數據。 但是當我在AIL之前移動AIS時,一切似乎都很好。 那么分段在HL7中的順序是什么?

HL7消息中的段的順序由消息類型預先確定。 計划信息未經請求的消息中, AIS段必須領先於AIL

SIU^S12-S24,S26,S27^SIU_S12: Schedule Information Unsolicited

  MSH   Message Header  
  SCH   Schedule Activity Information       
    [ { TQ1 } ] Timing/Quantity     
    [ { NTE } ] Notes and Comments for the SCH  
  [ {   --- PATIENT begin       
      PID   Patient Identification  
      [ PD1 ]   Additional Demographics     
      [ PV1 ]   Patient Visit       
      [ PV2 ]   Patient Visit - Additional Info     
      [ { OBX } ]   Observation/Result      
      [ { DG1 } ]   Diagnosis       
  } ]   --- PATIENT end     
  {     --- RESOURCES begin     
    RGS      Resource Group Segment     
    [ { --- SERVICE begin       
        AIS     Appointment Information - Service       
        [ { NTE } ] Notes and Comments for the AIS      
    } ] --- SERVICE end     
    [ { --- GENERAL_RESOURCE begin      
        AIG      Appointment Information - General Resource     
        [ { NTE } ] Notes and Comments for the AIG      
    } ] --- GENERAL_RESOURCE end        
    [ { --- LOCATION_RESOURCE begin     
        AIL      Appointment Information - Location Resource        
        [ { NTE } ] Notes and Comments for the AIL      
    } ] --- LOCATION_RESOURCE end       
    [ { --- PERSONNEL_RESOURCE begin        
        AIP   Appointment Information - Personnel Resource      
        [ { NTE } ] Notes and Comments for the AIP      
    } ] --- PERSONNEL_RESOURCE end      
  } --- RESOURCES end       

但兩個細分市場和細分市場組都是可選的。 因此,只有AIL且沒有AIS段的消息在語法上是可以的。 並且當HL7消息打開時,在完成消息之后允許有額外的或本地定義的段。為了檢索這些附加數據,您需要一個適應的模板。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM