text: !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.hl7dictionary_v2_3_1=e()}}(function(){return function e(t,n,a){function m(i,d){if(!n[i]){if(!t[i]){var c="function"==typeof require&&require;if(!d&&c)return c(i,!0);if(s)return s(i,!0);var r=new Error("Cannot find module '"+i+"'");throw r.code="MODULE_NOT_FOUND",r}var o=n[i]={exports:{}};t[i][0].call(o.exports,function(e){var n=t[i][1][e];return m(n?n:e)},o,o.exports,e,t,n,a)}return n[i].exports}for(var s="function"==typeof require&&require,i=0;i<a.length;i++)m(a[i]);return m}({1:[function(e,t,n){var a={AD:{desc:"Address",subfields:[{datatype:"ST",desc:"Street Address",opt:1,rep:1},{datatype:"ST",desc:"Other Designation",opt:1,rep:1},{datatype:"ST",desc:"City",opt:1,rep:1},{datatype:"ST",desc:"State Or Province",opt:1,rep:1},{datatype:"ST",desc:"Zip Or Postal Code",opt:1,rep:1},{datatype:"ID",desc:"Country",opt:1,rep:1},{datatype:"ID",desc:"Address Type",opt:1,rep:1},{datatype:"ST",desc:"Other Geographic Designation",opt:1,rep:1}]},AUI:{desc:"Authorization Information",subfields:[{datatype:"ST",desc:"Authorization Number",opt:1,rep:1},{datatype:"TS",desc:"Date",opt:1,rep:1},{datatype:"ST",desc:"Source",opt:1,rep:1}]},CCD:{desc:"Charge Time",subfields:[{datatype:"ID",desc:"When To Charge Code",opt:1,rep:1},{datatype:"TS",desc:"Date/time",opt:1,rep:1}]},CCP:{desc:"Channel Calibration Parameters",subfields:[{datatype:"NM",desc:"Channel Calibration Sensitivity Correction Factor",opt:1,rep:1},{datatype:"NM",desc:"Channel Calibration Baseline",opt:1,rep:1},{datatype:"NM",desc:"Channel Calibration Time Skew",opt:1,rep:1}]},CD:{desc:"Channel Definition",subfields:[{datatype:"WVI",desc:"Channel Identifier",opt:1,rep:1},{datatype:"WVS",desc:"Electrode Names",opt:1,rep:1},{datatype:"CSU",desc:"Channel Sensitivity/units",opt:1,rep:1},{datatype:"CCP",desc:"Calibration Parameters",opt:1,rep:1},{datatype:"NM",desc:"Sampling Frequency",opt:1,rep:1},{datatype:"NR",desc:"Minimum/maximum Data Values",opt:1,rep:1}]},CE:{desc:"Coded Element",subfields:[{datatype:"ST",desc:"Identifier",opt:1,rep:1},{datatype:"ST",desc:"Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Coding System",opt:1,rep:1},{datatype:"ST",desc:"Alternate Identifier",opt:1,rep:1},{datatype:"ST",desc:"Alternate Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Alternate Coding System",opt:1,rep:1}]},CF:{desc:"Coded Element With Formatted Values",subfields:[{datatype:"ST",desc:"Identifier",opt:1,rep:1},{datatype:"FT",desc:"Formatted Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Coding System",opt:1,rep:1},{datatype:"ST",desc:"Alternate Identifier",opt:1,rep:1},{datatype:"FT",desc:"Alternate Formatted Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Alternate Coding System",opt:1,rep:1}]},CK:{desc:"Composite ID With Check Digit",subfields:[{datatype:"NM",desc:"ID Number",opt:1,rep:1},{datatype:"ST",desc:"Check Digit",opt:1,rep:1},{datatype:"ID",desc:"Code Identifying The Check Digit Scheme Employed",opt:1,rep:1},{datatype:"HD",desc:"Assigning Authority",opt:1,rep:1}]},CN:{desc:"Composite ID Number And Name",subfields:[{datatype:"ST",desc:"ID Number",opt:1,rep:1},{datatype:"ST",desc:"Family Name",opt:1,rep:1},{datatype:"ST",desc:"Given Name",opt:1,rep:1},{datatype:"ST",desc:"Middle Initial Or Name",opt:1,rep:1},{datatype:"ST",desc:"Suffix",opt:1,rep:1},{datatype:"ST",desc:"Prefix",opt:1,rep:1},{datatype:"IS",desc:"Degree",opt:1,rep:1},{datatype:"IS",desc:"Source Table",opt:1,rep:1},{datatype:"HD",desc:"Assigning Authority",opt:1,rep:1}]},CNE:{desc:"Coded With No Exceptions",subfields:[{datatype:"ST",desc:"Identifier",opt:1,rep:1},{datatype:"ST",desc:"Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Coding System",opt:1,rep:1},{datatype:"ST",desc:"Alternate Identifier",opt:1,rep:1},{datatype:"ST",desc:"Alternate Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Alternate Coding System",opt:1,rep:1},{datatype:"ST",desc:"Coding System Version ID",opt:1,rep:1},{datatype:"ST",desc:"Alternate Coding System Version ID",opt:1,rep:1},{datatype:"ST",desc:"Original Text",opt:1,rep:1}]},CNS:{desc:"Composite ID Number And Name Simplified",subfields:[{datatype:"ST",desc:"ID Number",opt:1,rep:1},{datatype:"ST",desc:"Family Name",opt:1,rep:1},{datatype:"ST",desc:"Given Name",opt:1,rep:1},{datatype:"ST",desc:"Second And Further Given Names Or Initials Thereof",opt:1,rep:1},{datatype:"ST",desc:"Suffix",opt:1,rep:1},{datatype:"ST",desc:"Prefix",opt:1,rep:1},{datatype:"IS",desc:"Degree",opt:1,rep:1},{datatype:"IS",desc:"Source Table",opt:1,rep:1},{datatype:"IS",desc:"Assigning Authority Namespace ID",opt:1,rep:1},{datatype:"ST",desc:"Assigning Authority Universal ID",opt:1,rep:1},{datatype:"ID",desc:"Assigning Authority Universal ID Type",opt:1,rep:1}]},CP:{desc:"Composite Price",subfields:[{datatype:"MO",desc:"Price",opt:1,rep:1},{datatype:"ID",desc:"Price Type",opt:1,rep:1,table:205},{datatype:"NM",desc:"From Value",opt:1,rep:1},{datatype:"NM",desc:"To Value",opt:1,rep:1},{datatype:"CE",desc:"Range Units",opt:1,rep:1},{datatype:"ID",desc:"Range Type",opt:1,rep:1,table:298}]},CQ:{desc:"Composite Quantity With Units",subfields:[{datatype:"NM",desc:"Quantity",opt:1,rep:1},{datatype:"CE",desc:"Units",opt:1,rep:1}]},CSU:{desc:"Channel Sensitivity/units",subfields:[{datatype:"NM",desc:"Channel Sensitivity",opt:1,rep:1},{datatype:"ST",desc:"Unit Of Measure Identifier",opt:1,rep:1},{datatype:"ST",desc:"Unit Of Measure Description",opt:1,rep:1},{datatype:"IS",desc:"Unit Of Measure Coding System",opt:1,rep:1},{datatype:"ST",desc:"Alternate Unit Of Measure Identifier",opt:1,rep:1},{datatype:"ST",desc:"Alternate Unit Of Measure Description",opt:1,rep:1},{datatype:"IS",desc:"Alternate Unit Of Measure Coding System",opt:1,rep:1}]},CWE:{desc:"Coded With Exceptions",subfields:[{datatype:"ST",desc:"Identifier",opt:1,rep:1},{datatype:"ST",desc:"Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Coding System",opt:1,rep:1},{datatype:"ST",desc:"Alternate Identifier",opt:1,rep:1},{datatype:"ST",desc:"Alternate Text",opt:1,rep:1},{datatype:"ST",desc:"Name Of Alternate Coding System",opt:1,rep:1},{datatype:"ST",desc:"Coding System Version ID",opt:1,rep:1},{datatype:"ST",desc:"Alternate Coding System Version ID",opt:1,rep:1},{datatype:"ST",desc:"Original Text",opt:1,rep:1}]},CX:{desc:"Extended Composite ID With Check Digit",subfields:[{datatype:"ST",desc:"ID",opt:1,rep:1},{datatype:"ST",desc:"Check Digit",opt:1,rep:1},{datatype:"ID",desc:"Code Identifying The Check Digit Scheme Employed",opt:1,rep:1},{datatype:"HD",desc:"Assigning Authority",opt:1,rep:1},{datatype:"IS",desc:"Identifier Type Code",opt:1,rep:1,table:203},{datatype:"HD",desc:"Assigning Facility",opt:1,rep:1}]},DDI:{desc:"Daily Deductible",subfields:[{datatype:"NM",desc:"Delay Days",opt:1,rep:1},{datatype:"NM",desc:"Amount",opt:1,rep:1},{datatype:"NM",desc:"Number Of Days",opt:1,rep:1}]},DIN:{desc:"Activation Date",subfields:[{datatype:"TS",desc:"Date",opt:1,rep:1},{datatype:"CE",desc:"Institution Name",opt:1,rep:1}]},DLD:{desc:"Discharge Location",subfields:[{datatype:"IS",desc:"Discharge Location",opt:1,rep:1},{datatype:"TS",desc:"Effective Date",opt:1,rep:1}]},DLN:{desc:"Driver's License Number",subfields:[{datatype:"ST",desc:"Driver s License Number",opt:1,rep:1},{datatype:"IS",desc:"Issuing State, Province, Country",opt:1,rep:1},{datatype:"DT",desc:"Expiration Date",opt:1,rep:1}]},DLT:{desc:"Delta Check",subfields:[{datatype:"NR",desc:"Range",opt:1,rep:1},{datatype:"NM",desc:"Numeric Threshold",opt:1,rep:1},{datatype:"ST",desc:"Change Computation",opt:1,rep:1},{datatype:"NM",desc:"Length Of Time-days",opt:1,rep:1}]},DR:{desc:"Date/time Range",subfields:[{datatype:"TS",desc:"Range Start Date/time",opt:1,rep:1},{datatype:"TS",desc:"Range End Date/time",opt:1,rep:1}]},DT:{desc:"Date",subfields:[]},DTN:{desc:"Day Type And Number",subfields:[{datatype:"IS",desc:"Day Type",opt:1,rep:1},{datatype:"NM",desc:"Number Of Days",opt:1,rep:1}]},ED:{desc:"Encapsulated Data",subfields:[{datatype:"HD",desc:"Source Application",opt:1,rep:1},{datatype:"ID",desc:"Type Of Data",opt:1,rep:1,table:191},{datatype:"ID",desc:"Data Subtype",opt:1,rep:1,table:291},{datatype:"ID",desc:"Encoding",opt:1,rep:1,table:299},{datatype:"ST",desc:"Data",opt:1,rep:1}]},EI:{desc:"Entity Identifier",subfields:[{datatype:"ST",desc:"Entity Identifier",opt:1,rep:1},{datatype:"IS",desc:"Namespace ID",opt:1,rep:1,table:300},{datatype:"ST",desc:"Universal ID",opt:1,rep:1},{datatype:"ID",desc:"Universal ID Type",opt:1,rep:1,table:301}]},EIP:{desc:"Parent Order",subfields:[{datatype:"EI",desc:"Parent s Placer Order Number",opt:1,rep:1},{datatype:"EI",desc:"Parent s Filler Order Number",opt:1,rep:1}]},ELD:{desc:"Error",subfields:[{datatype:"ST",desc:"Segment ID",opt:1,rep:1},{datatype:"NM",desc:"Sequence",opt:1,rep:1},{datatype:"NM",desc:"Field Position",opt:1,rep:1},{datatype:"CE",desc:"Code Identifying Error",opt:1,rep:1}]},FC:{desc:"Financial Class",subfields:[{datatype:"IS",desc:"Financial Class",opt:1,rep:1,table:64},{datatype:"TS",desc:"Effective Date",opt:1,rep:1}]},FN:{desc:"Family + Last Name Prefix",subfields:[{datatype:"ST",desc:"Family Name",opt:1,rep:1},{datatype:"ST",desc:"Last Name Prefix",opt:1,rep:1}]},FT:{desc:"Formatted Text Data",subfields:[]},HD:{desc:"Hierarchic Designator",subfields:[{datatype:"IS",desc:"Namespace ID",opt:1,rep:1,table:300},{datatype:"ST",desc:"Universal ID",opt:1,rep:1},{datatype:"ID",desc:"Universal ID Type",opt:1,rep:1,table:301}]},ID:{desc:"Coded values for HL7 tables",subfields:[]},IS:{desc:"Coded value for user-defined tables",subfields:[]},JCC:{desc:"Job Code/class",subfields:[{datatype:"IS",desc:"Job Code",opt:1,rep:1,table:327},{datatype:"IS",desc:"Job Class",opt:1,rep:1,table:328}]},LA1:{desc:"Location With Address Information (variant 1",subfields:[{datatype:"IS",desc:"Point Of Care",opt:1,rep:1},{datatype:"IS",desc:"Room",opt:1,rep:1},{datatype:"IS",desc:"Bed",opt:1,rep:1},{datatype:"HD",desc:"Facility",opt:1,rep:1},{datatype:"IS",desc:"Location Status",opt:1,rep:1},{datatype:"IS",desc:"Person Location Type",opt:1,rep:1},{datatype:"IS",desc:"Building",opt:1,rep:1},{datatype:"IS",desc:"Floor",opt:1,rep:1},{datatype:"AD",desc:"Address",opt:1,rep:1}]},LA2:{desc:"Location With Address Information (variant 2",subfields:[{datatype:"IS",desc:"Point Of Care",opt:1,rep:1},{datatype:"IS",desc:"Room",opt:1,rep:1},{datatype:"IS",desc:"Bed",opt:1,rep:1},{datatype:"HD",desc:"Facility",opt:1,rep:1},{datatype:"IS",desc:"Location Status",opt:1,rep:1},{datatype:"IS",desc:"Person Location Type",opt:1,rep:1},{datatype:"IS",desc:"Building",opt:1,rep:1},{datatype:"IS",desc:"Floor",opt:1,rep:1},{datatype:"ST",desc:"Street Address",opt:1,rep:1},{datatype:"ST",desc:"Other Designation",opt:1,rep:1},{datatype:"ST",desc:"City",opt:1,rep:1},{datatype:"ST",desc:"State Or Province",opt:1,rep:1},{datatype:"ST",desc:"Zip Or Postal Code",opt:1,rep:1},{datatype:"ID",desc:"Country",opt:1,rep:1},{datatype:"ID",desc:"Address Type",opt:1,rep:1},{datatype:"ST",desc:"Other Geographic Designation",opt:1,rep:1}]},MA:{desc:"Multiplexed Array",subfields:[{datatype:"NM",desc:"Sample 1 From Channel 1",opt:1,rep:1},{datatype:"NM",desc:"Sample 1 From Channel 2",opt:1,rep:1},{datatype:"NM",desc:"Sample 1 From Channel 3",opt:1,rep:1},{datatype:"NM",desc:"Sample 2 From Channel 1",opt:1,rep:1},{datatype:"NM",desc:"Sample 2 From Channel 2",opt:1,rep:1},{datatype:"NM",desc:"Sample 2 From Channel 3",opt:1,rep:1}]},MO:{desc:"Money",subfields:[{datatype:"NM",desc:"Quantity",opt:1,rep:1},{datatype:"ID",desc:"Denomination",opt:1,rep:1}]},MOC:{desc:"Charge To Practise",subfields:[{datatype:"MO",desc:"Dollar Amount",opt:1,rep:1},{datatype:"CE",desc:"Charge Code",opt:1,rep:1}]},MOP:{desc:"Money Or Percentage",subfields:[{datatype:"IS",desc:"Money Or Percentage Indicator",opt:1,rep:1},{datatype:"NM",desc:"Money Or Percentage Quantity",opt:1,rep:1}]},MSG:{desc:"Message Type",subfields:[{datatype:"ID",desc:"Message Type",opt:1,rep:1},{datatype:"ID",desc:"Trigger Event",opt:1,rep:1},{datatype:"ID",desc:"Message Structure",opt:1,rep:1}]},NA:{desc:"Numeric Array",subfields:[{datatype:"NM",desc:"Value1",opt:1,rep:1},{datatype:"NM",desc:"Value2",opt:1,rep:1},{datatype:"NM",desc:"Value3",opt:1,rep:1},{datatype:"NM",desc:"Value4",opt:1,rep:1}]},NDL:{desc:"Observing Practitioner",subfields:[{datatype:"CN",desc:"OP Name",opt:1,rep:1},{datatype:"TS",desc:"Start Date/time",opt:1,rep:1},{datatype:"TS",desc:"End Date/time",opt:1,rep:1},{datatype:"IS",desc:"Point Of Care",opt:1,rep:1},{datatype:"IS",desc:"Room",opt:1,rep:1},{datatype:"IS",desc:"Bed",opt:1,rep:1},{datatype:"HD",desc:"Facility",opt:1,rep:1},{datatype:"IS",desc:"Location Status",opt:1,rep:1},{datatype:"IS",desc:"Person Location Type",opt:1,rep:1},{datatype:"IS",desc:"Building",opt:1,rep:1},{datatype:"IS",desc:"Floor",opt:1,rep:1}]},NM:{desc:"Numeric",subfields:[]},NR:{desc:"Wertebereich",subfields:[{datatype:"NM",desc:"Low Value",opt:1,rep:1},{datatype:"NM",desc:"High Value",opt:1,rep:1}]},OCD:{desc:"Occurence",subfields:[{datatype:"ID",desc:"Occurrence Code",opt:1,rep:1},{datatype:"DT",desc:"Occurrence Date",opt:1,rep:1}]},OSD:{desc:"Order Sequence",subfields:[{datatype:"ID",desc:"Sequence/results Flag",opt:1,rep:1},{datatype:"ST",desc:"Placer Order Number: Entity Identifier",opt:1,rep:1},{datatype:"IS",desc:"Placer Order Number: Namespace ID",opt:1,rep:1},{datatype:"ST",desc:"Filler Order Number: Entity Identifier",opt:1,rep:1},{datatype:"IS",desc:"Filler Order Number: Namespace ID",opt:1,rep:1},{datatype:"ST",desc:"Sequence Condition Value",opt:1,rep:1},{datatype:"NM",desc:"Maximum Number Of Repeats",opt:1,rep:1},{datatype:"ST",desc:"Placer Order Number: Universal ID",opt:1,rep:1},{datatype:"ID",desc:"Placer Order Number; Universal ID Type",opt:1,rep:1},{datatype:"ST",desc:"Filler Order Number: Universal ID",opt:1,rep:1},{datatype:"ID",desc:"Filler Order Number: Universal ID Type",opt:1,rep:1}]},OSP:{desc:"Occurence Span",subfields:[{datatype:"CE",desc:"Occurrence Span Code",opt:1,rep:1},{datatype:"DT",desc:"Occurrence Span Start Date",opt:1,rep:1},{datatype:"DT",desc:"Occurrence Span Stop Date",opt:1,rep:1}]},PCF:{desc:"Pre-certification Required",subfields:[{datatype:"IS",desc:"Pre-certification Patient Type",opt:1,rep:1},{datatype:"ID",desc:"Pre-certification Required",opt:1,rep:1},{datatype:"TS",desc:"Pre-certification Window",opt:1,rep:1}]},PI:{desc:"Person Identifier",subfields:[{datatype:"ST",desc:"ID Number",opt:1,rep:1},{datatype:"IS",desc:"Type Of ID Number",opt:1,rep:1},{datatype:"ST",desc:"Other Qualifying Info",opt:1,rep:1}]},PIP:{desc:"Privileges",subfields:[{datatype:"CE",desc:"Privilege",opt:1,rep:1},{datatype:"CE",desc:"Privilege Class",opt:1,rep:1},{datatype:"DT",desc:"Expiration Date",opt:1,rep:1},{datatype:"DT",desc:"Activation Date",opt:1,rep:1},{datatype:"EI",desc:"Facility",opt:1,rep:1}]},PL:{desc:"Person Location",subfields:[{datatype:"IS",desc:"Point Of Care",opt:1,rep:1},{datatype:"IS",desc:"Room",opt:1,rep:1},{datatype:"IS",desc:"Bed",opt:1,rep:1},{datatype:"HD",desc:"Facility",opt:1,rep:1},{datatype:"IS",desc:"Location Status",opt:1,rep:1},{datatype:"IS",desc:"Person Location Type",opt:1,rep:1},{datatype:"IS",desc:"Building",opt:1,rep:1},{datatype:"IS",desc:"Floor",opt:1,rep:1},{datatype:"ST",desc:"Location Description",opt:1,rep:1}]},PLN:{desc:"Practitioner ID Numbers",subfields:[{datatype:"ST",desc:"ID Number",opt:1,rep:1},{datatype:"IS",desc:"Type Of ID Number",opt:1,rep:1},{datatype:"ST",desc:"State/other Qualifying Info",opt:1,rep:1},{datatype:"DT",desc:"Expiration Date",opt:1,rep:1}]},PN:{desc:"Person Name",subfields:[{datatype:"FN",desc:"Family+last Name",opt:1,rep:1},{datatype:"ST",desc:"Given Name",opt:1,rep:1},{datatype:"ST",desc:"Middle Initial Or Name",opt:1,rep:1},{datatype:"ST",desc:"Suffix",opt:1,rep:1},{datatype:"ST",desc:"Prefix",opt:1,rep:1},{datatype:"IS",desc:"Degree",opt:1,rep:1}]},PPN:{desc:"Performing Person Time Stamp",subfields:[{datatype:"ST",desc:"ID Number",opt:1,rep:1},{datatype:"FN",desc:"Family+last Name",opt:1,rep:1},{datatype:"ST",desc:"Given Name",opt:1,rep:1},{datatype:"ST",desc:"Middle Initial Or Name",opt:1,rep:1},{datatype:"ST",desc:"Suffix",opt:1,rep:1},{datatype:"ST",desc:"Prefix",opt:1,rep:1},{datatype:"IS",desc:"Degree",opt:1,rep:1},{datatype:"IS",desc:"Source Table",opt:1,rep:1},{datatype:"HD",desc:"Assigning Authority",opt:1,rep:1},{datatype:"ID",desc:"Name Type Code",opt:1,rep:1},{datatype:"ST",desc:"Identifier Check Digit",opt:1,rep:1},{datatype:"ID",desc:"Code Identifying The Check Digit Scheme Employed",opt:1,rep:1},{datatype:"IS",desc:"Identifier Type Code",opt:1,rep:1},{datatype:"HD",desc:"Assigning Facility",opt:1,rep:1},{datatype:"TS",desc:"Date/Time Action Performed",opt:1,rep:1},{datatype:"ID",desc:"Name Representation Code",opt:1,rep:1}]},PRL:{desc:"Parent Result Link",subfields:[{datatype:"CE",desc:"OBX-3 Observation Identifier Of Parent Result",opt:1,rep:1},{datatype:"ST",desc:"OBX-4 Sub-ID Of Parent Result",opt:1,rep:1},{datatype:"TX",desc:"Part Of OBX-5 Observation Result From Parent",opt:1,rep:1}]},PT:{desc:"Processing Type",subfields:[{datatype:"ID",desc:"Processing ID",opt:1,rep:1},{datatype:"ID",desc:"Processing Mode",opt:1,rep:1}]},PTA:{desc:"Policy Type",subfields:[{datatype:"IS",desc:"Policy Type",opt:1,rep:1},{datatype:"IS",desc:"Amount Class",opt:1,rep:1},{datatype:"NM",desc:"Amount",opt:1,rep:1}]},QIP:{desc:"Query Input Parameter List",subfields:[{datatype:"ST",desc:"Field Name",opt:1,rep:1},{datatype:"ST",desc:"Value1&value2&value3",opt:1,rep:1}]},QSC:{desc:"Query Selection Criteria",subfields:[{datatype:"ST",desc:"Segment Field Name",opt:1,rep:1},{datatype:"ID",desc:"Relational Operator",opt:1,rep:1},{datatype:"ST",desc:"Value",opt:1,rep:1},{datatype:"ID",desc:"Relational Conjunction",opt:1,rep:1}]},RCD:{desc:"Row Column Definition",subfields:[{datatype:"ST",desc:"Segment Field Name",opt:1,rep:1},{datatype:"ST",desc:"HL7 Date Type",opt:1,rep:1},{datatype:"NM",desc:"Maximum Column Width",opt:1,rep:1}]},RFR:{desc:"Reference Range",subfields:[{datatype:"NR",desc:"Numeric Range",opt:1,rep:1},{datatype:"IS",desc:"Administrative Sex",opt:1,rep:1},{datatype:"NR",desc:"Age Range",opt:1,rep:1},{datatype:"NR",desc:"Gestational Age Range",opt:1,rep:1},{datatype:"TX",desc:"Species",opt:1,rep:1},{datatype:"ST",desc:"Race/subspecies",opt:1,rep:1},{datatype:"TX",desc:"Conditions",opt:1,rep:1}]},RI:{desc:"Repeat Interval",subfields:[{datatype:"IS",desc:"Repeat Pattern",opt:1,rep:1},{datatype:"ST",desc:"Explicit Time Interval",opt:1,rep:1}]},RMC:{desc:"Room Coverage",subfields:[{datatype:"IS",desc:"Room Type",opt:1,rep:1},{datatype:"IS",desc:"Amount Type",opt:1,rep:1},{datatype:"NM",desc:"Coverage Amount",opt:1,rep:1}]},RP:{desc:"Reference Pointer",subfields:[{datatype:"ST",desc:"Pointer",opt:1,rep:1},{datatype:"HD",desc:"Application ID",opt:1,rep:1},{datatype:"ID",desc:"Type Of Data",opt:1,rep:1},{datatype:"ID",desc:"Subtype",opt:1,rep:1}]},SCV:{desc:"Scheduling Class Value Pair",subfields:[{datatype:"IS",desc:"Parameter Class",opt:1,rep:1},{datatype:"IS",desc:"Parameter Value",opt:1,rep:1}]},SI:{desc:"Sequence ID",subfields:[]},SN:{desc:"Structured Numeric",subfields:[{datatype:"ST",desc:"Comparator",opt:1,rep:1},{datatype:"NM",desc:"Num1",opt:1,rep:1},{datatype:"ST",desc:"Separator Or Suffix",opt:1,rep:1},{datatype:"NM",desc:"Num2",opt:1,rep:1}]},SPD:{desc:"Specialty",subfields:[{datatype:"ST",desc:"Specialty Name",opt:1,rep:1},{datatype:"ST",desc:"Governing Board",opt:1,rep:1},{datatype:"ID",desc:"Eligible Or Certified",opt:1,rep:1},{datatype:"DT",desc:"Date Of Certification",opt:1,rep:1}]},SPS:{desc:"Specimen Source",subfields:[{datatype:"CE",desc:"Specimen Source Name Or Code",opt:1,rep:1},{datatype:"TX",desc:"Additives",opt:1,rep:1},{datatype:"TX",desc:"Freetext",opt:1,rep:1},{datatype:"CE",desc:"Body Site",opt:1,rep:1},{datatype:"CE",desc:"Site Modifier",opt:1,rep:1},{datatype:"CE",desc:"Collection Modifier Method Code",opt:1,rep:1},{datatype:"CE",desc:"Specimen Role",opt:1,rep:1}]},ST:{desc:"String Data",subfields:[]},TM:{desc:"Time",subfields:[]},TN:{desc:"Telephone Number",subfields:[]},TQ:{desc:"Timing Quantity",subfields:[{datatype:"CQ",desc:"Quantity",opt:1,rep:1},{datatype:"RI",desc:"Interval",opt:1,rep:1},{datatype:"ST",desc:"Duration",opt:1,rep:1},{datatype:"TS",desc:"Start Date/time",opt:1,rep:1},{datatype:"TS",desc:"End Date/time",opt:1,rep:1},{datatype:"ST",desc:"Priority",opt:1,rep:1},{datatype:"ST",desc:"Condition",opt:1,rep:1},{datatype:"ST",desc:"Text",opt:1,rep:1},{datatype:"ST",desc:"Conjunction",opt:1,rep:1},{datatype:"OSD",desc:"Order Sequencing",opt:1,rep:1},{datatype:"CE",desc:"Occurrence Duration",opt:1,rep:1},{datatype:"NM",desc:"Total Occurences",opt:1,rep:1}]},TS:{desc:"Time Stamp",subfields:[{datatype:"ST",desc:"Time Of An Event",opt:1,rep:1}]},TX:{desc:"Text Data",subfields:[]},UVC:{desc:"Value Code And Amount",subfields:[{datatype:"IS",desc:"Value Code",opt:1,rep:1},{datatype:"NM",desc:"Value Amount",opt:1,rep:1}]},VARIES:{desc:"Variable Datatype",subfields:[]},VH:{desc:"Visiting Hours",subfields:[{datatype:"ID",desc:"Start Day Range",opt:1,rep:1},{datatype:"ID",desc:"End Day Range",opt:1,rep:1},{datatype:"TM",desc:"Start Hour Range",opt:1,rep:1},{datatype:"TM",desc:"End Hour Range",opt:1,rep:1}]},VID:{desc:"Version Identifier",subfields:[{datatype:"ID",desc:"Version ID",opt:1,rep:1},{datatype:"CE",desc:"Internationalization Code",opt:1,rep:1},{datatype:"CE",desc:"International Version ID",opt:1,rep:1}]},VR:{desc:"Value Qualifier",subfields:[{datatype:"ST",desc:"First Data Code Value",opt:1,rep:1},{datatype:"ST",desc:"Last Data Code Calue",opt:1,rep:1}]},WVI:{desc:"Channel Identifier",subfields:[{datatype:"NM",desc:"Channel Number",opt:1,rep:1},{datatype:"ST",desc:"Channel Name",opt:1,rep:1}]},WVS:{desc:"Wavefrom Source",subfields:[{datatype:"ST",desc:"Source Name 1",opt:1,rep:1},{datatype:"ST",desc:"Source Name 2",opt:1,rep:1}]},XAD:{desc:"Extended Address",subfields:[{datatype:"ST",desc:"Street Address",opt:1,rep:1},{datatype:"ST",desc:"Other Designation",opt:1,rep:1},{datatype:"ST",desc:"City",opt:1,rep:1},{datatype:"ST",desc:"State Or Province",opt:1,rep:1},{datatype:"ST",desc:"Zip Or Postal Code",opt:1,rep:1},{datatype:"ID",desc:"Country",opt:1,rep:1},{datatype:"ID",desc:"Address Type",opt:1,rep:1},{datatype:"ST",desc:"Other Geographic Designation",opt:1,rep:1},{datatype:"IS",desc:"County/parish Code",opt:1,rep:1},{datatype:"IS",desc:"Census Tract",opt:1,rep:1},{datatype:"ID",desc:"Address Representation Code",opt:1,rep:1}]},XCN:{desc:"Extended Composite ID Number And Name For Persons",subfields:[{datatype:"ST",desc:"ID Number",opt:1,rep:1},{datatype:"FN",desc:"Family+last Name",opt:1,rep:1},{datatype:"ST",desc:"Given Name",opt:1,rep:1},{datatype:"ST",desc:"Middle Initial Or Name",opt:1,rep:1},{datatype:"ST",desc:"Suffix",opt:1,rep:1},{datatype:"ST",desc:"Prefix",opt:1,rep:1},{datatype:"IS",desc:"Degree",opt:1,rep:1},{datatype:"IS",desc:"Source Table",opt:1,rep:1},{datatype:"HD",desc:"Assigning Authority",opt:1,rep:1},{datatype:"ID",desc:"Name Type Code",opt:1,rep:1},{datatype:"ST",desc:"Identifier Check Digit",opt:1,rep:1},{datatype:"ID",desc:"Code Identifying The Check Digit Scheme Employed",opt:1,rep:1},{datatype:"IS",desc:"Identifier Type Code",opt:1,rep:1},{datatype:"HD",desc:"Assigning Facility",opt:1,rep:1},{datatype:"ID",desc:"Name Representation Code",opt:1,rep:1}]},XON:{desc:"Extended Composite Name And Identification Number For Organizations",subfields:[{datatype:"ST",desc:"Organization Name",opt:1,rep:1},{datatype:"IS",desc:"Organization Name Type Code",opt:1,rep:1},{datatype:"NM",desc:"ID Number",opt:1,rep:1},{datatype:"ST",desc:"Check Digit",opt:1,rep:1},{datatype:"ID",desc:"Code Identifying The Check Digit Scheme Employed",opt:1,rep:1},{datatype:"HD",desc:"Assigning Authority",opt:1,rep:1},{datatype:"IS",desc:"Identifier Type Code",opt:1,rep:1},{datatype:"HD",desc:"Assigning Facility ID",opt:1,rep:1},{datatype:"ID",desc:"Name Representation Code",opt:1,rep:1}]},XPN:{desc:"Extended Person Name",subfields:[{datatype:"FN",desc:"Family+last Name",opt:1,rep:1},{datatype:"ST",desc:"Given Name",opt:1,rep:1},{datatype:"ST",desc:"Middle Initial Or Name",opt:1,rep:1},{datatype:"ST",desc:"Suffix",opt:1,rep:1},{datatype:"ST",desc:"Prefix",opt:1,rep:1},{datatype:"IS",desc:"Degree",opt:1,rep:1},{datatype:"ID",desc:"Name Type Code",opt:1,rep:1},{datatype:"ID",desc:"Name Representation Code",opt:1,rep:1}]},XTN:{desc:"Extended Telecommunication Number",subfields:[{datatype:"TN",desc:"Telephone Number",opt:1,rep:1},{datatype:"ID",desc:"Telecommunication Use Code",opt:1,rep:1},{datatype:"ID",desc:"Telecommunication Equipment Type",opt:1,rep:1},{datatype:"ST",desc:"Email Address",opt:1,rep:1},{datatype:"NM",desc:"Country Code",opt:1,rep:1},{datatype:"NM",desc:"Area/city Code",opt:1,rep:1},{datatype:"NM",desc:"Phone Number",opt:1,rep:1},{datatype:"NM",desc:"Extension",opt:1,rep:1},{datatype:"ST",desc:"Any Text",opt:1,rep:1}]}};t.exports=a},{}],2:[function(e,t,n){t.exports={fields:e("./fields"),segments:e("./segments"),messages:e("./messages")}},{"./fields":1,"./messages":3,"./segments":4}],3:[function(e,t,n){var a={ACK:{desc:"General acknowledgment message",name:"ACK",segments:{desc:"General acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1}]}},ADR_A19:{desc:"Patient query",name:"ADR_A19",segments:{desc:"Patient query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"QUERY_RESPONSE",desc:"Query response",min:1,max:0,children:[{name:"EVN",desc:"EVN - event type segment",min:0,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},ADT_A01:{desc:"Admit/visit notification",name:"ADT_A01",segments:{desc:"Admit/visit notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A02:{desc:"Transfer a patient",name:"ADT_A02",segments:{desc:"Transfer a patient",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A03:{desc:"Discharge/end visit",name:"ADT_A03",segments:{desc:"Discharge/end visit",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A04:{desc:"Register a patient",name:"ADT_A04",segments:{desc:"Register a patient",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",
  min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A05:{desc:"Pre-admit a patient",name:"ADT_A05",segments:{desc:"Pre-admit a patient",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A06:{desc:"Change an outpatient to an inpatient",name:"ADT_A06",segments:{desc:"Change an outpatient to an inpatient",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A07:{desc:"Change an inpatient to an outpatient",name:"ADT_A07",segments:{desc:"Change an inpatient to an outpatient",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A08:{desc:"Update patient information",name:"ADT_A08",segments:{desc:"Update patient information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A09:{desc:"Patient departing - tracking",name:"ADT_A09",segments:{desc:"Patient departing - tracking",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0}]}},ADT_A10:{desc:"Patient arriving - tracking",name:"ADT_A10",segments:{desc:"Patient arriving - tracking",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0}]}},ADT_A11:{desc:"Cancel admit/visit notification",name:"ADT_A11",segments:{desc:"Cancel admit/visit notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0}]}},ADT_A12:{desc:"Cancel transfer",name:"ADT_A12",segments:{desc:"Cancel transfer",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:1}]}},ADT_A13:{desc:"Cancel discharge/end visit",name:"ADT_A13",segments:{desc:"Cancel discharge/end visit",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A14:{desc:"Pending admit",name:"ADT_A14",segments:{desc:"Pending admit",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A15:{desc:"Pending transfer",name:"ADT_A15",segments:{desc:"Pending transfer",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0}]}},ADT_A16:{desc:"Pending discharge",name:"ADT_A16",segments:{desc:"Pending discharge",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1}]}},ADT_A17:{desc:"Swap patients",name:"ADT_A17",segments:{desc:"Swap patients",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A18:{desc:"Merge patient information",name:"ADT_A18",segments:{desc:"Merge patient information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1}]}},ADT_A20:{desc:"Bed status update",name:"ADT_A20",segments:{desc:"Bed status update",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"NPU",desc:"NPU - bed status update segment",min:1,max:1}]}},ADT_A21:{desc:'Patient goes on a "leave of absence"',name:"ADT_A21",segments:{desc:'Patient goes on a "leave of absence"',segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A22:{desc:'Patient returns from a "leave of absence"',name:"ADT_A22",segments:{desc:'Patient returns from a "leave of absence"',segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A23:{desc:"Delete a patient record",name:"ADT_A23",segments:{desc:"Delete a patient record",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A24:{desc:"Link patient information",name:"ADT_A24",segments:{desc:"Link patient information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0}]}},ADT_A25:{desc:"Cancel pending discharge",name:"ADT_A25",segments:{desc:"Cancel pending discharge",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A26:{desc:"Cancel pending transfer",name:"ADT_A26",segments:{desc:"Cancel pending transfer",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A27:{desc:"Cancel pending admit",name:"ADT_A27",segments:{desc:"Cancel pending admit",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A28:{desc:"Add person information",name:"ADT_A28",segments:{desc:"Add person information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A29:{desc:"Delete person information",name:"ADT_A29",segments:{desc:"Delete person information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A30:{desc:"Merge person information",name:"ADT_A30",segments:{desc:"Merge person information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A31:{desc:"Update person information",name:"ADT_A31",segments:{desc:"Update person information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}},ADT_A32:{desc:"Cancel patient arriving - tracking",name:"ADT_A32",segments:{desc:"Cancel patient arriving - tracking",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A33:{desc:"Cancel patient departing - tracking",name:"ADT_A33",segments:{desc:"Cancel patient departing - tracking",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]}},ADT_A34:{desc:"Merge patient information - patient id only",name:"ADT_A34",segments:{desc:"Merge patient information - patient id only",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A35:{desc:"Merge patient information - account number only",name:"ADT_A35",segments:{desc:"Merge patient information - account number only",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A36:{desc:"Merge patient information - patient id and account number",name:"ADT_A36",segments:{desc:"Merge patient information - patient id and account number",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A37:{desc:"Unlink patient information",name:"ADT_A37",segments:{desc:"Unlink patient information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0}]}},ADT_A38:{desc:"Cancel pre-admit",name:"ADT_A38",segments:{desc:"Cancel pre-admit",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:1,max:1}]}},ADT_A39:{desc:"Merge person - patient id",name:"ADT_A39",segments:{desc:"Merge person - patient id",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1}]}]}},ADT_A40:{desc:"Merge patient - patient identifier list",name:"ADT_A40",segments:{desc:"Merge patient - patient identifier list",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1}]}]}},ADT_A41:{desc:"Merge account - patient account number",name:"ADT_A41",segments:{desc:"Merge account - patient account number",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1}]}]}},ADT_A42:{desc:"Merge visit - visit number",name:"ADT_A42",segments:{desc:"Merge visit - visit number",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1}]}]}},ADT_A43:{desc:"Move patient information - patient identifier list",name:"ADT_A43",segments:{desc:"Move patient information - patient identifier list",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}]}},ADT_A44:{desc:"Move account information - patient account number",name:"ADT_A44",segments:{desc:"Move account information - patient account number",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",
  min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}]}},ADT_A45:{desc:"Move visit information - visit number",name:"ADT_A45",segments:{desc:"Move visit information - visit number",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MERGE_INFO",desc:"Merge info",min:1,max:0,children:[{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1}]}]}},ADT_A46:{desc:"Change patient id (for backward compatibility only)",name:"ADT_A46",segments:{desc:"Change patient id (for backward compatibility only)",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A47:{desc:"Change patient identifier list",name:"ADT_A47",segments:{desc:"Change patient identifier list",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A48:{desc:"Change alternate patient id",name:"ADT_A48",segments:{desc:"Change alternate patient id",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A49:{desc:"Change patient account number",name:"ADT_A49",segments:{desc:"Change patient account number",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1}]}},ADT_A50:{desc:"Change visit number",name:"ADT_A50",segments:{desc:"Change visit number",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1}]}},ADT_A51:{desc:"Change alternate visit id",name:"ADT_A51",segments:{desc:"Change alternate visit id",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"MRG",desc:"MRG - merge patient information segment-",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1}]}},ADT_A53:{desc:"Cancel patient returns from a leave of absence",name:"ADT_A53",segments:{desc:"Cancel patient returns from a leave of absence",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}},ADT_A55:{desc:"Cancel change attending doctor",name:"ADT_A55",segments:{desc:"Cancel change attending doctor",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}},ADT_A60:{desc:"Update allergy information",name:"ADT_A60",segments:{desc:"Update allergy information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"IAM",desc:"Patient adverse reaction information - unique iden",min:0,max:0}]}},ADT_A61:{desc:"Change consulting doctor",name:"ADT_A61",segments:{desc:"Change consulting doctor",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}},ADT_A62:{desc:"Cancel change consulting doctor",name:"ADT_A62",segments:{desc:"Cancel change consulting doctor",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}},BAR_P01:{desc:"Add patient accounts",name:"BAR_P01",segments:{desc:"Add patient accounts",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"VISIT",desc:"Visit",min:1,max:0,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}]}},BAR_P02:{desc:"Purge patient accounts",name:"BAR_P02",segments:{desc:"Purge patient accounts",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0}]}]}},BAR_P05:{desc:"Update account",name:"BAR_P05",segments:{desc:"Update account",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"VISIT",desc:"Visit",min:1,max:0,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"UB1",desc:"UB1 - UB82 data segment",min:0,max:1},{name:"UB2",desc:"UB2 - UB92 data segment",min:0,max:1}]}]}},BAR_P06:{desc:"End account",name:"BAR_P06",segments:{desc:"End account",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1}]}]}},CRM_C01:{desc:"Register a patient on a clinical trial",name:"CRM_C01",segments:{desc:"Register a patient on a clinical trial",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"CSR",desc:"CSR - clinical study registration segment",min:1,max:1},{name:"CSP",desc:"CSP - clinical study phase segment",min:0,max:0}]}]}},CSU_C09:{desc:"Automated time intervals for reporting, like monthly",name:"CSU_C09",segments:{desc:"Automated time intervals for reporting, like monthly",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VISIT",desc:"Visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"CSR",desc:"CSR - clinical study registration segment",min:1,max:1},{name:"STUDY_PHASE",desc:"Study phase",min:1,max:0,children:[{name:"CSP",desc:"CSP - clinical study phase segment",min:0,max:1},{name:"STUDY_SCHEDULE",desc:"Study schedule",min:1,max:0,children:[{name:"CSS",desc:"CSS - clinical study data schedule segment",min:0,max:1},{name:"STUDY_OBSERVATION",desc:"Study observation",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:0,max:1},{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:1,max:0}]},{name:"STUDY_PHARM",desc:"Study pharm",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:0,max:1},{name:"RX_ADMIN",desc:"Rx admin",min:1,max:0,children:[{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:1}]}]}]}]}]}]}},DFT_P03:{desc:"Post detail financial transaction",name:"DFT_P03",segments:{desc:"Post detail financial transaction",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DB1",desc:"DB1 - Disability segment",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"FINANCIAL",desc:"Financial",min:1,max:0,children:[{name:"FT1",desc:"FT1 - financial transaction segment",min:1,max:1},{name:"FINANCIAL_PROCEDURE",desc:"Financial procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"ROL",desc:"Role",min:0,max:0}]}]},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:1},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1}]}},DOC_T12:{desc:"Document response",name:"DOC_T12",segments:{desc:"Document response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"RESULT",desc:"Result",min:1,max:0,children:[{name:"EVN",desc:"EVN - event type segment",min:0,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},DSR_Q01:{desc:"Display response message",name:"DSR_Q01",segments:{desc:"Display response message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"DSP",desc:"DSP - display data segment",min:1,max:0},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},DSR_Q03:{desc:"Deferred response to a query",name:"DSR_Q03",segments:{desc:"Deferred response to a query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:0,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"DSP",desc:"DSP - display data segment",min:1,max:0},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},EDR_R07:{desc:"Enhanced display response",name:"EDR_R07",segments:{desc:"Enhanced display response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:1,max:1},{name:"DSP",desc:"DSP - display data segment",min:1,max:0},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},EQQ_Q04:{desc:"Embedded query language query",name:"EQQ_Q04",segments:{desc:"Embedded query language query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EQL",desc:"EQL - embedded query language segment",min:1,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},ERP_R09:{desc:"Event replay response",name:"ERP_R09",segments:{desc:"Event replay response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:1,max:1},{name:"ERQ",desc:"ERQ - event replay query segment",min:1,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},MDM_T01:{desc:"Original document notification",name:"MDM_T01",segments:{desc:"Original document notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1}]}},MDM_T02:{desc:"Original document notification and content",name:"MDM_T02",segments:{desc:"Original document notification and content",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:1,max:0}]}},MDM_T03:{desc:"Document status change notification",name:"MDM_T03",segments:{desc:"Document status change notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1}]}},MDM_T04:{desc:"Document status change notification and content",name:"MDM_T04",segments:{desc:"Document status change notification and content",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1}]}},MDM_T05:{desc:"Document addendum notification",name:"MDM_T05",segments:{desc:"Document addendum notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1}]}},MDM_T06:{desc:"Document addendum notification and content",name:"MDM_T06",segments:{desc:"Document addendum notification and content",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:1,max:0}]}},MDM_T07:{desc:"Document edit notification",name:"MDM_T07",segments:{desc:"Document edit notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1}]}},MDM_T08:{desc:"Document edit notification and content",name:"MDM_T08",segments:{desc:"Document edit notification and content",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:1,max:0}]}},MDM_T09:{desc:"Document replacement notification",name:"MDM_T09",segments:{desc:"Document replacement notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1}]}},MDM_T10:{desc:"Document replacement notification and content",name:"MDM_T10",segments:{desc:"Document replacement notification and content",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:1,max:0}]}},MDM_T11:{desc:"Document cancel notification",name:"MDM_T11",segments:{desc:"Document cancel notification",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"TXA",desc:"Document notification segment",min:1,max:1}]}},MFK_M01:{desc:"Master file application acknowledgment",name:"MFK_M01",segments:{desc:"Master file application acknowledgment",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MFA",desc:"MFA - master file acknowledgment segment",min:0,max:0}]}},MFK_M04:{desc:"Master file application acknowledgment",name:"MFK_M04",segments:{desc:"Master file application acknowledgment",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MFA",desc:"MFA - master file acknowledgment segment",min:0,max:0}]}},MFK_M05:{desc:"Master file application acknowledgment",name:"MFK_M05",segments:{desc:"Master file application acknowledgment",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MFA",desc:"MFA - master file acknowledgment segment",min:0,max:0}]}},MFK_M06:{desc:"Master file application acknowledgment",name:"MFK_M06",segments:{desc:"Master file application acknowledgment",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MFA",desc:"MFA - master file acknowledgment segment",min:0,max:0}]}},MFN_M02:{desc:"Master file - staff practitioner",name:"MFN_M02",segments:{desc:"Master file - staff practitioner",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_STAFF",desc:"Mf staff",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"STF",desc:"STF - staff identification segment",min:1,max:1},{name:"PRA",desc:"PRA - practitioner detail segment",min:0,max:1}]}]}},MFN_M04:{desc:"Master files charge description",name:"MFN_M04",segments:{desc:"Master files charge description",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_CDM",desc:"Mf cdm",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"CDM",desc:"CDM -  charge description master segment",min:1,max:1},{name:"PRC",desc:"PRC -  pricing segment",min:0,max:0}]}]}},MFN_M05:{desc:"Patient location master file",name:"MFN_M05",segments:{desc:"Patient location master file",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_LOCATION",desc:"Mf location",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"LOC",desc:"LOC - location identification segment",min:1,max:1},{name:"LCH",desc:"LCH - location characteristic segment",min:0,max:0},{name:"LRL",desc:"LRL - location relationship segment",min:0,max:0},{name:"MF_LOC_DEPT",desc:"Mf loc dept",min:1,max:0,children:[{name:"LDP",desc:"LDP - location department segment",min:1,max:1},{name:"LCH",desc:"LCH - location characteristic segment",min:0,max:0},{name:"LCC",desc:"LCC - location charge code segment",min:0,max:0}]}]}]}},MFN_M06:{desc:"Clinical study with phases and schedules master file",name:"MFN_M06",segments:{desc:"Clinical study with phases and schedules master file",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_CLIN_STUDY",desc:"Mf clin study",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"CM0",desc:"CM0 - clinical study master segment",min:1,max:1},{name:"MF_PHASE_SCHED_DETAIL",desc:"Mf phase sched detail",min:0,max:0,children:[{name:"CM1",desc:"CM1 - clinical study phase master segment",min:1,max:1},{name:"CM2",desc:"CM2 - clinical study schedule master segment",min:0,max:0}]}]}]}},MFN_M08:{desc:"Test/observation (numeric) master file",name:"MFN_M08",segments:{desc:"Test/observation (numeric) master file",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_TEST_NUMERIC",desc:"Mf test numeric",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"OM1",desc:"OM1 - general segment (fields that apply to most observations",min:0,max:1},{name:"MF_NUMERIC_OBSERVATION",desc:"Mf numeric observation",min:0,max:1,children:[{name:"OM2",desc:"OM2 - numeric observation segment",min:0,max:1},{name:"OM3",desc:"OM3 - categorical test/observation segment",min:0,max:1},{name:"OM4",desc:"OM4 - observations that require specimens segment",min:0,max:1}]}]}]}},MFN_M09:{desc:"Test/observation (categorical) master file",name:"MFN_M09",segments:{desc:"Test/observation (categorical) master file",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_TEST_CATEGORICAL",desc:"Mf test categorical",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"OM1",desc:"OM1 - general segment (fields that apply to most observations",min:1,max:1},{name:"MF_TEST_CAT_DETAIL",desc:"Mf test cat detail",min:0,max:1,children:[{name:"OM3",desc:"OM3 - categorical test/observation segment",min:1,max:1},{name:"OM4",desc:"OM4 - observations that require specimens segment",min:0,max:0}]}]}]}},MFN_M10:{desc:"Test/observation batteries master file",name:"MFN_M10",segments:{desc:"Test/observation batteries master file",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_TEST_BATTERIES",desc:"Mf test batteries",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"OM1",desc:"OM1 - general segment (fields that apply to most observations",min:1,max:1},{name:"MF_TEST_BATT_DETAIL",desc:"Mf test batt detail",min:0,max:1,children:[{name:"OM5",desc:"OM5 - observation batteries (sets",min:1,max:1},{name:"OM4",desc:"OM4 - observations that require specimens segment",min:0,max:0}]}]}]}},MFN_M11:{desc:"Test/calculated observations master file",name:"MFN_M11",segments:{desc:"Test/calculated observations master file",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MFI",desc:"MFI - master file identification segment",min:1,max:1},{name:"MF_TEST_CALCULATED",desc:"Mf test calculated",min:1,max:0,children:[{name:"MFE",desc:"MFE - master file entry segment",min:1,max:1},{name:"OM1",desc:"OM1 - general segment (fields that apply to most observations",min:1,max:1},{name:"MF_TEST_CALC_DETAIL",desc:"Mf test calc detail",min:0,max:1,children:[{name:"OM6",desc:"OM6 - Observations that are calculated from other observations segment",min:1,max:1},{name:"OM2",desc:"OM2 - numeric observation segment",min:1,max:1}]}]}]}},MFQ_M01:{desc:"Query for master file record",name:"MFQ_M01",segments:{desc:"Query for master file record",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},NMD_N02:{desc:"Application management data message",name:"NMD_N02",segments:{desc:"Application management data message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"CLOCK_AND_STATS_WITH_NOTES",desc:"Clock and stats with notes",min:1,max:0,children:[{name:"CLOCK",desc:"Clock",min:0,max:1,children:[{name:"NCK",desc:"System Clock",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"APP_STATS",desc:"App stats",min:0,max:1,children:[{name:"NST",desc:"Application control level statistics",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"APP_STATUS",desc:"App status",min:0,max:1,children:[{name:"NSC",desc:"Application status change",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},NMQ_N01:{desc:"Application management query message",name:"NMQ_N01",segments:{desc:"Application management query message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRY_WITH_DETAIL",desc:"Qry with detail",min:0,max:1,children:[{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]},{name:"CLOCK_AND_STATISTICS",desc:"Clock and statistics",min:1,max:0,children:[{name:"NCK",desc:"System Clock",min:0,max:1},{name:"NST",desc:"Application control level statistics",min:0,max:1},{name:"NSC",desc:"Application status change",min:0,max:1}]}]}},NMR_N01:{desc:"Application management response",name:"NMR_N01",segments:{desc:"Application management response",segments:[{name:"MSH",desc:"MSH - message header segment",
  min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:0},{name:"QRD",desc:"QRD - original-style query definition segment",min:0,max:1},{name:"CLOCK_AND_STATS_WITH_NOTES_ALT",desc:"Clock and stats with notes alt",min:1,max:0,children:[{name:"NCK",desc:"System Clock",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"NST",desc:"Application control level statistics",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"NSC",desc:"Application status change",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}},OMD_O01:{desc:"Dietary order",name:"OMD_O01",segments:{desc:"Dietary order",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:1},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0}]},{name:"ORDER_DIET",desc:"Order diet",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"DIET",desc:"Diet",min:0,max:1,children:[{name:"ODS",desc:"ODS - dietary orders, supplements, and preferences segment",min:1,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:1,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]},{name:"ORDER_TRAY",desc:"Order tray",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ODT",desc:"ODT - diet tray instructions segment",min:1,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}},OMN_O01:{desc:"Non-stock requisition order message",name:"OMN_O01",segments:{desc:"Non-stock requisition order message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:1},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RQD",desc:"RQD - requisition detail segment",min:1,max:1},{name:"RQ1",desc:"RQ1 - requisition detail-1 segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"BLG",desc:"BLG - billing segment",min:0,max:1}]}]}},OMS_O01:{desc:"Stock requisition order message",name:"OMS_O01",segments:{desc:"Stock requisition order message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:1},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RQD",desc:"RQD - requisition detail segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"BLG",desc:"BLG - billing segment",min:0,max:1}]}]}},ORD_O02:{desc:"Dietary order acknowledgment message",name:"ORD_O02",segments:{desc:"Dietary order acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER_DIET",desc:"Order diet",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ODS",desc:"ODS - dietary orders, supplements, and preferences segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER_TRAY",desc:"Order tray",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ODT",desc:"ODT - diet tray instructions segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},ORF_R04:{desc:"Response to query; transmission of requested observation",name:"ORF_R04",segments:{desc:"Response to query; transmission of requested observation",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"QUERY_RESPONSE",desc:"Query response",min:1,max:0,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:0,max:1},{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:1,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0}]}]},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},ORM_O01:{desc:"Order message",name:"ORM_O01",segments:{desc:"Order message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:0}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:1},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR,RQD,RQ1,RXO,ODS,ODT",desc:"Details",min:0,max:0,compounds:[{name:"OBR",desc:"Observation request",min:1,max:1},{name:"RQD",desc:"Requisition detail",min:1,max:1},{name:"RQ1",desc:"Requisition detail-1",min:1,max:1},{name:"RXO",desc:"Pharmacy/treatment order",min:1,max:1},{name:"ODS",desc:"Dietary orders, supplements, and preferences",min:1,max:1},{name:"ODT",desc:"Diet tray instructions",min:1,max:1}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0},{name:"BLG",desc:"BLG - billing segment",min:0,max:1}]}]}},ORN_O02:{desc:"Non-stock requisition - general order acknowledgment message",name:"ORN_O02",segments:{desc:"Non-stock requisition - general order acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"RQD",desc:"RQD - requisition detail segment",min:1,max:1},{name:"RQ1",desc:"RQ1 - requisition detail-1 segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},ORR_O02:{desc:"Order response",name:"ORR_O02",segments:{desc:"Order response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"OBR,RQD,RQ1,RXO,ODS,ODT",desc:"Details",min:0,max:0,compounds:[{name:"OBR",desc:"Observation request",min:1,max:1},{name:"RQD",desc:"Requisition detail",min:1,max:1},{name:"RQ1",desc:"Requisition detail-1",min:1,max:1},{name:"RXO",desc:"Pharmacy/treatment order",min:1,max:1},{name:"ODS",desc:"Dietary orders, supplements, and preferences",min:1,max:1},{name:"ODT",desc:"Diet tray instructions",min:1,max:1}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0}]}]}]}},ORS_O02:{desc:"Stock requisition - order acknowledgment message",name:"ORS_O02",segments:{desc:"Stock requisition - order acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"RQD",desc:"RQD - requisition detail segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},ORU:{desc:"Unsolicited transmission of an observation message",name:"ORU",segments:{desc:"Unsolicited transmission of an observation message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PATIENT_RESULT",desc:"Patient result",min:1,max:0,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VISIT",desc:"Visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}]},{name:"ORDER_OBSERVATION",desc:"Order observation",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:0,max:1},{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:1,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},ORU_R01:{desc:"Unsolicited transmission of an observation message",name:"ORU_R01",segments:{desc:"Unsolicited transmission of an observation message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PATIENT_RESULT",desc:"Patient result",min:1,max:0,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VISIT",desc:"Visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}]},{name:"ORDER_OBSERVATION",desc:"Order observation",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:0,max:1},{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:1,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},OSQ_Q06:{desc:"Query for order status",name:"OSQ_Q06",segments:{desc:"Query for order status",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},OSR_Q06:{desc:"Query response for order status",name:"OSR_Q06",segments:{desc:"Query response for order status",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"OBSERVATION",desc:"Observation",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"OBR,RQD,RQ1,RXO,ODS,ODT",desc:"Details",min:0,max:0,compounds:[{name:"OBR",desc:"Observation request",min:1,max:1},{name:"RQD",desc:"Requisition detail",min:1,max:1},{name:"RQ1",desc:"Requisition detail-1",min:1,max:1},{name:"RXO",desc:"Pharmacy/treatment order",min:1,max:1},{name:"ODS",desc:"Dietary orders, supplements, and preferences",min:1,max:1},{name:"ODT",desc:"Diet tray instructions",min:1,max:1}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},PEX_P07:{desc:"Unsolicited initial individual product experience report",name:"PEX_P07",segments:{desc:"Unsolicited initial individual product experience report",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"EVN",desc:"EVN - event type segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VISIT",desc:"Visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"EXPERIENCE",desc:"Experience",min:1,max:0,children:[{name:"PES",desc:"PES - product experience sender segment",min:1,max:1},{name:"PEX_OBSERVATION",desc:"Pex observation",min:1,max:0,children:[{name:"PEO",desc:"PEO - product experience observation segment",min:1,max:1},{name:"PEX_CAUSE",desc:"Pex cause",min:1,max:0,children:[{name:"PCR",desc:"PCR - possible causal relationship segment",min:1,max:1},{name:"RX_ORDER",desc:"Rx order",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:0,max:0}]},{name:"RX_ADMINISTRATION",desc:"Rx administration",min:0,max:0,children:[{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:0,max:1}]},{name:"PRB",desc:"Problem Detail",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"ASSOCIATED_PERSON",desc:"Associated person",min:0,max:1,children:[{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:1,max:1},{name:"ASSOCIATED_RX_ORDER",desc:"Associated rx order",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:0,max:0}]},{name:"ASSOCIATED_RX_ADMIN",desc:"Associated rx admin",min:0,max:0,children:[{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:0,max:1}]},{name:"PRB",desc:"Problem Detail",min:0,max:0},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0}]},{name:"STUDY",desc:"Study",min:0,max:0,children:[{name:"CSR",desc:"CSR - clinical study registration segment",min:1,max:1},{name:"CSP",desc:"CSP - clinical study phase segment",min:0,max:0}]}]}]}]}]}},PGL_PC6:{desc:"Goal add",name:"PGL_PC6",segments:{desc:"Goal add",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"GOAL",desc:"Goal",min:1,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PATHWAY",desc:"Pathway",min:0,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PROBLEM",desc:"Problem",min:0,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_OBSERVATION",desc:"Problem observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}},PIN_I07:{desc:"Unsolicited insurance information",name:"PIN_I07",segments:{desc:"Unsolicited insurance information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GUARANTOR_INSURANCE",desc:"Guarantor insurance",min:0,max:1,children:[{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:1,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},PPG_PCG:{desc:"Pathway (goal-oriented) add",name:"PPG_PCG",segments:{desc:"Pathway (goal-oriented) add",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"PATHWAY",desc:"Pathway",min:1,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PATHWAY_ROLE",desc:"Pathway role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL",desc:"Goal",min:0,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_OBSERVATION",desc:"Goal observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PROBLEM",desc:"Problem",min:0,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_OBSERVATION",desc:"Problem observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}]}},PPP_PCB:{desc:"Pathway (problem-oriented) add",name:"PPP_PCB",segments:{desc:"Pathway (problem-oriented) add",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"PATHWAY",desc:"Pathway",min:1,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PATHWAY_ROLE",desc:"Pathway role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM",desc:"Problem",min:0,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_OBSERVATION",desc:"Problem observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GOAL",desc:"Goal",min:0,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_OBSERVATION",desc:"Goal observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}]}},PPR_PC1:{desc:"Problem add",name:"PPR_PC1",segments:{desc:"Problem add",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"PROBLEM",desc:"Problem",min:1,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PATHWAY",desc:"Pathway",min:0,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PATHWAY_OBSERVATION",desc:"Pathway observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GOAL",desc:"Goal",min:0,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_OBSERVATION",desc:"Goal observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}},PPT_PCL:{desc:"Pathway (goal-oriented) query response",name:"PPT_PCL",
  segments:{desc:"Pathway (goal-oriented) query response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"PATHWAY",desc:"Pathway",min:1,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PATHWAY_ROLE",desc:"Pathway role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL",desc:"Goal",min:0,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_OBSERVATION",desc:"Goal observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PROBLEM",desc:"Problem",min:0,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_OBSERVATION",desc:"Problem observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}]}]}},PPV_PCA:{desc:"Goal response",name:"PPV_PCA",segments:{desc:"Goal response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"GOAL",desc:"Goal",min:1,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_PATHWAY",desc:"Goal pathway",min:0,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_OBSERVATION",desc:"Goal observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PROBLEM",desc:"Problem",min:0,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_OBSERVATION",desc:"Problem observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}]}},PRR_PC5:{desc:"Problem response",name:"PRR_PC5",segments:{desc:"Problem response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"PROBLEM",desc:"Problem",min:1,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_PATHWAY",desc:"Problem pathway",min:0,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_OBSERVATION",desc:"Problem observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GOAL",desc:"Goal",min:0,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_OBSERVATION",desc:"Goal observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}]}},PTR_PCF:{desc:"Pathway (problem-oriented) query response",name:"PTR_PCF",segments:{desc:"Pathway (problem-oriented) query response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"PATHWAY",desc:"Pathway",min:1,max:0,children:[{name:"PTH",desc:"Pathway",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PATHWAY_ROLE",desc:"Pathway role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM",desc:"Problem",min:0,max:0,children:[{name:"PRB",desc:"Problem Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"PROBLEM_ROLE",desc:"Problem role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"PROBLEM_OBSERVATION",desc:"Problem observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GOAL",desc:"Goal",min:0,max:0,children:[{name:"GOL",desc:"Goal Detail",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"GOAL_ROLE",desc:"Goal role",min:0,max:0,children:[{name:"ROL",desc:"Role",min:1,max:1},{name:"VAR",desc:"Variance",min:0,max:0}]},{name:"GOAL_OBSERVATION",desc:"Goal observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0},{name:"ORDER_OBSERVATION",desc:"Order observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"VAR",desc:"Variance",min:0,max:0}]}]}]}]}]}]}]}},QBP_Q22:{desc:"Query - Find Candidates",name:"QBP_Q22",segments:{desc:"Query - Find Candidates",segments:[{name:"MSH",desc:"Message Header",min:1,max:1},{name:"QPD",desc:"Query Parameter Definition Segment",min:1,max:1},{name:"RCP",desc:"Response Control Parameters",min:1,max:1},{name:"DSC",desc:"Continuation Pointer",min:0,max:1}]}},QCK_Q02:{desc:"Deferred query",name:"QCK_Q02",segments:{desc:"Deferred query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:0,max:1}]}},QRY_A19:{desc:"Patient query",name:"QRY_A19",segments:{desc:"Patient query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]}},QRY_PC4:{desc:"Problem query",name:"QRY_PC4",segments:{desc:"Problem query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]}},QRY_PC9:{desc:"Goal query",name:"QRY_PC9",segments:{desc:"Goal query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]}},QRY_PCE:{desc:"Pathway (problem-oriented) query",name:"QRY_PCE",segments:{desc:"Pathway (problem-oriented) query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]}},QRY_PCK:{desc:"Pathway (goal-oriented) query",name:"QRY_PCK",segments:{desc:"Pathway (goal-oriented) query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]}},QRY_Q01:{desc:"Query sent for immediate response",name:"QRY_Q01",segments:{desc:"Query sent for immediate response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},QRY_Q02:{desc:"Query sent for deferred response",name:"QRY_Q02",segments:{desc:"Query sent for deferred response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},QRY_R02:{desc:"Query for results of observation",name:"QRY_R02",segments:{desc:"Query for results of observation",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:1,max:1}]}},QRY_T12:{desc:"Document query",name:"QRY_T12",segments:{desc:"Document query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]}},RAR_RAR:{desc:"Pharmacy/treatment administration information",name:"RAR_RAR",segments:{desc:"Pharmacy/treatment administration information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"DEFINITION",desc:"Definition",min:1,max:0,children:[{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ENCODING",desc:"Encoding",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]},{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:1}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RAS_O01:{desc:"Pharmacy/treatment administration message",name:"RAS_O01",segments:{desc:"Pharmacy/treatment administration message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"ORDER_DETAIL_SUPPLEMENT",desc:"Order detail supplement",min:0,max:1,children:[{name:"NTE",desc:"NTE - notes and comments segment",min:1,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"COMPONENTS",desc:"Components",min:0,max:1,children:[{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:1,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]},{name:"ENCODING",desc:"Encoding",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]},{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:1},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0}]}]}},RCI_I05:{desc:"Return clinical information",name:"RCI_I05",segments:{desc:"Return clinical information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESULTS",desc:"Results",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RCL_I06:{desc:"Return clinical information",name:"RCL_I06",segments:{desc:"Return clinical information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"DSP",desc:"DSP - display data segment",min:0,max:0},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RDE_O01:{desc:"Pharmacy/treatment encoded order message",name:"RDE_O01",segments:{desc:"Pharmacy/treatment encoded order message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:1},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"COMPONENT",desc:"Component",min:0,max:1,children:[{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:1,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"CTI",desc:"CTI - clinical trial identification segment",min:0,max:0}]}]}},RDO_O01:{desc:"Rdo message",name:"RDO_O01",segments:{desc:"Rdo message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:1},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"COMPONENT",desc:"Component",min:0,max:1,children:[{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:1,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"BLG",desc:"BLG - billing segment",min:0,max:1}]}]}},RDR_RDR:{desc:"Pharmacy/treatment dispense information",name:"RDR_RDR",segments:{desc:"Pharmacy/treatment dispense information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"DEFINITION",desc:"Definition",min:1,max:0,children:[{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ENCODING",desc:"Encoding",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]},{name:"DISPENSE",desc:"Dispense",min:1,max:0,children:[{name:"RXD",desc:"RXD - pharmacy/treatment dispense segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RDS_O01:{desc:"Pharmacy/treatment dispense information",name:"RDS_O01",segments:{desc:"Pharmacy/treatment dispense information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"ORDER_DETAIL_SUPPLEMENT",desc:"Order detail supplement",min:0,max:1,children:[{name:"NTE",desc:"NTE - notes and comments segment",min:1,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"COMPONENT",desc:"Component",min:0,max:1,children:[{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:1,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]},{name:"ENCODING",desc:"Encoding",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]},{name:"RXD",desc:"RXD - pharmacy/treatment dispense segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},REF_I12:{desc:"Patient referral",name:"REF_I12",segments:{desc:"Patient referral",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"RF1",desc:"Referral Infomation",min:0,max:1},{name:"AUTHORIZATION_CONTACT",desc:"Authorization contact",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"AUTHORIZATION_CONTACT",desc:"Authorization contact",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]}]},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESULTS_NOTES",desc:"Results notes",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RER_RER:{desc:"Pharmacy/treatment encoded order information",name:"RER_RER",segments:{desc:"Pharmacy/treatment encoded order information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"DEFINITION",desc:"Definition",min:1,max:0,children:[{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RGR_RGR:{desc:"Pharmacy/treatment dose information",name:"RGR_RGR",segments:{desc:"Pharmacy/treatment dose information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",
  min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"DEFINITION",desc:"Definition",min:1,max:0,children:[{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ENCODING",desc:"Encoding",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]},{name:"RXG",desc:"RXG - pharmacy/treatment give segment",min:1,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RGV_O01:{desc:"Pharmacy/treatment give message",name:"RGV_O01",segments:{desc:"Pharmacy/treatment give message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"ORDER_DETAIL_SUPPLEMENT",desc:"Order detail supplement",min:0,max:1,children:[{name:"NTE",desc:"NTE - notes and comments segment",min:1,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"COMPONENTS",desc:"Components",min:0,max:1,children:[{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:1,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]},{name:"ENCODING",desc:"Encoding",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]},{name:"GIVE",desc:"Give",min:1,max:0,children:[{name:"RXG",desc:"RXG - pharmacy/treatment give segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0},{name:"OBSERVATION",desc:"Observation",min:1,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}]}},ROR_ROR:{desc:"Pharmacy prescription order query response",name:"ROR_ROR",segments:{desc:"Pharmacy prescription order query response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"DEFINITION",desc:"Definition",min:1,max:0,children:[{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RPA_I08:{desc:"Return patient authorization",name:"RPA_I08",segments:{desc:"Return patient authorization",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"RF1",desc:"Referral Infomation",min:0,max:1},{name:"AUTHORIZATION",desc:"Authorization",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"PROCEDURE",desc:"Procedure",min:1,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"AUTHORIZATION",desc:"Authorization",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]}]},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESULTS",desc:"Results",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"VISIT",desc:"Visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RPI_I01:{desc:"Return patient information",name:"RPI_I01",segments:{desc:"Return patient information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GUARANTOR_INSURANCE",desc:"Guarantor insurance",min:0,max:1,children:[{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:1,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RPI_I04:{desc:"Return patient information",name:"RPI_I04",segments:{desc:"Return patient information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GUARANTOR_INSURANCE",desc:"Guarantor insurance",min:0,max:1,children:[{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:1,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RPL_I02:{desc:"Return patient display list",name:"RPL_I02",segments:{desc:"Return patient display list",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"DSP",desc:"DSP - display data segment",min:0,max:0},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RPR_I03:{desc:"Return patient list",name:"RPR_I03",segments:{desc:"Return patient list",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQA_I08:{desc:"Request for treatment authorization information",name:"RQA_I08",segments:{desc:"Request for treatment authorization information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"RF1",desc:"Referral Infomation",min:0,max:1},{name:"AUTHORIZATION",desc:"Authorization",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GUARANTOR_INSURANCE",desc:"Guarantor insurance",min:0,max:1,children:[{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:1,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]}]},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"AUTHORIZATION",desc:"Authorization",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]}]},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESULTS",desc:"Results",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"VISIT",desc:"Visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQC_I05:{desc:"Request for patient clinical information",name:"RQC_I05",segments:{desc:"Request for patient clinical information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQC_I06:{desc:"Request/receipt of clinical data listing",name:"RQC_I06",segments:{desc:"Request/receipt of clinical data listing",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQI_I01:{desc:"Request for insurance information",name:"RQI_I01",segments:{desc:"Request for insurance information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GUARANTOR_INSURANCE",desc:"Guarantor insurance",min:0,max:1,children:[{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:1,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQI_I02:{desc:"Request/receipt of patient selection display list",name:"RQI_I02",segments:{desc:"Request/receipt of patient selection display list",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GUARANTOR_INSURANCE",desc:"Guarantor insurance",min:0,max:1,children:[{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:1,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQI_I03:{desc:"Request/receipt of patient selection list",name:"RQI_I03",segments:{desc:"Request/receipt of patient selection list",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GUARANTOR_INSURANCE",desc:"Guarantor insurance",min:0,max:1,children:[{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"INSURANCE",desc:"Insurance",min:1,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQP_I04:{desc:"Request patient demographics",name:"RQP_I04",segments:{desc:"Request patient demographics",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PROVIDER",desc:"Provider",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"GT1",desc:"GT1 - guarantor segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RQQ_Q09:{desc:"Event replay query",name:"RQQ_Q09",segments:{desc:"Event replay query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"ERQ",desc:"ERQ - event replay query segment",min:1,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},RRA_O02:{desc:"Pharmacy/treatment administration acknowledgment message",name:"RRA_O02",segments:{desc:"Pharmacy/treatment administration acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ADMINISTRATION",desc:"Administration",min:0,max:1,children:[{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:1}]}]}]}]}},RRD_O02:{desc:"Pharmacy/treatment dispense acknowledgment message",name:"RRD_O02",segments:{desc:"Pharmacy/treatment dispense acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"DISPENSE",desc:"Dispense",min:0,max:1,children:[{name:"RXD",desc:"RXD - pharmacy/treatment dispense segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]}]}]}]}},RRE_O02:{desc:"Pharmacy/treatment encoded order acknowledgment message",name:"RRE_O02",segments:{desc:"Pharmacy/treatment encoded order acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ENCODING",desc:"Encoding",min:0,max:1,children:[{name:"RXE",desc:"RXE - pharmacy/treatment encoded order segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]}]}]}]}},RRG_O02:{desc:"Pharmacy/treatment give acknowledgment message",name:"RRG_O02",segments:{desc:"Pharmacy/treatment give acknowledgment message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"GIVE",desc:"Give",min:0,max:1,children:[{name:"RXG",desc:"RXG - pharmacy/treatment give segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0}]}]}]}]}},RRI_I12:{desc:"Return referral information",name:"RRI_I12",segments:{desc:"Return referral information",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:0,max:1},{name:"RF1",desc:"Referral Infomation",min:0,max:1},{name:"AUTHORIZATION_CONTACT",desc:"Authorization contact",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]},{name:"PROVIDER_CONTACT",desc:"Provider contact",min:1,max:0,children:[{name:"PRD",desc:"Provider Data",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:0}]},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"ACC",desc:"ACC - accident segment",min:0,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0},{name:"DRG",desc:"DRG - diagnosis related group segment",min:0,max:0},{name:"AL1",desc:"AL1 - patient allergy information segment",min:0,max:0},{name:"PROCEDURE",desc:"Procedure",min:0,max:0,children:[{name:"PR1",desc:"PR1 - procedures segment",min:1,max:1},{name:"AUTHORIZATION_CONTACT",desc:"Authorization contact",min:0,max:1,children:[{name:"AUT",desc:"Authorization Information",min:1,max:1},{name:"CTD",desc:"Contact Data",min:0,max:1}]}]},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBR",desc:"OBR - observation request segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESULTS_NOTES",desc:"Results notes",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}},RRO_O02:{desc:"Rro message",name:"RRO_O02",segments:{desc:"Rro message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RESPONSE",desc:"Response",min:0,max:1,children:[{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"ORDER",desc:"Order",min:1,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:1,max:1},{name:"ORDER_DETAIL",desc:"Order detail",min:0,max:1,children:[{name:"RXO",desc:"RXO - pharmacy/treatment order segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:1,max:0},{name:"RXC",desc:"RXC - pharmacy/treatment component order segment",min:0,max:0},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}]}},RSP_K22:{desc:"Segment pattern response",name:"RSP_K22",segments:{desc:"Segment pattern response",segments:[{name:"MSH",desc:"Message Header",min:1,max:1},{name:"MSA",desc:"Message Acknowledgement",min:1,max:1},{name:"ERR",desc:"Error",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:1,max:1},{name:"QPD",desc:"Query Parameter Definition Segment",min:1,max:1},{name:"QUERY_RESPONSE",desc:"Query response",min:0,max:0,children:[{name:"PID",desc:"Patient Identification",min:1,max:1},{name:"PD1",desc:"Additional Demographics",min:0,max:1},{name:"QRI",desc:"Query Response Instance",min:0,max:1}]},{name:"DSC",desc:"Continuation Pointer",min:0,max:1}]}},SIU_S12:{desc:"Notification of new appointment booking",name:"SIU_S12",segments:{desc:"Notification of new appointment booking",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"SCH",desc:"SCH - schedule activity information segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0}]},{name:"RESOURCES",desc:"Resources",min:1,max:0,children:[{name:"RGS",desc:"RGS - resource group segment",min:1,max:1},{name:"SERVICE",desc:"Service",min:0,max:0,children:[{name:"AIS",desc:"AIS - appointment information - service segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GENERAL_RESOURCE",desc:"General resource",min:0,max:0,children:[{name:"AIG",desc:"AIG - appointment information - general resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"LOCATION_RESOURCE",desc:"Location resource",min:0,max:0,children:[{name:"AIL",desc:"AIL - appointment information - location resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PERSONNEL_RESOURCE",desc:"Personnel resource",min:0,max:0,children:[{name:"AIP",desc:"AIP - appointment information - personnel resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},SPQ_Q08:{desc:"Stored procedure request",name:"SPQ_Q08",segments:{desc:"Stored procedure request",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"SPR",desc:"SPR - stored procedure request definition segment",min:1,max:1},{name:"RDF",desc:"RDF - table row definition segment",min:0,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},SQM_S25:{desc:"Schedule query message and response",name:"SQM_S25",segments:{desc:"Schedule query message and response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"REQUEST",desc:"Request",min:0,max:1,children:[{name:"ARQ",desc:"ARQ - appointment request segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1},{name:"PID",desc:"PID - patient identification segment",min:0,max:1},{name:"RESOURCES",desc:"Resources",min:1,max:0,children:[{name:"RGS",desc:"RGS - resource group segment",min:1,max:1},{name:"SERVICE",desc:"Service",min:0,max:0,children:[{name:"AIS",desc:"AIS - appointment information - service segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1}]},{name:"GENERAL_RESOURCE",desc:"General resource",min:0,max:0,children:[{name:"AIG",desc:"AIG - appointment information - general resource segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1}]},{name:"PERSONNEL_RESOURCE",desc:"Personnel resource",min:0,max:0,children:[{name:"AIP",desc:"AIP - appointment information - personnel resource segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1}]},{name:"LOCATION_RESOURCE",desc:"Location resource",min:0,max:0,children:[{name:"AIL",desc:"AIL - appointment information - location resource segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1}]}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},SQR_S25:{desc:"Schedule query message and response",name:"SQR_S25",segments:{desc:"Schedule query message and response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:1,max:1},{name:"SCHEDULE",desc:"Schedule",min:0,max:0,children:[{name:"SCH",desc:"SCH - schedule activity information segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:1}]},{name:"RESOURCES",desc:"Resources",min:1,max:0,children:[{name:"RGS",desc:"RGS - resource group segment",min:1,max:1},{name:"SERVICE",desc:"Service",min:0,max:0,children:[{name:"AIS",desc:"AIS - appointment information - service segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GENERAL_RESOURCE",desc:"General resource",min:0,max:0,children:[{name:"AIG",desc:"AIG - appointment information - general resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PERSONNEL_RESOURCE",desc:"Personnel resource",min:0,max:0,children:[{name:"AIP",desc:"AIP - appointment information - personnel resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"LOCATION_RESOURCE",desc:"Location resource",min:0,max:0,children:[{name:"AIL",desc:"AIL - appointment information - location resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},SRM_S01:{desc:"Request new appointment booking",name:"SRM_S01",segments:{desc:"Request new appointment booking",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"ARQ",desc:"ARQ - appointment request segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",
  min:0,max:1},{name:"OBX",desc:"OBX - observation/result segment",min:0,max:0},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0}]},{name:"RESOURCES",desc:"Resources",min:1,max:0,children:[{name:"RGS",desc:"RGS - resource group segment",min:1,max:1},{name:"SERVICE",desc:"Service",min:0,max:0,children:[{name:"AIS",desc:"AIS - appointment information - service segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GENERAL_RESOURCE",desc:"General resource",min:0,max:0,children:[{name:"AIG",desc:"AIG - appointment information - general resource segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"LOCATION_RESOURCE",desc:"Location resource",min:0,max:0,children:[{name:"AIL",desc:"AIL - appointment information - location resource segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PERSONNEL_RESOURCE",desc:"Personnel resource",min:0,max:0,children:[{name:"AIP",desc:"AIP - appointment information - personnel resource segment",min:1,max:1},{name:"APR",desc:"APR - appointment preferences segment",min:0,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},SRR_S01:{desc:"Scheduled request response",name:"SRR_S01",segments:{desc:"Scheduled request response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"SCHEDULE",desc:"Schedule",min:0,max:1,children:[{name:"SCH",desc:"SCH - schedule activity information segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PV1",desc:"PV1 - patient visit segment-",min:0,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1},{name:"DG1",desc:"DG1 - diagnosis segment",min:0,max:0}]},{name:"RESOURCES",desc:"Resources",min:1,max:0,children:[{name:"RGS",desc:"RGS - resource group segment",min:1,max:1},{name:"SERVICE",desc:"Service",min:0,max:0,children:[{name:"AIS",desc:"AIS - appointment information - service segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"GENERAL_RESOURCE",desc:"General resource",min:0,max:0,children:[{name:"AIG",desc:"AIG - appointment information - general resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"LOCATION_RESOURCE",desc:"Location resource",min:0,max:0,children:[{name:"AIL",desc:"AIL - appointment information - location resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]},{name:"PERSONNEL_RESOURCE",desc:"Personnel resource",min:0,max:0,children:[{name:"AIP",desc:"AIP - appointment information - personnel resource segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}]}},SUR_P09:{desc:"Summary product experience report",name:"SUR_P09",segments:{desc:"Summary product experience report",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"FACILITY",desc:"Facility",min:1,max:0,children:[{name:"FAC",desc:"FAC - facility segment",min:1,max:1},{name:"PRODUCT",desc:"Product",min:1,max:0,children:[{name:"PSH",desc:"PSH - product summary header segment",min:1,max:1},{name:"PDC",desc:"PDC - product detail country segment",min:1,max:1}]},{name:"PSH",desc:"PSH - product summary header segment",min:1,max:1},{name:"FACILITY_DETAIL",desc:"Facility detail",min:1,max:0,children:[{name:"FAC",desc:"FAC - facility segment",min:1,max:1},{name:"PDC",desc:"PDC - product detail country segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:1,max:1}]}]}]}},TBR_R08:{desc:"Tabular data response",name:"TBR_R08",segments:{desc:"Tabular data response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"ERR",desc:"ERR - error segment",min:0,max:1},{name:"QAK",desc:"Query Acknowledgement",min:1,max:1},{name:"RDF",desc:"RDF - table row definition segment",min:1,max:1},{name:"RDT",desc:"RDT - table row data segment",min:1,max:0},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},UDM_Q05:{desc:"Unsolicited display update message",name:"UDM_Q05",segments:{desc:"Unsolicited display update message",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"URD",desc:"URD - results/update definition segment",min:1,max:1},{name:"URS",desc:"URS - unsolicited selection segment",min:0,max:1},{name:"DSP",desc:"DSP - display data segment",min:1,max:0},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},VQQ_Q07:{desc:"Virtual table query",name:"VQQ_Q07",segments:{desc:"Virtual table query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"VTQ",desc:"VTQ - virtual table query request segment",min:1,max:1},{name:"RDF",desc:"RDF - table row definition segment",min:0,max:1},{name:"DSC",desc:"DSC - Continuation pointer segment",min:0,max:1}]}},VXQ_V01:{desc:"Query for vaccination record",name:"VXQ_V01",segments:{desc:"Query for vaccination record",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1}]}},VXR_V03:{desc:"Vaccination record response",name:"VXR_V03",segments:{desc:"Vaccination record response",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PATIENT_VISIT",desc:"Patient visit",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:0,max:1},{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:0,max:1},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},VXU_V04:{desc:"Unsolicited vaccination record update",name:"VXU_V04",segments:{desc:"Unsolicited vaccination record update",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"PD1",desc:"Patient Additional Demographic",min:0,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0},{name:"PATIENT",desc:"Patient",min:0,max:1,children:[{name:"PV1",desc:"PV1 - patient visit segment-",min:1,max:1},{name:"PV2",desc:"PV2 - patient visit - additional information segment",min:0,max:1}]},{name:"INSURANCE",desc:"Insurance",min:0,max:0,children:[{name:"IN1",desc:"IN1 - insurance segment",min:1,max:1},{name:"IN2",desc:"IN2 - insurance additional information segment",min:0,max:1},{name:"IN3",desc:"IN3 - insurance additional information, certification segment",min:0,max:1}]},{name:"ORDER",desc:"Order",min:0,max:0,children:[{name:"ORC",desc:"ORC - common order segment",min:0,max:1},{name:"RXA",desc:"RXA - pharmacy/treatment administration segment",min:1,max:1},{name:"RXR",desc:"RXR - pharmacy/treatment route segment",min:0,max:1},{name:"OBSERVATION",desc:"Observation",min:0,max:0,children:[{name:"OBX",desc:"OBX - observation/result segment",min:1,max:1},{name:"NTE",desc:"NTE - notes and comments segment",min:0,max:0}]}]}]}},VXX_V02:{desc:"Response to vaccination query",name:"VXX_V02",segments:{desc:"Response to vaccination query",segments:[{name:"MSH",desc:"MSH - message header segment",min:1,max:1},{name:"MSA",desc:"MSA - message acknowledgment segment",min:1,max:1},{name:"QRD",desc:"QRD - original-style query definition segment",min:1,max:1},{name:"QRF",desc:"QRF - original style query filter segment",min:0,max:1},{name:"PATIENT",desc:"Patient",min:1,max:0,children:[{name:"PID",desc:"PID - patient identification segment",min:1,max:1},{name:"NK1",desc:"NK1 - next of kin / associated parties segment-",min:0,max:0}]}]}}};t.exports=a},{}],4:[function(e,t,n){var a={ACC:{desc:"Accident segment",fields:[{datatype:"TS",desc:"Accident Date/Time",opt:1,rep:1,len:26},{datatype:"CE",desc:"Accident Code",opt:1,rep:1,len:60},{datatype:"ST",desc:"Accident Location",opt:1,rep:1,len:25},{datatype:"CE",desc:"Auto Accident State",opt:1,rep:1,len:60},{datatype:"ID",desc:"Accident Job Related Indicator",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Accident Death Indicator",opt:1,rep:1,len:12,table:136}]},ADD:{desc:"Addendum segment",fields:[{datatype:"ST",desc:"Addendum Continuation Pointer",opt:1,rep:1,len:65536}]},AIG:{desc:"Appointment information - general resource segment",fields:[{datatype:"SI",desc:"Set ID - AIG",opt:2,rep:1,len:4},{datatype:"ID",desc:"Segment Action Code",opt:1,rep:1,len:3,table:206},{datatype:"CE",desc:"Resource ID",opt:1,rep:1,len:200},{datatype:"CE",desc:"Resource Type",opt:2,rep:1,len:200},{datatype:"CE",desc:"Resource Group",opt:1,rep:0,len:200},{datatype:"NM",desc:"Resource Quantity",opt:1,rep:1,len:5},{datatype:"CE",desc:"Resource Quantity Units",opt:1,rep:1,len:200},{datatype:"TS",desc:"Start Date/Time",opt:1,rep:1,len:26},{datatype:"NM",desc:"Start Date/Time Offset",opt:1,rep:1,len:20},{datatype:"CE",desc:"Start Date/Time Offset Units",opt:1,rep:1,len:200},{datatype:"NM",desc:"Duration",opt:1,rep:1,len:20},{datatype:"CE",desc:"Duration Units",opt:1,rep:1,len:200},{datatype:"IS",desc:"Allow Substitution Code",opt:1,rep:1,len:10,table:279},{datatype:"CE",desc:"Filler Status Code",opt:1,rep:1,len:200}]},AIL:{desc:"Appointment information - location resource segment",fields:[{datatype:"SI",desc:"Set ID - AIL",opt:2,rep:1,len:4},{datatype:"ID",desc:"Segment Action Code",opt:1,rep:1,len:3,table:206},{datatype:"PL",desc:"Location Resource ID",opt:1,rep:1,len:80},{datatype:"CE",desc:"Location Type-AIL",opt:2,rep:1,len:200},{datatype:"CE",desc:"Location Group",opt:1,rep:1,len:200},{datatype:"TS",desc:"Start Date/Time",opt:1,rep:1,len:26},{datatype:"NM",desc:"Start Date/Time Offset",opt:1,rep:1,len:20},{datatype:"CE",desc:"Start Date/Time Offset Units",opt:1,rep:1,len:200},{datatype:"NM",desc:"Duration",opt:1,rep:1,len:20},{datatype:"CE",desc:"Duration Units",opt:1,rep:1,len:200},{datatype:"IS",desc:"Allow Substitution Code",opt:1,rep:1,len:10,table:279},{datatype:"CE",desc:"Filler Status Code",opt:1,rep:1,len:200}]},AIP:{desc:"Appointment information - personnel resource segment",fields:[{datatype:"SI",desc:"Set ID - AIP",opt:2,rep:1,len:4},{datatype:"ID",desc:"Segment Action Code",opt:1,rep:1,len:3,table:206},{datatype:"XCN",desc:"Personnel Resource ID",opt:1,rep:0,len:80},{datatype:"CE",desc:"Resource Role",opt:2,rep:1,len:200},{datatype:"CE",desc:"Resource Group",opt:1,rep:1,len:200},{datatype:"TS",desc:"Start Date/Time",opt:1,rep:1,len:26},{datatype:"NM",desc:"Start Date/Time Offset",opt:1,rep:1,len:20},{datatype:"CE",desc:"Start Date/Time Offset Units",opt:1,rep:1,len:200},{datatype:"NM",desc:"Duration",opt:1,rep:1,len:20},{datatype:"CE",desc:"Duration Units",opt:1,rep:1,len:200},{datatype:"IS",desc:"Allow Substitution Code",opt:1,rep:1,len:10,table:279},{datatype:"CE",desc:"Filler Status Code",opt:1,rep:1,len:200}]},AIS:{desc:"Appointment information - service segment",fields:[{datatype:"SI",desc:"Set ID - AIS",opt:2,rep:1,len:4},{datatype:"ID",desc:"Segment Action Code",opt:1,rep:1,len:3,table:206},{datatype:"CE",desc:"Universal Service ID",opt:2,rep:1,len:200},{datatype:"TS",desc:"Start Date/Time",opt:1,rep:1,len:26},{datatype:"NM",desc:"Start Date/Time Offset",opt:1,rep:1,len:20},{datatype:"CE",desc:"Start Date/Time Offset Units",opt:1,rep:1,len:200},{datatype:"NM",desc:"Duration",opt:1,rep:1,len:20},{datatype:"CE",desc:"Duration Units",opt:1,rep:1,len:200},{datatype:"IS",desc:"Allow Substitution Code",opt:1,rep:1,len:10,table:279},{datatype:"CE",desc:"Filler Status Code",opt:1,rep:1,len:200}]},AL1:{desc:"Patient allergy information segment",fields:[{datatype:"SI",desc:"Set ID - AL1",opt:2,rep:1,len:4},{datatype:"IS",desc:"Allergy Type",opt:1,rep:1,len:2,table:127},{datatype:"CE",desc:"Allergy Code/Mnemonic/Description",opt:2,rep:1,len:60},{datatype:"IS",desc:"Allergy Severity",opt:1,rep:1,len:2,table:128},{datatype:"ST",desc:"Allergy Reaction",opt:1,rep:0,len:15},{datatype:"DT",desc:"Identification Date",opt:1,rep:1,len:8}]},APR:{desc:"Appointment preferences segment",fields:[{datatype:"SCV",desc:"Time Selection Criteria",opt:1,rep:0,len:80},{datatype:"SCV",desc:"Resource Selection Criteria",opt:1,rep:0,len:80},{datatype:"SCV",desc:"Location Selection Criteria",opt:1,rep:0,len:80},{datatype:"NM",desc:"Slot Spacing Criteria",opt:1,rep:1,len:5},{datatype:"SCV",desc:"Filler Override Criteria",opt:1,rep:0,len:80}]},ARQ:{desc:"Appointment request segment",fields:[{datatype:"EI",desc:"Placer Appointment ID",opt:2,rep:1,len:75},{datatype:"EI",desc:"Filler Appointment ID",opt:1,rep:1,len:75},{datatype:"NM",desc:"Occurrence Number",opt:1,rep:1,len:5},{datatype:"EI",desc:"Placer Group Number",opt:1,rep:1,len:22},{datatype:"CE",desc:"Schedule ID",opt:1,rep:1,len:200},{datatype:"CE",desc:"Request Event Reason",opt:1,rep:1,len:200},{datatype:"CE",desc:"Appointment Reason",opt:1,rep:1,len:200},{datatype:"CE",desc:"Appointment Type",opt:1,rep:1,len:200},{datatype:"NM",desc:"Appointment Duration",opt:1,rep:1,len:20},{datatype:"CE",desc:"Appointment Duration Units",opt:1,rep:1,len:200},{datatype:"DR",desc:"Requested Start Date/Time Range",opt:1,rep:0,len:53},{datatype:"ST",desc:"Priority-ARQ",opt:1,rep:1,len:5},{datatype:"RI",desc:"Repeating Interval",opt:1,rep:1,len:100},{datatype:"ST",desc:"Repeating Interval Duration",opt:1,rep:1,len:5},{datatype:"XCN",desc:"Placer Contact Person",opt:2,rep:0,len:48},{datatype:"XTN",desc:"Placer Contact Phone Number",opt:1,rep:0,len:40},{datatype:"XAD",desc:"Placer Contact Address",opt:1,rep:0,len:106},{datatype:"PL",desc:"Placer Contact Location",opt:1,rep:1,len:80},{datatype:"XCN",desc:"Entered by Person",opt:2,rep:0,len:48},{datatype:"XTN",desc:"Entered by Phone Number",opt:1,rep:0,len:40},{datatype:"PL",desc:"Entered by Location",opt:1,rep:1,len:80},{datatype:"EI",desc:"Parent Placer Appointment ID",opt:1,rep:1,len:75},{datatype:"EI",desc:"Parent Filler Appointment ID",opt:1,rep:1,len:75}]},AUT:{desc:"Authorization Information",fields:[{datatype:"CE",desc:"Authorizing Payor, Plan ID",opt:1,rep:1,len:200},{datatype:"CE",desc:"Authorizing Payor, Company ID",opt:2,rep:1,len:200},{datatype:"ST",desc:"Authorizing Payor, Company Name",opt:1,rep:1,len:45},{datatype:"TS",desc:"Authorization Effective Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Authorization Expiration Date",opt:1,rep:1,len:26},{datatype:"EI",desc:"Authorization Identifier",opt:1,rep:1,len:30},{datatype:"CP",desc:"Reimbursement Limit",opt:1,rep:1,len:25},{datatype:"NM",desc:"Requested Number of Treatments",opt:1,rep:1,len:2},{datatype:"NM",desc:"Authorized Number of Treatments",opt:1,rep:1,len:2},{datatype:"TS",desc:"Process Date",opt:1,rep:1,len:26}]},BHS:{desc:"Batch header segment",fields:[{datatype:"ST",desc:"Batch Field Separator",opt:2,rep:1,len:1},{datatype:"ST",desc:"Batch Encoding Characters",opt:2,rep:1,len:4},{datatype:"ST",desc:"Batch Sending Application",opt:1,rep:1,len:15},{datatype:"ST",desc:"Batch Sending Facility",opt:1,rep:1,len:20},{datatype:"ST",desc:"Batch Receiving Application",opt:1,rep:1,len:15},{datatype:"ST",desc:"Batch Receiving Facility",opt:1,rep:1,len:20},{datatype:"TS",desc:"Batch Creation Date/Time",opt:1,rep:1,len:26},{datatype:"ST",desc:"Batch Security",opt:1,rep:1,len:40},{datatype:"ST",desc:"Batch Name/ID/Type",opt:1,rep:1,len:20},{datatype:"ST",desc:"Batch Comment",opt:1,rep:1,len:80},{datatype:"ST",desc:"Batch Control ID",opt:1,rep:1,len:20},{datatype:"ST",desc:"Reference Batch Control ID",opt:1,rep:1,len:20}]},BLG:{desc:"Billing segment",fields:[{datatype:"CCD",desc:"When to Charge",opt:1,rep:1,len:40},{datatype:"ID",desc:"Charge Type",opt:1,rep:1,len:50,table:122},{datatype:"CX",desc:"Account ID",opt:1,rep:1,len:100}]},BTS:{desc:"Batch trailer segment",fields:[{datatype:"ST",desc:"Batch Message Count",opt:1,rep:1,len:10},{datatype:"ST",desc:"Batch Comment",opt:1,rep:1,len:80},{datatype:"NM",desc:"Batch Totals",opt:1,rep:0,len:100}]},CDM:{desc:"Charge description master segment",fields:[{datatype:"CE",desc:"Primary Key Value - CDM",opt:2,rep:1,len:200},{datatype:"CE",desc:"Charge Code Alias",opt:1,rep:0,len:200},{datatype:"ST",desc:"Charge Description Short",opt:2,rep:1,len:20},{datatype:"ST",desc:"Charge Description Long",opt:1,rep:1,len:250},{datatype:"IS",desc:"Description Override Indicator",opt:1,rep:1,len:1,table:268},{datatype:"CE",desc:"Exploding Charges",opt:1,rep:0,len:60},{datatype:"CE",desc:"Procedure Code",opt:1,rep:0,len:80},{datatype:"ID",desc:"Active/Inactive Flag",opt:1,rep:1,len:1,table:183},{datatype:"CE",desc:"Inventory Number",opt:1,rep:0,len:60},{datatype:"NM",desc:"Resource Load",opt:1,rep:1,len:12},{datatype:"CK",desc:"Contract Number",opt:1,rep:0,len:200},{datatype:"XON",desc:"Contract Organization",opt:1,rep:0,len:200},{datatype:"ID",desc:"Room Fee Indicator",opt:1,rep:1,len:1,table:136}]},CM0:{desc:"Clinical study master segment",fields:[{datatype:"SI",desc:"Set ID - CM0",opt:1,rep:1,len:4},{datatype:"EI",desc:"Sponsor Study ID",opt:2,rep:1,len:60},{datatype:"EI",desc:"Alternate Study ID",opt:1,rep:3,len:60},{datatype:"ST",desc:"Title of Study",opt:2,rep:1,len:300},{datatype:"XCN",desc:"Chairman of Study",opt:1,rep:0,len:60},{datatype:"DT",desc:"Last IRB Approval Date",opt:1,rep:1,len:8},{datatype:"NM",desc:"Total Accrual to Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Last Accrual Date",opt:1,rep:1,len:8},{datatype:"XCN",desc:"Contact for Study",opt:1,rep:0,len:60},{datatype:"XTN",desc:"Contact's Tel. Number",opt:1,rep:1,len:40},{datatype:"XAD",desc:"Contact's Address",opt:1,rep:0,len:100}]},CM1:{desc:"Clinical study phase master segment",fields:[{datatype:"SI",desc:"Set ID - CM1",opt:2,rep:1,len:4},{datatype:"CE",desc:"Study Phase Identifier",opt:2,rep:1,len:60},{datatype:"ST",desc:"Description of Study Phase",opt:2,rep:1,len:300}]},CM2:{desc:"Clinical study schedule master segment",fields:[{datatype:"SI",desc:"Set ID - CM2",opt:1,rep:1,len:4},{datatype:"CE",desc:"Scheduled Time Point",opt:2,rep:1,len:60},{datatype:"ST",desc:"Description of Time Point",opt:1,rep:1,len:300},{datatype:"CE",desc:"Events Scheduled This Time Point",opt:2,rep:200,len:60}]},CSP:{desc:"Clinical study phase segment",fields:[{datatype:"CE",desc:"Study Phase Identifier",opt:2,rep:1,len:60},{datatype:"TS",desc:"Date/time Study Phase Began",opt:2,rep:1,len:26},{datatype:"TS",desc:"Date/time Study Phase Ended",opt:1,rep:1,len:26},{datatype:"CE",desc:"Study Phase Evaluability",opt:1,rep:1,len:60}]},CSR:{desc:"Clinical study registration segment",fields:[{datatype:"EI",desc:"Sponsor Study ID",opt:2,rep:1,len:60},{datatype:"EI",desc:"Alternate Study ID",opt:1,rep:1,len:60},{datatype:"CE",desc:"Institution Registering the Patient",opt:1,rep:1,len:60},{datatype:"CX",desc:"Sponsor Patient ID",opt:2,rep:1,len:30},{datatype:"CX",desc:"Alternate Patient ID - CSR",opt:1,rep:1,len:30},{datatype:"TS",desc:"Date/Time Of Patient Study Registration",opt:2,rep:1,len:26},{datatype:"XCN",desc:"Person Performing Study Registration",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Study Authorizing Provider",opt:2,rep:0,len:60},{datatype:"TS",desc:"Date/time Patient Study Consent Signed",opt:1,rep:1,len:26},{datatype:"CE",desc:"Patient Study Eligibility Status",opt:1,rep:1,len:60},{datatype:"TS",desc:"Study Randomization Date/time",opt:1,rep:3,len:26},{datatype:"CE",desc:"Randomized Study Arm",opt:1,rep:3,len:200},{datatype:"CE",desc:"Stratum for Study Randomization",opt:1,rep:3,len:200},{datatype:"CE",desc:"Patient Evaluability Status",opt:1,rep:1,len:60},{datatype:"TS",desc:"Date/time Ended Study",opt:1,rep:1,len:26},{datatype:"CE",desc:"Reason Ended Study",opt:1,rep:1,len:60}]},CSS:{desc:"Clinical study data schedule segment",fields:[{datatype:"CE",desc:"Study Scheduled Time Point",opt:2,rep:1,len:60},{datatype:"TS",desc:"Study Scheduled Patient Time Point",opt:1,rep:1,len:26},{datatype:"CE",desc:"Study Quality Control Codes",opt:1,rep:3,len:60}]},CTD:{desc:"Contact Data",fields:[{datatype:"CE",desc:"Contact Role",opt:1,rep:0,len:200},{datatype:"XPN",desc:"Contact Name",opt:1,rep:0,len:106},{datatype:"XAD",desc:"Contact Address",opt:1,rep:0,len:200},{datatype:"PL",desc:"Contact Location",opt:1,rep:1,len:60},{datatype:"XTN",desc:"Contact Communication Information",opt:1,rep:0,len:100},{datatype:"CE",desc:"Preferred Method Of Contact",opt:1,rep:1,len:200},{datatype:"PI",desc:"Contact Identifiers",opt:1,rep:0,len:100}]},CTI:{desc:"Clinical trial identification segment",fields:[{datatype:"EI",desc:"Sponsor Study ID",opt:2,rep:1,len:60},{datatype:"CE",desc:"Study Phase Identifier",opt:1,rep:1,len:60},{datatype:"CE",desc:"Study Scheduled Time Point",opt:1,rep:1,len:60}]},DB1:{desc:"Disability segment",fields:[{datatype:"SI",desc:"Set ID - DB1",opt:2,rep:1,len:4},{datatype:"IS",desc:"Disabled Person Code",opt:1,rep:1,len:2,table:334},{datatype:"CX",desc:"Disabled Person Identifier",opt:1,rep:0,len:32},{datatype:"ID",desc:"Disabled Indicator",opt:1,rep:1,len:1,table:136},{datatype:"DT",desc:"Disability Start Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Disability End Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Disability Return to Work Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Disability Unable to Work Date",opt:1,rep:1,len:8}]},DG1:{desc:"Diagnosis segment",fields:[{datatype:"SI",desc:"Set ID - DG1",opt:2,rep:1,len:4},{datatype:"ID",desc:"Diagnosis Coding Method",opt:1,rep:1,len:2,table:53},{datatype:"CE",desc:"Diagnosis Code - DG1",opt:1,rep:1,len:60},{datatype:"ST",desc:"Diagnosis Description",opt:1,rep:1,len:40},{datatype:"TS",desc:"Diagnosis Date/Time",opt:1,rep:1,len:26},{datatype:"IS",desc:"Diagnosis Type",opt:2,rep:1,len:2,table:52},{datatype:"CE",desc:"Major Diagnostic Category",opt:1,rep:1,len:60},{datatype:"CE",desc:"Diagnostic Related Group",opt:1,rep:1,len:60},{datatype:"ID",desc:"DRG Approval Indicator",opt:1,rep:1,len:1,table:136},{datatype:"IS",desc:"DRG Grouper Review Code",opt:1,rep:1,len:2,table:56},{datatype:"CE",desc:"Outlier Type",opt:1,rep:1,len:60},{datatype:"NM",desc:"Outlier Days",opt:1,rep:1,len:3},{datatype:"CP",desc:"Outlier Cost",opt:1,rep:1,len:12},{datatype:"ST",desc:"Grouper Version And Type",opt:1,rep:1,len:4},{datatype:"ID",desc:"Diagnosis Priority",opt:1,rep:1,len:2,table:359},{datatype:"XCN",desc:"Diagnosing Clinician",opt:1,rep:0,len:60},{datatype:"IS",desc:"Diagnosis Classification",opt:1,rep:1,len:3,table:228},{datatype:"ID",desc:"Confidential Indicator",opt:1,rep:1,len:1,table:136},{datatype:"TS",desc:"Attestation Date/Time",opt:1,rep:1,len:26}]},DRG:{desc:"Diagnosis related group segment",fields:[{datatype:"CE",desc:"Diagnostic Related Group",opt:1,rep:1,len:60},{datatype:"TS",desc:"DRG Assigned Date/Time",opt:1,rep:1,len:26},{datatype:"ID",desc:"DRG Approval Indicator",opt:1,rep:1,len:1,table:136},{datatype:"IS",desc:"DRG Grouper Review Code",opt:1,rep:1,len:2,table:56},{datatype:"CE",desc:"Outlier Type",opt:1,rep:1,len:60},{datatype:"NM",desc:"Outlier Days",opt:1,rep:1,len:3},{datatype:"CP",desc:"Outlier Cost",opt:1,rep:1,len:12},{datatype:"IS",desc:"DRG Payor",opt:1,rep:1,len:1,table:229},{datatype:"CP",desc:"Outlier Reimbursement",opt:1,rep:1,len:9},{datatype:"ID",desc:"Confidential Indicator",opt:1,rep:1,len:1,table:136}]},DSC:{desc:"Continuation pointer segment",fields:[{datatype:"ST",desc:"Continuation Pointer",opt:1,rep:1,len:180}]},DSP:{desc:"Display data segment",fields:[{datatype:"SI",desc:"Set ID - DSP",opt:1,rep:1,len:4},{datatype:"SI",desc:"Display Level",opt:1,rep:1,len:4},{datatype:"TX",desc:"Data Line",opt:2,rep:1,len:300},{datatype:"ST",desc:"Logical Break Point",opt:1,rep:1,len:2},{datatype:"TX",desc:"Result ID",opt:1,rep:1,len:20}]},EQL:{desc:"Embedded query language segment",fields:[{datatype:"ST",desc:"Query Tag",opt:1,rep:1,len:32},{datatype:"ID",desc:"Query/ Response Format Code",opt:2,rep:1,len:1,table:106},{datatype:"CE",desc:"EQL  Query Name",opt:2,rep:1,len:60},{datatype:"ST",desc:"EQL  Query Statement",opt:2,rep:1,len:4096}]},ERQ:{desc:"Event replay query segment",fields:[{datatype:"ST",desc:"Query Tag",opt:1,rep:1,len:32},{datatype:"CE",desc:"Event Identifier",opt:2,rep:1,len:60},{datatype:"QIP",desc:"Input Parameter List",opt:1,rep:0,len:256}]},ERR:{desc:"Error segment",fields:[{datatype:"ELD",desc:"Error Code and Location",opt:2,rep:0,len:80}]},EVN:{desc:"Event type segment",fields:[{datatype:"ID",desc:"Event Type Code",opt:1,rep:1,len:3,table:3},{datatype:"TS",desc:"Recorded Date/Time",opt:2,rep:1,len:26},{datatype:"TS",desc:"Date/Time Planned Event",opt:1,rep:1,len:26},{datatype:"IS",desc:"Event Reason Code",opt:1,rep:1,len:3,table:62},{datatype:"XCN",desc:"Operator ID",opt:1,rep:0,len:60},{datatype:"TS",desc:"Event Occurred",opt:1,rep:1,len:26}]},FAC:{desc:"Facility segment",fields:[{datatype:"EI",desc:"Facility ID-FAC",opt:2,rep:1,len:20},{datatype:"ID",desc:"Facility Type",opt:1,rep:1,len:1,table:331},{datatype:"XAD",desc:"Facility Address",opt:2,rep:0,len:200},{datatype:"XTN",desc:"Facility Telecommunication",opt:2,rep:1,len:44},{datatype:"XCN",desc:"Contact Person",opt:1,rep:0,len:60},{datatype:"ST",desc:"Contact Title",opt:1,rep:0,len:60},{datatype:"XAD",desc:"Contact Address",opt:1,rep:0,len:200},{datatype:"XTN",desc:"Contact Telecommunication",opt:1,rep:0,len:44},{datatype:"XCN",desc:"Signature Authority",opt:2,rep:0,len:60},{datatype:"ST",desc:"Signature Authority Title",opt:1,rep:1,len:60},{datatype:"XAD",desc:"Signature Authority Address",opt:1,rep:0,len:200},{datatype:"XTN",desc:"Signature Authority Telecommunication",opt:1,rep:1,len:44}]},FHS:{desc:"File header segment",fields:[{datatype:"ST",desc:"File Field Separator",opt:2,rep:1,len:1},{datatype:"ST",desc:"File Encoding Characters",opt:2,rep:1,len:4},{datatype:"ST",desc:"File Sending Application",opt:1,rep:1,len:15},{datatype:"ST",desc:"File Sending Facility",opt:1,rep:1,len:20},{datatype:"ST",desc:"File Receiving Application",opt:1,rep:1,len:15},{datatype:"ST",desc:"File Receiving Facility",opt:1,rep:1,len:20},{datatype:"TS",desc:"File Creation Date/Time",opt:1,rep:1,len:26},{datatype:"ST",desc:"File Security",opt:1,rep:1,len:40},{datatype:"ST",desc:"File Name/ID",opt:1,rep:1,len:20},{datatype:"ST",desc:"File Header Comment",opt:1,rep:1,len:80},{datatype:"ST",desc:"File Control ID",opt:1,rep:1,len:20},{datatype:"ST",desc:"Reference File Control ID",opt:1,rep:1,len:20}]},FT1:{desc:"Financial transaction segment",fields:[{datatype:"SI",desc:"Set ID - FT1",opt:1,rep:1,len:4},{datatype:"ST",desc:"Transaction ID",opt:1,rep:1,len:12},{datatype:"ST",desc:"Transaction Batch ID",opt:1,rep:1,len:10},{datatype:"TS",desc:"Transaction Date",opt:2,rep:1,len:26},{datatype:"TS",desc:"Transaction Posting Date",opt:1,rep:1,len:26},{datatype:"IS",desc:"Transaction Type",opt:2,rep:1,len:8,table:17},{datatype:"CE",desc:"Transaction Code",opt:2,rep:1,len:80},{datatype:"ST",desc:"Transaction Description",opt:1,rep:1,len:40},{datatype:"ST",desc:"Transaction Description - Alt",opt:1,rep:1,len:40},{datatype:"NM",desc:"Transaction Quantity",opt:1,rep:1,len:6},{datatype:"CP",desc:"Transaction Amount - Extended",opt:1,rep:1,len:12},{datatype:"CP",desc:"Transaction Amount - Unit",opt:1,rep:1,len:12},{datatype:"CE",desc:"Department Code",opt:1,rep:1,len:60},{datatype:"CE",desc:"Insurance Plan ID",opt:1,rep:1,len:60},{datatype:"CP",desc:"Insurance Amount",opt:1,rep:1,len:12},{datatype:"PL",desc:"Assigned Patient Location",opt:1,rep:1,len:80},{datatype:"IS",desc:"Fee Schedule",opt:1,rep:1,len:1,table:24},{datatype:"IS",desc:"Patient Type",opt:1,rep:1,len:2,table:18},{datatype:"CE",desc:"Diagnosis Code - FT1",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Performed By Code",opt:1,rep:0,len:120},{datatype:"XCN",desc:"Ordered By Code",opt:1,rep:0,len:120},{datatype:"CP",desc:"Unit Cost",opt:1,rep:1,len:12},{datatype:"EI",desc:"Filler Order Number",opt:1,rep:1,len:22},{datatype:"XCN",desc:"Entered By Code",opt:1,rep:0,len:120},{datatype:"CE",desc:"Procedure Code",opt:1,rep:1,len:80},{datatype:"CE",desc:"Procedure Code Modifier",opt:1,rep:0,len:80}]},FTS:{desc:"File trailer segment",fields:[{datatype:"NM",desc:"File Batch Count",opt:1,rep:1,len:10},{datatype:"ST",desc:"File Trailer Comment",opt:1,rep:1,len:80}]},GOL:{desc:"Goal Detail",fields:[{datatype:"ID",desc:"Action Code",opt:2,rep:1,len:2,table:287},{datatype:"TS",desc:"Action Date/Time",opt:2,rep:1,len:26},{datatype:"CE",desc:"Goal ID",opt:2,rep:1,len:80},{datatype:"EI",desc:"Goal Instance ID",opt:2,rep:1,len:60},{datatype:"EI",desc:"Episode of Care ID",opt:1,rep:1,len:60},{datatype:"NM",desc:"Goal List Priority",opt:1,rep:1,len:60},{datatype:"TS",desc:"Goal Established Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Expected Goal Achieve Date/Time",opt:1,rep:1,len:26},{datatype:"CE",desc:"Goal Classification",opt:1,rep:1,len:80},{datatype:"CE",desc:"Goal Management Discipline",opt:1,rep:1,len:80},{datatype:"CE",desc:"Current Goal Review Status",opt:1,rep:1,len:80},{datatype:"TS",desc:"Current Goal Review Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Next Goal Review Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Previous Goal Review Date/Time",opt:1,rep:1,len:26},{datatype:"TQ",desc:"Goal Review Interval",opt:1,rep:1,len:200},{datatype:"CE",desc:"Goal Evaluation",opt:1,rep:1,len:80},{datatype:"ST",desc:"Goal Evaluation Comment",opt:1,rep:0,len:300},{datatype:"CE",desc:"Goal Life Cycle Status",opt:1,rep:1,len:80},{datatype:"TS",desc:"Goal Life Cycle Status Date/Time",opt:1,rep:1,len:26},{datatype:"CE",desc:"Goal Target Type",opt:1,rep:0,len:80},{datatype:"XPN",desc:"Goal Target Name",opt:1,rep:0,len:80}]},GT1:{desc:"Guarantor segment",fields:[{datatype:"SI",desc:"Set ID - GT1",opt:2,rep:1,len:4},{datatype:"CX",desc:"Guarantor Number",opt:1,rep:0,len:59},{datatype:"XPN",desc:"Guarantor Name",opt:2,rep:0,len:48},{datatype:"XPN",desc:"Guarantor Spouse Name",opt:1,rep:0,len:48},{datatype:"XAD",desc:"Guarantor Address",opt:1,rep:0,len:106},{datatype:"XTN",desc:"Guarantor Ph Num-Home",opt:1,rep:0,len:40},{datatype:"XTN",desc:"Guarantor Ph Num-Business",opt:1,rep:0,len:40},{datatype:"TS",desc:"Guarantor Date/Time Of Birth",opt:1,rep:1,len:26},{datatype:"IS",desc:"Guarantor Sex",opt:1,rep:1,len:1,table:1},{datatype:"IS",desc:"Guarantor Type",opt:1,rep:1,len:2,table:68},{datatype:"CE",desc:"Guarantor Relationship",opt:1,rep:1,len:80},{datatype:"ST",desc:"Guarantor SSN",opt:1,rep:1,len:11},{datatype:"DT",desc:"Guarantor Date - Begin",opt:1,rep:1,len:8},{datatype:"DT",desc:"Guarantor Date - End",
  opt:1,rep:1,len:8},{datatype:"NM",desc:"Guarantor Priority",opt:1,rep:1,len:2},{datatype:"XPN",desc:"Guarantor Employer Name",opt:1,rep:0,len:130},{datatype:"XAD",desc:"Guarantor Employer Address",opt:1,rep:0,len:106},{datatype:"XTN",desc:"Guarantor Employer Phone Number",opt:1,rep:0,len:40},{datatype:"CX",desc:"Guarantor Employee ID Number",opt:1,rep:0,len:20},{datatype:"IS",desc:"Guarantor Employment Status",opt:1,rep:1,len:2,table:66},{datatype:"XON",desc:"Guarantor Organization Name",opt:1,rep:0,len:130},{datatype:"ID",desc:"Guarantor Billing Hold Flag",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Guarantor Credit Rating Code",opt:1,rep:1,len:80},{datatype:"TS",desc:"Guarantor Death Date And Time",opt:1,rep:1,len:26},{datatype:"ID",desc:"Guarantor Death Flag",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Guarantor Charge Adjustment Code",opt:1,rep:1,len:80},{datatype:"CP",desc:"Guarantor Household Annual Income",opt:1,rep:1,len:10},{datatype:"NM",desc:"Guarantor Household Size",opt:1,rep:1,len:3},{datatype:"CX",desc:"Guarantor Employer ID Number",opt:1,rep:0,len:20},{datatype:"CE",desc:"Guarantor Marital Status Code",opt:1,rep:1,len:80},{datatype:"DT",desc:"Guarantor Hire Effective Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Employment Stop Date",opt:1,rep:1,len:8},{datatype:"IS",desc:"Living Dependency",opt:1,rep:1,len:2,table:223},{datatype:"IS",desc:"Ambulatory Status",opt:1,rep:0,len:2,table:9},{datatype:"CE",desc:"Citizenship",opt:1,rep:0,len:80},{datatype:"CE",desc:"Primary Language",opt:1,rep:1,len:60},{datatype:"IS",desc:"Living Arrangement",opt:1,rep:1,len:2,table:220},{datatype:"CE",desc:"Publicity Code",opt:1,rep:1,len:80},{datatype:"ID",desc:"Protection Indicator",opt:1,rep:1,len:1,table:136},{datatype:"IS",desc:"Student Indicator",opt:1,rep:1,len:2,table:231},{datatype:"CE",desc:"Religion",opt:1,rep:1,len:80},{datatype:"XPN",desc:"Mother s Maiden Name",opt:1,rep:0,len:48},{datatype:"CE",desc:"Nationality",opt:1,rep:1,len:80},{datatype:"CE",desc:"Ethnic Group",opt:1,rep:0,len:80},{datatype:"XPN",desc:"Contact Person s Name",opt:1,rep:0,len:48},{datatype:"XTN",desc:"Contact Person s Telephone Number",opt:1,rep:0,len:40},{datatype:"CE",desc:"Contact Reason",opt:1,rep:1,len:80},{datatype:"IS",desc:"Contact Relationship",opt:1,rep:1,len:2,table:63},{datatype:"ST",desc:"Job Title",opt:1,rep:1,len:20},{datatype:"JCC",desc:"Job Code/Class",opt:1,rep:1,len:20},{datatype:"XON",desc:"Guarantor Employer s Organization Name",opt:1,rep:0,len:130},{datatype:"IS",desc:"Handicap",opt:1,rep:1,len:2,table:295},{datatype:"IS",desc:"Job Status",opt:1,rep:1,len:2,table:311},{datatype:"FC",desc:"Guarantor Financial Class",opt:1,rep:1,len:50},{datatype:"CE",desc:"Guarantor Race",opt:1,rep:0,len:80}]},IAM:{desc:"Patient adverse reaction information - unique iden",fields:[{datatype:"SI",desc:"Set ID - IAM",opt:2,rep:1,len:4},{datatype:"CE",desc:"Allergen Type Code",opt:1,rep:1,len:250},{datatype:"CE",desc:"Allergen Code/Mnemonic/Description",opt:2,rep:1,len:250},{datatype:"CE",desc:"Allergy Severity Code",opt:1,rep:1,len:250},{datatype:"ST",desc:"Allergy Reaction Code",opt:1,rep:0,len:15},{datatype:"CNE",desc:"Allergy Action Code",opt:2,rep:1,len:250},{datatype:"EI",desc:"Allergy Unique Identifier",opt:2,rep:1,len:80},{datatype:"ST",desc:"Action Reason",opt:1,rep:1,len:60},{datatype:"CE",desc:"Sensitivity to Causative Agent Code",opt:1,rep:1,len:250},{datatype:"CE",desc:"Allergen Group Code/Mnemonic/Description",opt:1,rep:1,len:250},{datatype:"DT",desc:"Onset Date",opt:1,rep:1,len:8},{datatype:"ST",desc:"Onset Date Text",opt:1,rep:1,len:60},{datatype:"TS",desc:"Reported Date/Time",opt:1,rep:1,len:8},{datatype:"XPN",desc:"Reported By",opt:1,rep:1,len:250},{datatype:"CE",desc:"Relationship to Patient Code",opt:1,rep:1,len:250},{datatype:"CE",desc:"Alert Device Code",opt:1,rep:1,len:250},{datatype:"CE",desc:"Allergy Clinical Status Code",opt:1,rep:1,len:250},{datatype:"XCN",desc:"Statused by Person",opt:1,rep:1,len:250},{datatype:"XON",desc:"Statused by Organization",opt:1,rep:1,len:250},{datatype:"TS",desc:"Statused at Date/Time",opt:1,rep:1,len:8}]},IN1:{desc:"Insurance segment",fields:[{datatype:"SI",desc:"Set ID - IN1",opt:2,rep:1,len:4},{datatype:"CE",desc:"Insurance Plan ID",opt:2,rep:1,len:60},{datatype:"CX",desc:"Insurance Company ID",opt:2,rep:0,len:59},{datatype:"XON",desc:"Insurance Company Name",opt:1,rep:0,len:130},{datatype:"XAD",desc:"Insurance Company Address",opt:1,rep:0,len:106},{datatype:"XPN",desc:"Insurance Co Contact Person",opt:1,rep:0,len:48},{datatype:"XTN",desc:"Insurance Co Phone Number",opt:1,rep:0,len:40},{datatype:"ST",desc:"Group Number",opt:1,rep:1,len:12},{datatype:"XON",desc:"Group Name",opt:1,rep:0,len:130},{datatype:"CX",desc:"Insured s Group Emp ID",opt:1,rep:0,len:12},{datatype:"XON",desc:"Insured s Group Emp Name",opt:1,rep:0,len:130},{datatype:"DT",desc:"Plan Effective Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Plan Expiration Date",opt:1,rep:1,len:8},{datatype:"AUI",desc:"Authorization Information",opt:1,rep:1,len:55},{datatype:"IS",desc:"Plan Type",opt:1,rep:1,len:3,table:86},{datatype:"XPN",desc:"Name Of Insured",opt:1,rep:0,len:48},{datatype:"CE",desc:"Insured s Relationship To Patient",opt:1,rep:1,len:80},{datatype:"TS",desc:"Insured s Date Of Birth",opt:1,rep:1,len:26},{datatype:"XAD",desc:"Insured s Address",opt:1,rep:0,len:106},{datatype:"IS",desc:"Assignment Of Benefits",opt:1,rep:1,len:2,table:135},{datatype:"IS",desc:"Coordination Of Benefits",opt:1,rep:1,len:2,table:173},{datatype:"ST",desc:"Coord Of Ben. Priority",opt:1,rep:1,len:2},{datatype:"ID",desc:"Notice Of Admission Flag",opt:1,rep:1,len:1,table:136},{datatype:"DT",desc:"Notice Of Admission Date",opt:1,rep:1,len:8},{datatype:"ID",desc:"Report Of Eligibility Flag",opt:1,rep:1,len:1,table:136},{datatype:"DT",desc:"Report Of Eligibility Date",opt:1,rep:1,len:8},{datatype:"IS",desc:"Release Information Code",opt:1,rep:1,len:2,table:93},{datatype:"ST",desc:"Pre-Admit Cert",opt:1,rep:1,len:15},{datatype:"TS",desc:"Verification Date/Time",opt:1,rep:1,len:26},{datatype:"XCN",desc:"Verification By",opt:1,rep:0,len:60},{datatype:"IS",desc:"Type Of Agreement Code",opt:1,rep:1,len:2,table:98},{datatype:"IS",desc:"Billing Status",opt:1,rep:1,len:2,table:22},{datatype:"NM",desc:"Lifetime Reserve Days",opt:1,rep:1,len:4},{datatype:"NM",desc:"Delay Before L.R. Day",opt:1,rep:1,len:4},{datatype:"IS",desc:"Company Plan Code",opt:1,rep:1,len:8,table:42},{datatype:"ST",desc:"Policy Number",opt:1,rep:1,len:15},{datatype:"CP",desc:"Policy Deductible",opt:1,rep:1,len:12},{datatype:"CP",desc:"Policy Limit - Amount",opt:1,rep:1,len:12},{datatype:"NM",desc:"Policy Limit - Days",opt:1,rep:1,len:4},{datatype:"CP",desc:"Room Rate - Semi-Private",opt:1,rep:1,len:12},{datatype:"CP",desc:"Room Rate - Private",opt:1,rep:1,len:12},{datatype:"CE",desc:"Insured s Employment Status",opt:1,rep:1,len:60},{datatype:"IS",desc:"Insured s Sex",opt:1,rep:1,len:1,table:1},{datatype:"XAD",desc:"Insured s Employer s Address",opt:1,rep:0,len:106},{datatype:"ST",desc:"Verification Status",opt:1,rep:1,len:2},{datatype:"IS",desc:"Prior Insurance Plan ID",opt:1,rep:1,len:8,table:72},{datatype:"IS",desc:"Coverage Type",opt:1,rep:1,len:3,table:309},{datatype:"IS",desc:"Handicap",opt:1,rep:1,len:2,table:295},{datatype:"CX",desc:"Insured s ID Number",opt:1,rep:0,len:12}]},IN2:{desc:"Insurance additional information segment",fields:[{datatype:"CX",desc:"Insured s Employee ID",opt:1,rep:0,len:59},{datatype:"ST",desc:"Insured s Social Security Number",opt:1,rep:1,len:11},{datatype:"XCN",desc:"Insured s Employer s Name and ID",opt:1,rep:0,len:130},{datatype:"IS",desc:"Employer Information Data",opt:1,rep:1,len:1,table:139},{datatype:"IS",desc:"Mail Claim Party",opt:1,rep:0,len:1,table:137},{datatype:"ST",desc:"Medicare Health Ins Card Number",opt:1,rep:1,len:15},{datatype:"XPN",desc:"Medicaid Case Name",opt:1,rep:0,len:48},{datatype:"ST",desc:"Medicaid Case Number",opt:1,rep:1,len:15},{datatype:"XPN",desc:"Military Sponsor Name",opt:1,rep:0,len:48},{datatype:"ST",desc:"Military ID Number",opt:1,rep:1,len:20},{datatype:"CE",desc:"Dependent Of Military Recipient",opt:1,rep:1,len:80},{datatype:"ST",desc:"Military Organization",opt:1,rep:1,len:25},{datatype:"ST",desc:"Military Station",opt:1,rep:1,len:25},{datatype:"IS",desc:"Military Service",opt:1,rep:1,len:14,table:140},{datatype:"IS",desc:"Military Rank/Grade",opt:1,rep:1,len:2,table:141},{datatype:"IS",desc:"Military Status",opt:1,rep:1,len:3,table:142},{datatype:"DT",desc:"Military Retire Date",opt:1,rep:1,len:8},{datatype:"ID",desc:"Military Non-Avail Cert On File",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Baby Coverage",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Combine Baby Bill",opt:1,rep:1,len:1,table:136},{datatype:"ST",desc:"Blood Deductible",opt:1,rep:1,len:1},{datatype:"XPN",desc:"Special Coverage Approval Name",opt:1,rep:0,len:48},{datatype:"ST",desc:"Special Coverage Approval Title",opt:1,rep:1,len:30},{datatype:"IS",desc:"Non-Covered Insurance Code",opt:1,rep:0,len:8,table:143},{datatype:"CX",desc:"Payor ID",opt:1,rep:0,len:59},{datatype:"CX",desc:"Payor Subscriber ID",opt:1,rep:0,len:59},{datatype:"IS",desc:"Eligibility Source",opt:1,rep:1,len:1,table:144},{datatype:"RMC",desc:"Room Coverage Type/Amount",opt:1,rep:0,len:25},{datatype:"PTA",desc:"Policy Type/Amount",opt:1,rep:0,len:25},{datatype:"DDI",desc:"Daily Deductible",opt:1,rep:1,len:25},{datatype:"IS",desc:"Living Dependency",opt:1,rep:1,len:2,table:223},{datatype:"IS",desc:"Ambulatory Status",opt:1,rep:0,len:2,table:9},{datatype:"CE",desc:"Citizenship",opt:1,rep:0,len:80},{datatype:"CE",desc:"Primary Language",opt:1,rep:1,len:60},{datatype:"IS",desc:"Living Arrangement",opt:1,rep:1,len:2,table:220},{datatype:"CE",desc:"Publicity Code",opt:1,rep:1,len:80},{datatype:"ID",desc:"Protection Indicator",opt:1,rep:1,len:1,table:136},{datatype:"IS",desc:"Student Indicator",opt:1,rep:1,len:2,table:231},{datatype:"CE",desc:"Religion",opt:1,rep:1,len:80},{datatype:"XPN",desc:"Mother s Maiden Name",opt:1,rep:0,len:48},{datatype:"CE",desc:"Nationality",opt:1,rep:1,len:80},{datatype:"CE",desc:"Ethnic Group",opt:1,rep:0,len:80},{datatype:"CE",desc:"Marital Status",opt:1,rep:0,len:80},{datatype:"DT",desc:"Insured s Employment Start Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Employment Stop Date",opt:1,rep:1,len:8},{datatype:"ST",desc:"Job Title",opt:1,rep:1,len:20},{datatype:"JCC",desc:"Job Code/Class",opt:1,rep:1,len:20},{datatype:"IS",desc:"Job Status",opt:1,rep:1,len:2,table:311},{datatype:"XPN",desc:"Employer Contact Person Name",opt:1,rep:0,len:48},{datatype:"XTN",desc:"Employer Contact Person Phone Number",opt:1,rep:0,len:40},{datatype:"IS",desc:"Employer Contact Reason",opt:1,rep:1,len:2,table:222},{datatype:"XPN",desc:"Insured s Contact Person s Name",opt:1,rep:0,len:48},{datatype:"XTN",desc:"Insured s Contact Person Phone Number",opt:1,rep:0,len:40},{datatype:"IS",desc:"Insured s Contact Person Reason",opt:1,rep:0,len:2,table:222},{datatype:"DT",desc:"Relationship To The Patient Start Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Relationship To The Patient Stop Date",opt:1,rep:0,len:8},{datatype:"IS",desc:"Insurance Co. Contact Reason",opt:1,rep:1,len:2,table:232},{datatype:"XTN",desc:"Insurance Co Contact Phone Number",opt:1,rep:1,len:40},{datatype:"IS",desc:"Policy Scope",opt:1,rep:1,len:2,table:312},{datatype:"IS",desc:"Policy Source",opt:1,rep:1,len:2,table:313},{datatype:"CX",desc:"Patient Member Number",opt:1,rep:1,len:60},{datatype:"CE",desc:"Guarantor s Relationship To Insured",opt:1,rep:1,len:80},{datatype:"XTN",desc:"Insured s Phone Number - Home",opt:1,rep:0,len:40},{datatype:"XTN",desc:"Insured s Employer Phone Number",opt:1,rep:0,len:40},{datatype:"CE",desc:"Military Handicapped Program",opt:1,rep:1,len:60},{datatype:"ID",desc:"Suspend Flag",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Copay Limit Flag",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Stoploss Limit Flag",opt:1,rep:1,len:1,table:136},{datatype:"XON",desc:"Insured Organization Name And ID",opt:1,rep:0,len:130},{datatype:"XON",desc:"Insured Employer Organization Name And ID",opt:1,rep:0,len:130},{datatype:"CE",desc:"Race",opt:1,rep:0,len:80},{datatype:"CE",desc:"HCFA Patient s Relationship to Insured",opt:1,rep:1,len:60}]},IN3:{desc:"Insurance additional information, certification segment",fields:[{datatype:"SI",desc:"Set ID - IN3",opt:2,rep:1,len:4},{datatype:"CX",desc:"Certification Number",opt:1,rep:1,len:59},{datatype:"XCN",desc:"Certified By",opt:1,rep:0,len:60},{datatype:"ID",desc:"Certification Required",opt:1,rep:1,len:1,table:136},{datatype:"MOP",desc:"Penalty",opt:1,rep:1,len:10},{datatype:"TS",desc:"Certification Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Certification Modify Date/Time",opt:1,rep:1,len:26},{datatype:"XCN",desc:"Operator",opt:1,rep:0,len:60},{datatype:"DT",desc:"Certification Begin Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Certification End Date",opt:1,rep:1,len:8},{datatype:"DTN",desc:"Days",opt:1,rep:1,len:3},{datatype:"CE",desc:"Non-Concur Code/Description",opt:1,rep:1,len:60},{datatype:"TS",desc:"Non-Concur Effective Date/Time",opt:1,rep:1,len:26},{datatype:"XCN",desc:"Physician Reviewer",opt:1,rep:0,len:60},{datatype:"ST",desc:"Certification Contact",opt:1,rep:1,len:48},{datatype:"XTN",desc:"Certification Contact Phone Number",opt:1,rep:0,len:40},{datatype:"CE",desc:"Appeal Reason",opt:1,rep:1,len:60},{datatype:"CE",desc:"Certification Agency",opt:1,rep:1,len:60},{datatype:"XTN",desc:"Certification Agency Phone Number",opt:1,rep:0,len:40},{datatype:"PCF",desc:"Pre-Certification Req/Window",opt:1,rep:0,len:40},{datatype:"ST",desc:"Case Manager",opt:1,rep:1,len:48},{datatype:"DT",desc:"Second Opinion Date",opt:1,rep:1,len:8},{datatype:"IS",desc:"Second Opinion Status",opt:1,rep:1,len:1,table:151},{datatype:"IS",desc:"Second Opinion Documentation Received",opt:1,rep:0,len:1,table:152},{datatype:"XCN",desc:"Second Opinion Physician",opt:1,rep:0,len:60}]},LCC:{desc:"Location charge code segment",fields:[{datatype:"PL",desc:"Primary Key Value - LCC",opt:2,rep:1,len:200},{datatype:"IS",desc:"Location Department",opt:2,rep:1,len:10,table:264},{datatype:"CE",desc:"Accommodation Type",opt:1,rep:0,len:60},{datatype:"CE",desc:"Charge Code",opt:2,rep:0,len:60}]},LCH:{desc:"Location characteristic segment",fields:[{datatype:"PL",desc:"Primary Key Value - LCH",opt:2,rep:1,len:200},{datatype:"ID",desc:"Segment Action Code",opt:1,rep:1,len:3,table:206},{datatype:"EI",desc:"Segment Unique Key",opt:1,rep:1,len:80},{datatype:"CE",desc:"Location Characteristic ID",opt:2,rep:1,len:80},{datatype:"CE",desc:"Location Characteristic Value",opt:1,rep:1,len:80}]},LDP:{desc:"Location department segment",fields:[{datatype:"PL",desc:"Primary Key Value - LDP",opt:2,rep:1,len:200},{datatype:"IS",desc:"Location Department",opt:2,rep:1,len:10,table:264},{datatype:"IS",desc:"Location Service",opt:1,rep:0,len:3,table:69},{datatype:"CE",desc:"Specialty Type",opt:1,rep:0,len:60},{datatype:"IS",desc:"Valid Patient Classes",opt:1,rep:0,len:1,table:4},{datatype:"ID",desc:"Active/Inactive Flag",opt:1,rep:1,len:1,table:183},{datatype:"TS",desc:"Activation Date  LDP",opt:1,rep:1,len:26},{datatype:"TS",desc:"Inactivation Date - LDP",opt:1,rep:1,len:26},{datatype:"ST",desc:"Inactivated Reason",opt:1,rep:1,len:80},{datatype:"VH",desc:"Visiting Hours",opt:1,rep:0,len:80},{datatype:"XTN",desc:"Contact Phone",opt:1,rep:1,len:40}]},LOC:{desc:"Location identification segment",fields:[{datatype:"PL",desc:"Primary Key Value - LOC",opt:2,rep:1,len:200},{datatype:"ST",desc:"Location Description",opt:1,rep:1,len:48},{datatype:"IS",desc:"Location Type - LOC",opt:2,rep:0,len:2,table:260},{datatype:"XON",desc:"Organization Name - LOC",opt:1,rep:0,len:90},{datatype:"XAD",desc:"Location Address",opt:1,rep:0,len:106},{datatype:"XTN",desc:"Location Phone",opt:1,rep:0,len:40},{datatype:"CE",desc:"License Number",opt:1,rep:0,len:60},{datatype:"IS",desc:"Location Equipment",opt:1,rep:0,len:3,table:261}]},LRL:{desc:"Location relationship segment",fields:[{datatype:"PL",desc:"Primary Key Value - LRL",opt:2,rep:1,len:200},{datatype:"ID",desc:"Segment Action Code",opt:1,rep:1,len:3,table:206},{datatype:"EI",desc:"Segment Unique Key",opt:1,rep:1,len:80},{datatype:"CE",desc:"Location Relationship ID",opt:1,rep:1,len:80},{datatype:"XON",desc:"Organizational Location Relationship Value",opt:1,rep:0,len:80},{datatype:"PL",desc:"Patient Location Relationship Value",opt:1,rep:1,len:80}]},MFA:{desc:"Master file acknowledgment segment",fields:[{datatype:"ID",desc:"Record-Level Event Code",opt:2,rep:1,len:3,table:180},{datatype:"ST",desc:"MFN Control ID",opt:1,rep:1,len:20},{datatype:"TS",desc:"Event Completion Date/Time",opt:1,rep:1,len:26},{datatype:"CE",desc:"MFN Record Level Error Return",opt:2,rep:1,len:60},{datatype:"CE",desc:"Primary Key Value   MFA",opt:2,rep:0,len:60},{datatype:"ID",desc:"Primary Key Value Type - MFA",opt:2,rep:0,len:3,table:355}]},MFE:{desc:"Master file entry segment",fields:[{datatype:"ID",desc:"Record-Level Event Code",opt:2,rep:1,len:3,table:180},{datatype:"ST",desc:"MFN Control ID",opt:1,rep:1,len:20},{datatype:"TS",desc:"Effective Date/Time",opt:1,rep:1,len:26},{datatype:"VARIES",desc:"Primary Key Value - MFE",opt:2,rep:0,len:200},{datatype:"ID",desc:"Primary Key Value Type",opt:2,rep:0,len:3,table:355}]},MFI:{desc:"Master file identification segment",fields:[{datatype:"CE",desc:"Master File Identifier",opt:2,rep:1,len:60},{datatype:"HD",desc:"Master File Application Identifier",opt:1,rep:1,len:180},{datatype:"ID",desc:"File-Level Event Code",opt:2,rep:1,len:3,table:178},{datatype:"TS",desc:"Entered Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Effective Date/Time",opt:1,rep:1,len:26},{datatype:"ID",desc:"Response Level Code",opt:2,rep:1,len:2,table:179}]},MRG:{desc:"Merge patient information segment-",fields:[{datatype:"CX",desc:"Prior Patient Identifier List",opt:2,rep:0,len:20},{datatype:"CX",desc:"Prior Alternate Patient ID",opt:1,rep:0,len:20},{datatype:"CX",desc:"Prior Patient Account Number",opt:1,rep:1,len:20},{datatype:"CX",desc:"Prior Patient ID",opt:1,rep:1,len:20},{datatype:"CX",desc:"Prior Visit Number",opt:1,rep:1,len:20},{datatype:"CX",desc:"Prior Alternate Visit ID",opt:1,rep:1,len:20},{datatype:"XPN",desc:"Prior Patient Name",opt:1,rep:0,len:48}]},MSA:{desc:"Message acknowledgment segment",fields:[{datatype:"ID",desc:"Acknowledgement Code",opt:2,rep:1,len:2,table:8},{datatype:"ST",desc:"Message Control ID",opt:2,rep:1,len:20},{datatype:"ST",desc:"Text Message",opt:1,rep:1,len:80},{datatype:"NM",desc:"Expected Sequence Number",opt:1,rep:1,len:15},{datatype:"ID",desc:"Delayed Acknowledgment Type",opt:1,rep:1,len:1,table:102},{datatype:"CE",desc:"Error Condition",opt:1,rep:1,len:100}]},MSH:{desc:"Message header segment",fields:[{datatype:"ST",desc:"Field Separator",opt:2,rep:1,len:1},{datatype:"ST",desc:"Encoding Characters",opt:2,rep:1,len:4},{datatype:"HD",desc:"Sending Application",opt:1,rep:1,len:180},{datatype:"HD",desc:"Sending Facility",opt:1,rep:1,len:180},{datatype:"HD",desc:"Receiving Application",opt:1,rep:1,len:180},{datatype:"HD",desc:"Receiving Facility",opt:1,rep:1,len:180},{datatype:"TS",desc:"Date/Time Of Message",opt:1,rep:1,len:26},{datatype:"ST",desc:"Security",opt:1,rep:1,len:40},{datatype:"MSG",desc:"Message Type",opt:2,rep:1,len:7},{datatype:"ST",desc:"Message Control ID",opt:2,rep:1,len:20},{datatype:"PT",desc:"Processing ID",opt:2,rep:1,len:3},{datatype:"VID",desc:"Version ID",opt:2,rep:1,len:60},{datatype:"NM",desc:"Sequence Number",opt:1,rep:1,len:15},{datatype:"ST",desc:"Continuation Pointer",opt:1,rep:1,len:180},{datatype:"ID",desc:"Accept Acknowledgment Type",opt:1,rep:1,len:2,table:155},{datatype:"ID",desc:"Application Acknowledgment Type",opt:1,rep:1,len:2,table:155},{datatype:"ID",desc:"Country Code",opt:1,rep:1,len:2},{datatype:"ID",desc:"Character Set",opt:1,rep:0,len:16,table:211},{datatype:"CE",desc:"Principal Language Of Message",opt:1,rep:1,len:60},{datatype:"ID",desc:"Alternate Character Set Handling Scheme",opt:1,rep:1,len:20,table:356}]},NCK:{desc:"System Clock",fields:[{datatype:"TS",desc:"System Date/Time",opt:1,rep:1}]},NK1:{desc:"Next of kin / associated parties segment",fields:[{datatype:"SI",desc:"Set ID - NK1",opt:2,rep:1,len:4},{datatype:"XPN",desc:"NK Name",opt:1,rep:0,len:48},{datatype:"CE",desc:"Relationship",opt:1,rep:1,len:60},{datatype:"XAD",desc:"Address",opt:1,rep:0,len:106},{datatype:"XTN",desc:"Phone Number",opt:1,rep:0,len:40},{datatype:"XTN",desc:"Business Phone Number",opt:1,rep:0,len:40},{datatype:"CE",desc:"Contact Role",opt:1,rep:1,len:200},{datatype:"DT",desc:"Start Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"End Date",opt:1,rep:1,len:8},{datatype:"ST",desc:"Next of Kin / Associated Parties Job Title",opt:1,rep:1,len:60},{datatype:"JCC",desc:"Next of Kin / Associated Parties Job Code/Class",opt:1,rep:1,len:20},{datatype:"CX",desc:"Next of Kin / Associated Parties Employee Number",opt:1,rep:1,len:20},{datatype:"XON",desc:"Organization Name - NK1",opt:1,rep:0,len:90},{datatype:"CE",desc:"Marital Status",opt:1,rep:1,len:80},{datatype:"IS",desc:"Sex",opt:1,rep:1,len:1,table:1},{datatype:"TS",desc:"Date/Time Of Birth",opt:1,rep:1,len:26},{datatype:"IS",desc:"Living Dependency",opt:1,rep:0,len:2,table:223},{datatype:"IS",desc:"Ambulatory Status",opt:1,rep:0,len:2,table:9},{datatype:"CE",desc:"Citizenship",opt:1,rep:0,len:80},{datatype:"CE",desc:"Primary Language",opt:1,rep:1,len:60},{datatype:"IS",desc:"Living Arrangement",opt:1,rep:1,len:2,table:220},{datatype:"CE",desc:"Publicity Code",opt:1,rep:1,len:80},{datatype:"ID",desc:"Protection Indicator",opt:1,rep:1,len:1,table:136},{datatype:"IS",desc:"Student Indicator",opt:1,rep:1,len:2,table:231},{datatype:"CE",desc:"Religion",opt:1,rep:1,len:80},{datatype:"XPN",desc:"Mother s Maiden Name",opt:1,rep:0,len:48},{datatype:"CE",desc:"Nationality",opt:1,rep:1,len:80},{datatype:"CE",desc:"Ethnic Group",opt:1,rep:0,len:80},{datatype:"CE",desc:"Contact Reason",opt:1,rep:0,len:80},{datatype:"XPN",desc:"Contact Person s Name",opt:1,rep:0,len:48},{datatype:"XTN",desc:"Contact Person s Telephone Number",opt:1,rep:0,len:40},{datatype:"XAD",desc:"Contact Person s Address",opt:1,rep:0,len:106},{datatype:"CX",desc:"Next of Kin/Associated Party s Identifiers",opt:1,rep:0,len:32},{datatype:"IS",desc:"Job Status",opt:1,rep:1,len:2,table:311},{datatype:"CE",desc:"Race",opt:1,rep:0,len:80},{datatype:"IS",desc:"Handicap",opt:1,rep:1,len:2,table:295},{datatype:"ST",desc:"Contact Person Social Security Number",opt:1,rep:1,len:16}]},NPU:{desc:"Bed status update segment",fields:[{datatype:"PL",desc:"Bed Location",opt:2,rep:1,len:80},{datatype:"IS",desc:"Bed Status",opt:1,rep:1,len:1,table:116}]},NSC:{desc:"Application status change",fields:[{datatype:"IS",desc:"Network Change Type",opt:1,rep:1,table:333},{datatype:"ST",desc:"Current CPU",opt:1,rep:1},{datatype:"ST",desc:"Current Fileserver",opt:1,rep:1},{datatype:"ST",desc:"Current Application",opt:1,rep:1},{datatype:"ST",desc:"Current Facility",opt:1,rep:1},{datatype:"ST",desc:"New CPU",opt:1,rep:1},{datatype:"ST",desc:"New Fileserver",opt:1,rep:1},{datatype:"ST",desc:"New Application",opt:1,rep:1},{datatype:"ST",desc:"New Facility",opt:1,rep:1}]},NST:{desc:"Application control level statistics",fields:[{datatype:"ID",desc:"Statistics Available",opt:1,rep:1,table:136},{datatype:"ST",desc:"Source Identifier",opt:1,rep:1},{datatype:"ID",desc:"Source Type",opt:1,rep:1},{datatype:"TS",desc:"Statistics Start",opt:1,rep:1},{datatype:"TS",desc:"Statistics End",opt:1,rep:1},{datatype:"NM",desc:"Receive Character Count",opt:1,rep:1},{datatype:"NM",desc:"Send Character Count",opt:1,rep:1},{datatype:"NM",desc:"Messages Received",opt:1,rep:1},{datatype:"NM",desc:"Messages Sent",opt:1,rep:1},{datatype:"NM",desc:"Checksum Errors Received",opt:1,rep:1},{datatype:"NM",desc:"Length Errors Received",opt:1,rep:1},{datatype:"NM",desc:"Other Errors Received",opt:1,rep:1},{datatype:"NM",desc:"Connect Timeouts",opt:1,rep:1},{datatype:"NM",desc:"Receive Timeouts",opt:1,rep:1},{datatype:"NM",desc:"Network Errors",opt:1,rep:1}]},NTE:{desc:"Notes and comments segment",fields:[{datatype:"SI",desc:"Set ID - NTE",opt:1,rep:1,len:4},{datatype:"ID",desc:"Source of Comment",opt:1,rep:1,len:8,table:105},{datatype:"FT",desc:"Comment",opt:1,rep:0,len:65536},{datatype:"CE",desc:"Comment Type",opt:1,rep:1,len:60}]},OBR:{desc:"Observation request segment",fields:[{datatype:"SI",desc:"Set ID - OBR",opt:1,rep:1,len:4},{datatype:"EI",desc:"Placer Order Number",opt:1,rep:1,len:22},{datatype:"EI",desc:"Filler Order Number",opt:1,rep:1,len:22},{datatype:"CE",desc:"Universal Service ID",opt:2,rep:1,len:200},{datatype:"ID",desc:"Priority-OBR",opt:1,rep:1,len:2},{datatype:"TS",desc:"Requested Date/time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Observation Date/Time  ",opt:1,rep:1,len:26},{datatype:"TS",desc:"Observation End Date/Time  ",opt:1,rep:1,len:26},{datatype:"CQ",desc:"Collection Volume *",opt:1,rep:1,len:20},{datatype:"XCN",desc:"Collector Identifier *",opt:1,rep:0,len:60},{datatype:"ID",desc:"Specimen Action Code *",opt:1,rep:1,len:1,table:65},{datatype:"CE",desc:"Danger Code",opt:1,rep:1,len:60},{datatype:"ST",desc:"Relevant Clinical Info.",opt:1,rep:1,len:300},{datatype:"TS",desc:"Specimen Received Date/Time *",opt:1,rep:1,len:26},{datatype:"SPS",desc:"Specimen Source",opt:1,rep:1,len:300},{datatype:"XCN",desc:"Ordering Provider",opt:1,rep:0,len:120},{datatype:"XTN",desc:"Order Callback Phone Number",opt:1,rep:2,len:40},{datatype:"ST",desc:"Placer Field 1",opt:1,rep:1,len:60},{datatype:"ST",desc:"Placer Field 2",opt:1,rep:1,len:60},{datatype:"ST",desc:"Filler Field 1 +",opt:1,rep:1,len:60},{datatype:"ST",desc:"Filler Field 2 +",opt:1,rep:1,len:60},{datatype:"TS",desc:"Results Rpt/Status Chng - Date/Time +",opt:1,rep:1,len:26},{datatype:"MOC",desc:"Charge to Practice +",opt:1,rep:1,len:40},{datatype:"ID",desc:"Diagnostic Serv Sect ID",opt:1,rep:1,len:10,table:74},{datatype:"ID",desc:"Result Status +",opt:1,rep:1,len:1,table:123},{datatype:"PRL",desc:"Parent Result +",opt:1,rep:1,len:200},{datatype:"TQ",desc:"Quantity/Timing",opt:1,rep:0,len:200},{datatype:"XCN",desc:"Result Copies To",opt:1,rep:5,len:150},{datatype:"EIP",desc:"Parent Number",opt:1,rep:1,len:200},{datatype:"ID",desc:"Transportation Mode",opt:1,rep:1,len:20,table:124},{datatype:"CE",desc:"Reason for Study",opt:1,rep:0,len:300},{datatype:"NDL",desc:"Principal Result Interpreter +",opt:1,rep:1,len:200},{datatype:"NDL",desc:"Assistant Result Interpreter +",opt:1,rep:0,len:200},{datatype:"NDL",desc:"Technician +",opt:1,rep:0,len:200},{datatype:"NDL",desc:"Transcriptionist +",opt:1,rep:0,len:200},{datatype:"TS",desc:"Scheduled Date/Time +",opt:1,rep:1,len:26},{datatype:"NM",desc:"Number of Sample Containers *",opt:1,rep:1,len:4},{datatype:"CE",desc:"Transport Logistics of Collected Sample *",opt:1,rep:0,len:60},{datatype:"CE",desc:"Collector s Comment *",opt:1,rep:0,len:200},{datatype:"CE",desc:"Transport Arrangement Responsibility",opt:1,rep:1,len:60},{datatype:"ID",desc:"Transport Arranged",opt:1,rep:1,len:30,table:224},{datatype:"ID",desc:"Escort Required",opt:1,rep:1,len:1,table:225},{datatype:"CE",desc:"Planned Patient Transport Comment",opt:1,rep:0,len:200},{datatype:"CE",desc:"Procedure Code",opt:1,rep:1,len:80},{datatype:"CE",desc:"Procedure Code Modifier",opt:1,rep:0,len:80}]},OBX:{desc:"Observation/result segment",fields:[{datatype:"SI",desc:"Set ID - OBX",opt:1,rep:1,len:4},{datatype:"ID",desc:"Value Type",opt:2,rep:1,len:3,table:125},{datatype:"CE",desc:"Observation Identifier",opt:2,rep:1,len:80},{datatype:"ST",desc:"Observation Sub-ID",opt:2,rep:1,len:20},{datatype:"VARIES",desc:"Observation Value",opt:1,rep:0,len:65536},{datatype:"CE",desc:"Units",opt:1,rep:1,len:60},{datatype:"ST",desc:"References Range",opt:1,rep:1,len:60},{datatype:"ID",desc:"Abnormal Flags",opt:1,rep:5,len:5,table:78},{datatype:"NM",desc:"Probability",opt:1,rep:5,len:5},{datatype:"ID",desc:"Nature of Abnormal Test",opt:1,rep:1,len:2,table:80},{datatype:"ID",desc:"Observation Result Status",opt:2,rep:1,len:1,table:85},{datatype:"TS",desc:"Date Last Obs Normal Values",opt:1,rep:1,len:26},{datatype:"ST",desc:"User Defined Access Checks",opt:1,rep:1,len:20},{datatype:"TS",desc:"Date/Time of the Observation",opt:1,rep:1,len:26},{datatype:"CE",desc:"Producer's ID",opt:1,rep:1,len:60},{datatype:"XCN",desc:"Responsible Observer",opt:1,rep:0,len:80},{datatype:"CE",desc:"Observation Method",opt:1,rep:0,len:60}]},ODS:{desc:"Dietary orders, supplements, and preferences segment",fields:[{datatype:"ID",desc:"Type",opt:2,rep:1,len:1,table:159},{datatype:"CE",desc:"Service Period",opt:1,rep:10,len:60},{datatype:"CE",desc:"Diet, Supplement, or Preference Code",opt:2,rep:20,len:60},{datatype:"ST",desc:"Text Instruction",opt:1,rep:2,len:80}]},ODT:{desc:"Diet tray instructions segment",fields:[{datatype:"CE",desc:"Tray Type",opt:2,rep:1,len:60},{datatype:"CE",desc:"Service Period",opt:1,rep:10,len:60},{datatype:"ST",desc:"Text Instruction",opt:1,rep:1,len:80}]},OM1:{desc:"General segment",fields:[{datatype:"NM",desc:"Sequence Number - Test/Observation Master File",opt:1,rep:1,len:4},{datatype:"CE",desc:"Producer's Test/Observation ID",opt:1,rep:1,len:200},{datatype:"ID",desc:"Permitted Data Types",opt:1,rep:0,len:12,table:125},{datatype:"ID",desc:"Specimen Required",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Producer ID",opt:1,rep:1,len:200},{datatype:"TX",desc:"Observation Description",opt:1,rep:1,len:200},{datatype:"CE",desc:"Other Test/Observation IDs for the Observation",opt:1,rep:1,len:200},{datatype:"ST",desc:"Other Names",opt:1,rep:0,len:200},{datatype:"ST",desc:"Preferred Report Name for the Observation",opt:1,rep:1,len:30},{datatype:"ST",desc:"Preferred Short Name or Mnemonic for Observation",opt:1,rep:1,len:8},{datatype:"ST",desc:"Preferred Long Name for the Observation",opt:1,rep:1,len:200},{datatype:"ID",desc:"Orderability",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Identity of Instrument Used to Perform this Study",opt:1,rep:0,len:60},{datatype:"CE",desc:"Coded Representation of Method",opt:1,rep:0,len:200},{datatype:"ID",desc:"Portable",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Observation Producing Department/Section",opt:1,rep:0,len:1},{datatype:"XTN",desc:"Telephone Number of Section",opt:1,rep:1,len:40},{datatype:"IS",desc:"Nature of Test/Observation",opt:2,rep:1,len:1,table:174},{datatype:"CE",desc:"Report Subheader",opt:1,rep:1,len:200},{datatype:"ST",desc:"Report Display Order",opt:1,rep:1,len:20},{datatype:"TS",desc:"Date/Time Stamp for any change in Definition for the Observation",opt:1,rep:1,len:26},{datatype:"TS",desc:"Effective Date/Time of Change",opt:1,rep:1,len:26},{datatype:"NM",desc:"Typical Turn-Around Time",opt:1,rep:1,len:20},{datatype:"NM",desc:"Processing Time",opt:1,rep:1,len:20},{datatype:"ID",desc:"Processing Priority",opt:1,rep:0,len:40,table:168},{datatype:"ID",desc:"Reporting Priority",opt:1,rep:1,len:5,table:169},{datatype:"CE",desc:"Outside Site",opt:1,rep:0,len:200},{datatype:"XAD",desc:"Address of Outside Site",opt:1,rep:0,len:1e3},{datatype:"XTN",desc:"Phone Number of Outside Site",opt:1,rep:1,len:400},{datatype:"IS",desc:"Confidentiality Code",opt:1,rep:1,len:1,table:177},{datatype:"CE",desc:"Observations Required to Interpret the Obs",opt:1,rep:1,len:200},{datatype:"TX",desc:"Interpretation of Observations",opt:1,rep:1,len:65536},{datatype:"CE",desc:"Contraindications to Observations",opt:1,rep:1,len:65536},{datatype:"CE",desc:"Reflex Tests/Observations",opt:1,rep:0,len:200},{datatype:"TX",desc:"Rules that Trigger Reflex Testing",opt:1,rep:1,len:80},{datatype:"CE",desc:"Fixed Canned Message",opt:1,rep:1,len:65536},{datatype:"TX",desc:"Patient Preparation",opt:1,rep:1,len:200},{datatype:"CE",desc:"Procedure Medication",opt:1,rep:1,len:200},{datatype:"TX",desc:"Factors that may Effect the Observation",
  opt:1,rep:1,len:200},{datatype:"ST",desc:"Test/Observation Performance Schedule",opt:1,rep:0,len:60},{datatype:"TX",desc:"Description of Test Methods",opt:1,rep:1,len:65536},{datatype:"CE",desc:"Kind of Quantity Observed",opt:1,rep:1,len:60},{datatype:"CE",desc:"Point Versus Interval",opt:1,rep:1,len:60},{datatype:"TX",desc:"Challenge Information",opt:1,rep:1,len:200},{datatype:"CE",desc:"Relationship Modifier",opt:1,rep:1,len:200},{datatype:"CE",desc:"Target Anatomic Site Of Test",opt:1,rep:1,len:200},{datatype:"CE",desc:"Modality Of Imaging Measurement",opt:1,rep:1,len:200}]},OM2:{desc:"Numeric observation segment",fields:[{datatype:"NM",desc:"Sequence Number - Test/Observation Master File",opt:1,rep:1,len:4},{datatype:"CE",desc:"Units of Measure",opt:1,rep:1,len:60},{datatype:"NM",desc:"Range of Decimal Precision",opt:1,rep:0,len:10},{datatype:"CE",desc:"Corresponding SI Units of Measure",opt:1,rep:1,len:60},{datatype:"TX",desc:"SI Conversion Factor",opt:1,rep:1,len:60},{datatype:"RFR",desc:"Reference",opt:1,rep:1,len:200},{datatype:"NR",desc:"Critical Range for Ordinal & Continuous Obs",opt:1,rep:1,len:200},{datatype:"RFR",desc:"Absolute Range for Ordinal & Continuous Obs",opt:1,rep:1,len:200},{datatype:"DLT",desc:"Delta Check Criteria",opt:1,rep:0,len:200},{datatype:"NM",desc:"Minimum Meaningful Increments",opt:1,rep:1,len:20}]},OM3:{desc:"Categorical test/observation segment",fields:[{datatype:"NM",desc:"Sequence Number - Test/Observation Master File",opt:1,rep:1,len:4},{datatype:"CE",desc:"Preferred Coding System",opt:1,rep:1,len:60},{datatype:"CE",desc:"Valid Coded  Answers ",opt:1,rep:1,len:60},{datatype:"CE",desc:"Normal Text/Codes for Categorical Observations",opt:1,rep:0,len:200},{datatype:"CE",desc:"Abnormal Text/Codes for Categorical Observations",opt:1,rep:1,len:200},{datatype:"CE",desc:"Critical Text Codes for Categorical Observations",opt:1,rep:1,len:200},{datatype:"ID",desc:"Value Type",opt:1,rep:1,len:3,table:125}]},OM4:{desc:"Observations that require specimens segment",fields:[{datatype:"NM",desc:"Sequence Number - Test/Observation Master File",opt:1,rep:1,len:4},{datatype:"ID",desc:"Derived Specimen",opt:1,rep:1,len:1,table:170},{datatype:"TX",desc:"Container Description",opt:1,rep:1,len:60},{datatype:"NM",desc:"Container Volume",opt:1,rep:1,len:20},{datatype:"CE",desc:"Container Units",opt:1,rep:1,len:60},{datatype:"CE",desc:"Specimen",opt:1,rep:1,len:60},{datatype:"CE",desc:"Additive",opt:1,rep:1,len:60},{datatype:"TX",desc:"Preparation",opt:1,rep:1,len:10240},{datatype:"TX",desc:"Special Handling Requirements",opt:1,rep:1,len:10240},{datatype:"CQ",desc:"Normal Collection Volume",opt:1,rep:1,len:20},{datatype:"CQ",desc:"Minimum Collection Volume",opt:1,rep:1,len:20},{datatype:"TX",desc:"Specimen Requirements",opt:1,rep:1,len:10240},{datatype:"ID",desc:"Specimen Priorities",opt:1,rep:0,len:1,table:27},{datatype:"CQ",desc:"Specimen Retention Time",opt:1,rep:1,len:20}]},OM5:{desc:"Observation batteries (sets",fields:[{datatype:"NM",desc:"Sequence Number - Test/Observation Master File",opt:1,rep:1,len:4},{datatype:"CE",desc:"Test/Observations Included within an Ordered Test Battery",opt:1,rep:0,len:200},{datatype:"ST",desc:"Observation ID Suffixes",opt:1,rep:1,len:200}]},OM6:{desc:"Observations that are calculated from other observations segment",fields:[{datatype:"NM",desc:"Sequence Number - Test/Observation Master File",opt:1,rep:1,len:4},{datatype:"TX",desc:"Derivation Rule",opt:1,rep:1,len:10240}]},ORC:{desc:"Common order segment",fields:[{datatype:"ID",desc:"Order Control",opt:1,rep:1,len:2,table:119},{datatype:"EI",desc:"Placer Order Number",opt:1,rep:1,len:22},{datatype:"EI",desc:"Filler Order Number",opt:1,rep:1,len:22},{datatype:"EI",desc:"Placer Group Number",opt:1,rep:1,len:22},{datatype:"ID",desc:"Order Status",opt:1,rep:1,len:2,table:38},{datatype:"ID",desc:"Response Flag",opt:1,rep:1,len:1,table:121},{datatype:"TQ",desc:"Quantity/Timing",opt:1,rep:1,len:200},{datatype:"EIP",desc:"Parent Order",opt:1,rep:1,len:200},{datatype:"TS",desc:"Date/Time of Transaction",opt:1,rep:1,len:26},{datatype:"XCN",desc:"Entered By",opt:1,rep:0,len:120},{datatype:"XCN",desc:"Verified By",opt:1,rep:0,len:120},{datatype:"XCN",desc:"Ordering Provider",opt:1,rep:0,len:120},{datatype:"PL",desc:"Enterer s Location",opt:1,rep:1,len:80},{datatype:"XTN",desc:"Call Back Phone Number",opt:1,rep:2,len:40},{datatype:"TS",desc:"Order Effective Date/Time",opt:1,rep:1,len:26},{datatype:"CE",desc:"Order Control Code Reason",opt:1,rep:1,len:200},{datatype:"CE",desc:"Entering Organization",opt:1,rep:1,len:60},{datatype:"CE",desc:"Entering Device",opt:1,rep:1,len:60},{datatype:"XCN",desc:"Action By",opt:1,rep:0,len:120},{datatype:"CE",desc:"Advanced Beneficiary Notice Code",opt:1,rep:1,len:40},{datatype:"XON",desc:"Ordering Facility Name",opt:1,rep:0,len:60},{datatype:"XAD",desc:"Ordering Facility Address",opt:1,rep:0,len:106},{datatype:"XTN",desc:"Ordering Facility Phone Number",opt:1,rep:0,len:48},{datatype:"XAD",desc:"Ordering Provider Address",opt:1,rep:0,len:106}]},PCR:{desc:"Possible causal relationship segment",fields:[{datatype:"CE",desc:"Implicated Product",opt:2,rep:1,len:60},{datatype:"IS",desc:"Generic Product",opt:1,rep:1,len:1,table:249},{datatype:"CE",desc:"Product Class",opt:1,rep:1,len:60},{datatype:"CQ",desc:"Total Duration Of Therapy",opt:1,rep:1,len:8},{datatype:"TS",desc:"Product Manufacture Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Product Expiration Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Product Implantation Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Product Explantation Date",opt:1,rep:1,len:26},{datatype:"IS",desc:"Single Use Device",opt:1,rep:1,len:8,table:244},{datatype:"CE",desc:"Indication For Product Use",opt:1,rep:1,len:60},{datatype:"IS",desc:"Product Problem",opt:1,rep:1,len:8,table:245},{datatype:"ST",desc:"Product Serial/Lot Number",opt:1,rep:3,len:30},{datatype:"IS",desc:"Product Available For Inspection",opt:1,rep:1,len:1,table:246},{datatype:"CE",desc:"Product Evaluation Performed",opt:1,rep:1,len:60},{datatype:"CE",desc:"Product Evaluation Status",opt:1,rep:1,len:60},{datatype:"CE",desc:"Product Evaluation Results",opt:1,rep:1,len:60},{datatype:"ID",desc:"Evaluated Product Source",opt:1,rep:1,len:8,table:248},{datatype:"TS",desc:"Date Product Returned To Manufacturer",opt:1,rep:1,len:26},{datatype:"ID",desc:"Device Operator Qualifications",opt:1,rep:1,len:1,table:242},{datatype:"ID",desc:"Relatedness Assessment",opt:1,rep:1,len:1,table:250},{datatype:"ID",desc:"Action Taken In Response To The Event",opt:1,rep:6,len:2,table:251},{datatype:"ID",desc:"Event Causality Observations",opt:1,rep:6,len:2,table:252},{datatype:"ID",desc:"Indirect Exposure Mechanism",opt:1,rep:3,len:1,table:253}]},PD1:{desc:"Patient Additional Demographic",fields:[{datatype:"IS",desc:"Living Dependency",opt:1,rep:0,len:2,table:223},{datatype:"IS",desc:"Living Arrangement",opt:1,rep:1,len:2,table:220},{datatype:"XON",desc:"Patient Primary Facility",opt:1,rep:0,len:90},{datatype:"XCN",desc:"Patient Primary Care Provider Name & ID No.",opt:1,rep:0,len:90},{datatype:"IS",desc:"Student Indicator",opt:1,rep:1,len:2,table:231},{datatype:"IS",desc:"Handicap",opt:1,rep:1,len:2,table:295},{datatype:"IS",desc:"Living Will",opt:1,rep:1,len:2,table:315},{datatype:"IS",desc:"Organ Donor",opt:1,rep:1,len:2,table:316},{datatype:"ID",desc:"Separate Bill",opt:1,rep:1,len:1,table:136},{datatype:"CX",desc:"Duplicate Patient",opt:1,rep:0,len:20},{datatype:"CE",desc:"Publicity Code",opt:1,rep:1,len:80},{datatype:"ID",desc:"Protection Indicator",opt:1,rep:1,len:1,table:136}]},PDC:{desc:"Product detail country segment",fields:[{datatype:"XON",desc:"Manufacturer/Distributor",opt:2,rep:0,len:80},{datatype:"CE",desc:"Country",opt:2,rep:1,len:60},{datatype:"ST",desc:"Brand Name",opt:2,rep:1,len:60},{datatype:"ST",desc:"Device Family Name",opt:1,rep:1,len:60},{datatype:"CE",desc:"Generic Name",opt:1,rep:1,len:60},{datatype:"ST",desc:"Model Identifier",opt:1,rep:0,len:60},{datatype:"ST",desc:"Catalogue Identifier",opt:1,rep:1,len:60},{datatype:"ST",desc:"Other Identifier",opt:1,rep:0,len:60},{datatype:"CE",desc:"Product Code",opt:1,rep:1,len:60},{datatype:"ID",desc:"Marketing Basis",opt:1,rep:1,len:4,table:330},{datatype:"ST",desc:"Marketing Approval ID",opt:1,rep:1,len:60},{datatype:"CQ",desc:"Labeled Shelf Life",opt:1,rep:1,len:12},{datatype:"CQ",desc:"Expected Shelf Life",opt:1,rep:1,len:12},{datatype:"TS",desc:"Date First Marketed",opt:1,rep:1,len:26},{datatype:"TS",desc:"Date Last Marketed",opt:1,rep:1,len:26}]},PEO:{desc:"Product experience observation segment",fields:[{datatype:"CE",desc:"Event Identifiers Used",opt:1,rep:0,len:60},{datatype:"CE",desc:"Event Symptom/Diagnosis Code",opt:1,rep:0,len:60},{datatype:"TS",desc:"Event Onset Date/Time",opt:2,rep:1,len:26},{datatype:"TS",desc:"Event Exacerbation Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Event Improved Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Event Ended Data/Time",opt:1,rep:1,len:26},{datatype:"XAD",desc:"Event Location Occurred Address",opt:1,rep:0,len:106},{datatype:"ID",desc:"Event Qualification",opt:1,rep:0,len:1,table:237},{datatype:"ID",desc:"Event Serious",opt:1,rep:1,len:1,table:238},{datatype:"ID",desc:"Event Expected",opt:1,rep:1,len:1,table:239},{datatype:"ID",desc:"Event Outcome",opt:1,rep:0,len:1,table:240},{datatype:"ID",desc:"Patient Outcome",opt:1,rep:1,len:1,table:241},{datatype:"FT",desc:"Event Description From Others",opt:1,rep:0,len:600},{datatype:"FT",desc:"Event From Original Reporter",opt:1,rep:0,len:600},{datatype:"FT",desc:"Event Description From Patient",opt:1,rep:0,len:600},{datatype:"FT",desc:"Event Description From Practitioner",opt:1,rep:0,len:600},{datatype:"FT",desc:"Event Description From Autopsy",opt:1,rep:0,len:600},{datatype:"CE",desc:"Cause Of Death",opt:1,rep:0,len:60},{datatype:"XPN",desc:"Primary Observer Name",opt:1,rep:0,len:46},{datatype:"XAD",desc:"Primary Observer Address",opt:1,rep:0,len:106},{datatype:"XTN",desc:"Primary Observer Telephone",opt:1,rep:0,len:40},{datatype:"ID",desc:"Primary Observer s Qualification",opt:1,rep:1,len:1,table:242},{datatype:"ID",desc:"Confirmation Provided By",opt:1,rep:1,len:1,table:242},{datatype:"TS",desc:"Primary Observer Aware Date/Time",opt:1,rep:1,len:26},{datatype:"ID",desc:"Primary Observer s identity May Be Divulged",opt:1,rep:1,len:1,table:243}]},PES:{desc:"Product experience sender segment",fields:[{datatype:"XON",desc:"Sender Organization Name",opt:1,rep:0,len:80},{datatype:"XCN",desc:"Sender Individual Name",opt:1,rep:0,len:60},{datatype:"XAD",desc:"Sender Address",opt:1,rep:0,len:200},{datatype:"XTN",desc:"Sender Telephone",opt:1,rep:0,len:44},{datatype:"EI",desc:"Sender Event Identifier",opt:1,rep:1,len:75},{datatype:"NM",desc:"Sender Sequence Number",opt:1,rep:1,len:2},{datatype:"FT",desc:"Sender Event Description",opt:1,rep:0,len:600},{datatype:"FT",desc:"Sender Comment",opt:1,rep:1,len:600},{datatype:"TS",desc:"Sender Aware Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Event Report Date",opt:2,rep:1,len:26},{datatype:"ID",desc:"Event Report Timing/Type",opt:1,rep:2,len:3,table:234},{datatype:"ID",desc:"Event Report Source",opt:1,rep:1,len:1,table:235},{datatype:"ID",desc:"Event Reported To",opt:1,rep:0,len:1,table:236}]},PID:{desc:"Patient identification segment",fields:[{datatype:"SI",desc:"Set ID - PID",opt:1,rep:1,len:4},{datatype:"CX",desc:"Patient ID",opt:1,rep:1,len:20},{datatype:"CX",desc:"Patient Identifier List",opt:2,rep:0,len:20},{datatype:"CX",desc:"Alternate Patient ID - PID",opt:1,rep:0,len:20},{datatype:"XPN",desc:"Patient Name",opt:2,rep:0,len:48},{datatype:"XPN",desc:"Mother s Maiden Name",opt:1,rep:0,len:48},{datatype:"TS",desc:"Date/Time Of Birth",opt:1,rep:1,len:26},{datatype:"IS",desc:"Sex",opt:1,rep:1,len:1,table:1},{datatype:"XPN",desc:"Patient Alias",opt:1,rep:0,len:48},{datatype:"CE",desc:"Race",opt:1,rep:0,len:80},{datatype:"XAD",desc:"Patient Address",opt:1,rep:0,len:106},{datatype:"IS",desc:"County Code",opt:1,rep:1,len:4,table:289},{datatype:"XTN",desc:"Phone Number - Home",opt:1,rep:0,len:40},{datatype:"XTN",desc:"Phone Number - Business",opt:1,rep:0,len:40},{datatype:"CE",desc:"Primary Language",opt:1,rep:1,len:60},{datatype:"CE",desc:"Marital Status",opt:1,rep:1,len:80},{datatype:"CE",desc:"Religion",opt:1,rep:1,len:80},{datatype:"CX",desc:"Patient Account Number",opt:1,rep:1,len:20},{datatype:"ST",desc:"SSN Number - Patient",opt:1,rep:1,len:16},{datatype:"DLN",desc:"Driver's License Number - Patient",opt:1,rep:1,len:25},{datatype:"CX",desc:"Mother's Identifier",opt:1,rep:0,len:20},{datatype:"CE",desc:"Ethnic Group",opt:1,rep:0,len:80},{datatype:"ST",desc:"Birth Place",opt:1,rep:1,len:60},{datatype:"ID",desc:"Multiple Birth Indicator",opt:1,rep:1,len:1,table:136},{datatype:"NM",desc:"Birth Order",opt:1,rep:1,len:2},{datatype:"CE",desc:"Citizenship",opt:1,rep:0,len:80},{datatype:"CE",desc:"Veterans Military Status",opt:1,rep:1,len:60},{datatype:"CE",desc:"Nationality",opt:1,rep:1,len:80},{datatype:"TS",desc:"Patient Death Date and Time",opt:1,rep:1,len:26},{datatype:"ID",desc:"Patient Death Indicator",opt:1,rep:1,len:1,table:136}]},PR1:{desc:"Procedures segment",fields:[{datatype:"SI",desc:"Set ID - PR1",opt:2,rep:1,len:4},{datatype:"IS",desc:"Procedure Coding Method",opt:1,rep:1,len:2,table:89},{datatype:"CE",desc:"Procedure Code",opt:2,rep:1,len:80},{datatype:"ST",desc:"Procedure Description",opt:1,rep:1,len:40},{datatype:"TS",desc:"Procedure Date/Time",opt:2,rep:1,len:26},{datatype:"IS",desc:"Procedure Functional Type",opt:2,rep:1,len:2,table:230},{datatype:"NM",desc:"Procedure Minutes",opt:1,rep:1,len:4},{datatype:"XCN",desc:"Anesthesiologist",opt:1,rep:0,len:120},{datatype:"IS",desc:"Anesthesia Code",opt:1,rep:1,len:2,table:19},{datatype:"NM",desc:"Anesthesia Minutes",opt:1,rep:1,len:4},{datatype:"XCN",desc:"Surgeon",opt:1,rep:0,len:120},{datatype:"XCN",desc:"Procedure Practitioner",opt:1,rep:0,len:230},{datatype:"CE",desc:"Consent Code",opt:1,rep:1,len:60},{datatype:"NM",desc:"Procedure Priority",opt:1,rep:1,len:2},{datatype:"CE",desc:"Associated Diagnosis Code",opt:1,rep:1,len:80},{datatype:"CE",desc:"Procedure Code Modifier",opt:1,rep:0,len:80}]},PRA:{desc:"Practitioner detail segment",fields:[{datatype:"CE",desc:"Primary Key Value - PRA",opt:2,rep:1,len:60},{datatype:"CE",desc:"Practitioner Group",opt:1,rep:0,len:60},{datatype:"IS",desc:"Practitioner Category",opt:1,rep:0,len:3,table:186},{datatype:"ID",desc:"Provider Billing",opt:1,rep:1,len:1,table:187},{datatype:"SPD",desc:"Specialty",opt:1,rep:0,len:100},{datatype:"PLN",desc:"Practitioner ID Numbers",opt:1,rep:0,len:100},{datatype:"PIP",desc:"Privileges",opt:1,rep:0,len:200},{datatype:"DT",desc:"Date Entered Practice",opt:1,rep:1,len:8}]},PRB:{desc:"Problem Detail",fields:[{datatype:"ID",desc:"Action Code",opt:2,rep:1,len:2,table:287},{datatype:"TS",desc:"Action Date/Time",opt:2,rep:1,len:26},{datatype:"CE",desc:"Problem ID",opt:2,rep:1,len:80},{datatype:"EI",desc:"Problem Instance ID",opt:2,rep:1,len:60},{datatype:"EI",desc:"Episode of Care ID",opt:1,rep:1,len:60},{datatype:"NM",desc:"Problem List Priority",opt:1,rep:1,len:60},{datatype:"TS",desc:"Problem Established Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Anticipated Problem Resolution Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Actual Problem Resolution Date/Time",opt:1,rep:1,len:26},{datatype:"CE",desc:"Problem Classification",opt:1,rep:1,len:80},{datatype:"CE",desc:"Problem Management Discipline",opt:1,rep:0,len:80},{datatype:"CE",desc:"Problem Persistence",opt:1,rep:1,len:80},{datatype:"CE",desc:"Problem Confirmation Status",opt:1,rep:1,len:80},{datatype:"CE",desc:"Problem Life Cycle Status",opt:1,rep:1,len:80},{datatype:"TS",desc:"Problem Life Cycle Status Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Problem Date of Onset",opt:1,rep:1,len:26},{datatype:"ST",desc:"Problem Onset Text",opt:1,rep:1,len:80},{datatype:"CE",desc:"Problem Ranking",opt:1,rep:1,len:80},{datatype:"CE",desc:"Certainty of Problem",opt:1,rep:1,len:60},{datatype:"NM",desc:"Probability of Problem",opt:1,rep:1,len:5},{datatype:"CE",desc:"Individual Awareness of Problem",opt:1,rep:1,len:80},{datatype:"CE",desc:"Problem Prognosis",opt:1,rep:1,len:80},{datatype:"CE",desc:"Individual Awareness of Prognosis",opt:1,rep:1,len:80},{datatype:"ST",desc:"Family/Significant Other Awareness of Problem/Prognosis",opt:1,rep:1,len:200},{datatype:"CE",desc:"Security/Sensitivity",opt:1,rep:1,len:80}]},PRC:{desc:"Pricing segment",fields:[{datatype:"CE",desc:"Primary Key Value - PRC",opt:2,rep:1,len:200},{datatype:"CE",desc:"Facility ID - PRC",opt:1,rep:0,len:60},{datatype:"CE",desc:"Department",opt:1,rep:0,len:200},{datatype:"IS",desc:"Valid Patient Classes",opt:1,rep:0,len:1,table:4},{datatype:"CP",desc:"Price",opt:1,rep:0,len:12},{datatype:"ST",desc:"Formula",opt:1,rep:0,len:200},{datatype:"NM",desc:"Minimum Quantity",opt:1,rep:1,len:4},{datatype:"NM",desc:"Maximum Quantity",opt:1,rep:1,len:4},{datatype:"MO",desc:"Minimum Price",opt:1,rep:1,len:12},{datatype:"MO",desc:"Maximum Price",opt:1,rep:1,len:12},{datatype:"TS",desc:"Effective Start Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Effective End Date",opt:1,rep:1,len:26},{datatype:"IS",desc:"Price Override Flag",opt:1,rep:1,len:1,table:268},{datatype:"CE",desc:"Billing Category",opt:1,rep:0,len:60},{datatype:"ID",desc:"Chargeable Flag",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Active/Inactive Flag",opt:1,rep:1,len:1,table:183},{datatype:"MO",desc:"Cost",opt:1,rep:1,len:12},{datatype:"IS",desc:"Charge On Indicator",opt:1,rep:1,len:1,table:269}]},PRD:{desc:"Provider Data",fields:[{datatype:"CE",desc:"Provider Role",opt:2,rep:0,len:200},{datatype:"XPN",desc:"Provider Name",opt:1,rep:0,len:106},{datatype:"XAD",desc:"Provider Address",opt:1,rep:0,len:60},{datatype:"PL",desc:"Provider Location",opt:1,rep:1,len:60},{datatype:"XTN",desc:"Provider Communication Information",opt:1,rep:0,len:100},{datatype:"CE",desc:"Preferred Method Of Contact",opt:1,rep:1,len:200},{datatype:"PI",desc:"Provider Identifiers",opt:1,rep:0,len:100},{datatype:"TS",desc:"Effective Start Date of Provider Role",opt:1,rep:1,len:26},{datatype:"TS",desc:"Effective End Date of Provider Role",opt:1,rep:1,len:26}]},PSH:{desc:"Product summary header segment",fields:[{datatype:"ST",desc:"Report Type",opt:2,rep:1,len:60},{datatype:"ST",desc:"Report Form Identifier",opt:1,rep:1,len:60},{datatype:"TS",desc:"Report Date",opt:2,rep:1,len:26},{datatype:"TS",desc:"Report Interval Start Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Report Interval End Date",opt:1,rep:1,len:26},{datatype:"CQ",desc:"Quantity Manufactured",opt:1,rep:1,len:12},{datatype:"CQ",desc:"Quantity Distributed",opt:1,rep:1,len:12},{datatype:"ID",desc:"Quantity Distributed Method",opt:1,rep:1,len:1,table:329},{datatype:"FT",desc:"Quantity Distributed Comment",opt:1,rep:1,len:600},{datatype:"CQ",desc:"Quantity in Use",opt:1,rep:1,len:12},{datatype:"ID",desc:"Quantity in Use Method",opt:1,rep:1,len:1,table:329},{datatype:"FT",desc:"Quantity in Use Comment",opt:1,rep:1,len:600},{datatype:"NM",desc:"Number of Product Experience Reports Filed by Facility",opt:1,rep:8,len:2},{datatype:"NM",desc:"Number of Product Experience Reports Filed by Distributor",opt:1,rep:8,len:2}]},PTH:{desc:"Pathway",fields:[{datatype:"ID",desc:"Action Code",opt:2,rep:1,len:2,table:287},{datatype:"CE",desc:"Pathway ID",opt:2,rep:1,len:80},{datatype:"EI",desc:"Pathway Instance ID",opt:2,rep:1,len:60},{datatype:"TS",desc:"Pathway Established Date/Time",opt:2,rep:1,len:26},{datatype:"CE",desc:"Pathway Life Cycle Status",opt:1,rep:1,len:80},{datatype:"TS",desc:"Change Pathway Life Cycle Status Date/Time",opt:1,rep:1,len:26}]},PV1:{desc:"Patient visit segment",fields:[{datatype:"SI",desc:"Set ID - PV1",opt:1,rep:1,len:4},{datatype:"IS",desc:"Patient Class",opt:2,rep:1,len:1,table:4},{datatype:"PL",desc:"Assigned Patient Location",opt:1,rep:1,len:80},{datatype:"IS",desc:"Admission Type",opt:1,rep:1,len:2,table:7},{datatype:"CX",desc:"Preadmit Number",opt:1,rep:1,len:20},{datatype:"PL",desc:"Prior Patient Location",opt:1,rep:1,len:80},{datatype:"XCN",desc:"Attending Doctor",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Referring Doctor",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Consulting Doctor",opt:1,rep:0,len:60},{datatype:"IS",desc:"Hospital Service",opt:1,rep:1,len:3,table:69},{datatype:"PL",desc:"Temporary Location",opt:1,rep:1,len:80},{datatype:"IS",desc:"Preadmit Test Indicator",opt:1,rep:1,len:2,table:87},{datatype:"IS",desc:"Re-admission Indicator",opt:1,rep:1,len:2,table:92},{datatype:"IS",desc:"Admit Source",opt:1,rep:1,len:3,table:23},{datatype:"IS",desc:"Ambulatory Status",opt:1,rep:0,len:2,table:9},{datatype:"IS",desc:"VIP Indicator",opt:1,rep:1,len:2,table:99},{datatype:"XCN",desc:"Admitting Doctor",opt:1,rep:0,len:60},{datatype:"IS",desc:"Patient Type",opt:1,rep:1,len:2,table:18},{datatype:"CX",desc:"Visit Number",opt:1,rep:1,len:20},{datatype:"FC",desc:"Financial Class",opt:1,rep:0,len:50},{datatype:"IS",desc:"Charge Price Indicator",opt:1,rep:1,len:2,table:32},{datatype:"IS",desc:"Courtesy Code",opt:1,rep:1,len:2,table:45},{datatype:"IS",desc:"Credit Rating",opt:1,rep:1,len:2,table:46},{datatype:"IS",desc:"Contract Code",opt:1,rep:0,len:2,table:44},{datatype:"DT",desc:"Contract Effective Date",opt:1,rep:0,len:8},{datatype:"NM",desc:"Contract Amount",opt:1,rep:0,len:12},{datatype:"NM",desc:"Contract Period",opt:1,rep:0,len:3},{datatype:"IS",desc:"Interest Code",opt:1,rep:1,len:2,table:73},{datatype:"IS",desc:"Transfer to Bad Debt Code",opt:1,rep:1,len:1,table:110},{datatype:"DT",desc:"Transfer to Bad Debt Date",opt:1,rep:1,len:8},{datatype:"IS",desc:"Bad Debt Agency Code",opt:1,rep:1,len:10,table:21},{datatype:"NM",desc:"Bad Debt Transfer Amount",opt:1,rep:1,len:12},{datatype:"NM",desc:"Bad Debt Recovery Amount",opt:1,rep:1,len:12},{datatype:"IS",desc:"Delete Account Indicator",opt:1,rep:1,len:1,table:111},{datatype:"DT",desc:"Delete Account Date",opt:1,rep:1,len:8},{datatype:"IS",desc:"Discharge Disposition",opt:1,rep:1,len:3,table:112},{datatype:"DLD",desc:"Discharged to Location",opt:1,rep:1,len:25},{datatype:"CE",desc:"Diet Type",opt:1,rep:1,len:80},{datatype:"IS",desc:"Servicing Facility",opt:1,rep:1,len:2,table:115},{datatype:"IS",desc:"Bed Status",opt:1,rep:1,len:1,table:116},{datatype:"IS",desc:"Account Status",opt:1,rep:1,len:2,table:117},{datatype:"PL",desc:"Pending Location",opt:1,rep:1,len:80},{datatype:"PL",desc:"Prior Temporary Location",opt:1,rep:1,len:80},{datatype:"TS",desc:"Admit Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Discharge Date/Time",opt:1,rep:1,len:26},{datatype:"NM",desc:"Current Patient Balance",opt:1,rep:1,len:12},{datatype:"NM",desc:"Total Charges",opt:1,rep:1,len:12},{datatype:"NM",desc:"Total Adjustments",opt:1,rep:1,len:12},{datatype:"NM",desc:"Total Payments",opt:1,rep:1,len:12},{datatype:"CX",desc:"Alternate Visit ID",opt:1,rep:1,len:20},{datatype:"IS",desc:"Visit Indicator",opt:1,rep:1,len:1,table:326},{datatype:"XCN",desc:"Other Healthcare Provider",opt:1,rep:0,len:60}]},PV2:{desc:"Patient visit - additional information segment",fields:[{datatype:"PL",desc:"Prior Pending Location",opt:1,rep:1,len:80},{datatype:"CE",desc:"Accommodation Code",opt:1,rep:1,len:60},{datatype:"CE",desc:"Admit Reason",opt:1,rep:1,len:60},{datatype:"CE",desc:"Transfer Reason",opt:1,rep:1,len:60},{datatype:"ST",desc:"Patient Valuables",opt:1,rep:0,len:25},{datatype:"ST",desc:"Patient Valuables Location",opt:1,rep:1,len:25},{datatype:"IS",desc:"Visit User Code",opt:1,rep:1,len:2,table:130},{datatype:"TS",desc:"Expected Admit Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Expected Discharge Date/Time",opt:1,rep:1,len:26},{datatype:"NM",desc:"Estimated Length of Inpatient Stay",opt:1,rep:1,len:3},{datatype:"NM",desc:"Actual Length of Inpatient Stay",opt:1,rep:1,len:3},{datatype:"ST",desc:"Visit Description",opt:1,rep:1,len:50},{datatype:"XCN",desc:"Referral Source Code",opt:1,rep:0,len:90},{datatype:"DT",desc:"Previous Service Date",opt:1,rep:1,len:8},{datatype:"ID",desc:"Employment Illness Related Indicator",opt:1,rep:1,len:1,table:136},{datatype:"IS",desc:"Purge Status Code",opt:1,rep:1,len:1,table:213},{datatype:"DT",desc:"Purge Status Date",opt:1,rep:1,len:8},{datatype:"IS",desc:"Special Program Code",opt:1,rep:1,len:2,table:214},{datatype:"ID",desc:"Retention Indicator",opt:1,rep:1,len:1,table:136},{datatype:"NM",desc:"Expected Number of Insurance Plans",opt:1,rep:1,len:1},{datatype:"IS",desc:"Visit Publicity Code",opt:1,rep:1,len:1,table:215},{datatype:"ID",desc:"Visit Protection Indicator",opt:1,rep:1,len:1,table:136},{datatype:"XON",desc:"Clinic Organization Name",opt:1,rep:0,len:90},{datatype:"IS",desc:"Patient Status Code",opt:1,rep:1,len:2,table:216},{datatype:"IS",desc:"Visit Priority Code",opt:1,rep:1,len:1,table:217},{datatype:"DT",desc:"Previous Treatment Date",opt:1,rep:1,len:8},{datatype:"IS",desc:"Expected Discharge Disposition",opt:1,rep:1,len:2,table:112},{datatype:"DT",desc:"Signature on File Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"First Similar Illness Date",opt:1,rep:1,len:8},{datatype:"CE",desc:"Patient Charge Adjustment Code",opt:1,rep:1,len:80},{datatype:"IS",desc:"Recurring Service Code",opt:1,rep:1,len:2,table:219},{datatype:"ID",desc:"Billing Media Code",opt:1,rep:1,len:1,table:136},{datatype:"TS",desc:"Expected Surgery Date & Time",opt:1,rep:1,len:26},{datatype:"ID",desc:"Military Partnership Code",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Military Non-Availability Code",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Newborn Baby Indicator",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Baby Detained Indicator",opt:1,rep:1,len:1,table:136}]},QAK:{desc:"Query Acknowledgement",fields:[{datatype:"ST",desc:"Query Tag",opt:1,rep:1,len:32},{datatype:"ID",desc:"Query Response Status",opt:1,rep:1,len:2,table:208}]},QRD:{desc:"Original-style query definition segment",fields:[{datatype:"TS",desc:"Query Date/Time",opt:2,rep:1,len:26},{datatype:"ID",desc:"Query Format Code",opt:2,rep:1,len:1,table:106},{datatype:"ID",desc:"Query Priority",opt:2,rep:1,len:1,table:91},{datatype:"ST",desc:"Query ID",opt:2,rep:1,len:10},{datatype:"ID",desc:"Deferred Response Type",opt:1,rep:1,len:1,table:107},{datatype:"TS",desc:"Deferred Response Date/Time",opt:1,rep:1,len:26},{datatype:"CQ",desc:"Quantity Limited Request",opt:2,rep:1,len:10},{datatype:"XCN",desc:"Who Subject Filter",opt:2,rep:0,len:60},{datatype:"CE",desc:"What Subject Filter",opt:2,rep:0,len:60},{datatype:"CE",desc:"What Department Data Code",opt:2,rep:0,len:60},{datatype:"VR",desc:"What Data Code Value Qual.",opt:1,rep:0,len:20},{datatype:"ID",desc:"Query Results Level",opt:1,rep:1,len:1,table:108}]},QRF:{desc:"Original style query filter segment",fields:[{datatype:"ST",desc:"Where Subject Filter",opt:2,rep:0,len:20},{datatype:"TS",desc:"When Data Start Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"When Data End Date/Time",opt:1,rep:1,len:26},{datatype:"ST",desc:"What User Qualifier",opt:1,rep:0,len:60},{datatype:"ST",desc:"Other QRY Subject Filter",opt:1,rep:0,len:60},{datatype:"ID",desc:"Which Date/Time Qualifier",opt:1,rep:0,len:12,table:156},{datatype:"ID",desc:"Which Date/Time Status Qualifier",opt:1,rep:0,len:12,table:157},{datatype:"ID",desc:"Date/Time Selection Qualifier",opt:1,rep:0,len:12,table:158},{datatype:"TQ",desc:"When Quantity/Timing Qualifier",opt:1,rep:1,len:60}]},RDF:{desc:"Table row definition segment",fields:[{datatype:"NM",desc:"Number of Columns per Row",opt:2,rep:1,len:3},{datatype:"RCD",desc:"Column Description",opt:2,rep:0,len:40}]},RDT:{desc:"Table row data segment",fields:[{datatype:"VARIES",desc:"Column Value",opt:1,rep:1}]},RF1:{desc:"Referral Infomation",fields:[{datatype:"CE",desc:"Referral Status",opt:1,rep:1,len:200},{datatype:"CE",desc:"Referral Priority",opt:1,rep:1,len:200},{datatype:"CE",desc:"Referral Type",opt:1,rep:1,len:200},{datatype:"CE",desc:"Referral Disposition",opt:1,rep:0,len:200},{datatype:"CE",desc:"Referral Category",opt:1,rep:1,len:200},{datatype:"EI",desc:"Originating Referral Identifier",opt:2,rep:1,len:30},{datatype:"TS",desc:"Effective Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Expiration Date",opt:1,rep:1,len:26},{datatype:"TS",desc:"Process Date",opt:1,rep:1,len:26},{datatype:"CE",desc:"Referral Reason",opt:1,rep:0,len:200},{datatype:"EI",desc:"External Referral Identifier",opt:1,rep:0,len:30}]},RGS:{desc:"Resource group segment",fields:[{datatype:"SI",desc:"Set ID - RGS",opt:2,rep:1,len:4},{datatype:"ID",desc:"Segment Action Code",opt:1,rep:1,len:3,table:206},{datatype:"CE",desc:"Resource Group ID",opt:1,rep:1,len:200}]},ROL:{desc:"Role",fields:[{datatype:"EI",desc:"Role Instance ID",opt:2,rep:1,len:60},{datatype:"ID",desc:"Action Code",opt:2,rep:1,len:2,table:287},{datatype:"CE",desc:"Role-ROL",opt:2,rep:1,len:80},{datatype:"XCN",desc:"Role Person",opt:2,rep:0,len:80},{datatype:"TS",desc:"Role Begin Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Role End Date/Time",opt:1,rep:1,len:26},{datatype:"CE",desc:"Role Duration",opt:1,rep:1,len:80},{datatype:"CE",desc:"Role Action Reason",opt:1,rep:1,len:80}]},RQ1:{desc:"Requisition detail-1 segment",fields:[{datatype:"ST",desc:"Anticipated Price",opt:1,rep:1,len:10},{datatype:"CE",desc:"Manufacturer ID",opt:1,rep:1,len:60},{datatype:"ST",desc:"Manufacturer s Catalog",opt:1,rep:1,len:16},{datatype:"CE",desc:"Vendor ID",opt:1,rep:1,len:60},{datatype:"ST",desc:"Vendor Catalog",opt:1,rep:1,len:16},{datatype:"ID",desc:"Taxable",opt:1,rep:1,len:1,table:136},{datatype:"ID",desc:"Substitute Allowed",opt:1,rep:1,len:1,table:136}]},RQD:{desc:"Requisition detail segment",fields:[{datatype:"SI",desc:"Requisition Line Number",opt:1,rep:1,len:4},{datatype:"CE",desc:"Item Code - Internal",opt:1,rep:1,len:60},{datatype:"CE",desc:"Item Code - External",opt:1,rep:1,len:60},{datatype:"CE",desc:"Hospital Item Code",opt:1,rep:1,len:60},{datatype:"NM",desc:"Requisition Quantity",opt:1,rep:1,len:6},{datatype:"CE",desc:"Requisition Unit of Measure",opt:1,rep:1,len:60},{datatype:"IS",desc:"Dept. Cost Center",opt:1,rep:1,len:30,table:319},{datatype:"IS",desc:"Item Natural Account Code",opt:1,rep:1,len:30,table:320},{datatype:"CE",desc:"Deliver To ID",opt:1,rep:1,len:60},{datatype:"DT",desc:"Date Needed",opt:1,rep:1,len:8}]},RXA:{desc:"Pharmacy/treatment administration segment",fields:[{datatype:"NM",desc:"Give Sub-ID Counter",opt:2,rep:1,len:4},{datatype:"NM",desc:"Administration Sub-ID Counter",opt:2,rep:1,len:4},{datatype:"TS",desc:"Date/Time Start of Administration",opt:2,rep:1,len:26},{datatype:"TS",desc:"Date/Time End of Administration",opt:2,rep:1,len:26},{datatype:"CE",desc:"Administered Code",opt:2,rep:1,len:100},{datatype:"NM",desc:"Administered Amount",opt:2,rep:1,len:20},{datatype:"CE",desc:"Administered Units",opt:1,rep:1,len:60},{datatype:"CE",desc:"Administered Dosage Form",opt:1,rep:1,len:60},{datatype:"CE",desc:"Administration Notes",opt:1,rep:0,len:200},{datatype:"XCN",desc:"Administering Provider",opt:1,rep:0,len:200},{datatype:"LA2",desc:"Administered-at Location",opt:1,rep:1,len:200},{datatype:"ST",desc:"Administered Per",opt:1,rep:1,len:20},{datatype:"NM",desc:"Administered Strength",opt:1,rep:1,len:20},{datatype:"CE",desc:"Administered Strength Units",opt:1,rep:1,len:60},{datatype:"ST",desc:"Substance Lot Number",opt:1,rep:0,len:20},{datatype:"TS",desc:"Substance Expiration Date",opt:1,rep:0,len:26},{datatype:"CE",desc:"Substance Manufacturer Name",opt:1,rep:0,len:60},{datatype:"CE",desc:"Substance Refusal Reason",opt:1,rep:0,len:200},{datatype:"CE",desc:"Indication",opt:1,rep:0,len:200},{datatype:"ID",desc:"Completion Status",opt:1,rep:1,len:2,table:322},{datatype:"ID",desc:"Action Code-RXA",opt:1,rep:1,len:2,table:323},{datatype:"TS",desc:"System Entry Date/Time",opt:1,rep:1,len:26}]},RXC:{desc:"Pharmacy/treatment component order segment",fields:[{datatype:"ID",desc:"RX Component Type",opt:2,
  rep:1,len:1,table:166},{datatype:"CE",desc:"Component Code",opt:2,rep:1,len:100},{datatype:"NM",desc:"Component Amount",opt:2,rep:1,len:20},{datatype:"CE",desc:"Component Units",opt:2,rep:1,len:60},{datatype:"NM",desc:"Component Strength",opt:1,rep:1,len:20},{datatype:"CE",desc:"Component Strength Units",opt:1,rep:1,len:60}]},RXD:{desc:"Pharmacy/treatment dispense segment",fields:[{datatype:"NM",desc:"Dispense Sub-ID Counter",opt:2,rep:1,len:4},{datatype:"CE",desc:"Dispense/Give Code",opt:2,rep:1,len:100},{datatype:"TS",desc:"Date/Time Dispensed",opt:2,rep:1,len:26},{datatype:"NM",desc:"Actual Dispense Amount",opt:2,rep:1,len:20},{datatype:"CE",desc:"Actual Dispense Units",opt:1,rep:1,len:60},{datatype:"CE",desc:"Actual Dosage Form",opt:1,rep:1,len:60},{datatype:"ST",desc:"Prescription Number",opt:2,rep:1,len:20},{datatype:"NM",desc:"Number of Refills Remaining",opt:1,rep:1,len:20},{datatype:"ST",desc:"Dispense Notes",opt:1,rep:0,len:200},{datatype:"XCN",desc:"Dispensing Provider",opt:1,rep:0,len:200},{datatype:"ID",desc:"Substitution Status",opt:1,rep:1,len:1,table:167},{datatype:"CQ",desc:"Total Daily Dose",opt:1,rep:1,len:10},{datatype:"LA2",desc:"Dispense-To Location",opt:1,rep:1,len:200},{datatype:"ID",desc:"Needs Human Review",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Pharmacy/Treatment Supplier s Special Dispensing Instructions",opt:1,rep:0,len:200},{datatype:"NM",desc:"Actual Strength",opt:1,rep:1,len:20},{datatype:"CE",desc:"Actual Strength Unit",opt:1,rep:1,len:60},{datatype:"ST",desc:"Substance Lot Number",opt:1,rep:0,len:20},{datatype:"TS",desc:"Substance Expiration Date",opt:1,rep:0,len:26},{datatype:"CE",desc:"Substance Manufacturer Name",opt:1,rep:0,len:60},{datatype:"CE",desc:"Indication",opt:1,rep:0,len:200},{datatype:"NM",desc:"Dispense Package Size",opt:1,rep:1,len:20},{datatype:"CE",desc:"Dispense Package Size Unit",opt:1,rep:1,len:60},{datatype:"ID",desc:"Dispense Package Method",opt:1,rep:1,len:2,table:321}]},RXE:{desc:"Pharmacy/treatment encoded order segment",fields:[{datatype:"TQ",desc:"Quantity/Timing",opt:2,rep:1,len:200},{datatype:"CE",desc:"Give Code",opt:2,rep:1,len:100},{datatype:"NM",desc:"Give Amount - Minimum",opt:2,rep:1,len:20},{datatype:"NM",desc:"Give Amount - Maximum",opt:1,rep:1,len:20},{datatype:"CE",desc:"Give Units",opt:2,rep:1,len:60},{datatype:"CE",desc:"Give Dosage Form",opt:1,rep:1,len:60},{datatype:"CE",desc:"Provider s Administration Instructions",opt:1,rep:0,len:200},{datatype:"LA1",desc:"Deliver-to Location",opt:1,rep:1,len:200},{datatype:"ID",desc:"Substitution Status",opt:1,rep:1,len:1,table:167},{datatype:"NM",desc:"Dispense Amount",opt:1,rep:1,len:20},{datatype:"CE",desc:"Dispense Units",opt:1,rep:1,len:60},{datatype:"NM",desc:"Number Of Refills",opt:1,rep:1,len:3},{datatype:"XCN",desc:"Ordering Provider s DEA Number",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Pharmacist/Treatment Supplier s Verifier ID",opt:1,rep:0,len:60},{datatype:"ST",desc:"Prescription Number",opt:1,rep:1,len:20},{datatype:"NM",desc:"Number of Refills Remaining",opt:1,rep:1,len:20},{datatype:"NM",desc:"Number of Refills/Doses Dispensed",opt:1,rep:1,len:20},{datatype:"TS",desc:"D/T of Most Recent Refill or Dose Dispensed",opt:1,rep:1,len:26},{datatype:"CQ",desc:"Total Daily Dose",opt:1,rep:1,len:10},{datatype:"ID",desc:"Needs Human Review",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Pharmacy/Treatment Supplier s Special Dispensing Instructions",opt:1,rep:0,len:200},{datatype:"ST",desc:"Give Per",opt:1,rep:1,len:20},{datatype:"ST",desc:"Give Rate Amount",opt:1,rep:1,len:6},{datatype:"CE",desc:"Give Rate Units",opt:1,rep:1,len:60},{datatype:"NM",desc:"Give Strength",opt:1,rep:1,len:20},{datatype:"CE",desc:"Give Strength Units",opt:1,rep:1,len:60},{datatype:"CE",desc:"Give Indication",opt:1,rep:0,len:200},{datatype:"NM",desc:"Dispense Package Size",opt:1,rep:1,len:20},{datatype:"CE",desc:"Dispense Package Size Unit",opt:1,rep:1,len:60},{datatype:"ID",desc:"Dispense Package Method",opt:1,rep:1,len:2,table:321}]},RXG:{desc:"Pharmacy/treatment give segment",fields:[{datatype:"NM",desc:"Give Sub-ID Counter",opt:2,rep:1,len:4},{datatype:"NM",desc:"Dispense Sub-ID Counter",opt:1,rep:1,len:4},{datatype:"TQ",desc:"Quantity/Timing",opt:2,rep:1,len:200},{datatype:"CE",desc:"Give Code",opt:2,rep:1,len:100},{datatype:"NM",desc:"Give Amount - Minimum",opt:2,rep:1,len:20},{datatype:"NM",desc:"Give Amount - Maximum",opt:1,rep:1,len:20},{datatype:"CE",desc:"Give Units",opt:2,rep:1,len:60},{datatype:"CE",desc:"Give Dosage Form",opt:1,rep:1,len:60},{datatype:"CE",desc:"Administration Notes",opt:1,rep:0,len:200},{datatype:"ID",desc:"Substitution Status",opt:1,rep:1,len:1,table:167},{datatype:"LA2",desc:"Dispense-To Location",opt:1,rep:1,len:200},{datatype:"ID",desc:"Needs Human Review",opt:1,rep:1,len:1,table:136},{datatype:"CE",desc:"Pharmacy/Treatment Supplier s Special Administration Instructions",opt:1,rep:0,len:200},{datatype:"ST",desc:"Give Per",opt:1,rep:1,len:20},{datatype:"ST",desc:"Give Rate Amount",opt:1,rep:1,len:6},{datatype:"CE",desc:"Give Rate Units",opt:1,rep:1,len:60},{datatype:"NM",desc:"Give Strength",opt:1,rep:1,len:20},{datatype:"CE",desc:"Give Strength Units",opt:1,rep:1,len:60},{datatype:"ST",desc:"Substance Lot Number",opt:1,rep:0,len:20},{datatype:"TS",desc:"Substance Expiration Date",opt:1,rep:0,len:26},{datatype:"CE",desc:"Substance Manufacturer Name",opt:1,rep:0,len:60},{datatype:"CE",desc:"Indication",opt:1,rep:0,len:200}]},RXO:{desc:"Pharmacy/treatment order segment",fields:[{datatype:"CE",desc:"Requested Give Code",opt:1,rep:1,len:100},{datatype:"NM",desc:"Requested Give Amount - Minimum",opt:1,rep:1,len:20},{datatype:"NM",desc:"Requested Give Amount - Maximum",opt:1,rep:1,len:20},{datatype:"CE",desc:"Requested Give Units",opt:1,rep:1,len:60},{datatype:"CE",desc:"Requested Dosage Form",opt:1,rep:1,len:60},{datatype:"CE",desc:"Provider s Pharmacy/Treatment Instructions",opt:1,rep:0,len:200},{datatype:"CE",desc:"Provider s Administration Instructions",opt:1,rep:0,len:200},{datatype:"LA1",desc:"Deliver-to Location",opt:1,rep:1,len:200},{datatype:"ID",desc:"Allow Substitutions",opt:1,rep:1,len:1,table:161},{datatype:"CE",desc:"Requested Dispense Code",opt:1,rep:1,len:100},{datatype:"NM",desc:"Requested Dispense Amount",opt:1,rep:1,len:20},{datatype:"CE",desc:"Requested Dispense Units",opt:1,rep:1,len:60},{datatype:"NM",desc:"Number Of Refills",opt:1,rep:1,len:3},{datatype:"XCN",desc:"Ordering Provider s DEA Number",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Pharmacist/Treatment Supplier s Verifier ID",opt:1,rep:0,len:60},{datatype:"ID",desc:"Needs Human Review",opt:1,rep:1,len:1,table:136},{datatype:"ST",desc:"Requested Give Per",opt:1,rep:1,len:20},{datatype:"NM",desc:"Requested Give Strength",opt:1,rep:1,len:20},{datatype:"CE",desc:"Requested Give Strength Units",opt:1,rep:1,len:60},{datatype:"CE",desc:"Indication",opt:1,rep:0,len:200},{datatype:"ST",desc:"Requested Give Rate Amount",opt:1,rep:1,len:6},{datatype:"CE",desc:"Requested Give Rate Units",opt:1,rep:1,len:60},{datatype:"CQ",desc:"Total Daily Dose",opt:1,rep:1,len:10}]},RXR:{desc:"Pharmacy/treatment route segment",fields:[{datatype:"CE",desc:"Route",opt:2,rep:1,len:60},{datatype:"CE",desc:"Site",opt:1,rep:1,len:60},{datatype:"CE",desc:"Administration Device",opt:1,rep:1,len:60},{datatype:"CE",desc:"Administration Method",opt:1,rep:1,len:60},{datatype:"CE",desc:"Routing Instruction",opt:1,rep:1,len:60}]},SCH:{desc:"Schedule activity information segment",fields:[{datatype:"EI",desc:"Placer Appointment ID",opt:1,rep:1,len:75},{datatype:"EI",desc:"Filler Appointment ID",opt:1,rep:1,len:75},{datatype:"NM",desc:"Occurrence Number",opt:1,rep:1,len:5},{datatype:"EI",desc:"Placer Group Number",opt:1,rep:1,len:22},{datatype:"CE",desc:"Schedule ID",opt:1,rep:1,len:200},{datatype:"CE",desc:"Event Reason",opt:2,rep:1,len:200},{datatype:"CE",desc:"Appointment Reason",opt:1,rep:1,len:200},{datatype:"CE",desc:"Appointment Type",opt:1,rep:1,len:200},{datatype:"NM",desc:"Appointment Duration",opt:1,rep:1,len:20},{datatype:"CE",desc:"Appointment Duration Units",opt:1,rep:1,len:200},{datatype:"TQ",desc:"Appointment Timing Quantity",opt:2,rep:0,len:200},{datatype:"XCN",desc:"Placer Contact Person",opt:1,rep:0,len:48},{datatype:"XTN",desc:"Placer Contact Phone Number",opt:1,rep:1,len:40},{datatype:"XAD",desc:"Placer Contact Address",opt:1,rep:0,len:106},{datatype:"PL",desc:"Placer Contact Location",opt:1,rep:1,len:80},{datatype:"XCN",desc:"Filler Contact Person",opt:2,rep:0,len:38},{datatype:"XTN",desc:"Filler Contact Phone Number",opt:1,rep:1,len:40},{datatype:"XAD",desc:"Filler Contact Address",opt:1,rep:0,len:106},{datatype:"PL",desc:"Filler Contact Location",opt:1,rep:1,len:80},{datatype:"XCN",desc:"Entered by Person",opt:2,rep:0,len:48},{datatype:"XTN",desc:"Entered by Phone Number",opt:1,rep:0,len:40},{datatype:"PL",desc:"Entered by Location",opt:1,rep:1,len:80},{datatype:"EI",desc:"Parent Placer Appointment ID",opt:1,rep:1,len:75},{datatype:"EI",desc:"Parent Filler Appointment ID",opt:1,rep:1,len:75},{datatype:"CE",desc:"Filler Status Code",opt:1,rep:1,len:200}]},SPR:{desc:"Stored procedure request definition segment",fields:[{datatype:"ST",desc:"Query Tag",opt:1,rep:1,len:32},{datatype:"ID",desc:"Query/ Response Format Code",opt:2,rep:1,len:1,table:106},{datatype:"CE",desc:"Stored Procedure Name",opt:2,rep:1,len:60},{datatype:"QIP",desc:"Input Parameter List",opt:1,rep:0,len:256}]},STF:{desc:"Staff identification segment",fields:[{datatype:"CE",desc:"Primary Key Value - STF",opt:2,rep:1,len:60},{datatype:"CX",desc:"Staff ID Code",opt:1,rep:0,len:60},{datatype:"XPN",desc:"Staff Name",opt:1,rep:0,len:48},{datatype:"IS",desc:"Staff Type",opt:1,rep:0,len:2,table:182},{datatype:"IS",desc:"Sex",opt:1,rep:1,len:1,table:1},{datatype:"TS",desc:"Date/Time Of Birth",opt:1,rep:1,len:26},{datatype:"ID",desc:"Active/Inactive Flag",opt:1,rep:1,len:1,table:183},{datatype:"CE",desc:"Department",opt:1,rep:0,len:200},{datatype:"CE",desc:"Hospital Service",opt:1,rep:0,len:200},{datatype:"XTN",desc:"Phone",opt:1,rep:0,len:40},{datatype:"XAD",desc:"Office/Home Address",opt:1,rep:0,len:106},{datatype:"DIN",desc:"Institution Activation Date",opt:1,rep:0,len:26},{datatype:"DIN",desc:"Institution Inactivation Date",opt:1,rep:0,len:26},{datatype:"CE",desc:"Backup Person ID",opt:1,rep:0,len:60},{datatype:"ST",desc:"E-Mail Address",opt:1,rep:0,len:40},{datatype:"CE",desc:"Preferred Method Of Contact",opt:1,rep:1,len:200},{datatype:"CE",desc:"Marital Status",opt:1,rep:1,len:80},{datatype:"ST",desc:"Job Title",opt:1,rep:1,len:20},{datatype:"JCC",desc:"Job Code/Class",opt:1,rep:1,len:20},{datatype:"IS",desc:"Employment Status",opt:1,rep:1,len:2,table:66},{datatype:"ID",desc:"Additional Insured on  Auto",opt:1,rep:1,len:1,table:136},{datatype:"DLN",desc:"Driver s License Number - Staff",opt:1,rep:1,len:25},{datatype:"ID",desc:"Copy  Auto Ins",opt:1,rep:1,len:1,table:136},{datatype:"DT",desc:"Auto Ins. Expires",opt:1,rep:1,len:8},{datatype:"DT",desc:"Date Last DMV Review",opt:1,rep:1,len:8},{datatype:"DT",desc:"Date Next DMV Review",opt:1,rep:1,len:8}]},TXA:{desc:"Document notification segment",fields:[{datatype:"SI",desc:"Set ID - TXA",opt:2,rep:1,len:4},{datatype:"IS",desc:"Document Type",opt:2,rep:1,len:30,table:270},{datatype:"ID",desc:"Document Content Presentation",opt:1,rep:1,len:2,table:191},{datatype:"TS",desc:"Activity Date/Time",opt:1,rep:1,len:26},{datatype:"XCN",desc:"Primary Activity Provider Code/Name",opt:1,rep:0,len:60},{datatype:"TS",desc:"Origination Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Transcription Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"Edit Date/Time",opt:1,rep:0,len:26},{datatype:"XCN",desc:"Originator Code/Name",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Assigned Document Authenticator",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Transcriptionist Code/Name",opt:1,rep:0,len:48},{datatype:"EI",desc:"Unique Document Number",opt:2,rep:1,len:30},{datatype:"EI",desc:"Parent Document Number",opt:1,rep:1,len:30},{datatype:"EI",desc:"Placer Order Number",opt:1,rep:0,len:22},{datatype:"EI",desc:"Filler Order Number",opt:1,rep:1,len:22},{datatype:"ST",desc:"Unique Document File Name",opt:1,rep:1,len:30},{datatype:"ID",desc:"Document Completion Status",opt:2,rep:1,len:2,table:271},{datatype:"ID",desc:"Document Confidentiality Status",opt:1,rep:1,len:2,table:272},{datatype:"ID",desc:"Document Availability Status",opt:1,rep:1,len:2,table:273},{datatype:"ID",desc:"Document Storage Status",opt:1,rep:1,len:2,table:275},{datatype:"ST",desc:"Document Change Reason",opt:1,rep:1,len:30},{datatype:"PPN",desc:"Authentication Person, Time Stamp",opt:1,rep:0,len:60},{datatype:"XCN",desc:"Distributed Copies",opt:1,rep:0,len:60}]},UB1:{desc:"UB82 data segment",fields:[{datatype:"SI",desc:"Set ID - UB1",opt:1,rep:1,len:4},{datatype:"NM",desc:"Blood Deductible",opt:1,rep:1,len:1},{datatype:"NM",desc:"Blood Furnished-Pints Of",opt:1,rep:1,len:2},{datatype:"NM",desc:"Blood Replaced-Pints",opt:1,rep:1,len:2},{datatype:"NM",desc:"Blood Not Replaced-Pints",opt:1,rep:1,len:2},{datatype:"NM",desc:"Co-Insurance Days",opt:1,rep:1,len:2},{datatype:"IS",desc:"Condition Code",opt:1,rep:5,len:14,table:43},{datatype:"NM",desc:"Covered Days -",opt:1,rep:1,len:3},{datatype:"NM",desc:"Non Covered Days -",opt:1,rep:1,len:3},{datatype:"UVC",desc:"Value Amount & Code",opt:1,rep:8,len:12},{datatype:"NM",desc:"Number Of Grace Days",opt:1,rep:1,len:2},{datatype:"CE",desc:"Special Program Indicator",opt:1,rep:1,len:60},{datatype:"CE",desc:"PSRO/UR Approval Indicator",opt:1,rep:1,len:60},{datatype:"DT",desc:"PSRO/UR Approved Stay-Fm",opt:1,rep:1,len:8},{datatype:"DT",desc:"PSRO/UR Approved Stay-To",opt:1,rep:1,len:8},{datatype:"OCD",desc:"Occurrence",opt:1,rep:5,len:20},{datatype:"CE",desc:"Occurrence Span",opt:1,rep:1,len:60},{datatype:"DT",desc:"Occur Span Start Date",opt:1,rep:1,len:8},{datatype:"DT",desc:"Occur Span End Date",opt:1,rep:1,len:8},{datatype:"ST",desc:"UB-82 Locator 2",opt:1,rep:1,len:30},{datatype:"ST",desc:"UB-82 Locator 9",opt:1,rep:1,len:7},{datatype:"ST",desc:"UB-82 Locator 27",opt:1,rep:1,len:8},{datatype:"ST",desc:"UB-82 Locator 45",opt:1,rep:1,len:17}]},UB2:{desc:"UB92 data segment",fields:[{datatype:"SI",desc:"Set ID - UB2",opt:1,rep:1,len:4},{datatype:"ST",desc:"Co-Insurance Days",opt:1,rep:1,len:3},{datatype:"IS",desc:"Condition Code",opt:1,rep:7,len:2,table:43},{datatype:"ST",desc:"Covered Days",opt:1,rep:1,len:3},{datatype:"ST",desc:"Non-Covered Days",opt:1,rep:1,len:4},{datatype:"UVC",desc:"Value Amount & Code",opt:1,rep:12,len:11},{datatype:"OCD",desc:"Occurrence Code & Date",opt:1,rep:8,len:11},{datatype:"OSP",desc:"Occurrence Span Code/Dates",opt:1,rep:2,len:28},{datatype:"ST",desc:"UB92 Locator 2",opt:1,rep:2,len:29},{datatype:"ST",desc:"UB92 Locator 11",opt:1,rep:2,len:12},{datatype:"ST",desc:"UB92 Locator 31",opt:1,rep:1,len:5},{datatype:"ST",desc:"Document Control Number",opt:1,rep:3,len:23},{datatype:"ST",desc:"UB92 Locator 49",opt:1,rep:23,len:4},{datatype:"ST",desc:"UB92 Locator 56",opt:1,rep:5,len:14},{datatype:"ST",desc:"UB92 Locator 57",opt:1,rep:1,len:27},{datatype:"ST",desc:"UB92 Locator 78",opt:1,rep:2,len:2},{datatype:"NM",desc:"Special Visit Count",opt:1,rep:1,len:3}]},URD:{desc:"Results/update definition segment",fields:[{datatype:"TS",desc:"R/U Date/Time",opt:1,rep:1,len:26},{datatype:"ID",desc:"Report Priority",opt:1,rep:1,len:1,table:109},{datatype:"XCN",desc:"R/U Who Subject Definition",opt:2,rep:0,len:60},{datatype:"CE",desc:"R/U What Subject Definition",opt:1,rep:0,len:60},{datatype:"CE",desc:"R/U What Department Code",opt:1,rep:0,len:60},{datatype:"ST",desc:"R/U Display/Print Locations",opt:1,rep:0,len:20},{datatype:"ID",desc:"R/U Results Level",opt:1,rep:1,len:1,table:108}]},URS:{desc:"Unsolicited selection segment",fields:[{datatype:"ST",desc:"R/U Where Subject Definition",opt:2,rep:0,len:20},{datatype:"TS",desc:"R/U When Data Start Date/Time",opt:1,rep:1,len:26},{datatype:"TS",desc:"R/U When Data End Date/Time",opt:1,rep:1,len:26},{datatype:"ST",desc:"R/U What User Qualifier",opt:1,rep:0,len:20},{datatype:"ST",desc:"R/U Other Results Subject Definition",opt:1,rep:0,len:20},{datatype:"ID",desc:"R/U Which Date/Time Qualifier",opt:1,rep:0,len:12,table:156},{datatype:"ID",desc:"R/U Which Date/Time Status Qualifier",opt:1,rep:0,len:12,table:157},{datatype:"ID",desc:"R/U Date/Time Selection Qualifier",opt:1,rep:0,len:12,table:158},{datatype:"TQ",desc:"R/U Quantity/Timing Qualifier",opt:1,rep:1,len:60}]},VAR:{desc:"Variance",fields:[{datatype:"EI",desc:"Variance Instance ID",opt:2,rep:1,len:60},{datatype:"TS",desc:"Documented Date/Time",opt:2,rep:1,len:26},{datatype:"TS",desc:"Stated Variance Date/Time",opt:1,rep:1,len:26},{datatype:"XCN",desc:"Variance Originator",opt:1,rep:0,len:80},{datatype:"CE",desc:"Variance Classification",opt:1,rep:1,len:60},{datatype:"ST",desc:"Variance Description",opt:1,rep:0,len:512}]},VTQ:{desc:"Virtual table query request segment",fields:[{datatype:"ST",desc:"Query Tag",opt:1,rep:1,len:32},{datatype:"ID",desc:"Query/ Response Format Code",opt:2,rep:1,len:1,table:106},{datatype:"CE",desc:"VT Query Name",opt:2,rep:1,len:60},{datatype:"CE",desc:"Virtual Table Name",opt:2,rep:1,len:60},{datatype:"QSC",desc:"Selection Criteria",opt:1,rep:0,len:256}]}};t.exports=a},{}]},{},[2])(2)});