openehr 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +23 -0
- data/Guardfile +12 -0
- data/History.txt +36 -0
- data/PostInstall.txt +9 -0
- data/README.rdoc +82 -0
- data/Rakefile +44 -0
- data/VERSION +1 -0
- data/doc/openehr_terminology.xml +2700 -0
- data/lib/openehr.rb +11 -0
- data/lib/openehr/am.rb +8 -0
- data/lib/openehr/am/archetype.rb +133 -0
- data/lib/openehr/am/archetype/assertion.rb +190 -0
- data/lib/openehr/am/archetype/constraint_model.rb +328 -0
- data/lib/openehr/am/archetype/constraint_model/primitive.rb +327 -0
- data/lib/openehr/am/archetype/ontology.rb +126 -0
- data/lib/openehr/am/openehr_profile.rb +9 -0
- data/lib/openehr/am/openehr_profile/data_types.rb +13 -0
- data/lib/openehr/am/openehr_profile/data_types/basic.rb +114 -0
- data/lib/openehr/am/openehr_profile/data_types/quantity.rb +67 -0
- data/lib/openehr/am/openehr_profile/data_types/text.rb +22 -0
- data/lib/openehr/assumed_library_types.rb +691 -0
- data/lib/openehr/parser.rb +23 -0
- data/lib/openehr/parser/adl.rb +57 -0
- data/lib/openehr/parser/adl_grammar.tt +245 -0
- data/lib/openehr/parser/adl_parser.rb +52 -0
- data/lib/openehr/parser/cadl_grammar.tt +1527 -0
- data/lib/openehr/parser/cadl_node.rb +44 -0
- data/lib/openehr/parser/dadl.rb +13 -0
- data/lib/openehr/parser/dadl_grammar.tt +358 -0
- data/lib/openehr/parser/exception.rb +68 -0
- data/lib/openehr/parser/shared_token_grammar.tt +1229 -0
- data/lib/openehr/parser/validator.rb +19 -0
- data/lib/openehr/parser/xml_perser.rb +13 -0
- data/lib/openehr/rm.rb +15 -0
- data/lib/openehr/rm/common.rb +14 -0
- data/lib/openehr/rm/common/archetyped.rb +182 -0
- data/lib/openehr/rm/common/change_control.rb +332 -0
- data/lib/openehr/rm/common/directory.rb +29 -0
- data/lib/openehr/rm/common/generic.rb +216 -0
- data/lib/openehr/rm/common/resource.rb +154 -0
- data/lib/openehr/rm/composition.rb +103 -0
- data/lib/openehr/rm/composition/content.rb +22 -0
- data/lib/openehr/rm/composition/content/entry.rb +253 -0
- data/lib/openehr/rm/composition/content/navigation.rb +31 -0
- data/lib/openehr/rm/data_structures.rb +25 -0
- data/lib/openehr/rm/data_structures/history.rb +117 -0
- data/lib/openehr/rm/data_structures/item_structure.rb +218 -0
- data/lib/openehr/rm/data_structures/item_structure/representation.rb +63 -0
- data/lib/openehr/rm/data_types.rb +14 -0
- data/lib/openehr/rm/data_types/basic.rb +108 -0
- data/lib/openehr/rm/data_types/charset.lst +818 -0
- data/lib/openehr/rm/data_types/charset_extract.rb +24 -0
- data/lib/openehr/rm/data_types/encapsulated.rb +98 -0
- data/lib/openehr/rm/data_types/quantity.rb +402 -0
- data/lib/openehr/rm/data_types/quantity/date_time.rb +256 -0
- data/lib/openehr/rm/data_types/text.rb +169 -0
- data/lib/openehr/rm/data_types/time_specification.rb +75 -0
- data/lib/openehr/rm/data_types/uri.rb +83 -0
- data/lib/openehr/rm/demographic.rb +269 -0
- data/lib/openehr/rm/ehr.rb +162 -0
- data/lib/openehr/rm/integration.rb +27 -0
- data/lib/openehr/rm/security.rb +12 -0
- data/lib/openehr/rm/support.rb +14 -0
- data/lib/openehr/rm/support/definition.rb +15 -0
- data/lib/openehr/rm/support/identification.rb +412 -0
- data/lib/openehr/rm/support/measurement.rb +17 -0
- data/lib/openehr/rm/support/terminology.rb +135 -0
- data/lib/openehr/serializer.rb +272 -0
- data/lib/openehr/terminology.rb +7 -0
- data/lib/openehr/terminology/open_ehr_terminology.rb +41 -0
- data/lib/openehr/writer.rb +12 -0
- data/openehr.gemspec +472 -0
- data/spec/lib/openehr/am/archetype/archetype_spec.rb +103 -0
- data/spec/lib/openehr/am/archetype/assertion/assertion_spec.rb +60 -0
- data/spec/lib/openehr/am/archetype/assertion/assertion_variable_spec.rb +30 -0
- data/spec/lib/openehr/am/archetype/assertion/expr_binary_operator.rb +40 -0
- data/spec/lib/openehr/am/archetype/assertion/expr_item_spec.rb +28 -0
- data/spec/lib/openehr/am/archetype/assertion/expr_leaf_spec.rb +34 -0
- data/spec/lib/openehr/am/archetype/assertion/expr_operator_spec.rb +25 -0
- data/spec/lib/openehr/am/archetype/assertion/expr_unary_operator_spec.rb +26 -0
- data/spec/lib/openehr/am/archetype/assertion/operator_kind_spec.rb +114 -0
- data/spec/lib/openehr/am/archetype/constraint_model/archetype_constraint_spec.rb +56 -0
- data/spec/lib/openehr/am/archetype/constraint_model/archetype_internal_ref_spec.rb +36 -0
- data/spec/lib/openehr/am/archetype/constraint_model/archetype_slot_spec.rb +61 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_attribute_spec.rb +59 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_complex_object_spec.rb +39 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_defined_object_spec.rb +53 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_domain_type_spec.rb +25 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_multiple_attribute_spec.rb +23 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_object_spec.rb +61 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_primitive_object_spec.rb +33 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb +17 -0
- data/spec/lib/openehr/am/archetype/constraint_model/c_single_attribute_spec.rb +22 -0
- data/spec/lib/openehr/am/archetype/constraint_model/cardinality_spec.rb +68 -0
- data/spec/lib/openehr/am/archetype/constraint_model/constraint_ref_spec.rb +29 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_boolean_spec.rb +57 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_date_spec.rb +52 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_date_time_spec.rb +136 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_duration_spec.rb +41 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_integer_spec.rb +67 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_primitive_spec.rb +41 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_real_spec.rb +19 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_string_spec.rb +73 -0
- data/spec/lib/openehr/am/archetype/constraint_model/primitive/c_time_spec.rb +104 -0
- data/spec/lib/openehr/am/archetype/ontology/archetype_ontology_spec.rb +97 -0
- data/spec/lib/openehr/am/archetype/ontology/archetype_term_spec.rb +43 -0
- data/spec/lib/openehr/am/archetype/validity_kind_spec.rb +42 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/basic/c_dv_state_spec.rb +34 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/basic/non_terminal_state_spec.rb +36 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/basic/state_machine_spec.rb +34 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/basic/state_spec.rb +26 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/basic/terminal_state_spec.rb +18 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/basic/transition_spec.rb +62 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/quantity/c_dv_ordinal_spec.rb +41 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/quantity/c_dv_quantity_spec.rb +50 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/quantity/c_quantity_item_spec.rb +46 -0
- data/spec/lib/openehr/am/openehr_profile/data_types/text/c_code_phrase_spec.rb +34 -0
- data/spec/lib/openehr/assumed_library_types/interval_spec.rb +145 -0
- data/spec/lib/openehr/assumed_library_types/iso8601_date_spec.rb +236 -0
- data/spec/lib/openehr/assumed_library_types/iso8601_date_time_spec.rb +47 -0
- data/spec/lib/openehr/assumed_library_types/iso8601_duration_spec.rb +150 -0
- data/spec/lib/openehr/assumed_library_types/iso8601_time_spec.rb +234 -0
- data/spec/lib/openehr/assumed_library_types/iso8601_timezone_spec.rb +57 -0
- data/spec/lib/openehr/assumed_library_types/time_definitions_spec.rb +136 -0
- data/spec/lib/openehr/assumed_library_types/timezone_spec.rb +42 -0
- data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.assumed_types.v1.adl +88 -0
- data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.basic_types.v1.adl +143 -0
- data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.basic_types_fail.v1.adl +50 -0
- data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.most_minimal.v1.adl +27 -0
- data/spec/lib/openehr/parser/adl14/adl-test-ENTRY.structure_test1.v1.adl +46 -0
- data/spec/lib/openehr/parser/adl14/adl-test-SOME_TYPE.generic_type_basic.draft.adl +56 -0
- data/spec/lib/openehr/parser/adl14/adl-test-SOME_TYPE.generic_type_use_node.draft.adl +63 -0
- data/spec/lib/openehr/parser/adl14/adl-test-car.paths.test.adl +80 -0
- data/spec/lib/openehr/parser/adl14/adl-test-car.use_node.test.adl +87 -0
- data/spec/lib/openehr/parser/adl14/adl-test-composition.dv_coded_text.test.adl +29 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_bindings.test.adl +47 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_desc_missing_purpose.test.adl +45 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_description.test.adl +61 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_description2.test.adl +45 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_identification.test.adl +26 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_internal_ref.test.adl +36 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_internal_ref2.test.adl +36 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language.test.adl +47 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language_no_accreditation.test.adl +38 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language_order_of_translation_details.test.adl +40 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_ontology.test.adl +25 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_slot.test.adl +40 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_slot.test2.adl +37 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.archetype_uncommonkeys.test.adl +29 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.basic_types.test.adl +272 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_code_phrase.test.adl +77 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_ordinal.test.adl +66 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_empty.test.adl +46 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full.test.adl +64 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full2.test.adl +64 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full3.test.adl +64 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_item_units_only.test.adl +55 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_list.test.adl +58 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_property.test.adl +47 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_reversed.test.adl +59 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.constraint_binding.test.adl +37 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.constraint_ref.test.adl +43 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.datetime.test.adl +183 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.domain_types.test.adl +97 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.durations.test.adl +109 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.empty_other_contributors.test.adl +42 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.missing_language.test.adl +23 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.mixed_node_types.draft.adl +61 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.most_minimal.test.adl +23 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.multi_language.test.adl +52 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.special_string.test.adl +88 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.structure_test1.test.adl +45 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.structure_test2.test.adl +45 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.term_binding.test.adl +37 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.term_binding2.test.adl +32 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.testtranslations.test.adl +83 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.translations_author_language.test.adl +34 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.translations_language_author.test.adl +34 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.unicode_BOM_support.test.adl +41 -0
- data/spec/lib/openehr/parser/adl14/adl-test-entry.unicode_support.test.adl +41 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ACTION.imaging.v1.adl +275 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ACTION.referral.v1.adl +351 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.auscultation-chest.v1.adl +765 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.auscultation.v1.adl +48 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.dimensions-circumference.v1.adl +134 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.dimensions.v1.adl +241 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-abdomen.v1.adl +321 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-chest.v1.adl +379 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-fetus.v1.adl +577 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-joint.v1.adl +146 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-lymphnode.v1.adl +176 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-mass.v1.adl +221 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic.v1.adl +139 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl +116 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterine_cervix.v1.adl +420 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterus.v1.adl +293 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-COMPOSITION.discharge.v1draft.adl +53 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-COMPOSITION.encounter.v1draft.adl +45 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-EVALUATION.adverse.v1.adl +411 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-EVALUATION.columna_vertebral.v1.adl +85 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-INSTRUCTION.medication.v1.adl +88 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-INSTRUCTION.referral.v1.adl +84 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.Laboratory_request.v1.adl +492 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.follow_up.v1draft.adl +94 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.imaging.v1.adl +127 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.medication-formulation.v1.adl +457 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.medication.v1.adl +869 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.referral.v1.adl +494 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.apgar.v1.adl +545 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.blood_pressure.v1.adl +673 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.body_mass_index.v1.adl +166 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.lab_test.v1.adl +376 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.testassumedvalue.v1.adl +99 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.findings.v1.adl +47 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.reason_for_encounter.v1.adl +51 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.summary.v1.adl +52 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.vital_signs.v1.adl +54 -0
- data/spec/lib/openehr/parser/adl_archetype_internal_ref2_spec.rb +42 -0
- data/spec/lib/openehr/parser/adl_archetype_internal_ref_spec.rb +125 -0
- data/spec/lib/openehr/parser/adl_archetype_internal_ref_with_generics_spec.rb +258 -0
- data/spec/lib/openehr/parser/adl_archetype_ontology_binding_spec.rb +98 -0
- data/spec/lib/openehr/parser/adl_archetype_ontology_spec.rb +42 -0
- data/spec/lib/openehr/parser/adl_archetype_slot_cluster_spec.rb +101 -0
- data/spec/lib/openehr/parser/adl_archetype_slot_spec.rb +193 -0
- data/spec/lib/openehr/parser/adl_archetype_uncommon_term_keys_spec.rb +25 -0
- data/spec/lib/openehr/parser/adl_description_spec.rb +164 -0
- data/spec/lib/openehr/parser/adl_identification_spec.rb +18 -0
- data/spec/lib/openehr/parser/adl_language_no_accreditation_spec.rb +66 -0
- data/spec/lib/openehr/parser/adl_language_order_spec.rb +68 -0
- data/spec/lib/openehr/parser/adl_language_spec.rb +119 -0
- data/spec/lib/openehr/parser/adl_language_translation_author_language_spec.rb +50 -0
- data/spec/lib/openehr/parser/adl_language_translation_language_author_spec.rb +46 -0
- data/spec/lib/openehr/parser/adl_parser_spec.rb +347 -0
- data/spec/lib/openehr/parser/adl_path_spec.rb +176 -0
- data/spec/lib/openehr/parser/base_spec.rb +19 -0
- data/spec/lib/openehr/parser/basic_generic_type_spec.rb +18 -0
- data/spec/lib/openehr/parser/basic_type_spec.rb +2922 -0
- data/spec/lib/openehr/parser/c_dv_quantity_any_allowed_spec.rb +34 -0
- data/spec/lib/openehr/parser/c_dv_quantity_shared_example_for_lacked_items_spec.rb +36 -0
- data/spec/lib/openehr/parser/c_dv_quantity_shared_example_spec.rb +146 -0
- data/spec/lib/openehr/parser/cdv_ordinal_parse_spec.rb +231 -0
- data/spec/lib/openehr/parser/code_phrase_spec.rb +96 -0
- data/spec/lib/openehr/parser/constraint_binding_spec.rb +26 -0
- data/spec/lib/openehr/parser/constraint_ref_spec.rb +32 -0
- data/spec/lib/openehr/parser/date_time_spec.rb +1953 -0
- data/spec/lib/openehr/parser/duration_spec.rb +475 -0
- data/spec/lib/openehr/parser/dv_coded_text_parse_spec.rb +27 -0
- data/spec/lib/openehr/parser/empty_other_contributors_spec.rb +19 -0
- data/spec/lib/openehr/parser/lab_test_parser_spec.rb +14 -0
- data/spec/lib/openehr/parser/missing_language_spec.rb +20 -0
- data/spec/lib/openehr/parser/missing_purpose_spec.rb +23 -0
- data/spec/lib/openehr/parser/mixed_node_types_spec.rb +16 -0
- data/spec/lib/openehr/parser/most_minimal_adl_spec.rb +19 -0
- data/spec/lib/openehr/parser/multi_language_spec.rb +58 -0
- data/spec/lib/openehr/parser/parser_spec_helper.rb +7 -0
- data/spec/lib/openehr/parser/path_based_terminology_binding_spec.rb +30 -0
- data/spec/lib/openehr/parser/special_string_spec.rb +20 -0
- data/spec/lib/openehr/parser/structure_comment_spec.rb +21 -0
- data/spec/lib/openehr/parser/structure_nested_comments_spec.rb +22 -0
- data/spec/lib/openehr/parser/structure_spec.rb +202 -0
- data/spec/lib/openehr/parser/term_binding_spec.rb +54 -0
- data/spec/lib/openehr/parser/unicode_bom_spec.rb +17 -0
- data/spec/lib/openehr/parser/unicode_support_spec.rb +46 -0
- data/spec/lib/openehr/rm/common/archetyped/archetyped_spec.rb +50 -0
- data/spec/lib/openehr/rm/common/archetyped/feeder_audit_details_spec.rb +60 -0
- data/spec/lib/openehr/rm/common/archetyped/feeder_audit_spec.rb +51 -0
- data/spec/lib/openehr/rm/common/archetyped/link_spec.rb +42 -0
- data/spec/lib/openehr/rm/common/archetyped/locatable_spec.rb +89 -0
- data/spec/lib/openehr/rm/common/archetyped/pathable_spec.rb +42 -0
- data/spec/lib/openehr/rm/common/change_control/contribution_spec.rb +56 -0
- data/spec/lib/openehr/rm/common/change_control/imported_version_spec.rb +62 -0
- data/spec/lib/openehr/rm/common/change_control/original_version_spec.rb +71 -0
- data/spec/lib/openehr/rm/common/change_control/version_spec.rb +91 -0
- data/spec/lib/openehr/rm/common/change_control/versioned_object_spec.rb +284 -0
- data/spec/lib/openehr/rm/common/directory/folder_spec.rb +26 -0
- data/spec/lib/openehr/rm/common/generic/attestation_spec.rb +62 -0
- data/spec/lib/openehr/rm/common/generic/audit_details_spec.rb +51 -0
- data/spec/lib/openehr/rm/common/generic/participation_spec.rb +36 -0
- data/spec/lib/openehr/rm/common/generic/party_identified_spec.rb +64 -0
- data/spec/lib/openehr/rm/common/generic/party_proxy_spec.rb +18 -0
- data/spec/lib/openehr/rm/common/generic/party_related_spec.rb +24 -0
- data/spec/lib/openehr/rm/common/generic/revision_history_item_spec.rb +43 -0
- data/spec/lib/openehr/rm/common/generic/revision_history_spec.rb +45 -0
- data/spec/lib/openehr/rm/common/resource/authored_resource_spec.rb +68 -0
- data/spec/lib/openehr/rm/common/resource/resource_description_item_spec.rb +105 -0
- data/spec/lib/openehr/rm/common/resource/resource_description_spec.rb +74 -0
- data/spec/lib/openehr/rm/common/resource/translation_details_spec.rb +35 -0
- data/spec/lib/openehr/rm/composition/composition_spec.rb +92 -0
- data/spec/lib/openehr/rm/composition/content/content_item_spec.rb +14 -0
- data/spec/lib/openehr/rm/composition/content/entry/action_spec.rb +69 -0
- data/spec/lib/openehr/rm/composition/content/entry/activity_spec.rb +61 -0
- data/spec/lib/openehr/rm/composition/content/entry/admin_entry_spec.rb +38 -0
- data/spec/lib/openehr/rm/composition/content/entry/care_entry_spec.rb +37 -0
- data/spec/lib/openehr/rm/composition/content/entry/entry_spec.rb +98 -0
- data/spec/lib/openehr/rm/composition/content/entry/evaluation_spec.rb +37 -0
- data/spec/lib/openehr/rm/composition/content/entry/instruction_details_spec.rb +51 -0
- data/spec/lib/openehr/rm/composition/content/entry/instruction_spec.rb +62 -0
- data/spec/lib/openehr/rm/composition/content/entry/ism_transition_spec.rb +46 -0
- data/spec/lib/openehr/rm/composition/content/entry/observation_spec.rb +45 -0
- data/spec/lib/openehr/rm/composition/content/navigation/section_spec.rb +32 -0
- data/spec/lib/openehr/rm/composition/event_context_spec.rb +88 -0
- data/spec/lib/openehr/rm/data_structures/data_structure_spec.rb +21 -0
- data/spec/lib/openehr/rm/data_structures/history/event_spec.rb +44 -0
- data/spec/lib/openehr/rm/data_structures/history/history_spec.rb +67 -0
- data/spec/lib/openehr/rm/data_structures/history/interval_event_spec.rb +43 -0
- data/spec/lib/openehr/rm/data_structures/item_structure/item_list_spec.rb +53 -0
- data/spec/lib/openehr/rm/data_structures/item_structure/item_single_spec.rb +29 -0
- data/spec/lib/openehr/rm/data_structures/item_structure/item_table_spec.rb +147 -0
- data/spec/lib/openehr/rm/data_structures/item_structure/item_tree_spec.rb +48 -0
- data/spec/lib/openehr/rm/data_structures/item_structure/representation/cluster_spec.rb +26 -0
- data/spec/lib/openehr/rm/data_structures/item_structure/representation/element_spec.rb +22 -0
- data/spec/lib/openehr/rm/data_types/basic/data_value_spec.rb +17 -0
- data/spec/lib/openehr/rm/data_types/basic/dv_boolean_spec.rb +29 -0
- data/spec/lib/openehr/rm/data_types/basic/dv_identifier_spec.rb +108 -0
- data/spec/lib/openehr/rm/data_types/basic/dv_state_spec.rb +44 -0
- data/spec/lib/openehr/rm/data_types/encapsulated/dv_encapsulated_spec.rb +42 -0
- data/spec/lib/openehr/rm/data_types/encapsulated/dv_multimedia_spec.rb +79 -0
- data/spec/lib/openehr/rm/data_types/encapsulated/dv_parsable_spec.rb +34 -0
- data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_date_spec.rb +64 -0
- data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_date_time_spec.rb +26 -0
- data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_duration_spec.rb +44 -0
- data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_temporal_spec.rb +25 -0
- data/spec/lib/openehr/rm/data_types/quantity/date_time/dv_time_spec.rb +41 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_absolute_quantity_spec.rb +35 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_amount_spec.rb +105 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_count_spec.rb +12 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb +17 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_ordered_spec.rb +60 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_ordinal_spec.rb +74 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_proportion_spec.rb +162 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_quantified_spec.rb +36 -0
- data/spec/lib/openehr/rm/data_types/quantity/dv_quantity_spec.rb +78 -0
- data/spec/lib/openehr/rm/data_types/quantity/proportion_kind_spec.rb +24 -0
- data/spec/lib/openehr/rm/data_types/quantity/reference_range_spec.rb +43 -0
- data/spec/lib/openehr/rm/data_types/text/code_phrase_spec.rb +23 -0
- data/spec/lib/openehr/rm/data_types/text/dv_paragraph_spec.rb +13 -0
- data/spec/lib/openehr/rm/data_types/text/dv_text_spec.rb +79 -0
- data/spec/lib/openehr/rm/data_types/text/term_mapping_spec.rb +59 -0
- data/spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb +21 -0
- data/spec/lib/openehr/rm/data_types/uri/dv_uri_spec.rb +36 -0
- data/spec/lib/openehr/rm/demographic/actor_spec.rb +79 -0
- data/spec/lib/openehr/rm/demographic/address_spec.rb +33 -0
- data/spec/lib/openehr/rm/demographic/capability_spec.rb +37 -0
- data/spec/lib/openehr/rm/demographic/contact_spec.rb +45 -0
- data/spec/lib/openehr/rm/demographic/party_identity_spec.rb +32 -0
- data/spec/lib/openehr/rm/demographic/party_relationship_spec.rb +84 -0
- data/spec/lib/openehr/rm/demographic/party_spec.rb +131 -0
- data/spec/lib/openehr/rm/demographic/role_spec.rb +58 -0
- data/spec/lib/openehr/rm/ehr/ehr_access_spec.rb +33 -0
- data/spec/lib/openehr/rm/ehr/ehr_spec.rb +139 -0
- data/spec/lib/openehr/rm/ehr/ehr_status_spec.rb +52 -0
- data/spec/lib/openehr/rm/ehr/versioned_composition_spec.rb +33 -0
- data/spec/lib/openehr/rm/integration/generic_entry_spec.rb +31 -0
- data/spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb +19 -0
- data/spec/lib/openehr/rm/support/identification/archetype_id_spec.rb +152 -0
- data/spec/lib/openehr/rm/support/identification/generic_id_spec.rb +33 -0
- data/spec/lib/openehr/rm/support/identification/hier_object_id_spec.rb +12 -0
- data/spec/lib/openehr/rm/support/identification/internet_id_spec.rb +12 -0
- data/spec/lib/openehr/rm/support/identification/iso_oid_spec.rb +12 -0
- data/spec/lib/openehr/rm/support/identification/locatable_ref_spec.rb +34 -0
- data/spec/lib/openehr/rm/support/identification/object_id_spec.rb +24 -0
- data/spec/lib/openehr/rm/support/identification/object_ref_spec.rb +33 -0
- data/spec/lib/openehr/rm/support/identification/object_version_id_spec.rb +59 -0
- data/spec/lib/openehr/rm/support/identification/party_ref_spec.rb +29 -0
- data/spec/lib/openehr/rm/support/identification/template_id_spec.rb +12 -0
- data/spec/lib/openehr/rm/support/identification/terminology_id_spec.rb +33 -0
- data/spec/lib/openehr/rm/support/identification/uid_based_id_spec.rb +50 -0
- data/spec/lib/openehr/rm/support/identification/uid_spec.rb +29 -0
- data/spec/lib/openehr/rm/support/identification/version_tree_id_spec.rb +104 -0
- data/spec/lib/openehr/rm/support/measurement_service_spec.rb +7 -0
- data/spec/lib/openehr/rm/support/terminology_service_spec.rb +24 -0
- data/spec/lib/openehr/serializer/adl-test-entry.most_minimal.test.adl +20 -0
- data/spec/lib/openehr/serializer/adl_serializer_spec.rb +47 -0
- data/spec/lib/openehr/serializer/openEHR-EHR-SECTION.test.v1.adl +38 -0
- data/spec/lib/openehr/serializer/openEHR-EHR-SECTION.test.v1.xml +58 -0
- data/spec/lib/openehr/serializer/sample_archetype_spec.rb +44 -0
- data/spec/lib/openehr/serializer/xml_serializer_spec.rb +49 -0
- data/spec/lib/openehr/terminology/open_ehr_terminology_spec.rb +40 -0
- data/spec/spec.opts +6 -0
- data/spec/spec_helper.rb +58 -0
- metadata +631 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../../../spec_helper'
|
2
|
+
include OpenEHR::RM::Support::Terminology
|
3
|
+
|
4
|
+
describe TerminologyService do
|
5
|
+
before(:each) do
|
6
|
+
@ts ||= TerminologyService.new
|
7
|
+
@terminology_mock = mock('terminology')
|
8
|
+
end
|
9
|
+
|
10
|
+
it 'should get terminology by its name' do
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'should get code_set by its name'
|
14
|
+
|
15
|
+
it 'should reply if it has terminology or not'
|
16
|
+
|
17
|
+
it 'should reply if it has terminology or not'
|
18
|
+
|
19
|
+
it 'should reply all terminology_identifires'
|
20
|
+
|
21
|
+
it 'should get openehr code stes'
|
22
|
+
|
23
|
+
it 'should get code_set_identifiers'
|
24
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
archetype (adl_version=1.4)
|
2
|
+
adl-test-ENTRY.most_minimal.draft
|
3
|
+
concept
|
4
|
+
[at0000]
|
5
|
+
language
|
6
|
+
original_language = <[ISO_639-1::en]>
|
7
|
+
definition
|
8
|
+
ENTRY[at0000] matches {*}
|
9
|
+
ontology
|
10
|
+
term_definitions = <
|
11
|
+
["en"] = <
|
12
|
+
items = <
|
13
|
+
["at0000"] = <
|
14
|
+
text = <"most minimal">
|
15
|
+
description = <"most minimal">
|
16
|
+
>
|
17
|
+
>
|
18
|
+
>
|
19
|
+
>
|
20
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../../spec_helper'
|
2
|
+
require File.dirname(__FILE__) + '/sample_archetype_spec'
|
3
|
+
include OpenEHR::Serializer
|
4
|
+
include OpenEHR::AM::Archetype
|
5
|
+
include OpenEHR::AM::Archetype::Ontology
|
6
|
+
include OpenEHR::RM::Support::Identification
|
7
|
+
|
8
|
+
describe ADLSerializer do
|
9
|
+
|
10
|
+
before(:all) do
|
11
|
+
current_dir = File.dirname(__FILE__)
|
12
|
+
adl_file = File.open(current_dir + '/openEHR-EHR-SECTION.test.v1.adl')
|
13
|
+
adl = adl_file.readlines
|
14
|
+
@sample_header = adl[0..7].join
|
15
|
+
@sample_description = adl[9..22].join
|
16
|
+
@sample_definition = adl[24..25].join
|
17
|
+
@sample_ontology = adl[27..37].join
|
18
|
+
@sample_total = adl.join
|
19
|
+
adl_file.close
|
20
|
+
@archetype = sample_archetype
|
21
|
+
@adl_serializer = ADLSerializer.new(@archetype)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'should be an instance of ADLSerializer' do
|
25
|
+
@adl_serializer.should be_an_instance_of ADLSerializer
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'header should return archetype context' do
|
29
|
+
@adl_serializer.header.should == @sample_header
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'description should return archetype description' do
|
33
|
+
@adl_serializer.description.should == @sample_description
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'definition should return ADL formatted definition' do
|
37
|
+
@adl_serializer.definition.should == @sample_definition
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'ontology should return ADL formatted ontology' do
|
41
|
+
@adl_serializer.ontology.should == @sample_ontology
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'should return serialized ADL format' do
|
45
|
+
@adl_serializer.serialize.should == @sample_total
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
archetype
|
2
|
+
openEHR-EHR-SECTION.test.v1
|
3
|
+
|
4
|
+
concept
|
5
|
+
[at0000]
|
6
|
+
|
7
|
+
language
|
8
|
+
original_language = <[ISO_639-1::ja]>
|
9
|
+
|
10
|
+
description
|
11
|
+
original_author = <
|
12
|
+
["email"] = <"skoba@moss.gr.jp">
|
13
|
+
["organisation"] = <"openEHR.jp">
|
14
|
+
["name"] = <"Shinji KOBAYASHI">
|
15
|
+
>
|
16
|
+
lifecycle_state = <"draft">
|
17
|
+
details = <
|
18
|
+
["ja"] = <
|
19
|
+
language = <[ISO_639-1::ja]>
|
20
|
+
purpose = <"Serializer test">
|
21
|
+
misuse = <"evaluate message">
|
22
|
+
>
|
23
|
+
>
|
24
|
+
|
25
|
+
definition
|
26
|
+
SECTION[at0000] matches {*}
|
27
|
+
|
28
|
+
ontology
|
29
|
+
term_definitions = <
|
30
|
+
["ja"] = <
|
31
|
+
items = <
|
32
|
+
["at0000"] = <
|
33
|
+
text = <"simple test">
|
34
|
+
description = <"simple test for serializer">
|
35
|
+
>
|
36
|
+
>
|
37
|
+
>
|
38
|
+
>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<archetype xmlns="http://schemas.openehr.org/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
3
|
+
<archetype_id>
|
4
|
+
<value>openEHR-EHR-SECTION.test.v1</value>
|
5
|
+
</archetype_id>
|
6
|
+
<concept>at0000</concept>
|
7
|
+
<original_language>
|
8
|
+
<terminology_id>
|
9
|
+
<value>ISO_639-1</value>
|
10
|
+
</terminology_id>
|
11
|
+
<code_string>ja</code_string>
|
12
|
+
</original_language>
|
13
|
+
<description>
|
14
|
+
<original_author id="email">skoba@moss.gr.jp</original_author>
|
15
|
+
<original_author id="organisation">openEHR.jp</original_author>
|
16
|
+
<original_author id="name">Shinji KOBAYASHI</original_author>
|
17
|
+
<lifecycle_state>draft</lifecycle_state>
|
18
|
+
<details>
|
19
|
+
<language>
|
20
|
+
<terminology_id>
|
21
|
+
<value>ISO_639-1</value>
|
22
|
+
</terminology_id>
|
23
|
+
<code_string>ja</code_string>
|
24
|
+
</language>
|
25
|
+
<purpose>Serializer test</purpose>
|
26
|
+
<misuse>evaluate message</misuse>
|
27
|
+
</details>
|
28
|
+
</description>
|
29
|
+
<definition>
|
30
|
+
<rm_type_name>SECTION</rm_type_name>
|
31
|
+
<occurrence>
|
32
|
+
<lower_unbounded>false</lower_unbounded>
|
33
|
+
<upper_unbounded>false</upper_unbounded>
|
34
|
+
<lower>1</lower>
|
35
|
+
<upper>1</upper>
|
36
|
+
</occurrence>
|
37
|
+
<node_id>at0000</node_id>
|
38
|
+
</definition>
|
39
|
+
<ontology>
|
40
|
+
<specialisation_depth>0</specialisation_depth>
|
41
|
+
<term_definitions>
|
42
|
+
<language>ja</language>
|
43
|
+
<terms>
|
44
|
+
<code>at0000</code>
|
45
|
+
<items>
|
46
|
+
<item>
|
47
|
+
<key>text</key>
|
48
|
+
<value>simple test</value>
|
49
|
+
</item>
|
50
|
+
<item>
|
51
|
+
<key>description</key>
|
52
|
+
<value>simple test for serializer</value>
|
53
|
+
</item>
|
54
|
+
</items>
|
55
|
+
</terms>
|
56
|
+
</term_definitions>
|
57
|
+
</ontology>
|
58
|
+
</archetype>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../../spec_helper'
|
2
|
+
include OpenEHR::AM::Archetype
|
3
|
+
include OpenEHR::AM::Archetype::ConstraintModel
|
4
|
+
include OpenEHR::AM::Archetype::Ontology
|
5
|
+
include OpenEHR::RM::Support::Identification
|
6
|
+
include OpenEHR::RM::DataTypes::Text
|
7
|
+
include OpenEHR::AssumedLibraryTypes
|
8
|
+
|
9
|
+
def sample_archetype
|
10
|
+
archetype_term = ArchetypeTerm.new(:code => 'at0000',
|
11
|
+
:items => {'text' => 'simple test',
|
12
|
+
'description' => 'simple test for serializer'})
|
13
|
+
term_definitions = {'ja' => [archetype_term]}
|
14
|
+
ontology =
|
15
|
+
ArchetypeOntology.new(:specialisation_depth => 0,
|
16
|
+
:term_definitions => term_definitions)
|
17
|
+
archetype_id = ArchetypeID.new(:value =>
|
18
|
+
'openEHR-EHR-SECTION.test.v1')
|
19
|
+
terminology_id = TerminologyID.new(:value => 'ISO_639-1')
|
20
|
+
original_language = CodePhrase.new(:code_string => 'ja',
|
21
|
+
:terminology_id => terminology_id)
|
22
|
+
occurrences = Interval.new(:upper => 1, :lower => 1)
|
23
|
+
definition = CComplexObject.new(:path => '/',
|
24
|
+
:rm_type_name => 'SECTION',
|
25
|
+
:occurrences => occurrences,
|
26
|
+
:node_id => 'at0000')
|
27
|
+
original_author = {'email' => 'skoba@moss.gr.jp',
|
28
|
+
'organisation' => 'openEHR.jp',
|
29
|
+
'name' => 'Shinji KOBAYASHI'}
|
30
|
+
resource_description_item =
|
31
|
+
ResourceDescriptionItem.new(:language => original_language,
|
32
|
+
:purpose => 'Serializer test',
|
33
|
+
:misuse => 'evaluate message')
|
34
|
+
details = {'ja' => resource_description_item}
|
35
|
+
description = ResourceDescription.new(:original_author => original_author,
|
36
|
+
:lifecycle_state => 'draft',
|
37
|
+
:details => details)
|
38
|
+
return archetype = Archetype.new(:archetype_id => archetype_id,
|
39
|
+
:concept => 'at0000',
|
40
|
+
:original_language => original_language,
|
41
|
+
:ontology => ontology,
|
42
|
+
:description => description,
|
43
|
+
:definition => definition)
|
44
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../../spec_helper'
|
2
|
+
require File.dirname(__FILE__) + '/sample_archetype_spec'
|
3
|
+
require 'rexml/document'
|
4
|
+
include OpenEHR::Serializer
|
5
|
+
|
6
|
+
describe XMLSerializer do
|
7
|
+
|
8
|
+
before(:all) do
|
9
|
+
current_dir = File.dirname(__FILE__)
|
10
|
+
xml_file = File.open(current_dir + '/openEHR-EHR-SECTION.test.v1.xml')
|
11
|
+
xml = xml_file.readlines
|
12
|
+
class << xml
|
13
|
+
def unindent(s,e,num)
|
14
|
+
self[s..e].collect{|line| line[num..-1]}.join
|
15
|
+
end
|
16
|
+
end
|
17
|
+
@sample_header = xml.unindent(2, 11, 2)
|
18
|
+
@sample_description = xml.unindent(12, 27, 2)
|
19
|
+
@sample_definition = xml.unindent(28, 37, 2)
|
20
|
+
@sample_ontology = xml.unindent(38, 56, 2)
|
21
|
+
@sample_xml = xml.join
|
22
|
+
xml_file.close
|
23
|
+
@archetype = sample_archetype
|
24
|
+
end
|
25
|
+
|
26
|
+
before(:each) do
|
27
|
+
@xml_serializer = XMLSerializer.new(@archetype)
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'should be an instance of XMLSerializer' do
|
31
|
+
@xml_serializer.should be_an_instance_of XMLSerializer
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'should return XML formatted header' do
|
35
|
+
@xml_serializer.header.should == @sample_header
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'should return XML formatted description' do
|
39
|
+
@xml_serializer.description.should == @sample_description
|
40
|
+
end
|
41
|
+
|
42
|
+
it 'should return XML formatted definition' do
|
43
|
+
@xml_serializer.definition.should == @sample_definition
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'should return XML formatted ontology' do
|
47
|
+
@xml_serializer.ontology.should == @sample_ontology
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../../spec_helper'
|
2
|
+
|
3
|
+
describe 'OpenEHRTerminology' do
|
4
|
+
before(:each) do
|
5
|
+
@term = OpenEHR::Terminology::OpenEHRTerminology.new
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'should parse and return languages' do
|
9
|
+
@term.languages[0].should == {'code' => 'af', 'Description' => 'Afrikaans'}
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'should parse and return primary rubrics' do
|
13
|
+
@term.primary_rubrics[0].should == {'Id' => '0', 'Language' => 'en'}
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'should parse and return concepts' do
|
17
|
+
@term.concepts[0].should == {'Rubric' => 'self', 'Language' => 'en',
|
18
|
+
'ConceptID' => '0'}
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'should parse and return groupers' do
|
22
|
+
@term.groupers[0].should == {'id' => '0', 'ConceptID' => '154'}
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'should parse and return grouped_concepts' do
|
26
|
+
@term.grouped_concepts[0].should == {'ChildID' => '0', 'GrouperID' => '1'}
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'should parse and return terminology identifiers' do
|
30
|
+
@term.terminology_identifiers[0].should ==
|
31
|
+
{'VSAB' => 'AIR93', 'Authority' => 'UMLS2003AA',
|
32
|
+
'SourceName' => 'AI/RHEUM,1993'}
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'should parse and return territory' do
|
36
|
+
@term.territories[0].should ==
|
37
|
+
{'Text' => 'Afghanistan', 'ThreeLetter'=>'AFG',
|
38
|
+
'NumericCode' => '004', 'TwoLetter' => 'AF'}
|
39
|
+
end
|
40
|
+
end
|
data/spec/spec.opts
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spork'
|
3
|
+
require 'simplecov'
|
4
|
+
|
5
|
+
SimpleCov.start
|
6
|
+
|
7
|
+
Spork.prefork do
|
8
|
+
# Loading more in this block will cause your tests to run faster. However,
|
9
|
+
# if you change any configuration or code from libraries loaded here, you'll
|
10
|
+
# need to restart spork for it take effect.
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
Spork.each_run do
|
15
|
+
# This code will be run each time you run your specs.
|
16
|
+
|
17
|
+
end
|
18
|
+
|
19
|
+
# --- Instructions ---
|
20
|
+
# Sort the contents of this file into a Spork.prefork and a Spork.each_run
|
21
|
+
# block.
|
22
|
+
#
|
23
|
+
# The Spork.prefork block is run only once when the spork server is started.
|
24
|
+
# You typically want to place most of your (slow) initializer code in here, in
|
25
|
+
# particular, require'ing any 3rd-party gems that you don't normally modify
|
26
|
+
# during development.
|
27
|
+
#
|
28
|
+
# The Spork.each_run block is run each time you run your specs. In case you
|
29
|
+
# need to load files that tend to change during development, require them here.
|
30
|
+
# With Rails, your application modules are loaded automatically, so sometimes
|
31
|
+
# this block can remain empty.
|
32
|
+
#
|
33
|
+
# Note: You can modify files loaded *from* the Spork.each_run block without
|
34
|
+
# restarting the spork server. However, this file itself will not be reloaded,
|
35
|
+
# so if you change any of the code inside the each_run block, you still need to
|
36
|
+
# restart the server. In general, if you have non-trivial code in this file,
|
37
|
+
# it's advisable to move it into a separate file so you can easily edit it
|
38
|
+
# without restarting spork. (For example, with RSpec, you could move
|
39
|
+
# non-trivial code into a file spec/support/my_helper.rb, making sure that the
|
40
|
+
# spec/support/* files are require'd from inside the each_run block.)
|
41
|
+
#
|
42
|
+
# Any code that is left outside the two blocks will be run during preforking
|
43
|
+
# *and* during each_run -- that's probably not what you want.
|
44
|
+
#
|
45
|
+
# These instructions should self-destruct in 10 seconds. If they don't, feel
|
46
|
+
# free to delete them.
|
47
|
+
|
48
|
+
begin
|
49
|
+
require 'rspec'
|
50
|
+
rescue LoadError
|
51
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
52
|
+
gem 'rspec'
|
53
|
+
require 'rspec'
|
54
|
+
end
|
55
|
+
|
56
|
+
#$:.unshift(File.dirname(__FILE__) + '/../lib')
|
57
|
+
$:.unshift(File.dirname(__FILE__) + '/..')
|
58
|
+
require 'lib/openehr'
|
metadata
ADDED
@@ -0,0 +1,631 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: openehr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Shinji KOBAYASHI
|
9
|
+
- Akimichi Tatsukawa
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2012-05-04 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: xml-simple
|
17
|
+
requirement: &17203798920 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *17203798920
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: activesupport
|
28
|
+
requirement: &17203810260 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *17203810260
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: locale
|
39
|
+
requirement: &17203805440 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :runtime
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *17203805440
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: builder
|
50
|
+
requirement: &17203803000 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *17203803000
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: jeweler
|
61
|
+
requirement: &17203817360 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: *17203817360
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: i18n
|
72
|
+
requirement: &17203815600 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: *17203815600
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: treetop
|
83
|
+
requirement: &17203812920 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :runtime
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: *17203812920
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: polyglot
|
94
|
+
requirement: &17203810380 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
type: :runtime
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: *17203810380
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rdoc
|
105
|
+
requirement: &17203824780 !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
type: :runtime
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: *17203824780
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: sqlite3
|
116
|
+
requirement: &17203821920 !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
119
|
+
- - ! '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :runtime
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: *17203821920
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activerecord
|
127
|
+
requirement: &17203832800 !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: *17203832800
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
|
+
name: rspec
|
138
|
+
requirement: &17203829160 !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
type: :development
|
145
|
+
prerelease: false
|
146
|
+
version_requirements: *17203829160
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: guard-rspec
|
149
|
+
requirement: &17203836960 !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
152
|
+
- - ! '>='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
type: :development
|
156
|
+
prerelease: false
|
157
|
+
version_requirements: *17203836960
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: ruby-debug19
|
160
|
+
requirement: &17203844280 !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: *17203844280
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: spork
|
171
|
+
requirement: &17203858260 !ruby/object:Gem::Requirement
|
172
|
+
none: false
|
173
|
+
requirements:
|
174
|
+
- - ~>
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: 1.0rc
|
177
|
+
type: :development
|
178
|
+
prerelease: false
|
179
|
+
version_requirements: *17203858260
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: guard-spork
|
182
|
+
requirement: &17203856740 !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: *17203856740
|
191
|
+
- !ruby/object:Gem::Dependency
|
192
|
+
name: simplecov
|
193
|
+
requirement: &17203855880 !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
195
|
+
requirements:
|
196
|
+
- - ! '>='
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
type: :development
|
200
|
+
prerelease: false
|
201
|
+
version_requirements: *17203855880
|
202
|
+
- !ruby/object:Gem::Dependency
|
203
|
+
name: libnotify
|
204
|
+
requirement: &17203854240 !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
206
|
+
requirements:
|
207
|
+
- - ! '>='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
210
|
+
type: :development
|
211
|
+
prerelease: false
|
212
|
+
version_requirements: *17203854240
|
213
|
+
description: This project is an implementation of the openEHR specification on Ruby.
|
214
|
+
email: skoba@moss.gr.jp
|
215
|
+
executables: []
|
216
|
+
extensions: []
|
217
|
+
extra_rdoc_files:
|
218
|
+
- README.rdoc
|
219
|
+
files:
|
220
|
+
- .document
|
221
|
+
- .rspec
|
222
|
+
- .travis.yml
|
223
|
+
- Gemfile
|
224
|
+
- Guardfile
|
225
|
+
- History.txt
|
226
|
+
- PostInstall.txt
|
227
|
+
- README.rdoc
|
228
|
+
- Rakefile
|
229
|
+
- VERSION
|
230
|
+
- doc/openehr_terminology.xml
|
231
|
+
- lib/openehr.rb
|
232
|
+
- lib/openehr/am.rb
|
233
|
+
- lib/openehr/am/archetype.rb
|
234
|
+
- lib/openehr/am/archetype/assertion.rb
|
235
|
+
- lib/openehr/am/archetype/constraint_model.rb
|
236
|
+
- lib/openehr/am/archetype/constraint_model/primitive.rb
|
237
|
+
- lib/openehr/am/archetype/ontology.rb
|
238
|
+
- lib/openehr/am/openehr_profile.rb
|
239
|
+
- lib/openehr/am/openehr_profile/data_types.rb
|
240
|
+
- lib/openehr/am/openehr_profile/data_types/basic.rb
|
241
|
+
- lib/openehr/am/openehr_profile/data_types/quantity.rb
|
242
|
+
- lib/openehr/am/openehr_profile/data_types/text.rb
|
243
|
+
- lib/openehr/assumed_library_types.rb
|
244
|
+
- lib/openehr/parser.rb
|
245
|
+
- lib/openehr/parser/adl.rb
|
246
|
+
- lib/openehr/parser/adl_grammar.tt
|
247
|
+
- lib/openehr/parser/adl_parser.rb
|
248
|
+
- lib/openehr/parser/cadl_grammar.tt
|
249
|
+
- lib/openehr/parser/cadl_node.rb
|
250
|
+
- lib/openehr/parser/dadl.rb
|
251
|
+
- lib/openehr/parser/dadl_grammar.tt
|
252
|
+
- lib/openehr/parser/exception.rb
|
253
|
+
- lib/openehr/parser/shared_token_grammar.tt
|
254
|
+
- lib/openehr/parser/validator.rb
|
255
|
+
- lib/openehr/parser/xml_perser.rb
|
256
|
+
- lib/openehr/rm.rb
|
257
|
+
- lib/openehr/rm/common.rb
|
258
|
+
- lib/openehr/rm/common/archetyped.rb
|
259
|
+
- lib/openehr/rm/common/change_control.rb
|
260
|
+
- lib/openehr/rm/common/directory.rb
|
261
|
+
- lib/openehr/rm/common/generic.rb
|
262
|
+
- lib/openehr/rm/common/resource.rb
|
263
|
+
- lib/openehr/rm/composition.rb
|
264
|
+
- lib/openehr/rm/composition/content.rb
|
265
|
+
- lib/openehr/rm/composition/content/entry.rb
|
266
|
+
- lib/openehr/rm/composition/content/navigation.rb
|
267
|
+
- lib/openehr/rm/data_structures.rb
|
268
|
+
- lib/openehr/rm/data_structures/history.rb
|
269
|
+
- lib/openehr/rm/data_structures/item_structure.rb
|
270
|
+
- lib/openehr/rm/data_structures/item_structure/representation.rb
|
271
|
+
- lib/openehr/rm/data_types.rb
|
272
|
+
- lib/openehr/rm/data_types/basic.rb
|
273
|
+
- lib/openehr/rm/data_types/charset.lst
|
274
|
+
- lib/openehr/rm/data_types/charset_extract.rb
|
275
|
+
- lib/openehr/rm/data_types/encapsulated.rb
|
276
|
+
- lib/openehr/rm/data_types/quantity.rb
|
277
|
+
- lib/openehr/rm/data_types/quantity/date_time.rb
|
278
|
+
- lib/openehr/rm/data_types/text.rb
|
279
|
+
- lib/openehr/rm/data_types/time_specification.rb
|
280
|
+
- lib/openehr/rm/data_types/uri.rb
|
281
|
+
- lib/openehr/rm/demographic.rb
|
282
|
+
- lib/openehr/rm/ehr.rb
|
283
|
+
- lib/openehr/rm/integration.rb
|
284
|
+
- lib/openehr/rm/security.rb
|
285
|
+
- lib/openehr/rm/support.rb
|
286
|
+
- lib/openehr/rm/support/definition.rb
|
287
|
+
- lib/openehr/rm/support/identification.rb
|
288
|
+
- lib/openehr/rm/support/measurement.rb
|
289
|
+
- lib/openehr/rm/support/terminology.rb
|
290
|
+
- lib/openehr/serializer.rb
|
291
|
+
- lib/openehr/terminology.rb
|
292
|
+
- lib/openehr/terminology/open_ehr_terminology.rb
|
293
|
+
- lib/openehr/writer.rb
|
294
|
+
- openehr.gemspec
|
295
|
+
- spec/lib/openehr/am/archetype/archetype_spec.rb
|
296
|
+
- spec/lib/openehr/am/archetype/assertion/assertion_spec.rb
|
297
|
+
- spec/lib/openehr/am/archetype/assertion/assertion_variable_spec.rb
|
298
|
+
- spec/lib/openehr/am/archetype/assertion/expr_binary_operator.rb
|
299
|
+
- spec/lib/openehr/am/archetype/assertion/expr_item_spec.rb
|
300
|
+
- spec/lib/openehr/am/archetype/assertion/expr_leaf_spec.rb
|
301
|
+
- spec/lib/openehr/am/archetype/assertion/expr_operator_spec.rb
|
302
|
+
- spec/lib/openehr/am/archetype/assertion/expr_unary_operator_spec.rb
|
303
|
+
- spec/lib/openehr/am/archetype/assertion/operator_kind_spec.rb
|
304
|
+
- spec/lib/openehr/am/archetype/constraint_model/archetype_constraint_spec.rb
|
305
|
+
- spec/lib/openehr/am/archetype/constraint_model/archetype_internal_ref_spec.rb
|
306
|
+
- spec/lib/openehr/am/archetype/constraint_model/archetype_slot_spec.rb
|
307
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_attribute_spec.rb
|
308
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_complex_object_spec.rb
|
309
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_defined_object_spec.rb
|
310
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_domain_type_spec.rb
|
311
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_multiple_attribute_spec.rb
|
312
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_object_spec.rb
|
313
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_primitive_object_spec.rb
|
314
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
|
315
|
+
- spec/lib/openehr/am/archetype/constraint_model/c_single_attribute_spec.rb
|
316
|
+
- spec/lib/openehr/am/archetype/constraint_model/cardinality_spec.rb
|
317
|
+
- spec/lib/openehr/am/archetype/constraint_model/constraint_ref_spec.rb
|
318
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_boolean_spec.rb
|
319
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_date_spec.rb
|
320
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_date_time_spec.rb
|
321
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_duration_spec.rb
|
322
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_integer_spec.rb
|
323
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_primitive_spec.rb
|
324
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_real_spec.rb
|
325
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_string_spec.rb
|
326
|
+
- spec/lib/openehr/am/archetype/constraint_model/primitive/c_time_spec.rb
|
327
|
+
- spec/lib/openehr/am/archetype/ontology/archetype_ontology_spec.rb
|
328
|
+
- spec/lib/openehr/am/archetype/ontology/archetype_term_spec.rb
|
329
|
+
- spec/lib/openehr/am/archetype/validity_kind_spec.rb
|
330
|
+
- spec/lib/openehr/am/openehr_profile/data_types/basic/c_dv_state_spec.rb
|
331
|
+
- spec/lib/openehr/am/openehr_profile/data_types/basic/non_terminal_state_spec.rb
|
332
|
+
- spec/lib/openehr/am/openehr_profile/data_types/basic/state_machine_spec.rb
|
333
|
+
- spec/lib/openehr/am/openehr_profile/data_types/basic/state_spec.rb
|
334
|
+
- spec/lib/openehr/am/openehr_profile/data_types/basic/terminal_state_spec.rb
|
335
|
+
- spec/lib/openehr/am/openehr_profile/data_types/basic/transition_spec.rb
|
336
|
+
- spec/lib/openehr/am/openehr_profile/data_types/quantity/c_dv_ordinal_spec.rb
|
337
|
+
- spec/lib/openehr/am/openehr_profile/data_types/quantity/c_dv_quantity_spec.rb
|
338
|
+
- spec/lib/openehr/am/openehr_profile/data_types/quantity/c_quantity_item_spec.rb
|
339
|
+
- spec/lib/openehr/am/openehr_profile/data_types/text/c_code_phrase_spec.rb
|
340
|
+
- spec/lib/openehr/assumed_library_types/interval_spec.rb
|
341
|
+
- spec/lib/openehr/assumed_library_types/iso8601_date_spec.rb
|
342
|
+
- spec/lib/openehr/assumed_library_types/iso8601_date_time_spec.rb
|
343
|
+
- spec/lib/openehr/assumed_library_types/iso8601_duration_spec.rb
|
344
|
+
- spec/lib/openehr/assumed_library_types/iso8601_time_spec.rb
|
345
|
+
- spec/lib/openehr/assumed_library_types/iso8601_timezone_spec.rb
|
346
|
+
- spec/lib/openehr/assumed_library_types/time_definitions_spec.rb
|
347
|
+
- spec/lib/openehr/assumed_library_types/timezone_spec.rb
|
348
|
+
- spec/lib/openehr/parser/adl14/adl-test-ENTRY.assumed_types.v1.adl
|
349
|
+
- spec/lib/openehr/parser/adl14/adl-test-ENTRY.basic_types.v1.adl
|
350
|
+
- spec/lib/openehr/parser/adl14/adl-test-ENTRY.basic_types_fail.v1.adl
|
351
|
+
- spec/lib/openehr/parser/adl14/adl-test-ENTRY.most_minimal.v1.adl
|
352
|
+
- spec/lib/openehr/parser/adl14/adl-test-ENTRY.structure_test1.v1.adl
|
353
|
+
- spec/lib/openehr/parser/adl14/adl-test-SOME_TYPE.generic_type_basic.draft.adl
|
354
|
+
- spec/lib/openehr/parser/adl14/adl-test-SOME_TYPE.generic_type_use_node.draft.adl
|
355
|
+
- spec/lib/openehr/parser/adl14/adl-test-car.paths.test.adl
|
356
|
+
- spec/lib/openehr/parser/adl14/adl-test-car.use_node.test.adl
|
357
|
+
- spec/lib/openehr/parser/adl14/adl-test-composition.dv_coded_text.test.adl
|
358
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_bindings.test.adl
|
359
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_desc_missing_purpose.test.adl
|
360
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_description.test.adl
|
361
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_description2.test.adl
|
362
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_identification.test.adl
|
363
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_internal_ref.test.adl
|
364
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_internal_ref2.test.adl
|
365
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language.test.adl
|
366
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language_no_accreditation.test.adl
|
367
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_language_order_of_translation_details.test.adl
|
368
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_ontology.test.adl
|
369
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_slot.test.adl
|
370
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_slot.test2.adl
|
371
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.archetype_uncommonkeys.test.adl
|
372
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.basic_types.test.adl
|
373
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_code_phrase.test.adl
|
374
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_ordinal.test.adl
|
375
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_empty.test.adl
|
376
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full.test.adl
|
377
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full2.test.adl
|
378
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_full3.test.adl
|
379
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_item_units_only.test.adl
|
380
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_list.test.adl
|
381
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_property.test.adl
|
382
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.c_dv_quantity_reversed.test.adl
|
383
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.constraint_binding.test.adl
|
384
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.constraint_ref.test.adl
|
385
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.datetime.test.adl
|
386
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.domain_types.test.adl
|
387
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.durations.test.adl
|
388
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.empty_other_contributors.test.adl
|
389
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.missing_language.test.adl
|
390
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.mixed_node_types.draft.adl
|
391
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.most_minimal.test.adl
|
392
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.multi_language.test.adl
|
393
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.special_string.test.adl
|
394
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.structure_test1.test.adl
|
395
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.structure_test2.test.adl
|
396
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.term_binding.test.adl
|
397
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.term_binding2.test.adl
|
398
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.testtranslations.test.adl
|
399
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.translations_author_language.test.adl
|
400
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.translations_language_author.test.adl
|
401
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.unicode_BOM_support.test.adl
|
402
|
+
- spec/lib/openehr/parser/adl14/adl-test-entry.unicode_support.test.adl
|
403
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ACTION.imaging.v1.adl
|
404
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ACTION.referral.v1.adl
|
405
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.auscultation-chest.v1.adl
|
406
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.auscultation.v1.adl
|
407
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.dimensions-circumference.v1.adl
|
408
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.dimensions.v1.adl
|
409
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-abdomen.v1.adl
|
410
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-chest.v1.adl
|
411
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-fetus.v1.adl
|
412
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-joint.v1.adl
|
413
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-lymphnode.v1.adl
|
414
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic-mass.v1.adl
|
415
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-generic.v1.adl
|
416
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl
|
417
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterine_cervix.v1.adl
|
418
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterus.v1.adl
|
419
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-COMPOSITION.discharge.v1draft.adl
|
420
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-COMPOSITION.encounter.v1draft.adl
|
421
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-EVALUATION.adverse.v1.adl
|
422
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-EVALUATION.columna_vertebral.v1.adl
|
423
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-INSTRUCTION.medication.v1.adl
|
424
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-INSTRUCTION.referral.v1.adl
|
425
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.Laboratory_request.v1.adl
|
426
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.follow_up.v1draft.adl
|
427
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.imaging.v1.adl
|
428
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.medication-formulation.v1.adl
|
429
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.medication.v1.adl
|
430
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-ITEM_TREE.referral.v1.adl
|
431
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.apgar.v1.adl
|
432
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.blood_pressure.v1.adl
|
433
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.body_mass_index.v1.adl
|
434
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.lab_test.v1.adl
|
435
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.testassumedvalue.v1.adl
|
436
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.findings.v1.adl
|
437
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.reason_for_encounter.v1.adl
|
438
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.summary.v1.adl
|
439
|
+
- spec/lib/openehr/parser/adl14/openEHR-EHR-SECTION.vital_signs.v1.adl
|
440
|
+
- spec/lib/openehr/parser/adl_archetype_internal_ref2_spec.rb
|
441
|
+
- spec/lib/openehr/parser/adl_archetype_internal_ref_spec.rb
|
442
|
+
- spec/lib/openehr/parser/adl_archetype_internal_ref_with_generics_spec.rb
|
443
|
+
- spec/lib/openehr/parser/adl_archetype_ontology_binding_spec.rb
|
444
|
+
- spec/lib/openehr/parser/adl_archetype_ontology_spec.rb
|
445
|
+
- spec/lib/openehr/parser/adl_archetype_slot_cluster_spec.rb
|
446
|
+
- spec/lib/openehr/parser/adl_archetype_slot_spec.rb
|
447
|
+
- spec/lib/openehr/parser/adl_archetype_uncommon_term_keys_spec.rb
|
448
|
+
- spec/lib/openehr/parser/adl_description_spec.rb
|
449
|
+
- spec/lib/openehr/parser/adl_identification_spec.rb
|
450
|
+
- spec/lib/openehr/parser/adl_language_no_accreditation_spec.rb
|
451
|
+
- spec/lib/openehr/parser/adl_language_order_spec.rb
|
452
|
+
- spec/lib/openehr/parser/adl_language_spec.rb
|
453
|
+
- spec/lib/openehr/parser/adl_language_translation_author_language_spec.rb
|
454
|
+
- spec/lib/openehr/parser/adl_language_translation_language_author_spec.rb
|
455
|
+
- spec/lib/openehr/parser/adl_parser_spec.rb
|
456
|
+
- spec/lib/openehr/parser/adl_path_spec.rb
|
457
|
+
- spec/lib/openehr/parser/base_spec.rb
|
458
|
+
- spec/lib/openehr/parser/basic_generic_type_spec.rb
|
459
|
+
- spec/lib/openehr/parser/basic_type_spec.rb
|
460
|
+
- spec/lib/openehr/parser/c_dv_quantity_any_allowed_spec.rb
|
461
|
+
- spec/lib/openehr/parser/c_dv_quantity_shared_example_for_lacked_items_spec.rb
|
462
|
+
- spec/lib/openehr/parser/c_dv_quantity_shared_example_spec.rb
|
463
|
+
- spec/lib/openehr/parser/cdv_ordinal_parse_spec.rb
|
464
|
+
- spec/lib/openehr/parser/code_phrase_spec.rb
|
465
|
+
- spec/lib/openehr/parser/constraint_binding_spec.rb
|
466
|
+
- spec/lib/openehr/parser/constraint_ref_spec.rb
|
467
|
+
- spec/lib/openehr/parser/date_time_spec.rb
|
468
|
+
- spec/lib/openehr/parser/duration_spec.rb
|
469
|
+
- spec/lib/openehr/parser/dv_coded_text_parse_spec.rb
|
470
|
+
- spec/lib/openehr/parser/empty_other_contributors_spec.rb
|
471
|
+
- spec/lib/openehr/parser/lab_test_parser_spec.rb
|
472
|
+
- spec/lib/openehr/parser/missing_language_spec.rb
|
473
|
+
- spec/lib/openehr/parser/missing_purpose_spec.rb
|
474
|
+
- spec/lib/openehr/parser/mixed_node_types_spec.rb
|
475
|
+
- spec/lib/openehr/parser/most_minimal_adl_spec.rb
|
476
|
+
- spec/lib/openehr/parser/multi_language_spec.rb
|
477
|
+
- spec/lib/openehr/parser/parser_spec_helper.rb
|
478
|
+
- spec/lib/openehr/parser/path_based_terminology_binding_spec.rb
|
479
|
+
- spec/lib/openehr/parser/special_string_spec.rb
|
480
|
+
- spec/lib/openehr/parser/structure_comment_spec.rb
|
481
|
+
- spec/lib/openehr/parser/structure_nested_comments_spec.rb
|
482
|
+
- spec/lib/openehr/parser/structure_spec.rb
|
483
|
+
- spec/lib/openehr/parser/term_binding_spec.rb
|
484
|
+
- spec/lib/openehr/parser/unicode_bom_spec.rb
|
485
|
+
- spec/lib/openehr/parser/unicode_support_spec.rb
|
486
|
+
- spec/lib/openehr/rm/common/archetyped/archetyped_spec.rb
|
487
|
+
- spec/lib/openehr/rm/common/archetyped/feeder_audit_details_spec.rb
|
488
|
+
- spec/lib/openehr/rm/common/archetyped/feeder_audit_spec.rb
|
489
|
+
- spec/lib/openehr/rm/common/archetyped/link_spec.rb
|
490
|
+
- spec/lib/openehr/rm/common/archetyped/locatable_spec.rb
|
491
|
+
- spec/lib/openehr/rm/common/archetyped/pathable_spec.rb
|
492
|
+
- spec/lib/openehr/rm/common/change_control/contribution_spec.rb
|
493
|
+
- spec/lib/openehr/rm/common/change_control/imported_version_spec.rb
|
494
|
+
- spec/lib/openehr/rm/common/change_control/original_version_spec.rb
|
495
|
+
- spec/lib/openehr/rm/common/change_control/version_spec.rb
|
496
|
+
- spec/lib/openehr/rm/common/change_control/versioned_object_spec.rb
|
497
|
+
- spec/lib/openehr/rm/common/directory/folder_spec.rb
|
498
|
+
- spec/lib/openehr/rm/common/generic/attestation_spec.rb
|
499
|
+
- spec/lib/openehr/rm/common/generic/audit_details_spec.rb
|
500
|
+
- spec/lib/openehr/rm/common/generic/participation_spec.rb
|
501
|
+
- spec/lib/openehr/rm/common/generic/party_identified_spec.rb
|
502
|
+
- spec/lib/openehr/rm/common/generic/party_proxy_spec.rb
|
503
|
+
- spec/lib/openehr/rm/common/generic/party_related_spec.rb
|
504
|
+
- spec/lib/openehr/rm/common/generic/revision_history_item_spec.rb
|
505
|
+
- spec/lib/openehr/rm/common/generic/revision_history_spec.rb
|
506
|
+
- spec/lib/openehr/rm/common/resource/authored_resource_spec.rb
|
507
|
+
- spec/lib/openehr/rm/common/resource/resource_description_item_spec.rb
|
508
|
+
- spec/lib/openehr/rm/common/resource/resource_description_spec.rb
|
509
|
+
- spec/lib/openehr/rm/common/resource/translation_details_spec.rb
|
510
|
+
- spec/lib/openehr/rm/composition/composition_spec.rb
|
511
|
+
- spec/lib/openehr/rm/composition/content/content_item_spec.rb
|
512
|
+
- spec/lib/openehr/rm/composition/content/entry/action_spec.rb
|
513
|
+
- spec/lib/openehr/rm/composition/content/entry/activity_spec.rb
|
514
|
+
- spec/lib/openehr/rm/composition/content/entry/admin_entry_spec.rb
|
515
|
+
- spec/lib/openehr/rm/composition/content/entry/care_entry_spec.rb
|
516
|
+
- spec/lib/openehr/rm/composition/content/entry/entry_spec.rb
|
517
|
+
- spec/lib/openehr/rm/composition/content/entry/evaluation_spec.rb
|
518
|
+
- spec/lib/openehr/rm/composition/content/entry/instruction_details_spec.rb
|
519
|
+
- spec/lib/openehr/rm/composition/content/entry/instruction_spec.rb
|
520
|
+
- spec/lib/openehr/rm/composition/content/entry/ism_transition_spec.rb
|
521
|
+
- spec/lib/openehr/rm/composition/content/entry/observation_spec.rb
|
522
|
+
- spec/lib/openehr/rm/composition/content/navigation/section_spec.rb
|
523
|
+
- spec/lib/openehr/rm/composition/event_context_spec.rb
|
524
|
+
- spec/lib/openehr/rm/data_structures/data_structure_spec.rb
|
525
|
+
- spec/lib/openehr/rm/data_structures/history/event_spec.rb
|
526
|
+
- spec/lib/openehr/rm/data_structures/history/history_spec.rb
|
527
|
+
- spec/lib/openehr/rm/data_structures/history/interval_event_spec.rb
|
528
|
+
- spec/lib/openehr/rm/data_structures/item_structure/item_list_spec.rb
|
529
|
+
- spec/lib/openehr/rm/data_structures/item_structure/item_single_spec.rb
|
530
|
+
- spec/lib/openehr/rm/data_structures/item_structure/item_table_spec.rb
|
531
|
+
- spec/lib/openehr/rm/data_structures/item_structure/item_tree_spec.rb
|
532
|
+
- spec/lib/openehr/rm/data_structures/item_structure/representation/cluster_spec.rb
|
533
|
+
- spec/lib/openehr/rm/data_structures/item_structure/representation/element_spec.rb
|
534
|
+
- spec/lib/openehr/rm/data_types/basic/data_value_spec.rb
|
535
|
+
- spec/lib/openehr/rm/data_types/basic/dv_boolean_spec.rb
|
536
|
+
- spec/lib/openehr/rm/data_types/basic/dv_identifier_spec.rb
|
537
|
+
- spec/lib/openehr/rm/data_types/basic/dv_state_spec.rb
|
538
|
+
- spec/lib/openehr/rm/data_types/encapsulated/dv_encapsulated_spec.rb
|
539
|
+
- spec/lib/openehr/rm/data_types/encapsulated/dv_multimedia_spec.rb
|
540
|
+
- spec/lib/openehr/rm/data_types/encapsulated/dv_parsable_spec.rb
|
541
|
+
- spec/lib/openehr/rm/data_types/quantity/date_time/dv_date_spec.rb
|
542
|
+
- spec/lib/openehr/rm/data_types/quantity/date_time/dv_date_time_spec.rb
|
543
|
+
- spec/lib/openehr/rm/data_types/quantity/date_time/dv_duration_spec.rb
|
544
|
+
- spec/lib/openehr/rm/data_types/quantity/date_time/dv_temporal_spec.rb
|
545
|
+
- spec/lib/openehr/rm/data_types/quantity/date_time/dv_time_spec.rb
|
546
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_absolute_quantity_spec.rb
|
547
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_amount_spec.rb
|
548
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_count_spec.rb
|
549
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_interval_spec.rb
|
550
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_ordered_spec.rb
|
551
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_ordinal_spec.rb
|
552
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_proportion_spec.rb
|
553
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_quantified_spec.rb
|
554
|
+
- spec/lib/openehr/rm/data_types/quantity/dv_quantity_spec.rb
|
555
|
+
- spec/lib/openehr/rm/data_types/quantity/proportion_kind_spec.rb
|
556
|
+
- spec/lib/openehr/rm/data_types/quantity/reference_range_spec.rb
|
557
|
+
- spec/lib/openehr/rm/data_types/text/code_phrase_spec.rb
|
558
|
+
- spec/lib/openehr/rm/data_types/text/dv_paragraph_spec.rb
|
559
|
+
- spec/lib/openehr/rm/data_types/text/dv_text_spec.rb
|
560
|
+
- spec/lib/openehr/rm/data_types/text/term_mapping_spec.rb
|
561
|
+
- spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
|
562
|
+
- spec/lib/openehr/rm/data_types/uri/dv_uri_spec.rb
|
563
|
+
- spec/lib/openehr/rm/demographic/actor_spec.rb
|
564
|
+
- spec/lib/openehr/rm/demographic/address_spec.rb
|
565
|
+
- spec/lib/openehr/rm/demographic/capability_spec.rb
|
566
|
+
- spec/lib/openehr/rm/demographic/contact_spec.rb
|
567
|
+
- spec/lib/openehr/rm/demographic/party_identity_spec.rb
|
568
|
+
- spec/lib/openehr/rm/demographic/party_relationship_spec.rb
|
569
|
+
- spec/lib/openehr/rm/demographic/party_spec.rb
|
570
|
+
- spec/lib/openehr/rm/demographic/role_spec.rb
|
571
|
+
- spec/lib/openehr/rm/ehr/ehr_access_spec.rb
|
572
|
+
- spec/lib/openehr/rm/ehr/ehr_spec.rb
|
573
|
+
- spec/lib/openehr/rm/ehr/ehr_status_spec.rb
|
574
|
+
- spec/lib/openehr/rm/ehr/versioned_composition_spec.rb
|
575
|
+
- spec/lib/openehr/rm/integration/generic_entry_spec.rb
|
576
|
+
- spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
|
577
|
+
- spec/lib/openehr/rm/support/identification/archetype_id_spec.rb
|
578
|
+
- spec/lib/openehr/rm/support/identification/generic_id_spec.rb
|
579
|
+
- spec/lib/openehr/rm/support/identification/hier_object_id_spec.rb
|
580
|
+
- spec/lib/openehr/rm/support/identification/internet_id_spec.rb
|
581
|
+
- spec/lib/openehr/rm/support/identification/iso_oid_spec.rb
|
582
|
+
- spec/lib/openehr/rm/support/identification/locatable_ref_spec.rb
|
583
|
+
- spec/lib/openehr/rm/support/identification/object_id_spec.rb
|
584
|
+
- spec/lib/openehr/rm/support/identification/object_ref_spec.rb
|
585
|
+
- spec/lib/openehr/rm/support/identification/object_version_id_spec.rb
|
586
|
+
- spec/lib/openehr/rm/support/identification/party_ref_spec.rb
|
587
|
+
- spec/lib/openehr/rm/support/identification/template_id_spec.rb
|
588
|
+
- spec/lib/openehr/rm/support/identification/terminology_id_spec.rb
|
589
|
+
- spec/lib/openehr/rm/support/identification/uid_based_id_spec.rb
|
590
|
+
- spec/lib/openehr/rm/support/identification/uid_spec.rb
|
591
|
+
- spec/lib/openehr/rm/support/identification/version_tree_id_spec.rb
|
592
|
+
- spec/lib/openehr/rm/support/measurement_service_spec.rb
|
593
|
+
- spec/lib/openehr/rm/support/terminology_service_spec.rb
|
594
|
+
- spec/lib/openehr/serializer/adl-test-entry.most_minimal.test.adl
|
595
|
+
- spec/lib/openehr/serializer/adl_serializer_spec.rb
|
596
|
+
- spec/lib/openehr/serializer/openEHR-EHR-SECTION.test.v1.adl
|
597
|
+
- spec/lib/openehr/serializer/openEHR-EHR-SECTION.test.v1.xml
|
598
|
+
- spec/lib/openehr/serializer/sample_archetype_spec.rb
|
599
|
+
- spec/lib/openehr/serializer/xml_serializer_spec.rb
|
600
|
+
- spec/lib/openehr/terminology/open_ehr_terminology_spec.rb
|
601
|
+
- spec/spec.opts
|
602
|
+
- spec/spec_helper.rb
|
603
|
+
homepage: http://github.com/skoba/ruby-impl-openehr
|
604
|
+
licenses:
|
605
|
+
- Apache 2.0 license
|
606
|
+
post_install_message:
|
607
|
+
rdoc_options: []
|
608
|
+
require_paths:
|
609
|
+
- lib
|
610
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
611
|
+
none: false
|
612
|
+
requirements:
|
613
|
+
- - ! '>='
|
614
|
+
- !ruby/object:Gem::Version
|
615
|
+
version: '0'
|
616
|
+
segments:
|
617
|
+
- 0
|
618
|
+
hash: 3056108121012002221
|
619
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
620
|
+
none: false
|
621
|
+
requirements:
|
622
|
+
- - ! '>='
|
623
|
+
- !ruby/object:Gem::Version
|
624
|
+
version: '0'
|
625
|
+
requirements: []
|
626
|
+
rubyforge_project:
|
627
|
+
rubygems_version: 1.8.11
|
628
|
+
signing_key:
|
629
|
+
specification_version: 3
|
630
|
+
summary: Ruby implementation of the openEHR specification
|
631
|
+
test_files: []
|