Advertisement
ODORA

trunk-5652

Aug 15th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.22 KB | None | 0 0
  1. Enter password: ****************
  2. Welcome to the MySQL monitor. Commands end with ; or \g.
  3. Your MySQL connection id is 23
  4. Server version: 5.7.16-log MySQL Community Server (GPL)
  5.  
  6. Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
  7.  
  8. Oracle is a registered trademark of Oracle Corporation and/or its
  9. affiliates. Other names may be trademarks of their respective
  10. owners.
  11.  
  12. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  13.  
  14. mysql> show databases;
  15. +--------------------+
  16. | Database |
  17. +--------------------+
  18. | information_schema |
  19. | mysql |
  20. | openmrs |
  21. | performance_schema |
  22. | server |
  23. | sys |
  24. +--------------------+
  25. 6 rows in set (0.00 sec)
  26.  
  27. mysql> use openmrs;
  28. Database changed
  29. mysql> show tables;
  30. +--------------------------------+
  31. | Tables_in_openmrs |
  32. +--------------------------------+
  33. | allergy |
  34. | allergy_reaction |
  35. | care_setting |
  36. | clob_datatype_storage |
  37. | cohort |
  38. | cohort_member |
  39. | concept |
  40. | concept_answer |
  41. | concept_attribute |
  42. | concept_attribute_type |
  43. | concept_class |
  44. | concept_complex |
  45. | concept_datatype |
  46. | concept_description |
  47. | concept_map_type |
  48. | concept_name |
  49. | concept_name_tag |
  50. | concept_name_tag_map |
  51. | concept_numeric |
  52. | concept_proposal |
  53. | concept_proposal_tag_map |
  54. | concept_reference_map |
  55. | concept_reference_source |
  56. | concept_reference_term |
  57. | concept_reference_term_map |
  58. | concept_set |
  59. | concept_state_conversion |
  60. | concept_stop_word |
  61. | conditions |
  62. | drug |
  63. | drug_ingredient |
  64. | drug_order |
  65. | drug_reference_map |
  66. | encounter |
  67. | encounter_diagnosis |
  68. | encounter_provider |
  69. | encounter_role |
  70. | encounter_type |
  71. | field |
  72. | field_answer |
  73. | field_type |
  74. | form |
  75. | form_field |
  76. | form_resource |
  77. | global_property |
  78. | hl7_in_archive |
  79. | hl7_in_error |
  80. | hl7_in_queue |
  81. | hl7_source |
  82. | liquibasechangelog |
  83. | liquibasechangeloglock |
  84. | location |
  85. | location_attribute |
  86. | location_attribute_type |
  87. | location_tag |
  88. | location_tag_map |
  89. | note |
  90. | notification_alert |
  91. | notification_alert_recipient |
  92. | notification_template |
  93. | obs |
  94. | obs_unused_fields |
  95. | order_frequency |
  96. | order_group |
  97. | order_set |
  98. | order_set_member |
  99. | order_type |
  100. | order_type_class_map |
  101. | orders |
  102. | patient |
  103. | patient_identifier |
  104. | patient_identifier_type |
  105. | patient_program |
  106. | patient_program_attribute |
  107. | patient_state |
  108. | person |
  109. | person_address |
  110. | person_attribute |
  111. | person_attribute_type |
  112. | person_merge_log |
  113. | person_name |
  114. | privilege |
  115. | program |
  116. | program_attribute_type |
  117. | program_workflow |
  118. | program_workflow_state |
  119. | provider |
  120. | provider_attribute |
  121. | provider_attribute_type |
  122. | relationship |
  123. | relationship_type |
  124. | report_object |
  125. | report_schema_xml |
  126. | role |
  127. | role_privilege |
  128. | role_role |
  129. | scheduler_task_config |
  130. | scheduler_task_config_property |
  131. | serialized_object |
  132. | test_order |
  133. | user_property |
  134. | user_role |
  135. | users |
  136. | visit |
  137. | visit_attribute |
  138. | visit_attribute_type |
  139. | visit_type |
  140. +--------------------------------+
  141. 107 rows in set (0.00 sec)
  142.  
  143. mysql> desc order_group;
  144. +---------------------+--------------+------+-----+---------+----------------+
  145. | Field | Type | Null | Key | Default | Extra |
  146. +---------------------+--------------+------+-----+---------+----------------+
  147. | order_group_id | int(11) | NO | PRI | NULL | auto_increment |
  148. | order_set_id | int(11) | YES | MUL | NULL | |
  149. | patient_id | int(11) | NO | MUL | NULL | |
  150. | encounter_id | int(11) | NO | MUL | NULL | |
  151. | creator | int(11) | NO | MUL | NULL | |
  152. | date_created | datetime | NO | | NULL | |
  153. | voided | tinyint(1) | NO | | 0 | |
  154. | voided_by | int(11) | YES | MUL | NULL | |
  155. | date_voided | datetime | YES | | NULL | |
  156. | void_reason | varchar(255) | YES | | NULL | |
  157. | changed_by | int(11) | YES | MUL | NULL | |
  158. | date_changed | datetime | YES | | NULL | |
  159. | uuid | char(38) | NO | UNI | NULL | |
  160. | nested_order_groups | int(11) | YES | | NULL | |
  161. +---------------------+--------------+------+-----+---------+----------------+
  162. 14 rows in set (0.00 sec)
  163.  
  164. mysql>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement