PK.CODESET
@CODESET.OPEN.PREFIXES,
@CODESET.HDR,
@CODESET.FIN.CLASS,
@CODESET.SVC,
@CODESET.LOC,
@CODESET.STATUS,
@CODESET.PROBLEMS,
@CODESET.LABS,
@CODESET.MEDS,
@CODESET.TRLR,
END;

CODESET.OPEN.PREFIXES
@misdir,
O(\,@misdict),
@pkdir

CODESET.HDR
"<?xml version="_D(34)_1.0_D(34)_" ?>"^!,
"<ReplyMessage>"^!,
"<TransactionId>0</TransactionId>"^!,
"<Status>Success</Status>"^!,
"<StatusDescription>Step returned a Success status.</StatusDescription>"^!,
"<Payload>"^!,
"<CodeSets>"^!

CODESET.FIN.CLASS
""^Q,
"<CodeSet>"^!,
"<CodeSetNumber>1</CodeSetNumber>"^!,
"<Codes>"^!,
DO{+(\GGK[Q],QQ)^Q IF{"Y"'=QQ|0;
QQ|1^Q1,"FC."_Q^Q3^Q2,@CODESET.SEND}},
"</Codes>"^!,
"<Key>"_/START_"</Key>"^!,
"</CodeSet>"^!

CODESET.SVC
""^Q,
"<CodeSet>"^!,
"<CodeSetNumber>6</CodeSetNumber>"^!,
"<Codes>"^!,
DO{+(\GGS[Q],QQ)^Q IF{"Y"'=QQ|0;
QQ|1^Q1,"SVC."_Q^Q3^Q2,@CODESET.SEND}},
"</Codes>"^!,
"<Key>"_/START_"</Key>"^!,
"</CodeSet>"^!

CODESET.LOC
""^Q,
"<CodeSet>"^!,
"<CodeSetNumber>4</CodeSetNumber>"^!,
"<Codes>"^!,
DO{+(\GGN[Q],QQ)^Q IF{"Y"'=QQ|0;
Q^Q2,
QQ|1_" ("_Q_")"^Q1,
"FACILITY"^Q3,
"LOC."_Q2^Q2,@CODESET.SEND}},
"</Codes>"^!,
"<Key>"_/START_"</Key>"^!,
"</CodeSet>"^!

CODESET.SEND
""^!,
"<Display><![CDATA["_Q1_"]]></Display>"^!,
"<Mnemonic><![CDATA["_Q2_"]]></Mnemonic>"^!,
"<Meaning><![CDATA["_Q3_"]]></Meaning>"^!,
""^!

