openehr 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. data/.document +5 -0
  2. data/.rspec +2 -0
  3. data/.travis.yml +3 -0
  4. data/Gemfile +23 -0
  5. data/Guardfile +12 -0
  6. data/History.txt +36 -0
  7. data/PostInstall.txt +9 -0
  8. data/README.rdoc +82 -0
  9. data/Rakefile +44 -0
  10. data/VERSION +1 -0
  11. data/doc/openehr_terminology.xml +2700 -0
  12. data/lib/openehr.rb +11 -0
  13. data/lib/openehr/am.rb +8 -0
  14. data/lib/openehr/am/archetype.rb +133 -0
  15. data/lib/openehr/am/archetype/assertion.rb +190 -0
  16. data/lib/openehr/am/archetype/constraint_model.rb +328 -0
  17. data/lib/openehr/am/archetype/constraint_model/primitive.rb +327 -0
  18. data/lib/openehr/am/archetype/ontology.rb +126 -0
  19. data/lib/openehr/am/openehr_profile.rb +9 -0
  20. data/lib/openehr/am/openehr_profile/data_types.rb +13 -0
  21. data/lib/openehr/am/openehr_profile/data_types/basic.rb +114 -0
  22. data/lib/openehr/am/openehr_profile/data_types/quantity.rb +67 -0
  23. data/lib/openehr/am/openehr_profile/data_types/text.rb +22 -0
  24. data/lib/openehr/assumed_library_types.rb +691 -0
  25. data/lib/openehr/parser.rb +23 -0
  26. data/lib/openehr/parser/adl.rb +57 -0
  27. data/lib/openehr/parser/adl_grammar.tt +245 -0
  28. data/lib/openehr/parser/adl_parser.rb +52 -0
  29. data/lib/openehr/parser/cadl_grammar.tt +1527 -0
  30. data/lib/openehr/parser/cadl_node.rb +44 -0
  31. data/lib/openehr/parser/dadl.rb +13 -0
  32. data/lib/openehr/parser/dadl_grammar.tt +358 -0
  33. data/lib/openehr/parser/exception.rb +68 -0
  34. data/lib/openehr/parser/shared_token_grammar.tt +1229 -0
  35. data/lib/openehr/parser/validator.rb +19 -0
  36. data/lib/openehr/parser/xml_perser.rb +13 -0
  37. data/lib/openehr/rm.rb +15 -0
  38. data/lib/openehr/rm/common.rb +14 -0
  39. data/lib/openehr/rm/common/archetyped.rb +182 -0
  40. data/lib/openehr/rm/common/change_control.rb +332 -0
  41. data/lib/openehr/rm/common/directory.rb +29 -0
  42. data/lib/openehr/rm/common/generic.rb +216 -0
  43. data/lib/openehr/rm/common/resource.rb +154 -0
  44. data/lib/openehr/rm/composition.rb +103 -0
  45. data/lib/openehr/rm/composition/content.rb +22 -0
  46. data/lib/openehr/rm/composition/content/entry.rb +253 -0
  47. data/lib/openehr/rm/composition/content/navigation.rb +31 -0
  48. data/lib/openehr/rm/data_structures.rb +25 -0
  49. data/lib/openehr/rm/data_structures/history.rb +117 -0
  50. data/lib/openehr/rm/data_structures/item_structure.rb +218 -0
  51. data/lib/openehr/rm/data_structures/item_structure/representation.rb +63 -0
  52. data/lib/openehr/rm/data_types.rb +14 -0
  53. data/lib/openehr/rm/data_types/basic.rb +108 -0
  54. data/lib/openehr/rm/data_types/charset.lst +818 -0
  55. data/lib/openehr/rm/data_types/charset_extract.rb +24 -0
  56. data/lib/openehr/rm/data_types/encapsulated.rb +98 -0
  57. data/lib/openehr/rm/data_types/quantity.rb +402 -0
  58. data/lib/openehr/rm/data_types/quantity/date_time.rb +256 -0
  59. data/lib/openehr/rm/data_types/text.rb +169 -0
  60. data/lib/openehr/rm/data_types/time_specification.rb +75 -0
  61. data/lib/openehr/rm/data_types/uri.rb +83 -0
  62. data/lib/openehr/rm/demographic.rb +269 -0
  63. data/lib/openehr/rm/ehr.rb +162 -0
  64. data/lib/openehr/rm/integration.rb +27 -0
  65. data/lib/openehr/rm/security.rb +12 -0
  66. data/lib/openehr/rm/support.rb +14 -0
  67. data/lib/openehr/rm/support/definition.rb +15 -0
  68. data/lib/openehr/rm/support/identification.rb +412 -0
  69. data/lib/openehr/rm/support/measurement.rb +17 -0
  70. data/lib/openehr/rm/support/terminology.rb +135 -0
  71. data/lib/openehr/serializer.rb +272 -0
  72. data/lib/openehr/terminology.rb +7 -0
  73. data/lib/openehr/terminology/open_ehr_terminology.rb +41 -0
  74. data/lib/openehr/writer.rb +12 -0
  75. data/openehr.gemspec +472 -0
  76. data/spec/lib/openehr/am/archetype/archetype_spec.rb +103 -0
  77. data/spec/lib/openehr/am/archetype/assertion/assertion_spec.rb +60 -0
  78. data/spec/lib/openehr/am/archetype/assertion/assertion_variable_spec.rb +30 -0
  79. data/spec/lib/openehr/am/archetype/assertion/expr_binary_operator.rb +40 -0
  80. data/spec/lib/openehr/am/archetype/assertion/expr_item_spec.rb +28 -0
  81. data/spec/lib/openehr/am/archetype/assertion/expr_leaf_spec.rb +34 -0
  82. data/spec/lib/openehr/am/archetype/assertion/expr_operator_spec.rb +25 -0
  83. data/spec/lib/openehr/am/archetype/assertion/expr_unary_operator_spec.rb +26 -0
  84. data/spec/lib/openehr/am/archetype/assertion/operator_kind_spec.rb +114 -0
  85. data/spec/lib/openehr/am/archetype/constraint_model/archetype_constraint_spec.rb +56 -0
  86. data/spec/lib/openehr/am/archetype/constraint_model/archetype_internal_ref_spec.rb +36 -0
  87. data/spec/lib/openehr/am/archetype/constraint_model/archetype_slot_spec.rb +61 -0
  88. data/spec/lib/openehr/am/archetype/constraint_model/c_attribute_spec.rb +59 -0
  89. data/spec/lib/openehr/am/archetype/constraint_model/c_complex_object_spec.rb +39 -0
  90. data/spec/lib/openehr/am/archetype/constraint_model/c_defined_object_spec.rb +53 -0
  91. data/spec/lib/openehr/am/archetype/constraint_model/c_domain_type_spec.rb +25 -0
  92. data/spec/lib/openehr/am/archetype/constraint_model/c_multiple_attribute_spec.rb +23 -0
  93. data/spec/lib/openehr/am/archetype/constraint_model/c_object_spec.rb +61 -0
  94. data/spec/lib/openehr/am/archetype/constraint_model/c_primitive_object_spec.rb +33 -0
  95. data/spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb +17 -0
  96. data/spec/lib/openehr/am/archetype/constraint_model/c_single_attribute_spec.rb +22 -0
  97. data/spec/lib/openehr/am/archetype/constraint_model/cardinality_spec.rb +68 -0
  98. data/spec/lib/openehr/am/archetype/constraint_model/constraint_ref_spec.rb +29 -0
  99. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_boolean_spec.rb +57 -0
  100. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_date_spec.rb +52 -0
  101. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_date_time_spec.rb +136 -0
  102. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_duration_spec.rb +41 -0
  103. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_integer_spec.rb +67 -0
  104. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_primitive_spec.rb +41 -0
  105. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_real_spec.rb +19 -0
  106. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_string_spec.rb +73 -0
  107. data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_time_spec.rb +104 -0
  108. data/spec/lib/openehr/am/archetype/ontology/archetype_ontology_spec.rb +97 -0
  109. data/spec/lib/openehr/am/archetype/ontology/archetype_term_spec.rb +43 -0
  110. data/spec/lib/openehr/am/archetype/validity_kind_spec.rb +42 -0
  111. data/spec/lib/openehr/am/openehr_profile/data_types/basic/c_dv_state_spec.rb +34 -0
  112. data/spec/lib/openehr/am/openehr_profile/data_types/basic/non_terminal_state_spec.rb +36 -0
  113. data/spec/lib/openehr/am/openehr_profile/data_types/basic/state_machine_spec.rb +34 -0
  114. data/spec/lib/openehr/am/openehr_profile/data_types/basic/state_spec.rb +26 -0
  115. data/spec/lib/openehr/am/openehr_profile/data_types/basic/terminal_state_spec.rb +18 -0
  116. data/spec/lib/openehr/am/openehr_profile/data_types/basic/transition_spec.rb +62 -0
  117. data/spec/lib/openehr/am/openehr_profile/data_types/quantity/c_dv_ordinal_spec.rb +41 -0
  118. data/spec/lib/openehr/am/openehr_profile/data_types/quantity/c_dv_quantity_spec.rb +50 -0
  119. data/spec/lib/openehr/am/openehr_profile/data_types/quantity/c_quantity_item_spec.rb +46 -0
  120. data/spec/lib/openehr/am/openehr_profile/data_types/text/c_code_phrase_spec.rb +34 -0
  121. data/spec/lib/openehr/assumed_library_types/interval_spec.rb +145 -0
  122. data/spec/lib/openehr/assumed_library_types/iso8601_date_spec.rb +236 -0
  123. data/spec/lib/openehr/assumed_library_types/iso8601_date_time_spec.rb +47 -0
  124. data/spec/lib/openehr/assumed_library_types/iso8601_duration_spec.rb +150 -0
  125. data/spec/lib/openehr/assumed_library_types/iso8601_time_spec.rb +234 -0
  126. data/spec/lib/openehr/assumed_library_types/iso8601_timezone_spec.rb +57 -0
  127. data/spec/lib/openehr/assumed_library_types/time_definitions_spec.rb +136 -0
  128. data/spec/lib/openehr/assumed_library_types/timezone_spec.rb +42 -0
  129. data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.assumed_types.v1.adl +88 -0
  130. data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.basic_types.v1.adl +143 -0
  131. data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.basic_types_fail.v1.adl +50 -0
  132. data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.most_minimal.v1.adl +27 -0
  133. data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.structure_test1.v1.adl +46 -0
  134. data/spec/lib/openehr/parser/adl14/adl-test-SOME_TYPE.generic_type_basic.draft.adl +56 -0
  135. data/spec/lib/openehr/parser/adl14/adl-test-SOME_TYPE.generic_type_use_node.draft.adl +63 -0
  136. data/spec/lib/openehr/parser/adl14/adl-test-car.paths.test.adl +80 -0
  137. data/spec/lib/openehr/parser/adl14/adl-test-car.use_node.test.adl +87 -0
  138. data/spec/lib/openehr/parser/adl14/adl-test-composition.dv_coded_text.test.adl +29 -0
  139. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_bindings.test.adl +47 -0
  140. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_desc_missing_purpose.test.adl +45 -0
  141. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_description.test.adl +61 -0
  142. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_description2.test.adl +45 -0
  143. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_identification.test.adl +26 -0
  144. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_internal_ref.test.adl +36 -0
  145. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_internal_ref2.test.adl +36 -0
  146. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language.test.adl +47 -0
  147. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language_no_accreditation.test.adl +38 -0
  148. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language_order_of_translation_details.test.adl +40 -0
  149. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_ontology.test.adl +25 -0
  150. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_slot.test.adl +40 -0
  151. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_slot.test2.adl +37 -0
  152. data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_uncommonkeys.test.adl +29 -0
  153. data/spec/lib/openehr/parser/adl14/adl-test-entry.basic_types.test.adl +272 -0
  154. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_code_phrase.test.adl +77 -0
  155. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_ordinal.test.adl +66 -0
  156. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_empty.test.adl +46 -0
  157. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full.test.adl +64 -0
  158. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full2.test.adl +64 -0
  159. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full3.test.adl +64 -0
  160. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_item_units_only.test.adl +55 -0
  161. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_list.test.adl +58 -0
  162. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_property.test.adl +47 -0
  163. data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_reversed.test.adl +59 -0
  164. data/spec/lib/openehr/parser/adl14/adl-test-entry.constraint_binding.test.adl +37 -0
  165. data/spec/lib/openehr/parser/adl14/adl-test-entry.constraint_ref.test.adl +43 -0
  166. data/spec/lib/openehr/parser/adl14/adl-test-entry.datetime.test.adl +183 -0
  167. data/spec/lib/openehr/parser/adl14/adl-test-entry.domain_types.test.adl +97 -0
  168. data/spec/lib/openehr/parser/adl14/adl-test-entry.durations.test.adl +109 -0
  169. data/spec/lib/openehr/parser/adl14/adl-test-entry.empty_other_contributors.test.adl +42 -0
  170. data/spec/lib/openehr/parser/adl14/adl-test-entry.missing_language.test.adl +23 -0
  171. data/spec/lib/openehr/parser/adl14/adl-test-entry.mixed_node_types.draft.adl +61 -0
  172. data/spec/lib/openehr/parser/adl14/adl-test-entry.most_minimal.test.adl +23 -0
  173. data/spec/lib/openehr/parser/adl14/adl-test-entry.multi_language.test.adl +52 -0
  174. data/spec/lib/openehr/parser/adl14/adl-test-entry.special_string.test.adl +88 -0
  175. data/spec/lib/openehr/parser/adl14/adl-test-entry.structure_test1.test.adl +45 -0
  176. data/spec/lib/openehr/parser/adl14/adl-test-entry.structure_test2.test.adl +45 -0
  177. data/spec/lib/openehr/parser/adl14/adl-test-entry.term_binding.test.adl +37 -0
  178. data/spec/lib/openehr/parser/adl14/adl-test-entry.term_binding2.test.adl +32 -0
  179. data/spec/lib/openehr/parser/adl14/adl-test-entry.testtranslations.test.adl +83 -0
  180. data/spec/lib/openehr/parser/adl14/adl-test-entry.translations_author_language.test.adl +34 -0
  181. data/spec/lib/openehr/parser/adl14/adl-test-entry.translations_language_author.test.adl +34 -0
  182. data/spec/lib/openehr/parser/adl14/adl-test-entry.unicode_BOM_support.test.adl +41 -0
  183. data/spec/lib/openehr/parser/adl14/adl-test-entry.unicode_support.test.adl +41 -0
  184. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ACTION.imaging.v1.adl +275 -0
  185. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ACTION.referral.v1.adl +351 -0
  186. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.auscultation-chest.v1.adl +765 -0
  187. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.auscultation.v1.adl +48 -0
  188. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.dimensions-circumference.v1.adl +134 -0
  189. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.dimensions.v1.adl +241 -0
  190. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-abdomen.v1.adl +321 -0
  191. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-chest.v1.adl +379 -0
  192. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-fetus.v1.adl +577 -0
  193. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-joint.v1.adl +146 -0
  194. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-lymphnode.v1.adl +176 -0
  195. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-mass.v1.adl +221 -0
  196. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic.v1.adl +139 -0
  197. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl +116 -0
  198. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterine_cervix.v1.adl +420 -0
  199. data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterus.v1.adl +293 -0
  200. data/spec/lib/openehr/parser/adl14/openEHR-EHR-COMPOSITION.discharge.v1draft.adl +53 -0
  201. data/spec/lib/openehr/parser/adl14/openEHR-EHR-COMPOSITION.encounter.v1draft.adl +45 -0
  202. data/spec/lib/openehr/parser/adl14/openEHR-EHR-EVALUATION.adverse.v1.adl +411 -0
  203. data/spec/lib/openehr/parser/adl14/openEHR-EHR-EVALUATION.columna_vertebral.v1.adl +85 -0
  204. data/spec/lib/openehr/parser/adl14/openEHR-EHR-INSTRUCTION.medication.v1.adl +88 -0
  205. data/spec/lib/openehr/parser/adl14/openEHR-EHR-INSTRUCTION.referral.v1.adl +84 -0
  206. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.Laboratory_request.v1.adl +492 -0
  207. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.follow_up.v1draft.adl +94 -0
  208. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.imaging.v1.adl +127 -0
  209. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.medication-formulation.v1.adl +457 -0
  210. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.medication.v1.adl +869 -0
  211. data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.referral.v1.adl +494 -0
  212. data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.apgar.v1.adl +545 -0
  213. data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.blood_pressure.v1.adl +673 -0
  214. data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.body_mass_index.v1.adl +166 -0
  215. data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.lab_test.v1.adl +376 -0
  216. data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.testassumedvalue.v1.adl +99 -0
  217. data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.findings.v1.adl +47 -0
  218. data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.reason_for_encounter.v1.adl +51 -0
  219. data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.summary.v1.adl +52 -0
  220. data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.vital_signs.v1.adl +54 -0
  221. data/spec/lib/openehr/parser/adl_archetype_internal_ref2_spec.rb +42 -0
  222. data/spec/lib/openehr/parser/adl_archetype_internal_ref_spec.rb +125 -0
  223. data/spec/lib/openehr/parser/adl_archetype_internal_ref_with_generics_spec.rb +258 -0
  224. data/spec/lib/openehr/parser/adl_archetype_ontology_binding_spec.rb +98 -0
  225. data/spec/lib/openehr/parser/adl_archetype_ontology_spec.rb +42 -0
  226. data/spec/lib/openehr/parser/adl_archetype_slot_cluster_spec.rb +101 -0
  227. data/spec/lib/openehr/parser/adl_archetype_slot_spec.rb +193 -0
  228. data/spec/lib/openehr/parser/adl_archetype_uncommon_term_keys_spec.rb +25 -0
  229. data/spec/lib/openehr/parser/adl_description_spec.rb +164 -0
  230. data/spec/lib/openehr/parser/adl_identification_spec.rb +18 -0
  231. data/spec/lib/openehr/parser/adl_language_no_accreditation_spec.rb +66 -0
  232. data/spec/lib/openehr/parser/adl_language_order_spec.rb +68 -0
  233. data/spec/lib/openehr/parser/adl_language_spec.rb +119 -0
  234. data/spec/lib/openehr/parser/adl_language_translation_author_language_spec.rb +50 -0
  235. data/spec/lib/openehr/parser/adl_language_translation_language_author_spec.rb +46 -0
  236. data/spec/lib/openehr/parser/adl_parser_spec.rb +347 -0
  237. data/spec/lib/openehr/parser/adl_path_spec.rb +176 -0
  238. data/spec/lib/openehr/parser/base_spec.rb +19 -0
  239. data/spec/lib/openehr/parser/basic_generic_type_spec.rb +18 -0
  240. data/spec/lib/openehr/parser/basic_type_spec.rb +2922 -0
  241. data/spec/lib/openehr/parser/c_dv_quantity_any_allowed_spec.rb +34 -0
  242. data/spec/lib/openehr/parser/c_dv_quantity_shared_example_for_lacked_items_spec.rb +36 -0
  243. data/spec/lib/openehr/parser/c_dv_quantity_shared_example_spec.rb +146 -0
  244. data/spec/lib/openehr/parser/cdv_ordinal_parse_spec.rb +231 -0
  245. data/spec/lib/openehr/parser/code_phrase_spec.rb +96 -0
  246. data/spec/lib/openehr/parser/constraint_binding_spec.rb +26 -0
  247. data/spec/lib/openehr/parser/constraint_ref_spec.rb +32 -0
  248. data/spec/lib/openehr/parser/date_time_spec.rb +1953 -0
  249. data/spec/lib/openehr/parser/duration_spec.rb +475 -0
  250. data/spec/lib/openehr/parser/dv_coded_text_parse_spec.rb +27 -0
  251. data/spec/lib/openehr/parser/empty_other_contributors_spec.rb +19 -0
  252. data/spec/lib/openehr/parser/lab_test_parser_spec.rb +14 -0
  253. data/spec/lib/openehr/parser/missing_language_spec.rb +20 -0
  254. data/spec/lib/openehr/parser/missing_purpose_spec.rb +23 -0
  255. data/spec/lib/openehr/parser/mixed_node_types_spec.rb +16 -0
  256. data/spec/lib/openehr/parser/most_minimal_adl_spec.rb +19 -0
  257. data/spec/lib/openehr/parser/multi_language_spec.rb +58 -0
  258. data/spec/lib/openehr/parser/parser_spec_helper.rb +7 -0
  259. data/spec/lib/openehr/parser/path_based_terminology_binding_spec.rb +30 -0
  260. data/spec/lib/openehr/parser/special_string_spec.rb +20 -0
  261. data/spec/lib/openehr/parser/structure_comment_spec.rb +21 -0
  262. data/spec/lib/openehr/parser/structure_nested_comments_spec.rb +22 -0
  263. data/spec/lib/openehr/parser/structure_spec.rb +202 -0
  264. data/spec/lib/openehr/parser/term_binding_spec.rb +54 -0
  265. data/spec/lib/openehr/parser/unicode_bom_spec.rb +17 -0
  266. data/spec/lib/openehr/parser/unicode_support_spec.rb +46 -0
  267. data/spec/lib/openehr/rm/common/archetyped/archetyped_spec.rb +50 -0
  268. data/spec/lib/openehr/rm/common/archetyped/feeder_audit_details_spec.rb +60 -0
  269. data/spec/lib/openehr/rm/common/archetyped/feeder_audit_spec.rb +51 -0
  270. data/spec/lib/openehr/rm/common/archetyped/link_spec.rb +42 -0
  271. data/spec/lib/openehr/rm/common/archetyped/locatable_spec.rb +89 -0
  272. data/spec/lib/openehr/rm/common/archetyped/pathable_spec.rb +42 -0
  273. data/spec/lib/openehr/rm/common/change_control/contribution_spec.rb +56 -0
  274. data/spec/lib/openehr/rm/common/change_control/imported_version_spec.rb +62 -0
  275. data/spec/lib/openehr/rm/common/change_control/original_version_spec.rb +71 -0
  276. data/spec/lib/openehr/rm/common/change_control/version_spec.rb +91 -0
  277. data/spec/lib/openehr/rm/common/change_control/versioned_object_spec.rb +284 -0
  278. data/spec/lib/openehr/rm/common/directory/folder_spec.rb +26 -0
  279. data/spec/lib/openehr/rm/common/generic/attestation_spec.rb +62 -0
  280. data/spec/lib/openehr/rm/common/generic/audit_details_spec.rb +51 -0
  281. data/spec/lib/openehr/rm/common/generic/participation_spec.rb +36 -0
  282. data/spec/lib/openehr/rm/common/generic/party_identified_spec.rb +64 -0
  283. data/spec/lib/openehr/rm/common/generic/party_proxy_spec.rb +18 -0
  284. data/spec/lib/openehr/rm/common/generic/party_related_spec.rb +24 -0
  285. data/spec/lib/openehr/rm/common/generic/revision_history_item_spec.rb +43 -0
  286. data/spec/lib/openehr/rm/common/generic/revision_history_spec.rb +45 -0
  287. data/spec/lib/openehr/rm/common/resource/authored_resource_spec.rb +68 -0
  288. data/spec/lib/openehr/rm/common/resource/resource_description_item_spec.rb +105 -0
  289. data/spec/lib/openehr/rm/common/resource/resource_description_spec.rb +74 -0
  290. data/spec/lib/openehr/rm/common/resource/translation_details_spec.rb +35 -0
  291. data/spec/lib/openehr/rm/composition/composition_spec.rb +92 -0
  292. data/spec/lib/openehr/rm/composition/content/content_item_spec.rb +14 -0
  293. data/spec/lib/openehr/rm/composition/content/entry/action_spec.rb +69 -0
  294. data/spec/lib/openehr/rm/composition/content/entry/activity_spec.rb +61 -0
  295. data/spec/lib/openehr/rm/composition/content/entry/admin_entry_spec.rb +38 -0
  296. data/spec/lib/openehr/rm/composition/content/entry/care_entry_spec.rb +37 -0
  297. data/spec/lib/openehr/rm/composition/content/entry/entry_spec.rb +98 -0
  298. data/spec/lib/openehr/rm/composition/content/entry/evaluation_spec.rb +37 -0
  299. data/spec/lib/openehr/rm/composition/content/entry/instruction_details_spec.rb +51 -0
  300. data/spec/lib/openehr/rm/composition/content/entry/instruction_spec.rb +62 -0
  301. data/spec/lib/openehr/rm/composition/content/entry/ism_transition_spec.rb +46 -0
  302. data/spec/lib/openehr/rm/composition/content/entry/observation_spec.rb +45 -0
  303. data/spec/lib/openehr/rm/composition/content/navigation/section_spec.rb +32 -0
  304. data/spec/lib/openehr/rm/composition/event_context_spec.rb +88 -0
  305. data/spec/lib/openehr/rm/data_structures/data_structure_spec.rb +21 -0
  306. data/spec/lib/openehr/rm/data_structures/history/event_spec.rb +44 -0
  307. data/spec/lib/openehr/rm/data_structures/history/history_spec.rb +67 -0
  308. data/spec/lib/openehr/rm/data_structures/history/interval_event_spec.rb +43 -0
  309. data/spec/lib/openehr/rm/data_structures/item_structure/item_list_spec.rb +53 -0
  310. data/spec/lib/openehr/rm/data_structures/item_structure/item_single_spec.rb +29 -0
  311. data/spec/lib/openehr/rm/data_structures/item_structure/item_table_spec.rb +147 -0
  312. data/spec/lib/openehr/rm/data_structures/item_structure/item_tree_spec.rb +48 -0
  313. data/spec/lib/openehr/rm/data_structures/item_structure/representation/cluster_spec.rb +26 -0
  314. data/spec/lib/openehr/rm/data_structures/item_structure/representation/element_spec.rb +22 -0
  315. data/spec/lib/openehr/rm/data_types/basic/data_value_spec.rb +17 -0
  316. data/spec/lib/openehr/rm/data_types/basic/dv_boolean_spec.rb +29 -0
  317. data/spec/lib/openehr/rm/data_types/basic/dv_identifier_spec.rb +108 -0
  318. data/spec/lib/openehr/rm/data_types/basic/dv_state_spec.rb +44 -0
  319. data/spec/lib/openehr/rm/data_types/encapsulated/dv_encapsulated_spec.rb +42 -0
  320. data/spec/lib/openehr/rm/data_types/encapsulated/dv_multimedia_spec.rb +79 -0
  321. data/spec/lib/openehr/rm/data_types/encapsulated/dv_parsable_spec.rb +34 -0
  322. data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_date_spec.rb +64 -0
  323. data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_date_time_spec.rb +26 -0
  324. data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_duration_spec.rb +44 -0
  325. data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_temporal_spec.rb +25 -0
  326. data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_time_spec.rb +41 -0
  327. data/spec/lib/openehr/rm/data_types/quantity/dv_absolute_quantity_spec.rb +35 -0
  328. data/spec/lib/openehr/rm/data_types/quantity/dv_amount_spec.rb +105 -0
  329. data/spec/lib/openehr/rm/data_types/quantity/dv_count_spec.rb +12 -0
  330. data/spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb +17 -0
  331. data/spec/lib/openehr/rm/data_types/quantity/dv_ordered_spec.rb +60 -0
  332. data/spec/lib/openehr/rm/data_types/quantity/dv_ordinal_spec.rb +74 -0
  333. data/spec/lib/openehr/rm/data_types/quantity/dv_proportion_spec.rb +162 -0
  334. data/spec/lib/openehr/rm/data_types/quantity/dv_quantified_spec.rb +36 -0
  335. data/spec/lib/openehr/rm/data_types/quantity/dv_quantity_spec.rb +78 -0
  336. data/spec/lib/openehr/rm/data_types/quantity/proportion_kind_spec.rb +24 -0
  337. data/spec/lib/openehr/rm/data_types/quantity/reference_range_spec.rb +43 -0
  338. data/spec/lib/openehr/rm/data_types/text/code_phrase_spec.rb +23 -0
  339. data/spec/lib/openehr/rm/data_types/text/dv_paragraph_spec.rb +13 -0
  340. data/spec/lib/openehr/rm/data_types/text/dv_text_spec.rb +79 -0
  341. data/spec/lib/openehr/rm/data_types/text/term_mapping_spec.rb +59 -0
  342. data/spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb +21 -0
  343. data/spec/lib/openehr/rm/data_types/uri/dv_uri_spec.rb +36 -0
  344. data/spec/lib/openehr/rm/demographic/actor_spec.rb +79 -0
  345. data/spec/lib/openehr/rm/demographic/address_spec.rb +33 -0
  346. data/spec/lib/openehr/rm/demographic/capability_spec.rb +37 -0
  347. data/spec/lib/openehr/rm/demographic/contact_spec.rb +45 -0
  348. data/spec/lib/openehr/rm/demographic/party_identity_spec.rb +32 -0
  349. data/spec/lib/openehr/rm/demographic/party_relationship_spec.rb +84 -0
  350. data/spec/lib/openehr/rm/demographic/party_spec.rb +131 -0
  351. data/spec/lib/openehr/rm/demographic/role_spec.rb +58 -0
  352. data/spec/lib/openehr/rm/ehr/ehr_access_spec.rb +33 -0
  353. data/spec/lib/openehr/rm/ehr/ehr_spec.rb +139 -0
  354. data/spec/lib/openehr/rm/ehr/ehr_status_spec.rb +52 -0
  355. data/spec/lib/openehr/rm/ehr/versioned_composition_spec.rb +33 -0
  356. data/spec/lib/openehr/rm/integration/generic_entry_spec.rb +31 -0
  357. data/spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb +19 -0
  358. data/spec/lib/openehr/rm/support/identification/archetype_id_spec.rb +152 -0
  359. data/spec/lib/openehr/rm/support/identification/generic_id_spec.rb +33 -0
  360. data/spec/lib/openehr/rm/support/identification/hier_object_id_spec.rb +12 -0
  361. data/spec/lib/openehr/rm/support/identification/internet_id_spec.rb +12 -0
  362. data/spec/lib/openehr/rm/support/identification/iso_oid_spec.rb +12 -0
  363. data/spec/lib/openehr/rm/support/identification/locatable_ref_spec.rb +34 -0
  364. data/spec/lib/openehr/rm/support/identification/object_id_spec.rb +24 -0
  365. data/spec/lib/openehr/rm/support/identification/object_ref_spec.rb +33 -0
  366. data/spec/lib/openehr/rm/support/identification/object_version_id_spec.rb +59 -0
  367. data/spec/lib/openehr/rm/support/identification/party_ref_spec.rb +29 -0
  368. data/spec/lib/openehr/rm/support/identification/template_id_spec.rb +12 -0
  369. data/spec/lib/openehr/rm/support/identification/terminology_id_spec.rb +33 -0
  370. data/spec/lib/openehr/rm/support/identification/uid_based_id_spec.rb +50 -0
  371. data/spec/lib/openehr/rm/support/identification/uid_spec.rb +29 -0
  372. data/spec/lib/openehr/rm/support/identification/version_tree_id_spec.rb +104 -0
  373. data/spec/lib/openehr/rm/support/measurement_service_spec.rb +7 -0
  374. data/spec/lib/openehr/rm/support/terminology_service_spec.rb +24 -0
  375. data/spec/lib/openehr/serializer/adl-test-entry.most_minimal.test.adl +20 -0
  376. data/spec/lib/openehr/serializer/adl_serializer_spec.rb +47 -0
  377. data/spec/lib/openehr/serializer/openEHR-EHR-SECTION.test.v1.adl +38 -0
  378. data/spec/lib/openehr/serializer/openEHR-EHR-SECTION.test.v1.xml +58 -0
  379. data/spec/lib/openehr/serializer/sample_archetype_spec.rb +44 -0
  380. data/spec/lib/openehr/serializer/xml_serializer_spec.rb +49 -0
  381. data/spec/lib/openehr/terminology/open_ehr_terminology_spec.rb +40 -0
  382. data/spec/spec.opts +6 -0
  383. data/spec/spec_helper.rb +58 -0
  384. metadata +631 -0
