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,673 @@
1
+ archetype (adl_version=1.4)
2
+ openEHR-EHR-OBSERVATION.blood_pressure.v1
3
+
4
+ concept
5
+ [at0000] -- Blood pressure
6
+ language
7
+ original_language = <[ISO_639-1::en]>
8
+ translations = <
9
+ ["de"] = <
10
+ language = <[ISO_639-1::de]>
11
+ author = <
12
+ ["name"] = <"Sebastian Garde, Jasmin Buck">
13
+ ["organisation"] = <"Central Queensland University, University of Heidelberg">
14
+ >
15
+ >
16
+ >
17
+ description
18
+ original_author = <
19
+ ["name"] = <"Sam Heard">
20
+ ["organisation"] = <"Ocean Informatics">
21
+ ["date"] = <"22/03/2006">
22
+ ["email"] = <"sam.heard@oceaninformatics.biz">
23
+ >
24
+ details = <
25
+ ["de"] = <
26
+ language = <[ISO_639-1::de]>
27
+ purpose = <"Dient der Dokumentation des systemischen Blutdrucks einer Person. Die Messung zeichnet den systolischen und diastolischen Blutdruck auf geeignete Art und Weise auf, sodass das Resultat der Messung als charakteristisch f�r den tats�chlichen systemischen Blutdruck angesehen werden kann.">
28
+ use = <"Alle Blutdruckmessungen werden unter Zuhilfenahme dieses Archetypen dokumentiert. Der Archetyp beinhaltet ein umfassendes Status-Modell z.B. bei Durchf�hrung von Belastungs-EKGs und Kipptischuntersuchungen.">
29
+ misuse = <"Nicht zu Benutzen zur Dokumentation des intravaskul�ren Drucks.">
30
+ >
31
+ ["en"] = <
32
+ language = <[ISO_639-1::en]>
33
+ purpose = <"To record the systemic blood pressure of a person. The measurement records the systolic and the diastolic pressure by some means suitable for the result to be seen as a surrogate for the general and systemic blood pressure.">
34
+ use = <"All blood pressure measurements are recorded using this archetype. There is a rich state model for use with exercise ECGs and Tilt Table measurements.">
35
+ keywords = <"observations", "blood pressure", "measurement">
36
+ misuse = <"Not to be used for intravascular pressure.">
37
+ >
38
+ >
39
+ lifecycle_state = <"AuthorDraft">
40
+ other_contributors = <>
41
+
42
+ definition
43
+ OBSERVATION[at0000] matches { -- Blood pressure
44
+ data matches {
45
+ HISTORY[at0001] matches { -- history
46
+ events cardinality matches {1..*; unordered} matches {
47
+ EVENT[at0006] occurrences matches {0..*} matches { -- any event
48
+ data matches {
49
+ ITEM_LIST[at0003] matches { -- blood pressure
50
+ items cardinality matches {0..*; ordered} matches {
51
+ ELEMENT[at0004] occurrences matches {0..1} matches { -- systolic
52
+ value matches {
53
+ C_DV_QUANTITY <
54
+ property = <[openehr::125]>
55
+ list = <
56
+ ["1"] = <
57
+ units = <"mm[Hg]">
58
+ magnitude = <|0.0..<1000.0|>
59
+ precision = <|0|>
60
+ >
61
+ >
62
+ >
63
+ }
64
+ }
65
+ ELEMENT[at0005] occurrences matches {0..1} matches { -- diastolic
66
+ value matches {
67
+ C_DV_QUANTITY <
68
+ property = <[openehr::125]>
69
+ list = <
70
+ ["1"] = <
71
+ units = <"mm[Hg]">
72
+ magnitude = <|0.0..<1000.0|>
73
+ precision = <|0|>
74
+ >
75
+ >
76
+ >
77
+ }
78
+ }
79
+ ELEMENT[at1006] occurrences matches {0..1} matches { -- mean arterial pressure
80
+ value matches {
81
+ C_DV_QUANTITY <
82
+ property = <[openehr::125]>
83
+ list = <
84
+ ["1"] = <
85
+ units = <"mm[Hg]">
86
+ magnitude = <|0.0..750.0|>
87
+ precision = <|1|>
88
+ >
89
+ >
90
+ >
91
+ }
92
+ }
93
+ ELEMENT[at1007] occurrences matches {0..1} matches { -- pulse pressure
94
+ value matches {
95
+ C_DV_QUANTITY <
96
+ property = <[openehr::125]>
97
+ list = <
98
+ ["1"] = <
99
+ units = <"mm[Hg]">
100
+ magnitude = <|0.0..750.0|>
101
+ precision = <|0|>
102
+ >
103
+ >
104
+ >
105
+ }
106
+ }
107
+ ELEMENT[at0033] occurrences matches {0..1} matches { -- Comment
108
+ value matches {
109
+ DV_TEXT matches {*}
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ state matches {
116
+ ITEM_LIST[at0007] matches { -- state structure
117
+ items cardinality matches {0..*; ordered} matches {
118
+ ELEMENT[at0008] occurrences matches {0..1} matches { -- Position
119
+ value matches {
120
+ DV_CODED_TEXT matches {
121
+ defining_code matches {
122
+ [local::
123
+ at1000, -- Standing
124
+ at1001, -- Sitting
125
+ at1002, -- Reclining
126
+ at1003; -- Lying
127
+ at1001] -- assumed value
128
+ }
129
+ }
130
+ }
131
+ }
132
+ ELEMENT[at0009] occurrences matches {0..1} matches { -- Exertion level
133
+ value matches {
134
+ C_DV_QUANTITY <
135
+ property = <[openehr::130]>
136
+ list = <
137
+ ["1"] = <
138
+ units = <"J/min">
139
+ magnitude = <|0.0..1000.0|>
140
+ >
141
+ >
142
+ assumed_value = <
143
+ magnitude = <0.0>
144
+ units = <"J/min">
145
+ precision = <-1>
146
+ >
147
+ >
148
+ }
149
+ }
150
+ ELEMENT[at0010] occurrences matches {0..1} matches { -- Exercise
151
+ value matches {
152
+ DV_CODED_TEXT matches {
153
+ defining_code matches {
154
+ [local::
155
+ at0022, -- At rest
156
+ at0023, -- Post-exercise
157
+ at0024; -- During exercise
158
+ at0022] -- assumed value
159
+ }
160
+ }
161
+ }
162
+ }
163
+ ELEMENT[at1005] occurrences matches {0..1} matches { -- Tilt
164
+ value matches {
165
+ C_DV_QUANTITY <
166
+ property = <[openehr::497]>
167
+ list = <
168
+ ["1"] = <
169
+ units = <"�">
170
+ magnitude = <|-90.0..90.0|>
171
+ precision = <|0|>
172
+ >
173
+ >
174
+ assumed_value = <
175
+ magnitude = <0.0>
176
+ units = <"�">
177
+ precision = <0>
178
+ >
179
+ >
180
+ }
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ POINT_EVENT[at0002] occurrences matches {0..1} matches { -- baseline reading
187
+ offset matches {
188
+ DV_DURATION matches {
189
+ value matches {|PT0S|}
190
+ }
191
+ }
192
+ data matches {
193
+ use_node ITEM_LIST /data[at0001]/events[at0006]/data[at0003]
194
+ }
195
+ state matches {
196
+ use_node ITEM_LIST /data[at0001]/events[at0006]/state[at0007]
197
+ }
198
+ }
199
+ POINT_EVENT[at0029] occurrences matches {0..1} matches { -- 5 minute reading
200
+ offset matches {
201
+ DV_DURATION matches {
202
+ value matches {|PT5M|}
203
+ }
204
+ }
205
+ data matches {
206
+ use_node ITEM_LIST /data[at0001]/events[at0006]/data[at0003]
207
+ }
208
+ state matches {
209
+ use_node ITEM_LIST /data[at0001]/events[at0006]/state[at0007]
210
+ }
211
+ }
212
+ POINT_EVENT[at0030] occurrences matches {0..1} matches { -- 10 minute reading
213
+ offset matches {
214
+ DV_DURATION matches {
215
+ value matches {|PT10M|}
216
+ }
217
+ }
218
+ data matches {
219
+ use_node ITEM_LIST /data[at0001]/events[at0006]/data[at0003]
220
+ }
221
+ state matches {
222
+ use_node ITEM_LIST /data[at0001]/events[at0006]/state[at0007]
223
+ }
224
+ }
225
+ INTERVAL_EVENT[at0031] occurrences matches {0..*} matches { -- Postural change
226
+ math_function matches {
227
+ DV_CODED_TEXT matches {
228
+ defining_code matches {[openehr::147]}
229
+ }
230
+ }
231
+ data matches {
232
+ use_node ITEM_LIST /data[at0001]/events[at0006]/data[at0003]
233
+ }
234
+ state matches {
235
+ use_node ITEM_LIST /data[at0001]/events[at0006]/state[at0007]
236
+ }
237
+ }
238
+ INTERVAL_EVENT[at1004] occurrences matches {0..*} matches { -- Paradox
239
+ math_function matches {
240
+ DV_CODED_TEXT matches {
241
+ defining_code matches {[openehr::149]}
242
+ }
243
+ }
244
+ data matches {
245
+ use_node ITEM_LIST /data[at0001]/events[at0006]/data[at0003]
246
+ }
247
+ state matches {
248
+ use_node ITEM_LIST /data[at0001]/events[at0006]/state[at0007]
249
+ }
250
+ }
251
+ }
252
+ }
253
+ }
254
+ protocol matches {
255
+ ITEM_LIST[at0011] matches { -- list structure
256
+ items cardinality matches {0..*; ordered} matches {
257
+ ELEMENT[at0013] occurrences matches {0..1} matches { -- Cuff size
258
+ value matches {
259
+ DV_CODED_TEXT matches {
260
+ defining_code matches {
261
+ [local::
262
+ at0015, -- Adult
263
+ at0016, -- Wide adult
264
+ at0017, -- Paediatric
265
+ at1008, -- Thigh
266
+ at1009] -- Neonatal
267
+ }
268
+ }
269
+ }
270
+ }
271
+ ELEMENT[at0012] occurrences matches {0..1} matches { -- Instrument
272
+ value matches {
273
+ DV_TEXT matches {*}
274
+ }
275
+ }
276
+ ELEMENT[at0014] occurrences matches {0..1} matches { -- Location of measurement
277
+ value matches {
278
+ DV_CODED_TEXT matches {
279
+ defining_code matches {
280
+ [local::
281
+ at0025, -- Right arm
282
+ at0026, -- Left arm
283
+ at0027, -- Right leg
284
+ at0028, -- Left leg
285
+ at0032] -- Intra-arterial
286
+ }
287
+ }
288
+ }
289
+ }
290
+ ELEMENT[at1010] occurrences matches {0..1} matches { -- Korotkoff sounds
291
+ value matches {
292
+ DV_CODED_TEXT matches {
293
+ defining_code matches {
294
+ [local::
295
+ at1011, -- Fourth sound
296
+ at1012] -- Fifth sound
297
+ }
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+
306
+ ontology
307
+ terminologies_available = <"SNOMED-CT", ...>
308
+ term_definitions = <
309
+ ["de"] = <
310
+ items = <
311
+ ["at0000"] = <
312
+ description = <"Die Messung des systemischen arteriellen Blutdrucks, die als geeignet angesehen wird, den tats�chlichen systemischen Blutdruck zu repr�sentieren.">
313
+ text = <"Blutdruckmessung">
314
+ >
315
+ ["at0001"] = <
316
+ description = <"Historie">
317
+ text = <"Historie">
318
+ >
319
+ ["at0002"] = <
320
+ description = <"Basismessung">
321
+ text = <"Basismessung">
322
+ >
323
+ ["at0003"] = <
324
+ description = <"*@ internal @(en)">
325
+ text = <"Blutdruck">
326
+ >
327
+ ["at0004"] = <
328
+ description = <"Der h�chste arterielle Blutdruck eines Zyklus - gemessen in der systolischen oder Kontraktionsphase des Herzens.">
329
+ text = <"systolisch">
330
+ >
331
+ ["at0005"] = <
332
+ description = <"Der minimale systemische arterielle Blutdruck eines Zyklus - gemessen in der diastolischen oder Entspannungsphase des Herzens.">
333
+ text = <"diastolisch">
334
+ >
335
+ ["at0006"] = <
336
+ description = <"anderes unbestimmtes Ereignis">
337
+ text = <"unbestimmtes Ereignis">
338
+ >
339
+ ["at0007"] = <
340
+ description = <"*@ internal @(en)">
341
+ text = <"*state structure(en)">
342
+ >
343
+ ["at0008"] = <
344
+ description = <"Die Position des Patienten zum Zeitpunkt der Blutdruckmessung">
345
+ text = <"Position">
346
+ >
347
+ ["at0009"] = <
348
+ description = <"Das Anstrengungsniveau zum Zeitpunkt der Messung">
349
+ text = <"Anstrengungsniveau">
350
+ >
351
+ ["at0010"] = <
352
+ description = <"Die Beschreibung, ob und wann eine Leibes�bung durchgef�hrt wurde bzw. eine k�rperliche Belastung bestand.">
353
+ text = <"k�rperliche Belastung">
354
+ >
355
+ ["at0011"] = <
356
+ description = <"Listenstruktur">
357
+ text = <"Listenstruktur">
358
+ >
359
+ ["at0012"] = <
360
+ description = <"Das Instrument, das zur Blutdruckmessung benutzt wird">
361
+ text = <"Instrument">
362
+ >
363
+ ["at0013"] = <
364
+ description = <"Die Gr��e der Manschette des benutzten Sphygmomanometers">
365
+ text = <"Manschettengr��e">
366
+ >
367
+ ["at0014"] = <
368
+ description = <"Ort der Blutdruckmessung">
369
+ text = <"Ort der Messung">
370
+ >
371
+ ["at0015"] = <
372
+ description = <"Eine normale Manschette f�r Erwachsene">
373
+ text = <"Erwachsener">
374
+ >
375
+ ["at0016"] = <
376
+ description = <"Eine Manschette f�r Erwachsene mit dickeren Armen">
377
+ text = <"Erwachsener (weit)">
378
+ >
379
+ ["at0017"] = <
380
+ description = <"Eine Manschette geeignet f�r ein Kind mit d�nnen Armen">
381
+ text = <"P�diatrisch">
382
+ >
383
+ ["at0022"] = <
384
+ description = <"Die Person ist in Ruhe und nicht in der Erholungsphase von einer Anstrengung">
385
+ text = <"In Ruhe">
386
+ >
387
+ ["at0023"] = <
388
+ description = <"Die Messung wird unmittelbar nach einer Leibes�bung/k�rperlicher Belastung durchgef�hrt">
389
+ text = <"Nach Leibes�bung/k�rperlicher Belastung">
390
+ >
391
+ ["at0024"] = <
392
+ description = <"Die Messung wird w�hrend einer Leibes�bung/k�rperlicher Belastung durchgef�hrt">
393
+ text = <"W�hrend Leibes�bung/k�rperlicher Belastung">
394
+ >
395
+ ["at0025"] = <
396
+ description = <"Der rechte Arm der Person">
397
+ text = <"Rechter Arm">
398
+ >
399
+ ["at0026"] = <
400
+ description = <"Der linke Arm der Person">
401
+ text = <"Linker Arm">
402
+ >
403
+ ["at0027"] = <
404
+ description = <"Rechtes Bein des Patienten">
405
+ text = <"Rechtes Bein">
406
+ >
407
+ ["at0028"] = <
408
+ description = <"Linkes Bein des Patienten">
409
+ text = <"Linkes Bein">
410
+ >
411
+ ["at0029"] = <
412
+ description = <"Blutdruckmessung nach 5 Minuten Ruhepause">
413
+ text = <"5-Minuten-Messung">
414
+ >
415
+ ["at0030"] = <
416
+ description = <"Blutdruckmessung nach 10 Minuten Ruhepause">
417
+ text = <"10-Minuten-Messung">
418
+ >
419
+ ["at0031"] = <
420
+ description = <"Die Differenz zwischen stehendem und sitzendem/liegendem Blutdruck">
421
+ text = <"posturale �nderung">
422
+ >
423
+ ["at0032"] = <
424
+ description = <"Blutdruckmessung durch intra-arterielle (invasive) Messung">
425
+ text = <"Intra-arteriell">
426
+ >
427
+ ["at0033"] = <
428
+ description = <"Kommentar zur Blutdruckmessung">
429
+ text = <"Kommentar">
430
+ >
431
+ ["at1000"] = <
432
+ description = <"Stehend zum Zeitpunkt der Blutdruckmessung">
433
+ text = <"Stehend">
434
+ >
435
+ ["at1001"] = <
436
+ description = <"Sitzend zum Zeitpunkt der Blutdruckmessung">
437
+ text = <"Sitzend">
438
+ >
439
+ ["at1002"] = <
440
+ description = <"Patient 45 Grad zur�ckgelehnt zum Zeitpunkt der Blutdruckmessung">
441
+ text = <"Zur�ckgelehnt">
442
+ >
443
+ ["at1003"] = <
444
+ description = <"Patient flach liegend zum Zeitpunkt der Blutdruckmessung">
445
+ text = <"Liegend">
446
+ >
447
+ ["at1004"] = <
448
+ description = <"Variation des Blutdrucks bei Atmung">
449
+ text = <"Paradox">
450
+ >
451
+ ["at1005"] = <
452
+ description = <"Die Neigung der Oberfl�che auf der der Patient liegt (Kipptischuntersuchungen)">
453
+ text = <"Neigung">
454
+ >
455
+ ["at1006"] = <
456
+ description = <"Der mittlere arterielle Druck, abgek�rzt MAD oder MAP (von englisch: mean arterial pressure), liegt zwischen dem systolischen und dem diastolischen Blutdruckwert. Er kann genau berechnet werden, indem die Fl�che unter der arteriellen Druckkurve gemittelt wird. Kann auch nach folgender Formel berechnet werden: (2XSBD + DBD) dividiert durch 3.">
457
+ text = <"mittlerer arterieller Druck">
458
+ >
459
+ ["at1007"] = <
460
+ description = <"Der Abstand zwischen dem systolischen und dem diastolischen Blutdruckwert. Beschreibt die Druckwelle, die mit jedem Herzschlag durch das Blutgef��system l�uft.">
461
+ text = <"Pulsdruck">
462
+ >
463
+ ["at1008"] = <
464
+ description = <"Eine Manschette f�r den Oberschenkel eines Erwachsenen">
465
+ text = <"Oberschenkel">
466
+ >
467
+ ["at1009"] = <
468
+ description = <"Eine Manschette benutzt f�r Neugeborene">
469
+ text = <"Neonatal">
470
+ >
471
+ ["at1010"] = <
472
+ description = <"Korotkoff Ger�usch, das zur Betimmung des diastolischen Blutdrucks benuzt wurde">
473
+ text = <"Korotkoff Ger�usche">
474
+ >
475
+ ["at1011"] = <
476
+ description = <"*">
477
+ text = <"Viertes Ger�usch">
478
+ >
479
+ ["at1012"] = <
480
+ description = <"*">
481
+ text = <"F�nftes Ger�usch">
482
+ >
483
+ >
484
+ >
485
+ ["en"] = <
486
+ items = <
487
+ ["at0000"] = <
488
+ description = <"the measurement by any means (invasive or non-invasive) of systemic arterial blood pressure which is deemed to represent the actual systemic blood pressure">
489
+ text = <"Blood pressure">
490
+ >
491
+ ["at0001"] = <
492
+ description = <"history Structural node">
493
+ text = <"history">
494
+ >
495
+ ["at0002"] = <
496
+ description = <"baseline event in event history">
497
+ text = <"baseline reading">
498
+ >
499
+ ["at0003"] = <
500
+ description = <"@ internal @">
501
+ text = <"blood pressure">
502
+ >
503
+ ["at0004"] = <
504
+ description = <"the peak systemic arterial blood pressure over one cycle - measured in systolic or contraction phase of the heart cycle">
505
+ text = <"systolic">
506
+ >
507
+ ["at0005"] = <
508
+ description = <"the minimum systemic arterial blood pressure over one cycle - measured in the diastolic or relaxation phase">
509
+ text = <"diastolic">
510
+ >
511
+ ["at0006"] = <
512
+ description = <"other event in event history">
513
+ text = <"any event">
514
+ >
515
+ ["at0007"] = <
516
+ description = <"@ internal @">
517
+ text = <"state structure">
518
+ >
519
+ ["at0008"] = <
520
+ description = <"The position of the patient at the time of measuring blood pressure">
521
+ text = <"Position">
522
+ >
523
+ ["at0009"] = <
524
+ description = <"The level of exertion at the time of taking the measurement">
525
+ text = <"Exertion level">
526
+ >
527
+ ["at0010"] = <
528
+ description = <"The classification of the exercise level">
529
+ text = <"Exercise">
530
+ >
531
+ ["at0011"] = <
532
+ description = <"list structure">
533
+ text = <"list structure">
534
+ >
535
+ ["at0012"] = <
536
+ description = <"the instrument used to measure the blood pressure">
537
+ text = <"Instrument">
538
+ >
539
+ ["at0013"] = <
540
+ description = <"the size of the cuff if a sphygmomanometer is used">
541
+ text = <"Cuff size">
542
+ >
543
+ ["at0014"] = <
544
+ description = <"The site of the measurement of the blood pressure">
545
+ text = <"Location of measurement">
546
+ >
547
+ ["at0015"] = <
548
+ description = <"A cuff that is standard for an adult">
549
+ text = <"Adult">
550
+ >
551
+ ["at0016"] = <
552
+ description = <"A cuff for adults with larger arms">
553
+ text = <"Wide adult">
554
+ >
555
+ ["at0017"] = <
556
+ description = <"A cuff that is appropriate for a child or thin arm">
557
+ text = <"Paediatric">
558
+ >
559
+ ["at0022"] = <
560
+ description = <"The person is at rest and not in the recovery phase from exersion">
561
+ text = <"At rest">
562
+ >
563
+ ["at0023"] = <
564
+ description = <"Measurement is taken immediately after exercise">
565
+ text = <"Post-exercise">
566
+ >
567
+ ["at0024"] = <
568
+ description = <"The measurement is taken during exercise">
569
+ text = <"During exercise">
570
+ >
571
+ ["at0025"] = <
572
+ description = <"The right arm of the person">
573
+ text = <"Right arm">
574
+ >
575
+ ["at0026"] = <
576
+ description = <"The left arm of the person">
577
+ text = <"Left arm">
578
+ >
579
+ ["at0027"] = <
580
+ description = <"The right leg of the patient">
581
+ text = <"Right leg">
582
+ >
583
+ ["at0028"] = <
584
+ description = <"The left leg of the person">
585
+ text = <"Left leg">
586
+ >
587
+ ["at0029"] = <
588
+ description = <"Blood pressure reading after 5 minutes rest">
589
+ text = <"5 minute reading">
590
+ >
591
+ ["at0030"] = <
592
+ description = <"Blood pressure reading after 10 minutes rest">
593
+ text = <"10 minute reading">
594
+ >
595
+ ["at0031"] = <
596
+ description = <"The difference between standing and sitting/lying blood pressure">
597
+ text = <"Postural change">
598
+ >
599
+ ["at0032"] = <
600
+ description = <"Blood pressure monitored via an intra-arterial line">
601
+ text = <"Intra-arterial">
602
+ >
603
+ ["at0033"] = <
604
+ description = <"Comment on blood pressure reading">
605
+ text = <"Comment">
606
+ >
607
+ ["at1000"] = <
608
+ description = <"Standing at the time of blood pressure measurement">
609
+ text = <"Standing">
610
+ >
611
+ ["at1001"] = <
612
+ description = <"Sitting on bed or chair at the time of blood pressure measurement">
613
+ text = <"Sitting">
614
+ >
615
+ ["at1002"] = <
616
+ description = <"Person reclining at 45 degrees at the time of blood pressure measurement">
617
+ text = <"Reclining">
618
+ >
619
+ ["at1003"] = <
620
+ description = <"Patient lying flat at the time of blood pressure measurement">
621
+ text = <"Lying">
622
+ >
623
+ ["at1004"] = <
624
+ description = <"Variation in blood pressure with respiration">
625
+ text = <"Paradox">
626
+ >
627
+ ["at1005"] = <
628
+ description = <"The tilt of the surface on which the person is lying">
629
+ text = <"Tilt">
630
+ >
631
+ ["at1006"] = <
632
+ description = <"(MAP) The average arterial pressure that occurs over the entire course of the heart contraction and relaxation cycle - calculated by (2XSBP + DBP) divided by 3.">
633
+ text = <"mean arterial pressure">
634
+ >
635
+ ["at1007"] = <
636
+ description = <"The variation in pressure over one contraction cycle">
637
+ text = <"pulse pressure">
638
+ >
639
+ ["at1008"] = <
640
+ description = <"A cuff used for an adult thigh">
641
+ text = <"Thigh">
642
+ >
643
+ ["at1009"] = <
644
+ description = <"A cuff used for a new born">
645
+ text = <"Neonatal">
646
+ >
647
+ ["at1010"] = <
648
+ description = <"Record which Korotkoff sound is used for determining Diastolic pressure">
649
+ text = <"Korotkoff sounds">
650
+ >
651
+ ["at1011"] = <
652
+ description = <"*">
653
+ text = <"Fourth sound">
654
+ >
655
+ ["at1012"] = <
656
+ description = <"*">
657
+ text = <"Fifth sound">
658
+ >
659
+ >
660
+ >
661
+ >
662
+ term_binding = <
663
+ ["SNOMED-CT"] = <
664
+ items = <
665
+ ["at0000"] = <[SNOMED-CT(2003)::163020007]>
666
+ ["at0003"] = <[SNOMED-CT(2003)::364090009]>
667
+ ["at0004"] = <[SNOMED-CT(2003)::163030003]>
668
+ ["at0005"] = <[SNOMED-CT(2003)::163031004]>
669
+ ["at0012"] = <[SNOMED-CT(2003)::57134006]>
670
+ ["at0013"] = <[SNOMED-CT(2003)::246153002]>
671
+ >
672
+ >
673
+ >