Guest User

Untitled

a guest
Jun 7th, 2020
200
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <dataset>
  3.  
  4. <!-- A patient -->
  5. <patient patient_id="2" creator="1" date_created="2005-09-22 00:00:00.0" changed_by="1" date_changed="2008-08-18 12:29:59.0" voided="false" void_reason=""/>
  6. <patient_identifier patient_identifier_id="1" patient_id="2" identifier="101" identifier_type="2" preferred="0" location_id="1" creator="1" date_created="2005-09-22 00:00:00.0" voided="false" void_reason=""/>
  7.  
  8. <!-- A person with only a patient attached -->
  9. <person person_id="2" dead="false" creator="1" date_created="2005-01-01 00:00:00.0" voided="false" gender="M" />
  10. <person_name person_id="2" person_name_id="2" preferred="1" creator="1" date_created="2005-01-01 00:00:00.0" voided="false" given_name="John" middle_name="" family_name="Doe" />
  11. <patient patient_id="2" creator="1" date_created="2005-01-01 00:00:00.0" voided="false" />
  12. <patient_identifier patient_identifier_id="2" patient_id="2" creator="1" date_created="2005-01-01 00:00:00.0" identifier="a-D" identifier_type="1" preferred="1" voided="false" location_id="1" />
  13.  
  14. <!-- New (since 1.9) provider model -->
  15. <provider provider_id="1" person_id="502"/>
  16.  
  17.  
  18. <!-- Enroll a patient in a program -->
  19. <patient_program patient_program_id="1" patient_id="2" program_id="1" creator="1" date_enrolled="2005-01-01 00:00:00.0" date_created="2005-01-01 00:00:00.0" voided="false" uuid="32296060-03aa-102d-b0e3-001ec94a0cc5"/>
  20. <patient_program patient_program_id="101" patient_id="2" program_id="1" creator="1" date_enrolled="2001-01-01 00:00:00.0" date_created="2001-01-01 00:00:00.0" date_completed="2003-05-01 00:00:00.0" voided="false" uuid="32596060-03aa-102d-b0e3-001ec94a0cc5"/>
  21.  
  22. <!-- Add a new program: with concepts, workflows, states, and a concept map for one of the concepts -->
  23. <concept concept_id="10000" datatype_id="4" class_id="16" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="3093de5c-5140-11e1-a3e3-00248140a5eb"/>
  24. <concept_name concept_name_id="20000" concept_id="10000" name="TEST PROGRAM" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="36122a96-5140-11e1-a3e3-00248140a5eb"/>
  25.  
  26. <concept concept_id="10001" datatype_id="4" class_id="17" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="e73079ba-5143-11e1-a3e3-00248140a5eb"/>
  27. <concept_name concept_name_id="20001" concept_id="10001" name="TEST WORKFLOW" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="f7ff174c-5143-11e1-a3e3-00248140a5eb"/>
  28.  
  29. <concept concept_id="10002" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="36142ffa-5143-11e1-a3e3-00248140a5eb"/>
  30. <concept_name concept_name_id="20002" concept_id="10002" name="START STATE" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="3accabda-5143-11e1-a3e3-00248140a5eb"/>
  31.  
  32. <concept concept_id="10003" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="3fe89e62-5143-11e1-a3e3-00248140a5eb"/>
  33. <concept_name concept_name_id="20003" concept_id="10003" name="END STATE" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="44c8dd98-5143-11e1-a3e3-00248140a5eb"/>
  34.  
  35. <concept concept_id="10004" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="33e89e62-5143-11e1-a3e3-00248140a5eb"/>
  36. <concept_name concept_name_id="20004" concept_id="10004" name="MIDDLE STATE" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="80c8dd98-5143-11e1-a3e3-00248140a5eb"/>
  37.  
  38. <concept concept_id="10005" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="65e89e62-5143-11e1-a3e3-00248140a5eb"/>
  39. <concept_name concept_name_id="20005" concept_id="10005" name="RETIRED STATE" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="90c8dd98-5143-11e1-a3e3-00248140a5eb"/>
  40.  
  41. <concept concept_id="10006" datatype_id="4" class_id="17" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="c4d364c0-53a7-11e1-8cb6-00248140a5eb"/>
  42. <concept_name concept_name_id="20006" concept_id="10006" name="TEST WORKFLOW1" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="ccd6d1fc-53a7-11e1-8cb6-00248140a5eb"/>
  43. <concept_reference_term concept_reference_term_id="1001" concept_source_id="2" code="Test Workflow Code" name="Test Workflow Code" retired="0" creator="1" date_created="2004-08-12 00:00:00.0" uuid="49ffff34-53ad-11e1-8cb6-00248140a5eb"/>
  44. <concept_reference_map concept_map_id="1002" concept_id="10006" concept_reference_term_id="1001" concept_map_type_id="2" creator="1" date_created="2004-08-12 00:00:00.0" uuid="23b6f713-49d8-11e0-8fed-18a905e044dc"/>
  45.  
  46. <concept concept_id="10007" datatype_id="4" class_id="17" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="d5e83970-53a7-11e1-8cb6-00248140a5eb"/>
  47. <concept_name concept_name_id="20007" concept_id="10007" name="TEST WORKFLOW2" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="db36a0ce-53a7-11e1-8cb6-00248140a5eb"/>
  48.  
  49. <concept concept_id="10008" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="3ac056a2-53ad-11e1-8cb6-00248140a5eb"/>
  50. <concept_name concept_name_id="20008" concept_id="10008" name="TEST STATE7" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="3fcf5d3c-53ad-11e1-8cb6-00248140a5eb"/>
  51.  
  52. <concept concept_id="10009" datatype_id="4" class_id="18" is_set="false" creator="1" date_created="2008-08-15 15:27:51.0" retired="false" uuid="450dd72e-53ad-11e1-8cb6-00248140a5eb"/>
  53. <concept_name concept_name_id="20009" concept_id="10009" name="TEST STATE8" locale="en" creator="1" date_created="2008-08-15 13:57:57.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="false" uuid="49ffdf34-53ad-11e1-8cb6-00248140a5eb"/>
  54. <concept_reference_term concept_reference_term_id="1000" concept_source_id="2" code="Test Code" name="Test Code" retired="0" creator="1" date_created="2004-08-12 00:00:00.0" uuid="49ffdf34-53ad-11e1-8cb6-00248140a5eb"/>
  55. <concept_reference_map concept_map_id="1000" concept_id="10009" concept_reference_term_id="1000" concept_map_type_id="2" creator="1" date_created="2004-08-12 00:00:00.0" uuid="23b6f712-49d8-11e0-8fed-18a905e044dc"/>
  56. <concept concept_id="4200" creator="1" date_created="2012-01-01 00:00:00.0" retired="false" is_set="false" datatype_id="2" uuid="32296060-03aa-102d-bb7e-001ec4ec0334"/>
  57.  
  58. <program program_id="10" concept_id="10000" outcomes_concept_id="4200" creator="1" date_created="2008-08-15 16:07:11.0" changed_by="1" date_changed="2008-08-15 17:04:50.0" retired="false" name="Test Program" description="testing program" uuid="67bad8f4-5140-11e1-a3e3-00248140a5eb"/>
  59. <program_workflow program_workflow_id="100" program_id="10" concept_id="10001" creator="1" date_created="2008-08-15 17:01:00.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="72a90efc-5140-11e1-a3e3-00248140a5eb"/>
  60. <program_workflow program_workflow_id="107" program_id="10" concept_id="10006" creator="1" date_created="2008-08-15 17:01:00.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="7c3e071a-53a7-11e1-8cb6-00248140a5eb"/>
  61. <program_workflow program_workflow_id="108" program_id="10" concept_id="10007" creator="1" date_created="2008-08-15 17:01:00.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="8343cfae-53a7-11e1-8cb6-00248140a5eb"/>
  62.  
  63. <program_workflow_state program_workflow_state_id="200" program_workflow_id="100" concept_id="10002" initial="true" terminal="false" creator="1" date_created="2008-08-15 17:04:02.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="89d1a292-5140-11e1-a3e3-00248140a5eb"/>
  64. <program_workflow_state program_workflow_state_id="201" program_workflow_id="100" concept_id="10003" initial="false" terminal="true" creator="1" date_created="2008-08-15 17:04:02.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="8ef66ca8-5140-11e1-a3e3-00248140a5eb"/>
  65. <program_workflow_state program_workflow_state_id="202" program_workflow_id="100" concept_id="10004" initial="false" terminal="false" creator="1" date_created="2008-08-15 17:04:02.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="99f66ca8-5140-11e1-a3e3-00248140a5eb"/>
  66. <program_workflow_state program_workflow_state_id="203" program_workflow_id="100" concept_id="10005" initial="false" terminal="false" creator="1" date_created="2008-08-15 17:04:02.0" retired="true" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="91f66ca8-5140-11e1-a3e3-00248140a5eb"/>
  67.  
  68. <program_workflow_state program_workflow_state_id="207" program_workflow_id="107" concept_id="10008" initial="true" terminal="false" creator="1" date_created="2008-08-15 17:04:02.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="67337cdc-53ad-11e1-8cb6-00248140a5eb"/>
  69. <program_workflow_state program_workflow_state_id="208" program_workflow_id="108" concept_id="10009" initial="true" terminal="false" creator="1" date_created="2008-08-15 17:04:02.0" retired="false" changed_by="1" date_changed="2008-08-15 17:04:50.0" uuid="6de7ed10-53ad-11e1-8cb6-00248140a5eb"/>
  70.  
  71.  
  72. <!-- Enroll a patient in a program with an outcome to test enrollTag -->
  73. <patient_program patient_program_id="102" patient_id="8" program_id="10" creator="1" date_enrolled="2005-01-01 00:00:00.0" date_created="2005-01-01 00:00:00.0" voided="false" uuid="31396060-03aa-102d-b0e3-001ec94a0cc5"/>
  74.  
  75. <program_attribute_type program_attribute_type_id="1" name="ProgramId" min_occurs="1" retired="false" creator="1" date_created="2008-08-15 17:04:50.0" datatype="org.openmrs.customdatatype.datatype.FreeTextDatatype" uuid="d7477c21-bfc3-4922-9591-e89d8b9c8efb"/>
  76.  
  77. <patient_program_attribute patient_program_attribute_id="14" patient_program_id="10" attribute_type_id="1" value_reference="newvalue" creator="1" date_created="2008-08-15 17:04:02.0" changed_by="1" date_changed="2008-08-15 17:04:50.0" voided="false" uuid="9de7ed10-97ad-11e1-8cb6-00248150a7eb"/>
  78.  
  79. </dataset>
RAW Paste Data