CODESET.STATUS
"<CodeSet>"^!,
"<CodeSetNumber>9</CodeSetNumber>"^!,
"<Codes>"^!,
""^!,
"<Display>ADM IN</Display>"^!,
"<Meaning>PTST.ADM IN</Meaning>"^!,
"<Mnemonic>PTST.ADM IN</Mnemonic>"^!,
""^!,
""^!,
"<Display>DEP ER</Display>"^!,
"<Meaning>PTST.DEP ER</Meaning>"^!,
"<Mnemonic>PTST.DEP ER</Mnemonic>"^!,
""^!,
""^!,
"<Display>DIS IN</Display>"^!,
"<Meaning>PTST.DIS IN</Meaning>"^!,
"<Mnemonic>PTST.DIS IN</Mnemonic>"^!,
""^!,
""^!,
"<Display>DIS RCR</Display>"^!,
"<Meaning>PTST.DIS RCR</Meaning>"^!,
"<Mnemonic>PTST.DIS RCR</Mnemonic>"^!,
""^!,
""^!,
"<Display>PRE CLI</Display>"^!,
"<Meaning>PTST.PRE CLI</Meaning>"^!,
"<Mnemonic>PTST.PRE CLI</Mnemonic>"^!,
""^!,
""^!,
"<Display>PRE ER</Display>"^!,
"<Meaning>PTST.PRE ER</Meaning>"^!,
"<Mnemonic>PTST.PRE ER</Mnemonic>"^!,
""^!,
""^!,
"<Display>PRE IN</Display>"^!,
"<Meaning>PTST.PRE IN</Meaning>"^!,
"<Mnemonic>PTST.PRE IN</Mnemonic>"^!,
""^!,
""^!,
"<Display>PRE POV</Display>"^!,
"<Meaning>PTST.PRE POV</Meaning>"^!,
"<Mnemonic>PTST.PRE POV</Mnemonic>"^!,
""^!,
""^!,
"<Display>PRE RCR</Display>"^!,
"<Meaning>PTST.PRE RCR</Meaning>"^!,
"<Mnemonic>PTST.PRE RCR</Mnemonic>"^!,
""^!,
""^!,
"<Display>PRE REF</Display>"^!,
"<Meaning>PTST.PRE REF</Meaning>"^!,
"<Mnemonic>PTST.PRE REF</Mnemonic>"^!,
""^!,
""^!,
"<Display>PRE SDC</Display>"^!,
"<Meaning>PTST.PRE SDC</Meaning>"^!,
"<Mnemonic>PTST.PRE SDC</Mnemonic>"^!,
""^!,
""^!,
"<Display>REG CLI</Display>"^!,
"<Meaning>PTST.REG CLI</Meaning>"^!,
"<Mnemonic>PTST.REG CLI</Mnemonic>"^!,
""^!,
""^!,
"<Display>REG ER</Display>"^!,
"<Meaning>PTST.REG ER</Meaning>"^!,
"<Mnemonic>PTST.REG ER</Mnemonic>"^!,
""^!,
""^!,
"<Display>REG POV</Display>"^!,
"<Meaning>PTST.REG POV</Meaning>"^!,
"<Mnemonic>PTST.REG POV</Mnemonic>"^!,
""^!,
""^!,
"<Display>REG RCR</Display>"^!,
"<Meaning>PTST.REG RCR</Meaning>"^!,
"<Mnemonic>PTST.REG RCR</Mnemonic>"^!,
""^!,
""^!,
"<Display>REG REF</Display>"^!,
"<Meaning>PTST.REG REF</Meaning>"^!,
"<Mnemonic>PTST.REG REF</Mnemonic>"^!,
""^!,
""^!,
"<Display>REG SDC</Display>"^!,
"<Meaning>PTST.REG SDC</Meaning>"^!,
"<Mnemonic>PTST.REG SDC</Mnemonic>"^!,
""^!,
""^!,
"<Display>SCH CLI</Display>"^!,
"<Meaning>PTST.SCH CLI</Meaning>"^!,
"<Mnemonic>PTST.SCH CLI</Mnemonic>"^!,
""^!,
""^!,
"<Display>SCH ER</Display>"^!,
"<Meaning>PTST.SCH ER</Meaning>"^!,
"<Mnemonic>PTST.SCH ER</Mnemonic>"^!,
""^!,
""^!,
"<Display>SCH IN</Display>"^!,
"<Meaning>PTST.SCH IN</Meaning>"^!,
"<Mnemonic>PTST.SCH IN</Mnemonic>"^!,
""^!,
""^!,
"<Display>SCH POV</Display>"^!,
"<Meaning>PTST.SCH POV</Meaning>"^!,
"<Mnemonic>PTST.SCH POV</Mnemonic>"^!,
""^!,
""^!,
"<Display>SCH RCR</Display>"^!,
"<Meaning>PTST.SCH RCR</Meaning>"^!,
"<Mnemonic>PTST.SCH RCR</Mnemonic>"^!,
""^!,
""^!,
"<Display>SCH REF</Display>"^!,
"<Meaning>PTST.SCH REF</Meaning>"^!,
"<Mnemonic>PTST.SCH REF</Mnemonic>"^!,
""^!,
""^!,
"<Display>SCH SDC</Display>"^!,
"<Meaning>PTST.SCH SDC</Meaning>"^!,
"<Mnemonic>PTST.SCH SDC</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key>"_/START_"</Key>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>2</CodeSetNumber>"^!,
"<Codes>"^!,
""^!,
"<Display>IN</Display>"^!,
"<Meaning>PTTY.IN</Meaning>"^!,
"<Mnemonic>PTTY.IN</Mnemonic>"^!,
""^!,
""^!,
"<Display>ER</Display>"^!,
"<Meaning>PTTY.ER</Meaning>"^!,
"<Mnemonic>PTTY.ER</Mnemonic>"^!,
""^!,
""^!,
"<Display>RCR</Display>"^!,
"<Meaning>PTTY.RCR</Meaning>"^!,
"<Mnemonic>PTTY.RCR</Mnemonic>"^!,
""^!,
""^!,
"<Display>CLI</Display>"^!,
"<Meaning>PTTY.CLI</Meaning>"^!,
"<Mnemonic>PTTY.CLI</Mnemonic>"^!,
""^!,
""^!,
"<Display>POV</Display>"^!,
"<Meaning>PTTY.POV</Meaning>"^!,
"<Mnemonic>PTTY.POV</Mnemonic>"^!,
""^!,
""^!,
"<Display>REF</Display>"^!,
"<Meaning>PTTY.REF</Meaning>"^!,
"<Mnemonic>PTTY.REF</Mnemonic>"^!,
""^!,
""^!,
"<Display>SDC</Display>"^!,
"<Meaning>PTTY.SDC</Meaning>"^!,
"<Mnemonic>PTTY.SDC</Mnemonic>"^!,
""^!,
""^!,
"<Display>OBSV</Display>"^!,
"<Meaning>PTTY.OBSV</Meaning>"^!,
"<Mnemonic>PTTY.OBSV</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key>"_/START_"</Key>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>3</CodeSetNumber>"^!,
"<CodeSetName>Relationship Types</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Admitting Physician</Display>"^!,
"<Meaning>ADMITDOC</Meaning>"^!,
"<Mnemonic>ADMITDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Attending Physician</Display>"^!,
"<Meaning>ATTENDDOC</Meaning>"^!,
"<Mnemonic>ATTENDDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Consulting Physician</Display>"^!,
"<Meaning>CONSULTDOC</Meaning>"^!,
"<Mnemonic>CONSULTDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Other Physician</Display>"^!,
"<Meaning>OTHERDOC</Meaning>"^!,
"<Mnemonic>OTHERDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Ordering Physician</Display>"^!,
"<Meaning>ORDERDOC</Meaning>"^!,
"<Mnemonic>ORDERDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Primary Care Physician</Display>"^!,
"<Meaning>PRIMCAREDOC</Meaning>"^!,
"<Mnemonic>PRIMCAREDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Referring Physician</Display>"^!,
"<Meaning>ERDOC</Meaning>"^!,
"<Mnemonic>ERDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Meditech List</Display>"^!,
"<Meaning>MEDITECHLIST</Meaning>"^!,
"<Mnemonic>MEDITECHLIST</Mnemonic>"^!,
""^!,
""^!,
"<Display>Meditech Group List</Display>"^!,
"<Meaning>MEDITECHLIST.GROUP</Meaning>"^!,
"<Mnemonic>MEDITECHLIST.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Surgeon</Display>"^!,
"<Meaning>SURGEON</Meaning>"^!,
"<Mnemonic>SURGEON</Mnemonic>"^!,
""^!,
""^!,
"<Display>Asst. Surgeon</Display>"^!,
"<Meaning>ASSTSURGEON</Meaning>"^!,
"<Mnemonic>ASSTSURGEON</Mnemonic>"^!,
""^!,
""^!,
"<Display>Appt. Resource</Display>"^!,
"<Meaning>APPTRESOURCE</Meaning>"^!,
"<Mnemonic>APPTRESOURCE</Mnemonic>"^!,
""^!,
""^!,
"<Display>Family Physician</Display>"^!,
"<Meaning>FAMILYDOC</Meaning>"^!,
"<Mnemonic>FAMILYDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Admitting</Display>"^!,
"<Meaning>ADMITDOC.GROUP</Meaning>"^!,
"<Mnemonic>ADMITDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Attending</Display>"^!,
"<Meaning>ATTENDDOC.GROUP</Meaning>"^!,
"<Mnemonic>ATTENDDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Consulting</Display>"^!,
"<Meaning>CONSULTDOC.GROUP</Meaning>"^!,
"<Mnemonic>CONSULTDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Other</Display>"^!,
"<Meaning>OTHERDOC.GROUP</Meaning>"^!,
"<Mnemonic>OTHERDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Ordering</Display>"^!,
"<Meaning>ORDERDOC.GROUP</Meaning>"^!,
"<Mnemonic>ORDERDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Primary Care</Display>"^!,
"<Meaning>PRIMCAREDOC.GROUP</Meaning>"^!,
"<Mnemonic>PRIMCAREDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Referring</Display>"^!,
"<Meaning>ERDOC.GROUP</Meaning>"^!,
"<Mnemonic>ERDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>Group Family</Display>"^!,
"<Meaning>FAMILYDOC.GROUP</Meaning>"^!,
"<Mnemonic>FAMILYDOC.GROUP</Mnemonic>"^!,
""^!,
""^!,
"<Display>PatientKeeper</Display>"^!,
"<Meaning>PATIENTKEEPERDOC</Meaning>"^!,
"<Mnemonic>PATIENTKEEPERDOC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Location</Display>"^!,
"<Meaning>LOCATION</Meaning>"^!,
"<Mnemonic>LOCATION</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>999999999</CodeSetNumber>"^!,
"<CodeSetName>Address</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>Street1</Meaning>"^!,
"<Mnemonic>Street1</Mnemonic>"^!,
"<Value>41</Value>"^!,
""^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>Street2</Meaning>"^!,
"<Mnemonic>Street2</Mnemonic>"^!,
"<Value>42</Value>"^!,
""^!,
""^!,
"<Display>City</Display>"^!,
"<Meaning>City</Meaning>"^!,
"<Mnemonic>City</Mnemonic>"^!,
"<Value>43</Value>"^!,
""^!,
""^!,
"<Display>State</Display>"^!,
"<Meaning>State</Meaning>"^!,
"<Mnemonic>State</Mnemonic>"^!,
"<Value>44</Value>"^!,
""^!,
""^!,
"<Display>ZipCode</Display>"^!,
"<Meaning>ZipCode</Meaning>"^!,
"<Mnemonic>ZipCode</Mnemonic>"^!,
"<Value>45</Value>"^!,
""^!,
""^!,
"<Display>Home Phone</Display>"^!,
"<Meaning>HomePhone</Meaning>"^!,
"<Mnemonic>HomePhone</Mnemonic>"^!,
"<Value>46</Value>"^!,
""^!,
""^!,
"<Display>Work Phone</Display>"^!,
"<Meaning>WorkPhone</Meaning>"^!,
"<Mnemonic>WorkPhone</Mnemonic>"^!,
"<Value>47</Value>"^!,
""^!,
""^!,
"<Display>Other Phone</Display>"^!,
"<Meaning>OtherPhone</Meaning>"^!,
"<Mnemonic>OtherPhone</Mnemonic>"^!,
"<Value>48</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>12</CodeSetNumber>"^!,
"<CodeSetName>AccountProperties</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>LastEncounterDateTime</Display>"^!,
"<Meaning>LastEncounterDateTime</Meaning>"^!,
"<Mnemonic>LastEncounterDateTime</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>22</CodeSetNumber>"^!,
"<CodeSetName>PrimaryInsurance</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Company</Display>"^!,
"<Meaning>PrimaryInsurance.Company</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.Company</Mnemonic>"^!,
"<Value>50</Value>"^!,
""^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>PrimaryInsurance.Street1</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.Street1</Mnemonic>"^!,
"<Value>51</Value>"^!,
""^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>PrimaryInsurance.Street2</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.Street2</Mnemonic>"^!,
"<Value>52</Value>"^!,
""^!,
""^!,
"<Display>City</Display>"^!,
"<Meaning>PrimaryInsurance.City</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.City</Mnemonic>"^!,
"<Value>53</Value>"^!,
""^!,
""^!,
"<Display>State</Display>"^!,
"<Meaning>PrimaryInsurance.State</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.State</Mnemonic>"^!,
"<Value>54</Value>"^!,
""^!,
""^!,
"<Display>ZipCode</Display>"^!,
"<Meaning>PrimaryInsurance.ZipCode</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.ZipCode</Mnemonic>"^!,
"<Value>55</Value>"^!,
""^!,
""^!,
"<Display>Phone</Display>"^!,
"<Meaning>PrimaryInsurance.Phone</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.Phone</Mnemonic>"^!,
"<Value>56</Value>"^!,
""^!,
""^!,
"<Display>Type</Display>"^!,
"<Meaning>PrimaryInsurance.Type</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.Type</Mnemonic>"^!,
"<Value>57</Value>"^!,
""^!,
""^!,
"<Display>Policy</Display>"^!,
"<Meaning>PrimaryInsurance.Policy</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.Policy</Mnemonic>"^!,
"<Value>58</Value>"^!,
""^!,
""^!,
"<Display>Guarantor</Display>"^!,
"<Meaning>PrimaryInsurance.Guarantor</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.Guarantor</Mnemonic>"^!,
"<Value>59</Value>"^!,
""^!,
""^!,
"<Display>GroupAuthorization</Display>"^!,
"<Meaning>PrimaryInsurance.GroupAuthorization</Meaning>"^!,
"<Mnemonic>PrimaryInsurance.GroupAuthorization</Mnemonic>"^!,
"<Value>60</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>23</CodeSetNumber>"^!,
"<CodeSetName>SecondaryInsurance</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Company</Display>"^!,
"<Meaning>SecondaryInsurance.Company</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.Company</Mnemonic>"^!,
"<Value>70</Value>"^!,
""^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>SecondaryInsurance.Street1</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.Street1</Mnemonic>"^!,
"<Value>71</Value>"^!,
""^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>SecondaryInsurance.Street2</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.Street2</Mnemonic>"^!,
"<Value>72</Value>"^!,
""^!,
""^!,
"<Display>City</Display>"^!,
"<Meaning>SecondaryInsurance.City</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.City</Mnemonic>"^!,
"<Value>73</Value>"^!,
""^!,
""^!,
"<Display>State</Display>"^!,
"<Meaning>SecondaryInsurance.State</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.State</Mnemonic>"^!,
"<Value>74</Value>"^!,
""^!,
""^!,
"<Display>ZipCode</Display>"^!,
"<Meaning>SecondaryInsurance.ZipCode</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.ZipCode</Mnemonic>"^!,
"<Value>75</Value>"^!,
""^!,
""^!,
"<Display>Phone</Display>"^!,
"<Meaning>SecondaryInsurance.Phone</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.Phone</Mnemonic>"^!,
"<Value>76</Value>"^!,
""^!,
""^!,
"<Display>Type</Display>"^!,
"<Meaning>SecondaryInsurance.Type</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.Type</Mnemonic>"^!,
"<Value>77</Value>"^!,
""^!,
""^!,
"<Display>Policy</Display>"^!,
"<Meaning>SecondaryInsurance.Policy</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.Policy</Mnemonic>"^!,
"<Value>78</Value>"^!,
""^!,
""^!,
"<Display>Guarantor</Display>"^!,
"<Meaning>SecondaryInsurance.Guarantor</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.Guarantor</Mnemonic>"^!,
"<Value>79</Value>"^!,
""^!,
""^!,
"<Display>GroupAuthorization</Display>"^!,
"<Meaning>SecondaryInsurance.GroupAuthorization</Meaning>"^!,
"<Mnemonic>SecondaryInsurance.GroupAuthorization</Mnemonic>"^!,
"<Value>80</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>24</CodeSetNumber>"^!,
"<CodeSetName>TertiaryInsurance</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Company</Display>"^!,
"<Meaning>TertiaryInsurance.Company</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.Company</Mnemonic>"^!,
"<Value>90</Value>"^!,
""^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>TertiaryInsurance.Street1</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.Street1</Mnemonic>"^!,
"<Value>91</Value>"^!,
""^!,
""^!,
"<Display>Street</Display>"^!,
"<Meaning>TertiaryInsurance.Street2</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.Street2</Mnemonic>"^!,
"<Value>92</Value>"^!,
""^!,
""^!,
"<Display>City</Display>"^!,
"<Meaning>TertiaryInsurance.City</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.City</Mnemonic>"^!,
"<Value>93</Value>"^!,
""^!,
""^!,
"<Display>State</Display>"^!,
"<Meaning>TertiaryInsurance.State</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.State</Mnemonic>"^!,
"<Value>94</Value>"^!,
""^!,
""^!,
"<Display>ZipCode</Display>"^!,
"<Meaning>TertiaryInsurance.ZipCode</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.ZipCode</Mnemonic>"^!,
"<Value>95</Value>"^!,
""^!,
""^!,
"<Display>Phone</Display>"^!,
"<Meaning>TertiaryInsurance.Phone</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.Phone</Mnemonic>"^!,
"<Value>96</Value>"^!,
""^!,
""^!,
"<Display>Type</Display>"^!,
"<Meaning>TertiaryInsurance.Type</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.Type</Mnemonic>"^!,
"<Value>97</Value>"^!,
""^!,
""^!,
"<Display>Policy</Display>"^!,
"<Meaning>TertiaryInsurance.Policy</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.Policy</Mnemonic>"^!,
"<Value>98</Value>"^!,
""^!,
""^!,
"<Display>Guarantor</Display>"^!,
"<Meaning>TertiaryInsurance.Guarantor</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.Guarantor</Mnemonic>"^!,
"<Value>99</Value>"^!,
""^!,
""^!,
"<Display>GroupAuthorization</Display>"^!,
"<Meaning>TertiaryInsurance.GroupAuthorization</Meaning>"^!,
"<Mnemonic>TertiaryInsurance.GroupAuthorization</Mnemonic>"^!,
"<Value>100</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!

CODESET.PROBLEMS
"<CodeSet>"^!,
"<CodeSetNumber>13</CodeSetNumber>"^!,
"<CodeSetName>Confirmation Status</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Confirmed</Display>"^!,
"<Meaning>PRB.Confirmed</Meaning>"^!,
"<Mnemonic>PRB.Confirmed</Mnemonic>"^!,
"<Value>1</Value>"^!,
""^!,
""^!,
"<Display>Confirmed</Display>"^!,
"<Meaning>PRB.Differential</Meaning>"^!,
"<Mnemonic>PRB.Differential</Mnemonic>"^!,
"<Value>2</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>14</CodeSetNumber>"^!,
"<CodeSetName>Classification</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Unknown</Display>"^!,
"<Meaning>PRB.ClassificationUnknown</Meaning>"^!,
"<Mnemonic>PRB.ClassificationUnknown</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>15</CodeSetNumber>"^!,
"<CodeSetName>CertaintyStatus</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Certainty Level 1</Display>"^!,
"<Meaning>PRB.CertaintyStatus1</Meaning>"^!,
"<Mnemonic>PRB.CertaintyStatus1</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>16</CodeSetNumber>"^!,
"<CodeSetName>PersistenceStatus</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Unknown</Display>"^!,
"<Meaning>PRB.PersistenceStatusUnknown</Meaning>"^!,
"<Mnemonic>PRB.PersistenceStatusUnknown</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>17</CodeSetNumber>"^!,
"<CodeSetName>RankingStatus</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>RankingStatus 1</Display>"^!,
"<Meaning>PRB.RankingStatus1</Meaning>"^!,
"<Mnemonic>PRB.RankingStatus1</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>18</CodeSetNumber>"^!,
"<CodeSetName>CancelReason</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Unknown</Display>"^!,
"<Meaning>PRB.CancelReasonUnknown</Meaning>"^!,
"<Mnemonic>PRB.CancelReasonUnknown</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>19</CodeSetNumber>"^!,
"<CodeSetName>ProblemRelationship</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Recorder</Display>"^!,
"<Meaning>PRB.Recorder</Meaning>"^!,
"<Mnemonic>PRB.Recorder</Mnemonic>"^!,
"<Value>10</Value>"^!,
""^!,
""^!,
"<Display>Responsible</Display>"^!,
"<Meaning>PRB.Responsible</Meaning>"^!,
"<Mnemonic>PRB.Responsible</Mnemonic>"^!,
"<Value>11</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>20</CodeSetNumber>"^!,
"<CodeSetName>LifeCycleStatus</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display></Display>"^!,
"<Meaning>PRB.Active</Meaning>"^!,
"<Mnemonic>PRB.Active</Mnemonic>"^!,
"<Value>20</Value>"^!,
""^!,
""^!,
"<Display></Display>"^!,
"<Meaning>PRB.Inactive</Meaning>"^!,
"<Mnemonic>PRB.Inactive</Mnemonic>"^!,
"<Value>21</Value>"^!,
""^!,
""^!,
"<Display></Display>"^!,
"<Meaning>PRB.Resolved</Meaning>"^!,
"<Mnemonic>PRB.Resolved</Mnemonic>"^!,
"<Value>22</Value>"^!,
""^!,
""^!,
"<Display></Display>"^!,
"<Meaning>PRB.Cancelled</Meaning>"^!,
"<Mnemonic>PRB.Cancelled</Mnemonic>"^!,
"<Value>23</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>21</CodeSetNumber>"^!,
"<CodeSetName>Course</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Improving</Display>"^!,
"<Meaning>PRB.Improving</Meaning>"^!,
"<Mnemonic>PRB.Improving</Mnemonic>"^!,
"<Value>30</Value>"^!,
""^!,
""^!,
"<Display>Worsening</Display>"^!,
"<Meaning>PRB.Worsening</Meaning>"^!,
"<Mnemonic>PRB.Worsening</Mnemonic>"^!,
"<Value>31</Value>"^!,
""^!,
""^!,
"<Display>Stable</Display>"^!,
"<Meaning>PRB.Stable</Meaning>"^!,
"<Mnemonic>PRB.Stable</Mnemonic>"^!,
"<Value>32</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>25</CodeSetNumber>"^!,
"<CodeSetName>Groups</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display><![CDATA[All My Groups]]></Display>"^!,
"<Mnemonic><![CDATA[GRP.ALLMYGROUPS]]></Mnemonic>"^!,
"<Meaning><![CDATA[GROUP]]></Meaning>"^!,
""^!,
""^Q,
DO{+(\GGH[Q],QQ)^Q IF{"Y"'=QQ|0;
QQ|1^Q1,
Q^Q2,
"GROUP"^Q3,
"GRP."_Q2^Q2,
""^!,
"<Display><![CDATA["_Q1_"]]></Display>"^!,
"<Mnemonic><![CDATA["_Q2_"]]></Mnemonic>"^!,
"<Meaning><![CDATA["_Q3_"]]></Meaning>"^!,
""^!}},
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>26</CodeSetNumber>"^!,
"<CodeSetName>BackendListTypes</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Mine</Display>"^!,
"<Mnemonic>BackendListTypes.Mine</Mnemonic>"^!,
"<Meaning>BackendListTypes.Mine</Meaning>"^!,
"<Value>111</Value>"^!,
""^!,
""^!,
"<Display>Group</Display>"^!,
"<Mnemonic>BackendListTypes.Group</Mnemonic>"^!,
"<Meaning>BackendListTypes.Group</Meaning>"^!,
"<Value>112</Value>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>27</CodeSetNumber>"^!,
"<CodeSetName>AppointmentTime</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Today</Display>"^!,
"<Mnemonic>AppointmentTime.Today</Mnemonic>"^!,
"<Meaning>0</Meaning>"^!,
""^!,
""^!,
"<Display>Yesterday</Display>"^!,
"<Mnemonic>AppointmentTime.Yesterday</Mnemonic>"^!,
"<Meaning>1</Meaning>"^!,
""^!,
""^!,
"<Display>Two Days Ago</Display>"^!,
"<Mnemonic>AppointmentTime.TwoDaysAgo</Mnemonic>"^!,
"<Meaning>2</Meaning>"^!,
""^!,
""^!,
"<Display>Three Days Ago</Display>"^!,
"<Mnemonic>AppointmentTime.ThreeDaysAgo</Mnemonic>"^!,
"<Meaning>3</Meaning>"^!,
""^!,
""^!,
"<Display>Four Days Ago</Display>"^!,
"<Mnemonic>AppointmentTime.FourDaysAgo</Mnemonic>"^!,
"<Meaning>4</Meaning>"^!,
""^!,
""^!,
"<Display>Five Days Ago</Display>"^!,
"<Mnemonic>AppointmentTime.FiveDaysAgo</Mnemonic>"^!,
"<Meaning>5</Meaning>"^!,
""^!,
""^!,
"<Display>Tomorrow</Display>"^!,
"<Mnemonic>AppointmentTime.Tomorrow</Mnemonic>"^!,
"<Meaning>-1</Meaning>"^!,
""^!,
""^!,
"<Display>Two Days Away</Display>"^!,
"<Mnemonic>AppointmentTime.TwoDaysAway</Mnemonic>"^!,
"<Meaning>-2</Meaning>"^!,
""^!,
""^!,
"<Display>Three Days Away</Display>"^!,
"<Mnemonic>AppointmentTime.ThreeDaysAway</Mnemonic>"^!,
"<Meaning>-3</Meaning>"^!,
""^!,
""^!,
"<Display>Four Days Away</Display>"^!,
"<Mnemonic>AppointmentTime.FourDaysAway</Mnemonic>"^!,
"<Meaning>-4</Meaning>"^!,
""^!,
""^!,
"<Display>Five Days Away</Display>"^!,
"<Mnemonic>AppointmentTime.FiveDaysAway</Mnemonic>"^!,
"<Meaning>-5</Meaning>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!,
"<CodeSet>"^!,
"<CodeSetNumber>5</CodeSetNumber>"^!,
"<CodeSetName>VisitType</CodeSetName>"^!,
"<Codes>"^!,
""^!,
"<Display>Inpatient</Display>"^!,
"<Meaning>VisitType.Inpatient</Meaning>"^!,
"<Mnemonic>VisitType.Inpatient</Mnemonic>"^!,
""^!,
""^!,
"<Display>Outpatient</Display>"^!,
"<Meaning>VisitType.Outpatient</Meaning>"^!,
"<Mnemonic>VisitType.Outpatient</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key/>"^!,
"</CodeSet>"^!

CODESET.LABS
%PK.CODESETLABS(0)

CODESET.MEDS
"<CodeSet>"^!,
"<CodeSetNumber>6004</CodeSetNumber>"^!,
"<Codes>"^!,
""^!,
"<Display>Active</Display>"^!,
"<Meaning>MEDORDSTAT.AC</Meaning>"^!,
"<Mnemonic>MEDORDSTAT.AC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Inactive</Display>"^!,
"<Meaning>MEDORDSTAT.DC</Meaning>"^!,
"<Mnemonic>MEDORDSTAT.DC</Mnemonic>"^!,
""^!,
""^!,
"<Display>Unverified</Display>"^!,
"<Meaning>MEDORDSTAT.UNV</Meaning>"^!,
"<Mnemonic>MEDORDSTAT.UNV</Mnemonic>"^!,
""^!,
"</Codes>"^!,
"<Key>"_/START_"</Key>"^!,
"</CodeSet>"^!

CODESET.TRLR
"</CodeSets>"^!,
"</Payload>"^!,
"</ReplyMessage>"^!