@@ -0,0 +1,351 @@
1
+ archetype (adl_version=1.4)
2
+ openEHR-EHR-ACTION.referral.v1
3
+
4
+ concept
5
+ [at0000] -- Referral actions
6
+ language
7
+ original_language = <[ISO_639-1::en]>
8
+ translations = <
9
+ ["de"] = <
10
+ language = <[ISO_639-1::de]>
11
+ author = <
12
+ ["name"] = <"Jasmin Buck, Sebastian Garde">
13
+ ["organisation"] = <"University of Heidelberg, Central Queensland University">
14
+ >
15
+ >
16
+ >
17
+ description
18
+ original_author = <
19
+ ["name"] = <"Sam Heard">
20
+ ["email"] = <"sam.heard@oceaninformatics.biz">
21
+ >
22
+ details = <
23
+ ["de"] = <
24
+ language = <[ISO_639-1::de]>
25
+ purpose = <"Zur Dokumentation von Handlungen, die auf eine Behandlungsanfrage an einen zweiten Gesundheitsdienstleister basieren">
26
+ use = <"">
27
+ misuse = <"">
28
+ >
29
+ ["en"] = <
30
+ language = <[ISO_639-1::en]>
31
+ purpose = <"For recording actions based on a request for a second provider to provide care">
32
+ use = <"">
33
+ misuse = <"">
34
+ >
35
+ >
36
+ lifecycle_state = <"NotSet">
37
+ other_contributors = <>
38
+
39
+ definition
40
+ ACTION[at0000] matches { -- Referral actions
41
+ ism_transition matches {
42
+ ISM_TRANSITION matches {
43
+ current_state matches {
44
+ DV_CODED_TEXT matches {
45
+ defining_code matches {[openehr::524]}
46
+ }
47
+ }
48
+ careflow_step matches {
49
+ DV_CODED_TEXT matches {
50
+ defining_code matches {[local::at0001]} -- Planned
51
+ }
52
+ }
53
+ }
54
+ ISM_TRANSITION matches {
55
+ current_state matches {
56
+ DV_CODED_TEXT matches {
57
+ defining_code matches {[openehr::524]}
58
+ }
59
+ }
60
+ careflow_step matches {
61
+ DV_CODED_TEXT matches {
62
+ defining_code matches {[local::at0002]} -- Communicated
63
+ }
64
+ }
65
+ }
66
+ ISM_TRANSITION matches {
67
+ current_state matches {
68
+ DV_CODED_TEXT matches {
69
+ defining_code matches {[openehr::524]}
70
+ }
71
+ }
72
+ careflow_step matches {
73
+ DV_CODED_TEXT matches {
74
+ defining_code matches {[local::at0003]} -- Acknowledged
75
+ }
76
+ }
77
+ }
78
+ ISM_TRANSITION matches {
79
+ current_state matches {
80
+ DV_CODED_TEXT matches {
81
+ defining_code matches {[openehr::527]}
82
+ }
83
+ }
84
+ careflow_step matches {
85
+ DV_CODED_TEXT matches {
86
+ defining_code matches {[local::at0005]} -- Postponed
87
+ }
88
+ }
89
+ }
90
+ ISM_TRANSITION matches {
91
+ current_state matches {
92
+ DV_CODED_TEXT matches {
93
+ defining_code matches {[openehr::528]}
94
+ }
95
+ }
96
+ careflow_step matches {
97
+ DV_CODED_TEXT matches {
98
+ defining_code matches {[local::at0006]} -- Cancelled
99
+ }
100
+ }
101
+ }
102
+ ISM_TRANSITION matches {
103
+ current_state matches {
104
+ DV_CODED_TEXT matches {
105
+ defining_code matches {[openehr::529]}
106
+ }
107
+ }
108
+ careflow_step matches {
109
+ DV_CODED_TEXT matches {
110
+ defining_code matches {[local::at0004]} -- Appointment
111
+ }
112
+ }
113
+ }
114
+ ISM_TRANSITION matches {
115
+ current_state matches {
116
+ DV_CODED_TEXT matches {
117
+ defining_code matches {[openehr::245]}
118
+ }
119
+ }
120
+ careflow_step matches {
121
+ DV_CODED_TEXT matches {
122
+ defining_code matches {[local::at0008]} -- Attended
123
+ }
124
+ }
125
+ }
126
+ ISM_TRANSITION matches {
127
+ current_state matches {
128
+ DV_CODED_TEXT matches {
129
+ defining_code matches {[openehr::245]}
130
+ }
131
+ }
132
+ careflow_step matches {
133
+ DV_CODED_TEXT matches {
134
+ defining_code matches {[local::at0009]} -- Secondary referral
135
+ }
136
+ }
137
+ }
138
+ ISM_TRANSITION matches {
139
+ current_state matches {
140
+ DV_CODED_TEXT matches {
141
+ defining_code matches {[openehr::245]}
142
+ }
143
+ }
144
+ careflow_step matches {
145
+ DV_CODED_TEXT matches {
146
+ defining_code matches {[local::at0010]} -- Secondary referral completed
147
+ }
148
+ }
149
+ }
150
+ ISM_TRANSITION matches {
151
+ current_state matches {
152
+ DV_CODED_TEXT matches {
153
+ defining_code matches {[openehr::245]}
154
+ }
155
+ }
156
+ careflow_step matches {
157
+ DV_CODED_TEXT matches {
158
+ defining_code matches {[local::at0011]} -- Return of care
159
+ }
160
+ }
161
+ }
162
+ ISM_TRANSITION matches {
163
+ current_state matches {
164
+ DV_CODED_TEXT matches {
165
+ defining_code matches {[openehr::530]}
166
+ }
167
+ }
168
+ careflow_step matches {
169
+ DV_CODED_TEXT matches {
170
+ defining_code matches {[local::at0007]} -- Did not attend
171
+ }
172
+ }
173
+ }
174
+ ISM_TRANSITION matches {
175
+ current_state matches {
176
+ DV_CODED_TEXT matches {
177
+ defining_code matches {[openehr::531]}
178
+ }
179
+ }
180
+ careflow_step matches {
181
+ DV_CODED_TEXT matches {
182
+ defining_code matches {[local::at0013]} -- No further contact
183
+ }
184
+ }
185
+ }
186
+ ISM_TRANSITION matches {
187
+ current_state matches {
188
+ DV_CODED_TEXT matches {
189
+ defining_code matches {[openehr::531]}
190
+ }
191
+ }
192
+ careflow_step matches {
193
+ DV_CODED_TEXT matches {
194
+ defining_code matches {[local::at0014]} -- Multiple 'did not attend'
195
+ }
196
+ }
197
+ }
198
+ ISM_TRANSITION matches {
199
+ current_state matches {
200
+ DV_CODED_TEXT matches {
201
+ defining_code matches {[openehr::532]}
202
+ }
203
+ }
204
+ careflow_step matches {
205
+ DV_CODED_TEXT matches {
206
+ defining_code matches {[local::at0012]} -- Completed
207
+ }
208
+ }
209
+ }
210
+ }
211
+ description matches {
212
+ allow_archetype ITEM_TREE occurrences matches {0..1} matches {
213
+ include
214
+ domain_concept matches {/referral\.v1/}
215
+ exclude
216
+ domain_concept matches {/.*/}
217
+ }
218
+ }
219
+ }
220
+
221
+ ontology
222
+ term_definitions = <
223
+ ["de"] = <
224
+ items = <
225
+ ["at0000"] = <
226
+ description = <"Zur Dokumentation von Handlungen, die auf eine Behandlungsanfrage an einen zweiten Gesundheitsdienstleister basieren">
227
+ text = <"�berweisungshandlungen">
228
+ >
229
+ ["at0001"] = <
230
+ description = <"�berweisung wurde geplant, aber keine weiter Handlung hat stattgefunden">
231
+ text = <"Geplant">
232
+ >
233
+ ["at0002"] = <
234
+ description = <"Die Anfrage f�r die �berweisung wurde �bermittelt">
235
+ text = <"�bermittelt">
236
+ >
237
+ ["at0003"] = <
238
+ description = <"Die �berweisungsanfrage wurde vom zweiten Gesundheitsdienstleister best�tigt">
239
+ text = <"Best�tigt">
240
+ >
241
+ ["at0004"] = <
242
+ description = <"Ein Termin mit dem zweiten Gesundheitsdienstleister wurde vereinbart">
243
+ text = <"Termin">
244
+ >
245
+ ["at0005"] = <
246
+ description = <"Die �berweisung wurde verschoben, wird aber in der Zukunft durchgef�hrt werden">
247
+ text = <"Verschoben">
248
+ >
249
+ ["at0006"] = <
250
+ description = <"Die �berweisung wurde gestrichen">
251
+ text = <"Gestrichen">
252
+ >
253
+ ["at0007"] = <
254
+ description = <"Die Person ist zu ihrem Termin nicht erschienen">
255
+ text = <"Nicht erschienen">
256
+ >
257
+ ["at0008"] = <
258
+ description = <"Die Person suchte den zweiten Gesundheitsdienstleister auf">
259
+ text = <"Erschienen">
260
+ >
261
+ ["at0009"] = <
262
+ description = <"Eine �berweisung zu einem dritten Gesundheisdienstleister wurde organisiert">
263
+ text = <"Zweite �berweisung">
264
+ >
265
+ ["at0010"] = <
266
+ description = <"Die zweite �berweisung ist abgeschlossen">
267
+ text = <"Zweite �berweisung abgeschlossen">
268
+ >
269
+ ["at0011"] = <
270
+ description = <"Die Behandlung wurde zur�ck zum �berweisenden Gesundheitsdienstleister gegeben">
271
+ text = <"Behandlung zur�ckgegeben">
272
+ >
273
+ ["at0012"] = <
274
+ description = <"Der �berweisungsprozess ist abgeschlossen">
275
+ text = <"Abgeschlossen">
276
+ >
277
+ ["at0013"] = <
278
+ description = <"Der �berweisungsprozess ist nicht abgeschlossen, es besteht aber kein Kontakt zum zweiten Gesundheitsdienstleister mehr">
279
+ text = <"Kein weiterer Kontakt">
280
+ >
281
+ ["at0014"] = <
282
+ description = <"Die Person ist zu wiederholten Gelegenheiten nicht erschienen - es werden keine weiteren Termine vereinbart">
283
+ text = <"Wiederholtes 'nicht erschienen'">
284
+ >
285
+ >
286
+ >
287
+ ["en"] = <
288
+ items = <
289
+ ["at0000"] = <
290
+ description = <"Actions arising based on a request for health care from a second health care provider.">
291
+ text = <"Referral actions">
292
+ >
293
+ ["at0001"] = <
294
+ description = <"Referral has been planned but no further action">
295
+ text = <"Planned">
296
+ >
297
+ ["at0002"] = <
298
+ description = <"The request for referral has been communicated">
299
+ text = <"Communicated">
300
+ >
301
+ ["at0003"] = <
302
+ description = <"The referral request has been acknowledged by second provider">
303
+ text = <"Acknowledged">
304
+ >
305
+ ["at0004"] = <
306
+ description = <"An appointment with the second provider has been arranged">
307
+ text = <"Appointment">
308
+ >
309
+ ["at0005"] = <
310
+ description = <"Referral has been postponed but will be organised in the future">
311
+ text = <"Postponed">
312
+ >
313
+ ["at0006"] = <
314
+ description = <"Referral has been cancelled">
315
+ text = <"Cancelled">
316
+ >
317
+ ["at0007"] = <
318
+ description = <"The person did not attend for their appointment">
319
+ text = <"Did not attend">
320
+ >
321
+ ["at0008"] = <
322
+ description = <"The person attended the second provider">
323
+ text = <"Attended">
324
+ >
325
+ ["at0009"] = <
326
+ description = <"Referral to a third provider has been organised">
327
+ text = <"Secondary referral">
328
+ >
329
+ ["at0010"] = <
330
+ description = <"Secondary referral is complete">
331
+ text = <"Secondary referral completed">
332
+ >
333
+ ["at0011"] = <
334
+ description = <"Care is transferred back to referrer">
335
+ text = <"Return of care">
336
+ >
337
+ ["at0012"] = <
338
+ description = <"Referral process is complete">
339
+ text = <"Completed">
340
+ >
341
+ ["at0013"] = <
342
+ description = <"The referral process was not completed but no further contact with second provider is organised">
343
+ text = <"No further contact">
344
+ >
345
+ ["at0014"] = <
346
+ description = <"The person did not attend on multiple occasions - no further appointments will been sent">
347
+ text = <"Multiple 'did not attend'">
348
+ >
349
+ >
350
+ >
351
+ >
@@ -0,0 +1,765 @@
1
+ archetype (adl_version=1.4)
2
+ openEHR-EHR-CLUSTER.auscultation-chest.v1
3
+ specialize
4
+ openEHR-EHR-CLUSTER.auscultation.v1
5
+
6
+ concept
7
+ [at0000.1] -- Auscultation of the chest
8
+ language
9
+ original_language = <[ISO_639-1::en]>
10
+ description
11
+ original_author = <
12
+ ["name"] = <"Sam Heard">
13
+ ["organisation"] = <"Ocean Informatics">
14
+ ["date"] = <"7/04/2007">
15
+ ["email"] = <"sam.heard@oceaninformatics.biz">
16
+ >
17
+ details = <
18
+ ["en"] = <
19
+ language = <[ISO_639-1::en]>
20
+ purpose = <"To record data found on examination of the chest by auscultation/listening">
21
+ use = <"To be embedded in an openEHR-EHR-OBSERVATION.exam cluster to express findings determined by auscultation of the chest">
22
+ keywords = <"auscultate", "listen", "auscultation", "listening", "lungs", "chest", "bruit", "heart", "bowel sounds", "breath sounds", "heart sounds">
23
+ misuse = <"Not for use in any other context at present">
24
+ >
25
+ >
26
+ lifecycle_state = <"Initial">
27
+ other_contributors = <"Heather Leslie", ...>
28
+
29
+ definition
30
+ CLUSTER[at0000.1] matches { -- Auscultation of the chest
31
+ items cardinality matches {0..*; unordered} matches {
32
+ CLUSTER[at0001] occurrences matches {0..1} matches { -- Normal Statements
33
+ items cardinality matches {0..*; unordered} matches {
34
+ ELEMENT[at0003] occurrences matches {0..*} matches { -- Normal Statement
35
+ value matches {
36
+ DV_CODED_TEXT matches {
37
+ defining_code matches {
38
+ [local::
39
+ at0.1, -- Clear
40
+ at0.2, -- No rhonchi
41
+ at0.3, -- No wheeze
42
+ at0.4, -- No crepitations
43
+ at0.5, -- No crackles
44
+ at0.6, -- Two heart sounds, no bruits
45
+ at0.7, -- Two heart sounds, no murmurs
46
+ at0.8, -- Two normal heart sounds
47
+ at0056, -- No murmur
48
+ at0057, -- No bruit
49
+ at0.9, -- Normal first heart sound
50
+ at0.10, -- Normal second heart sound
51
+ at0.11, -- No Bronchial breathing
52
+ at0.12, -- No Amphoric breathing
53
+ at0.13, -- Normal Vocal Resonance
54
+ at0.14, -- No abnormal added sounds
55
+ at0073, -- Normal bowel sounds
56
+ at0085] -- No abnormality detected
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ ELEMENT[at0004] occurrences matches {0..1} matches { -- Clinical Description
64
+ value matches {
65
+ DV_TEXT matches {*}
66
+ }
67
+ }
68
+ CLUSTER[at0002] occurrences matches {0..1} matches { -- Findings
69
+ items cardinality matches {0..*; unordered} matches {
70
+ CLUSTER[at0.15] occurrences matches {0..1} matches { -- Heart sounds and bruits
71
+ items cardinality matches {0..*; unordered} matches {
72
+ CLUSTER[at0.16] occurrences matches {0..1} matches { -- First heart sound
73
+ items cardinality matches {0..*; unordered} matches {
74
+ ELEMENT[at0.17] occurrences matches {0..1} matches { -- Volume
75
+ value matches {
76
+ 0|[local::at0.18], -- Not heard
77
+ 1|[local::at0.19], -- Variable
78
+ 2|[local::at0.20], -- Soft
79
+ 3|[local::at0.21], -- Normal
80
+ 4|[local::at0.22]; -- Loud
81
+ 0 -- assumed value
82
+ }
83
+ }
84
+ ELEMENT[at0.23] occurrences matches {0..1} matches { -- Splitting
85
+ value matches {
86
+ DV_CODED_TEXT matches {
87
+ defining_code matches {
88
+ [local::
89
+ at0.24, -- No splitting
90
+ at0.25, -- Physiological splitting
91
+ at0.26, -- Fixed splitting
92
+ at0.27, -- Paradoxical splitting
93
+ at0.28] -- Exaggerated splitting
94
+ }
95
+ }
96
+ }
97
+ }
98
+ use_node ELEMENT /items[at0004]
99
+ }
100
+ }
101
+ CLUSTER[at0.29] occurrences matches {0..1} matches { -- Second heart sound
102
+ items cardinality matches {0..*; unordered} matches {
103
+ use_node ELEMENT /items[at0002]/items[at0.15]/items[at0.16]/items[at0.17]
104
+ use_node ELEMENT /items[at0002]/items[at0.15]/items[at0.16]/items[at0.23]
105
+ use_node ELEMENT /items[at0004]
106
+ }
107
+ }
108
+ CLUSTER[at0.75] occurrences matches {0..*} matches { -- Added heart sound
109
+ items cardinality matches {0..*; unordered} matches {
110
+ ELEMENT[at0.76] occurrences matches {0..*} matches { -- Specific sound
111
+ value matches {
112
+ DV_CODED_TEXT matches {
113
+ defining_code matches {
114
+ [local::
115
+ at0.30, -- Opening snap
116
+ at0.32, -- Ejection click
117
+ at0.33, -- Pericardial rub
118
+ at0.57, -- Third heart sound
119
+ at0.58, -- Fourth heart sound
120
+ at0.65, -- Prosthetic valve sound
121
+ at0.66] -- Gallop rythm
122
+ }
123
+ }
124
+ }
125
+ }
126
+ ELEMENT[at0.43] occurrences matches {0..*} matches { -- Phase of heart cycle
127
+ value matches {
128
+ DV_CODED_TEXT matches {
129
+ defining_code matches {
130
+ [local::
131
+ at0.44, -- Continuous
132
+ at0.45, -- Systolic
133
+ at0.46, -- Diastolic
134
+ at0.47, -- Pan-systolic
135
+ at0.48, -- Pan-diastolic
136
+ at0.49, -- Early systolic
137
+ at0.50, -- Mid-Systolic
138
+ at0.51, -- Late Systolic
139
+ at0.52, -- Early Diastolic
140
+ at0.53, -- Mid-diastolic
141
+ at0.54] -- Late Diastolic
142
+ }
143
+ }
144
+ }
145
+ }
146
+ ELEMENT[at0.59] occurrences matches {0..1} matches { -- Volume
147
+ value matches {
148
+ 0|[local::at0.60], -- Not audible
149
+ 1|[local::at0.61], -- Variable
150
+ 2|[local::at0.62], -- Soft
151
+ 3|[local::at0.63], -- Moderate
152
+ 4|[local::at0.64]; -- Loud
153
+ 0 -- assumed value
154
+ }
155
+ }
156
+ use_node ELEMENT /items[at0004]
157
+ }
158
+ }
159
+ CLUSTER[at0.31] occurrences matches {0..*} matches { -- Bruits
160
+ items cardinality matches {0..*; unordered} matches {
161
+ ELEMENT[at0.35] occurrences matches {0..1} matches { -- Maximal Location
162
+ value matches {
163
+ DV_TEXT matches {*}
164
+ }
165
+ }
166
+ ELEMENT[at0.36] occurrences matches {0..*} matches { -- Radiation
167
+ value matches {
168
+ DV_TEXT matches {*}
169
+ }
170
+ }
171
+ ELEMENT[at0.34] occurrences matches {0..1} matches { -- Grading
172
+ value matches {
173
+ 1|[local::at0.37], -- Grade 1
174
+ 2|[local::at0.38], -- Grade 2
175
+ 3|[local::at0.39], -- Grade 3
176
+ 4|[local::at0.40], -- Grade 4
177
+ 5|[local::at0.41], -- Grade 5
178
+ 6|[local::at0.42] -- Grade 6
179
+ }
180
+ }
181
+ ELEMENT[at0.55] occurrences matches {0..1} matches { -- Character
182
+ value matches {
183
+ DV_TEXT matches {*}
184
+ }
185
+ }
186
+ ELEMENT[at0.56] occurrences matches {0..1} matches { -- Pitch
187
+ value matches {
188
+ DV_TEXT matches {*}
189
+ }
190
+ }
191
+ use_node ELEMENT /items[at0002]/items[at0.15]/items[at0.75]/items[at0.43]
192
+ use_node ELEMENT /items[at0004]
193
+ }
194
+ }
195
+ ELEMENT[at0.67] occurrences matches {0..1} matches { -- Drawing
196
+ value matches {
197
+ DV_MULTIMEDIA matches {
198
+ media_type matches {
199
+ [openEHR::
200
+ 425,
201
+ 426,
202
+ 427,
203
+ 428,
204
+ 429]
205
+ }
206
+ }
207
+ }
208
+ }
209
+ ELEMENT[at0.68] occurrences matches {0..1} matches { -- Phonogram
210
+ value matches {
211
+ DV_MULTIMEDIA matches {
212
+ media_type matches {
213
+ [openEHR::
214
+ 409,
215
+ 410]
216
+ }
217
+ }
218
+ }
219
+ }
220
+ }
221
+ }
222
+ CLUSTER[at0.69] occurrences matches {0..1} matches { -- Lung
223
+ items cardinality matches {0..*; unordered} matches {
224
+ CLUSTER[at0.70] occurrences matches {0..1} matches { -- Area
225
+ items cardinality matches {0..*; unordered} matches {
226
+ ELEMENT[at0.83] occurrences matches {0..1} matches { -- Region
227
+ value matches {
228
+ DV_TEXT matches {*}
229
+ }
230
+ }
231
+ ELEMENT[at0.72] occurrences matches {0..1} matches { -- Phase of respiratory cycle
232
+ value matches {
233
+ DV_CODED_TEXT matches {
234
+ defining_code matches {
235
+ [local::
236
+ at0.73, -- Inspiratory
237
+ at0.74, -- Expiratory
238
+ at0.77, -- Early Inspiratory
239
+ at0.78, -- Late inspiratory
240
+ at0.79, -- Early expiratory
241
+ at0.80] -- Late expiratory
242
+ }
243
+ }
244
+ }
245
+ }
246
+ ELEMENT[at0.81] occurrences matches {0..1} matches { -- Findings
247
+ value matches {
248
+ DV_TEXT matches {*}
249
+ }
250
+ }
251
+ }
252
+ }
253
+ ELEMENT[at0.82] occurrences matches {0..1} matches { -- Drawing
254
+ value matches {
255
+ DV_MULTIMEDIA matches {
256
+ media_type matches {
257
+ [openEHR::
258
+ 425,
259
+ 426,
260
+ 427,
261
+ 428,
262
+ 429]
263
+ }
264
+ }
265
+ }
266
+ }
267
+ use_node ELEMENT /items[at0004]
268
+ }
269
+ }
270
+ CLUSTER[at0009] occurrences matches {0..1} matches { -- Bowel sounds
271
+ items cardinality matches {0..*; unordered} matches {
272
+ ELEMENT[at0074] occurrences matches {0..*} matches { -- Specific Findings
273
+ value matches {
274
+ DV_CODED_TEXT matches {
275
+ defining_code matches {
276
+ [local::
277
+ at0078, -- Absent bowel sounds
278
+ at0079, -- Decreased bowel sounds
279
+ at0080, -- Increased bowel sounds
280
+ at0081] -- Tinkling bowel sounds
281
+ }
282
+ }
283
+ }
284
+ }
285
+ use_node ELEMENT /items[at0004]
286
+ }
287
+ }
288
+ CLUSTER[at0010] occurrences matches {0..1} matches { -- Vessel bruit
289
+ items cardinality matches {0..*; unordered} matches {
290
+ ELEMENT[at0088] matches { -- Vessel name
291
+ value matches {
292
+ DV_TEXT matches {*}
293
+ }
294
+ }
295
+ ELEMENT[at0030] occurrences matches {0..1} matches { -- Maximal Location
296
+ value matches {
297
+ DV_TEXT matches {*}
298
+ }
299
+ }
300
+ ELEMENT[at0091] occurrences matches {0..1} matches { -- Description
301
+ value matches {
302
+ DV_TEXT matches {*}
303
+ }
304
+ }
305
+ }
306
+ }
307
+ CLUSTER[at0089] occurrences matches {0..1} matches { -- Other sounds
308
+ items cardinality matches {0..*; unordered} matches {
309
+ ELEMENT[at0090] matches { -- Description
310
+ value matches {
311
+ DV_TEXT matches {*}
312
+ }
313
+ }
314
+ use_node ELEMENT /items[at0002]/items[at0010]/items[at0030]
315
+ }
316
+ }
317
+ CLUSTER[at0086] occurrences matches {0..*} matches { -- Localised auscultation
318
+ items cardinality matches {0..*; unordered} matches {
319
+ ELEMENT[at0087] matches { -- Site or region
320
+ value matches {
321
+ DV_TEXT matches {*}
322
+ }
323
+ }
324
+ allow_archetype CLUSTER occurrences matches {0..1} matches {
325
+ include
326
+ archetype_id/value matches {/auscultation\.v1/}
327
+ }
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
334
+
335
+ ontology
336
+ term_definitions = <
337
+ ["en"] = <
338
+ items = <
339
+ ["at0.1"] = <
340
+ description = <"No abnormal breath sounds">
341
+ text = <"Clear">
342
+ >
343
+ ["at0.10"] = <
344
+ description = <"*">
345
+ text = <"Normal second heart sound">
346
+ >
347
+ ["at0.11"] = <
348
+ description = <"*">
349
+ text = <"No Bronchial breathing">
350
+ >
351
+ ["at0.12"] = <
352
+ description = <"*">
353
+ text = <"No Amphoric breathing">
354
+ >
355
+ ["at0.13"] = <
356
+ description = <"*">
357
+ text = <"Normal Vocal Resonance">
358
+ >
359
+ ["at0.14"] = <
360
+ description = <"*">
361
+ text = <"No abnormal added sounds">
362
+ >
363
+ ["at0.15"] = <
364
+ description = <"*">
365
+ text = <"Heart sounds and bruits">
366
+ >
367
+ ["at0.16"] = <
368
+ description = <"Findings about the first heart sound">
369
+ text = <"First heart sound">
370
+ >
371
+ ["at0.17"] = <
372
+ description = <"The volume of the first heart sound">
373
+ text = <"Volume">
374
+ >
375
+ ["at0.18"] = <
376
+ description = <"The first heart sound is not heard">
377
+ text = <"Not heard">
378
+ >
379
+ ["at0.19"] = <
380
+ description = <"The sound is variable in volume">
381
+ text = <"Variable">
382
+ >
383
+ ["at0.2"] = <
384
+ description = <"No high or low pitched wheezes">
385
+ text = <"No rhonchi">
386
+ >
387
+ ["at0.20"] = <
388
+ description = <"The sound is softer than normal">
389
+ text = <"Soft">
390
+ >
391
+ ["at0.21"] = <
392
+ description = <"The sound is of normal volume">
393
+ text = <"Normal">
394
+ >
395
+ ["at0.22"] = <
396
+ description = <"The volume is increased">
397
+ text = <"Loud">
398
+ >
399
+ ["at0.23"] = <
400
+ description = <"Splitting of the heart sound">
401
+ text = <"Splitting">
402
+ >
403
+ ["at0.24"] = <
404
+ description = <"The heart sound is not split">
405
+ text = <"No splitting">
406
+ >
407
+ ["at0.25"] = <
408
+ description = <"The heart sound is split due to physiological changes">
409
+ text = <"Physiological splitting">
410
+ >
411
+ ["at0.26"] = <
412
+ description = <"The heart sound is always split">
413
+ text = <"Fixed splitting">
414
+ >
415
+ ["at0.27"] = <
416
+ description = <"The variable splitting is not physiological">
417
+ text = <"Paradoxical splitting">
418
+ >
419
+ ["at0.28"] = <
420
+ description = <"The timing of the splitting is physiological but it is more obvious than normal">
421
+ text = <"Exaggerated splitting">
422
+ >
423
+ ["at0.29"] = <
424
+ description = <"Findings about the second heart sound">
425
+ text = <"Second heart sound">
426
+ >
427
+ ["at0.3"] = <
428
+ description = <"No wheezing noises">
429
+ text = <"No wheeze">
430
+ >
431
+ ["at0.30"] = <
432
+ description = <"Opening sound of the mitral valve">
433
+ text = <"Opening snap">
434
+ >
435
+ ["at0.31"] = <
436
+ description = <"Group of findings about auscultation of the heart">
437
+ text = <"Bruits">
438
+ >
439
+ ["at0.32"] = <
440
+ description = <"Systolic click when the heart contracts">
441
+ text = <"Ejection click">
442
+ >
443
+ ["at0.33"] = <
444
+ description = <"Rubbing noise during contractions on the pericardium">
445
+ text = <"Pericardial rub">
446
+ >
447
+ ["at0.34"] = <
448
+ description = <"Grading of the loudness of a heart murmur">
449
+ text = <"Grading">
450
+ >
451
+ ["at0.35"] = <
452
+ description = <"Site where finding is heard maximally">
453
+ text = <"Maximal Location">
454
+ >
455
+ ["at0.36"] = <
456
+ description = <"Sites where finding is heard in addition to maximal site">
457
+ text = <"Radiation">
458
+ >
459
+ ["at0.37"] = <
460
+ description = <"very faint to recognize the murmur even after listening for a while">
461
+ text = <"Grade 1">
462
+ >
463
+ ["at0.38"] = <
464
+ description = <"faint, but easy to recognize the murmur right after the stethoscope is placed on the chest">
465
+ text = <"Grade 2">
466
+ >
467
+ ["at0.39"] = <
468
+ description = <"intermediate loudness between II/VI -IV/VI">
469
+ text = <"Grade 3">
470
+ >
471
+ ["at0.4"] = <
472
+ description = <"No high pitched crackling sounds">
473
+ text = <"No crepitations">
474
+ >
475
+ ["at0.40"] = <
476
+ description = <"with loud murmur (palpable thrill)">
477
+ text = <"Grade 4">
478
+ >
479
+ ["at0.41"] = <
480
+ description = <"very loud, but you can not hear the murmur, if the stethoscope is away from the chest wall">
481
+ text = <"Grade 5">
482
+ >
483
+ ["at0.42"] = <
484
+ description = <"the loudest murmur you can hear, even if the stethoscope is off the chest wall">
485
+ text = <"Grade 6">
486
+ >
487
+ ["at0.43"] = <
488
+ description = <"The timing in relation to the contraction of the heart">
489
+ text = <"Phase of heart cycle">
490
+ >
491
+ ["at0.44"] = <
492
+ description = <"*">
493
+ text = <"Continuous">
494
+ >
495
+ ["at0.45"] = <
496
+ description = <"*">
497
+ text = <"Systolic">
498
+ >
499
+ ["at0.46"] = <
500
+ description = <"*">
501
+ text = <"Diastolic">
502
+ >
503
+ ["at0.47"] = <
504
+ description = <"*">
505
+ text = <"Pan-systolic">
506
+ >
507
+ ["at0.48"] = <
508
+ description = <"*">
509
+ text = <"Pan-diastolic">
510
+ >
511
+ ["at0.49"] = <
512
+ description = <"*">
513
+ text = <"Early systolic">
514
+ >
515
+ ["at0.5"] = <
516
+ description = <"No high pitched crackling sounds">
517
+ text = <"No crackles">
518
+ >
519
+ ["at0.50"] = <
520
+ description = <"*">
521
+ text = <"Mid-Systolic">
522
+ >
523
+ ["at0.51"] = <
524
+ description = <"*">
525
+ text = <"Late Systolic">
526
+ >
527
+ ["at0.52"] = <
528
+ description = <"*">
529
+ text = <"Early Diastolic">
530
+ >
531
+ ["at0.53"] = <
532
+ description = <"*">
533
+ text = <"Mid-diastolic">
534
+ >
535
+ ["at0.54"] = <
536
+ description = <"*">
537
+ text = <"Late Diastolic">
538
+ >
539
+ ["at0.55"] = <
540
+ description = <"The character of the sound">
541
+ text = <"Character">
542
+ >
543
+ ["at0.56"] = <
544
+ description = <"The pitch of the sound">
545
+ text = <"Pitch">
546
+ >
547
+ ["at0.57"] = <
548
+ description = <"A heart sound in early diastole">
549
+ text = <"Third heart sound">
550
+ >
551
+ ["at0.58"] = <
552
+ description = <"A heart sound in late diastole">
553
+ text = <"Fourth heart sound">
554
+ >
555
+ ["at0.59"] = <
556
+ description = <"The volume of the sound">
557
+ text = <"Volume">
558
+ >
559
+ ["at0.6"] = <
560
+ description = <"Normal heart sounds">
561
+ text = <"Two heart sounds, no bruits">
562
+ >
563
+ ["at0.60"] = <
564
+ description = <"The sound is not audible">
565
+ text = <"Not audible">
566
+ >
567
+ ["at0.61"] = <
568
+ description = <"The sound is variable">
569
+ text = <"Variable">
570
+ >
571
+ ["at0.62"] = <
572
+ description = <"The sound is soft">
573
+ text = <"Soft">
574
+ >
575
+ ["at0.63"] = <
576
+ description = <"The sound is at about the expected level the first heart sound">
577
+ text = <"Moderate">
578
+ >
579
+ ["at0.64"] = <
580
+ description = <"The sound is louder than the first heart sound">
581
+ text = <"Loud">
582
+ >
583
+ ["at0.65"] = <
584
+ description = <"Sound due to a prosthetic heart valve">
585
+ text = <"Prosthetic valve sound">
586
+ >
587
+ ["at0.66"] = <
588
+ description = <"Audible rythm similar to a horse galloping due to added heart sounds">
589
+ text = <"Gallop rythm">
590
+ >
591
+ ["at0.67"] = <
592
+ description = <"Drawing of the sounds of the heart">
593
+ text = <"Drawing">
594
+ >
595
+ ["at0.68"] = <
596
+ description = <"Recording of the heart sounds">
597
+ text = <"Phonogram">
598
+ >
599
+ ["at0.69"] = <
600
+ description = <"Group of findings about auscultation of the lung">
601
+ text = <"Lung">
602
+ >
603
+ ["at0.7"] = <
604
+ description = <"Normal heart sounds">
605
+ text = <"Two heart sounds, no murmurs">
606
+ >
607
+ ["at0.70"] = <
608
+ description = <"*">
609
+ text = <"Area">
610
+ >
611
+ ["at0.72"] = <
612
+ description = <"The timing of the sounds in relation to breathing">
613
+ text = <"Phase of respiratory cycle">
614
+ >
615
+ ["at0.73"] = <
616
+ description = <"During inspiration">
617
+ text = <"Inspiratory">
618
+ >
619
+ ["at0.74"] = <
620
+ description = <"During expiration">
621
+ text = <"Expiratory">
622
+ >
623
+ ["at0.75"] = <
624
+ description = <"A grouping of discription of one or more added heart sounds">
625
+ text = <"Added heart sound">
626
+ >
627
+ ["at0.76"] = <
628
+ description = <"Specific auscultatory findings related to examination of the heart">
629
+ text = <"Specific sound">
630
+ >
631
+ ["at0.77"] = <
632
+ description = <"Soon after inspiration begins">
633
+ text = <"Early Inspiratory">
634
+ >
635
+ ["at0.78"] = <
636
+ description = <"At the final stages of inspiration">
637
+ text = <"Late inspiratory">
638
+ >
639
+ ["at0.79"] = <
640
+ description = <"Soon after expiration begins">
641
+ text = <"Early expiratory">
642
+ >
643
+ ["at0.8"] = <
644
+ description = <"*">
645
+ text = <"Two normal heart sounds">
646
+ >
647
+ ["at0.80"] = <
648
+ description = <"At the late stages of expiration">
649
+ text = <"Late expiratory">
650
+ >
651
+ ["at0.81"] = <
652
+ description = <"Specific auscultatory findings related to examination of the lungs">
653
+ text = <"Findings">
654
+ >
655
+ ["at0.82"] = <
656
+ description = <"Drawing of the breath sounds">
657
+ text = <"Drawing">
658
+ >
659
+ ["at0.83"] = <
660
+ description = <"The region to which the findings relate">
661
+ text = <"Region">
662
+ >
663
+ ["at0.9"] = <
664
+ description = <"*">
665
+ text = <"Normal first heart sound">
666
+ >
667
+ ["at0000"] = <
668
+ description = <"Findings on Auscultation">
669
+ text = <"Auscultation">
670
+ >
671
+ ["at0000.1"] = <
672
+ description = <"Findings on auscultation of the chest">
673
+ text = <"Auscultation of the chest">
674
+ >
675
+ ["at0001"] = <
676
+ description = <"A group of statements about the normality of auscultation">
677
+ text = <"Normal Statements">
678
+ >
679
+ ["at0002"] = <
680
+ description = <"Findings on auscultation">
681
+ text = <"Findings">
682
+ >
683
+ ["at0003"] = <
684
+ description = <"Statements about the normality of the auscultation">
685
+ text = <"Normal Statement">
686
+ >
687
+ ["at0004"] = <
688
+ description = <"Detailed clinical description of the findings on auscultation">
689
+ text = <"Clinical Description">
690
+ >
691
+ ["at0009"] = <
692
+ description = <"Group of findings about auscultation of the bowel">
693
+ text = <"Bowel sounds">
694
+ >
695
+ ["at0010"] = <
696
+ description = <"Group of findings about auscultation of a major blood vessel">
697
+ text = <"Vessel bruit">
698
+ >
699
+ ["at0030"] = <
700
+ description = <"Site where finding is heard maximally">
701
+ text = <"Maximal Location">
702
+ >
703
+ ["at0056"] = <
704
+ description = <"No murmur is heard">
705
+ text = <"No murmur">
706
+ >
707
+ ["at0057"] = <
708
+ description = <"No bruit is heard">
709
+ text = <"No bruit">
710
+ >
711
+ ["at0073"] = <
712
+ description = <"Bowel sounds are normal in intensity and character">
713
+ text = <"Normal bowel sounds">
714
+ >
715
+ ["at0074"] = <
716
+ description = <"Specific auscultatory findings related to examination of the bowels">
717
+ text = <"Specific Findings">
718
+ >
719
+ ["at0078"] = <
720
+ description = <"No bowel sounds can be heard">
721
+ text = <"Absent bowel sounds">
722
+ >
723
+ ["at0079"] = <
724
+ description = <"Bowel sounds are less than normal">
725
+ text = <"Decreased bowel sounds">
726
+ >
727
+ ["at0080"] = <
728
+ description = <"Bowel sounds are more intense than normal">
729
+ text = <"Increased bowel sounds">
730
+ >
731
+ ["at0081"] = <
732
+ description = <"High pitched and very frequent bowel sounds can be heard">
733
+ text = <"Tinkling bowel sounds">
734
+ >
735
+ ["at0085"] = <
736
+ description = <"Nothing abnormal on auscultation">
737
+ text = <"No abnormality detected">
738
+ >
739
+ ["at0086"] = <
740
+ description = <"Auscultation in a particular site">
741
+ text = <"Localised auscultation">
742
+ >
743
+ ["at0087"] = <
744
+ description = <"The site of the localised findings">
745
+ text = <"Site or region">
746
+ >
747
+ ["at0088"] = <
748
+ description = <"The name of the vessel to which is being listened">
749
+ text = <"Vessel name">
750
+ >
751
+ ["at0089"] = <
752
+ description = <"Recording of sounds of a different nature">
753
+ text = <"Other sounds">
754
+ >
755
+ ["at0090"] = <
756
+ description = <"Description of other sounds">
757
+ text = <"Description">
758
+ >
759
+ ["at0091"] = <
760
+ description = <"Description of the bruit">
761
+ text = <"Description">
762
+ >
763
+ >
764
+ >
765
+ >