rubyhealthvault 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +52 -0
- data/README +19 -0
- data/Rakefile +149 -0
- data/bin/certs/HelloWorld-SDK_ID-05a059c9-c309-46af-9b86-b06d42510550.pfx +0 -0
- data/bin/certs/helloWorld.pem +52 -0
- data/bin/example.rb +80 -0
- data/bin/hv.log +118 -0
- data/lib/application.rb +37 -0
- data/lib/code_generation/xsd_parser.rb +376 -0
- data/lib/config.rb +28 -0
- data/lib/connection.rb +61 -0
- data/lib/healthvault.rb +2 -0
- data/lib/request.rb +113 -0
- data/lib/response.rb +50 -0
- data/lib/templates/complex_type_template.erb +64 -0
- data/lib/templates/simple_type_template.erb +65 -0
- data/lib/templates/thing_class_extension_template.erb +22 -0
- data/lib/utils/crypto_utils.rb +69 -0
- data/lib/utils/string_utils.rb +35 -0
- data/lib/wc_data/complex_type.rb +249 -0
- data/lib/wc_data/generated/application/app.rb +217 -0
- data/lib/wc_data/generated/application/app_id_and_incr_auth.rb +118 -0
- data/lib/wc_data/generated/application/app_large_logo.rb +56 -0
- data/lib/wc_data/generated/application/app_large_logo_info.rb +66 -0
- data/lib/wc_data/generated/application/app_persistent_tokens.rb +64 -0
- data/lib/wc_data/generated/application/app_small_logo.rb +56 -0
- data/lib/wc_data/generated/application/app_small_logo_info.rb +66 -0
- data/lib/wc_data/generated/application/app_with_logos.rb +291 -0
- data/lib/wc_data/generated/application/public_key.rb +43 -0
- data/lib/wc_data/generated/application/public_keys.rb +48 -0
- data/lib/wc_data/generated/application/statement.rb +30 -0
- data/lib/wc_data/generated/application/statement_info.rb +66 -0
- data/lib/wc_data/generated/auth/app_record_auth_action.rb +61 -0
- data/lib/wc_data/generated/auth/associated_cred_info.rb +70 -0
- data/lib/wc_data/generated/auth/auth.rb +44 -0
- data/lib/wc_data/generated/auth/auth_session_credential.rb +68 -0
- data/lib/wc_data/generated/auth/auth_session_sub_credential.rb +45 -0
- data/lib/wc_data/generated/auth/auth_xml.rb +44 -0
- data/lib/wc_data/generated/auth/federating_cred.rb +48 -0
- data/lib/wc_data/generated/auth/rule.rb +187 -0
- data/lib/wc_data/generated/auth/rules.rb +48 -0
- data/lib/wc_data/generated/auth/set.rb +70 -0
- data/lib/wc_data/generated/auth/simple_card_space_credential.rb +48 -0
- data/lib/wc_data/generated/auth/simple_passport_credential.rb +47 -0
- data/lib/wc_data/generated/auth/simple_user_pass_credential.rb +48 -0
- data/lib/wc_data/generated/auth/textual_permissions.rb +66 -0
- data/lib/wc_data/generated/auth/textual_permissions_type.rb +81 -0
- data/lib/wc_data/generated/auth/textual_rule.rb +154 -0
- data/lib/wc_data/generated/auth/token.rb +90 -0
- data/lib/wc_data/generated/auth/user_pass_auth_session_cred.rb +92 -0
- data/lib/wc_data/generated/auth/user_pass_cred.rb +70 -0
- data/lib/wc_data/generated/dates/approx_date.rb +82 -0
- data/lib/wc_data/generated/dates/approx_date_time.rb +62 -0
- data/lib/wc_data/generated/dates/date.rb +86 -0
- data/lib/wc_data/generated/dates/date_time.rb +82 -0
- data/lib/wc_data/generated/dates/day.rb +56 -0
- data/lib/wc_data/generated/dates/hour.rb +56 -0
- data/lib/wc_data/generated/dates/millisecond.rb +56 -0
- data/lib/wc_data/generated/dates/minute.rb +56 -0
- data/lib/wc_data/generated/dates/month.rb +56 -0
- data/lib/wc_data/generated/dates/second.rb +56 -0
- data/lib/wc_data/generated/dates/structured_approx_date.rb +82 -0
- data/lib/wc_data/generated/dates/time.rb +102 -0
- data/lib/wc_data/generated/dates/year.rb +56 -0
- data/lib/wc_data/generated/methods/add_application/info.rb +375 -0
- data/lib/wc_data/generated/methods/create_authenticated_session_token/auth_token_info.rb +72 -0
- data/lib/wc_data/generated/methods/create_authenticated_session_token/credential.rb +88 -0
- data/lib/wc_data/generated/methods/create_authenticated_session_token/info.rb +50 -0
- data/lib/wc_data/generated/methods/create_connect_request/info.rb +136 -0
- data/lib/wc_data/generated/methods/delete_open_query/info.rb +50 -0
- data/lib/wc_data/generated/methods/delete_pending_connect_request/info.rb +49 -0
- data/lib/wc_data/generated/methods/get_authorized_connect_requests/info.rb +48 -0
- data/lib/wc_data/generated/methods/get_authorized_records/info.rb +52 -0
- data/lib/wc_data/generated/methods/get_open_query_info/info.rb +50 -0
- data/lib/wc_data/generated/methods/get_person_info/info.rb +48 -0
- data/lib/wc_data/generated/methods/get_thing_type/info.rb +118 -0
- data/lib/wc_data/generated/methods/get_thing_type/thing_type_section_spec.rb +63 -0
- data/lib/wc_data/generated/methods/get_things/info.rb +51 -0
- data/lib/wc_data/generated/methods/get_things/thing_filter_spec.rb +296 -0
- data/lib/wc_data/generated/methods/get_things/thing_format_spec.rb +75 -0
- data/lib/wc_data/generated/methods/get_things/thing_request_group.rb +197 -0
- data/lib/wc_data/generated/methods/get_things/thing_section_spec.rb +67 -0
- data/lib/wc_data/generated/methods/get_vocabulary/info.rb +48 -0
- data/lib/wc_data/generated/methods/get_vocabulary/vocabulary_parameters.rb +73 -0
- data/lib/wc_data/generated/methods/put_things/info.rb +51 -0
- data/lib/wc_data/generated/methods/query_permissions/info.rb +51 -0
- data/lib/wc_data/generated/methods/remove_things/info.rb +52 -0
- data/lib/wc_data/generated/methods/response/add_application/info.rb +51 -0
- data/lib/wc_data/generated/methods/response/any/info.rb +52 -0
- data/lib/wc_data/generated/methods/response/create_authenticated_session_token/app_auth_token_absence_reason.rb +72 -0
- data/lib/wc_data/generated/methods/response/create_authenticated_session_token/auth_token_absence_reason.rb +49 -0
- data/lib/wc_data/generated/methods/response/create_authenticated_session_token/info.rb +78 -0
- data/lib/wc_data/generated/methods/response/create_connect_request/info.rb +52 -0
- data/lib/wc_data/generated/methods/response/delete_open_query/info.rb +52 -0
- data/lib/wc_data/generated/methods/response/get_application_settings/app_settings.rb +54 -0
- data/lib/wc_data/generated/methods/response/get_application_settings/info.rb +70 -0
- data/lib/wc_data/generated/methods/response/get_authorized_connect_requests/connect_request.rb +114 -0
- data/lib/wc_data/generated/methods/response/get_authorized_connect_requests/info.rb +72 -0
- data/lib/wc_data/generated/methods/response/get_authorized_records/info.rb +53 -0
- data/lib/wc_data/generated/methods/response/get_people_for_record/info.rb +76 -0
- data/lib/wc_data/generated/methods/response/get_person_info/info.rb +52 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb +71 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/info.rb +141 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/platform.rb +98 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/sdk_assembly.rb +94 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/shell.rb +95 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/shell_redirect_token.rb +93 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/xml_method.rb +75 -0
- data/lib/wc_data/generated/methods/response/get_service_definition/xml_method_version.rb +92 -0
- data/lib/wc_data/generated/methods/response/get_thing_type/column.rb +130 -0
- data/lib/wc_data/generated/methods/response/get_thing_type/columns.rb +52 -0
- data/lib/wc_data/generated/methods/response/get_thing_type/image.rb +71 -0
- data/lib/wc_data/generated/methods/response/get_thing_type/info.rb +53 -0
- data/lib/wc_data/generated/methods/response/get_thing_type/thing_type_info.rb +232 -0
- data/lib/wc_data/generated/methods/response/get_thing_type/transform_source.rb +72 -0
- data/lib/wc_data/generated/methods/response/get_thing_type/transforms.rb +52 -0
- data/lib/wc_data/generated/methods/response/get_things/info.rb +54 -0
- data/lib/wc_data/generated/methods/response/get_things/thing_response_group.rb +118 -0
- data/lib/wc_data/generated/methods/response/get_things/unprocessed_thing_key_info.rb +95 -0
- data/lib/wc_data/generated/methods/response/get_vocabulary/info.rb +76 -0
- data/lib/wc_data/generated/methods/response/put_things/info.rb +53 -0
- data/lib/wc_data/generated/methods/response/query_permissions/info.rb +54 -0
- data/lib/wc_data/generated/methods/response/query_permissions/permissions.rb +53 -0
- data/lib/wc_data/generated/methods/response/query_permissions/thing_type_permission.rb +89 -0
- data/lib/wc_data/generated/methods/response/search_vocabulary/info.rb +74 -0
- data/lib/wc_data/generated/methods/save_open_query/info.rb +227 -0
- data/lib/wc_data/generated/methods/search_vocabulary/info.rb +70 -0
- data/lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_params.rb +69 -0
- data/lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb +68 -0
- data/lib/wc_data/generated/methods/send_insecure_message/info.rb +155 -0
- data/lib/wc_data/generated/methods/send_insecure_message_from_application/from_mailbox.rb +71 -0
- data/lib/wc_data/generated/methods/send_insecure_message_from_application/info.rb +178 -0
- data/lib/wc_data/generated/methods/set_application_settings/app_settings.rb +52 -0
- data/lib/wc_data/generated/methods/set_application_settings/info.rb +48 -0
- data/lib/wc_data/generated/methods/update_application/info.rb +384 -0
- data/lib/wc_data/generated/methods/update_external_id/info.rb +70 -0
- data/lib/wc_data/generated/record/active_app_authorization.rb +196 -0
- data/lib/wc_data/generated/record/active_person_authorization.rb +290 -0
- data/lib/wc_data/generated/record/active_person_authorization_no_ids.rb +250 -0
- data/lib/wc_data/generated/record/authorized_record_state.rb +53 -0
- data/lib/wc_data/generated/record/non_active_authorization.rb +340 -0
- data/lib/wc_data/generated/record/non_active_authorization_no_ids.rb +300 -0
- data/lib/wc_data/generated/request/authenticated_session_info.rb +88 -0
- data/lib/wc_data/generated/request/header.rb +274 -0
- data/lib/wc_data/generated/request/info.rb +48 -0
- data/lib/wc_data/generated/request/offline_person_info.rb +46 -0
- data/lib/wc_data/generated/request/request.rb +86 -0
- data/lib/wc_data/generated/request/xsl.rb +64 -0
- data/lib/wc_data/generated/thing/access_avenue.rb +49 -0
- data/lib/wc_data/generated/thing/aerobic/aerobic_session.rb +112 -0
- data/lib/wc_data/generated/thing/aerobic_profile/aerobic_profile.rb +153 -0
- data/lib/wc_data/generated/thing/aerobic_profile/heartrate_zone.rb +90 -0
- data/lib/wc_data/generated/thing/aerobic_profile/heartrate_zone_group.rb +72 -0
- data/lib/wc_data/generated/thing/aerobic_profile/max_vo2.rb +68 -0
- data/lib/wc_data/generated/thing/aerobic_profile/zone_boundary.rb +68 -0
- data/lib/wc_data/generated/thing/aerobic_weekly/aerobic_weekly.rb +72 -0
- data/lib/wc_data/generated/thing/allergic_episode/allergic_episode.rb +108 -0
- data/lib/wc_data/generated/thing/allergy/allergy.rb +186 -0
- data/lib/wc_data/generated/thing/annotation/annotation.rb +144 -0
- data/lib/wc_data/generated/thing/application/app_specific.rb +137 -0
- data/lib/wc_data/generated/thing/appointment/appointment.rb +166 -0
- data/lib/wc_data/generated/thing/audit.rb +150 -0
- data/lib/wc_data/generated/thing/audit_action.rb +53 -0
- data/lib/wc_data/generated/thing/basic/basic.rb +180 -0
- data/lib/wc_data/generated/thing/basic/birthyear.rb +58 -0
- data/lib/wc_data/generated/thing/basic/country.rb +45 -0
- data/lib/wc_data/generated/thing/basic/firstdow.rb +58 -0
- data/lib/wc_data/generated/thing/basic/gender.rb +51 -0
- data/lib/wc_data/generated/thing/blood_glucose/blood_glucose.rb +172 -0
- data/lib/wc_data/generated/thing/blood_pressure/blood_pressure.rb +133 -0
- data/lib/wc_data/generated/thing/cardiac_profile/cardiac_profile.rb +209 -0
- data/lib/wc_data/generated/thing/cholesterol_profile/cholesterol_profile.rb +129 -0
- data/lib/wc_data/generated/thing/common.rb +126 -0
- data/lib/wc_data/generated/thing/concern/concern.rb +71 -0
- data/lib/wc_data/generated/thing/condition/condition.rb +127 -0
- data/lib/wc_data/generated/thing/contact/contact.rb +49 -0
- data/lib/wc_data/generated/thing/contraindication/contraindication.rb +129 -0
- data/lib/wc_data/generated/thing/daily_medication_usage/daily_medication_usage.rb +218 -0
- data/lib/wc_data/generated/thing/data_other.rb +82 -0
- data/lib/wc_data/generated/thing/data_xml.rb +80 -0
- data/lib/wc_data/generated/thing/diabetic_profile/diabetic_profile.rb +92 -0
- data/lib/wc_data/generated/thing/diabetic_profile/target_glucose_zone.rb +90 -0
- data/lib/wc_data/generated/thing/diabetic_profile/target_glucose_zone_group.rb +72 -0
- data/lib/wc_data/generated/thing/diabetic_profile/zone_boundary.rb +68 -0
- data/lib/wc_data/generated/thing/dietary_intake_daily/dietary_intake_daily.rb +249 -0
- data/lib/wc_data/generated/thing/directive/directive.rb +343 -0
- data/lib/wc_data/generated/thing/discharge_summary/discharge_summary.rb +366 -0
- data/lib/wc_data/generated/thing/effective_permissions.rb +66 -0
- data/lib/wc_data/generated/thing/emotion/emotion.rb +109 -0
- data/lib/wc_data/generated/thing/encounter/encounter.rb +143 -0
- data/lib/wc_data/generated/thing/equipment/device.rb +163 -0
- data/lib/wc_data/generated/thing/extension.rb +123 -0
- data/lib/wc_data/generated/thing/family_history/family_history.rb +203 -0
- data/lib/wc_data/generated/thing/family_history_condition/family_history_condition.rb +49 -0
- data/lib/wc_data/generated/thing/family_history_person/family_history_person.rb +107 -0
- data/lib/wc_data/generated/thing/file/file.rb +90 -0
- data/lib/wc_data/generated/thing/guid_and_name.rb +66 -0
- data/lib/wc_data/generated/thing/hb_a1_c/hb_a1_c.rb +111 -0
- data/lib/wc_data/generated/thing/healthcare_proxy/healthcare_proxy.rb +144 -0
- data/lib/wc_data/generated/thing/height/height.rb +71 -0
- data/lib/wc_data/generated/thing/immunization/immunization.rb +244 -0
- data/lib/wc_data/generated/thing/inhaler/alert.rb +74 -0
- data/lib/wc_data/generated/thing/inhaler/asthma_inhaler.rb +272 -0
- data/lib/wc_data/generated/thing/inhaler/dow.rb +58 -0
- data/lib/wc_data/generated/thing/inhaler/purpose.rb +55 -0
- data/lib/wc_data/generated/thing/inhaler_use/asthma_inhaler_use.rb +152 -0
- data/lib/wc_data/generated/thing/insulin/insulin_injection.rb +93 -0
- data/lib/wc_data/generated/thing/insulin_injection_use/diabetes_insulin_injection_use.rb +114 -0
- data/lib/wc_data/generated/thing/lab_test_results/lab_test_results.rb +89 -0
- data/lib/wc_data/generated/thing/life_goal/life_goal.rb +68 -0
- data/lib/wc_data/generated/thing/link/link.rb +68 -0
- data/lib/wc_data/generated/thing/medication/dose_value.rb +107 -0
- data/lib/wc_data/generated/thing/medication/medication.rb +491 -0
- data/lib/wc_data/generated/thing/microbiology/microbiology_lab_results.rb +186 -0
- data/lib/wc_data/generated/thing/password/protected/package/algorithm_name.rb +59 -0
- data/lib/wc_data/generated/thing/password/protected/package/package_encryption_type.rb +71 -0
- data/lib/wc_data/generated/thing/password/protected/package/password_protected_package.rb +53 -0
- data/lib/wc_data/generated/thing/password/protected/package/pbe_parameters_type.rb +97 -0
- data/lib/wc_data/generated/thing/payer/payer.rb +265 -0
- data/lib/wc_data/generated/thing/personal/personal.rb +303 -0
- data/lib/wc_data/generated/thing/personal_image/personal_image.rb +28 -0
- data/lib/wc_data/generated/thing/problem/importance.rb +45 -0
- data/lib/wc_data/generated/thing/problem/problem.rb +114 -0
- data/lib/wc_data/generated/thing/procedure/procedure.rb +125 -0
- data/lib/wc_data/generated/thing/radiology_lab_results/radiology_lab_results.rb +106 -0
- data/lib/wc_data/generated/thing/related_thing.rb +88 -0
- data/lib/wc_data/generated/thing/respiratory_profile/respiratory_profile.rb +109 -0
- data/lib/wc_data/generated/thing/sjam/awakening.rb +70 -0
- data/lib/wc_data/generated/thing/sjam/sleep_am.rb +195 -0
- data/lib/wc_data/generated/thing/sjam/wake_state.rb +58 -0
- data/lib/wc_data/generated/thing/sjpm/activity.rb +70 -0
- data/lib/wc_data/generated/thing/sjpm/sleep_pm.rb +162 -0
- data/lib/wc_data/generated/thing/sjpm/sleepiness.rb +58 -0
- data/lib/wc_data/generated/thing/spirometer/spirometer.rb +317 -0
- data/lib/wc_data/generated/thing/spirometer/volume_value.rb +69 -0
- data/lib/wc_data/generated/thing/thing.rb +213 -0
- data/lib/wc_data/generated/thing/thing_key.rb +66 -0
- data/lib/wc_data/generated/thing/thing_state.rb +49 -0
- data/lib/wc_data/generated/thing/thing_type.rb +64 -0
- data/lib/wc_data/generated/thing/types/address.rb +176 -0
- data/lib/wc_data/generated/thing/types/aerobic_lap_session.rb +86 -0
- data/lib/wc_data/generated/thing/types/aerobic_session.rb +745 -0
- data/lib/wc_data/generated/thing/types/aerobic_session_samples.rb +310 -0
- data/lib/wc_data/generated/thing/types/altitude_value.rb +70 -0
- data/lib/wc_data/generated/thing/types/blood_glucose_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/codable_value.rb +74 -0
- data/lib/wc_data/generated/thing/types/coded_value.rb +112 -0
- data/lib/wc_data/generated/thing/types/communication_type.rb +112 -0
- data/lib/wc_data/generated/thing/types/condition.rb +148 -0
- data/lib/wc_data/generated/thing/types/contact.rb +97 -0
- data/lib/wc_data/generated/thing/types/display_value.rb +90 -0
- data/lib/wc_data/generated/thing/types/document_reference_type.rb +112 -0
- data/lib/wc_data/generated/thing/types/double_range.rb +70 -0
- data/lib/wc_data/generated/thing/types/dow.rb +58 -0
- data/lib/wc_data/generated/thing/types/duration_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/email.rb +89 -0
- data/lib/wc_data/generated/thing/types/flow_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/general_measurement.rb +74 -0
- data/lib/wc_data/generated/thing/types/goal.rb +86 -0
- data/lib/wc_data/generated/thing/types/goal_status.rb +55 -0
- data/lib/wc_data/generated/thing/types/insulin_injection_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/lab_result_type.rb +149 -0
- data/lib/wc_data/generated/thing/types/lab_test_result_type.rb +167 -0
- data/lib/wc_data/generated/thing/types/lab_test_result_value_type.rb +99 -0
- data/lib/wc_data/generated/thing/types/lab_test_results_group_type.rb +138 -0
- data/lib/wc_data/generated/thing/types/lab_test_type.rb +209 -0
- data/lib/wc_data/generated/thing/types/language.rb +69 -0
- data/lib/wc_data/generated/thing/types/length_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/name.rb +148 -0
- data/lib/wc_data/generated/thing/types/non_negative_double.rb +45 -0
- data/lib/wc_data/generated/thing/types/one_to_five.rb +58 -0
- data/lib/wc_data/generated/thing/types/organization.rb +106 -0
- data/lib/wc_data/generated/thing/types/pace_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/percentage.rb +58 -0
- data/lib/wc_data/generated/thing/types/person.rb +146 -0
- data/lib/wc_data/generated/thing/types/phone.rb +89 -0
- data/lib/wc_data/generated/thing/types/positive_double.rb +45 -0
- data/lib/wc_data/generated/thing/types/power_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/sample.rb +88 -0
- data/lib/wc_data/generated/thing/types/sample_set.rb +116 -0
- data/lib/wc_data/generated/thing/types/speed_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/structured_measurement.rb +71 -0
- data/lib/wc_data/generated/thing/types/temperature_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/test_result_range.rb +71 -0
- data/lib/wc_data/generated/thing/types/torque_value.rb +69 -0
- data/lib/wc_data/generated/thing/types/weight_value.rb +69 -0
- data/lib/wc_data/generated/thing/vital_signs/vital_sign_result_type.rb +166 -0
- data/lib/wc_data/generated/thing/vital_signs/vital_signs.rb +110 -0
- data/lib/wc_data/generated/thing/weight/weight.rb +70 -0
- data/lib/wc_data/generated/thing/weight_goal/weight_goal.rb +106 -0
- data/lib/wc_data/generated/types/address.rb +162 -0
- data/lib/wc_data/generated/types/app_info.rb +66 -0
- data/lib/wc_data/generated/types/app_server_cred.rb +70 -0
- data/lib/wc_data/generated/types/app_server_cred_info.rb +70 -0
- data/lib/wc_data/generated/types/app_settings.rb +50 -0
- data/lib/wc_data/generated/types/base64_sha1.rb +56 -0
- data/lib/wc_data/generated/types/card_space_cred.rb +50 -0
- data/lib/wc_data/generated/types/char2.rb +56 -0
- data/lib/wc_data/generated/types/codable_value.rb +72 -0
- data/lib/wc_data/generated/types/coded_value.rb +110 -0
- data/lib/wc_data/generated/types/culture.rb +64 -0
- data/lib/wc_data/generated/types/date_range.rb +62 -0
- data/lib/wc_data/generated/types/email.rb +82 -0
- data/lib/wc_data/generated/types/email_address.rb +56 -0
- data/lib/wc_data/generated/types/gender.rb +49 -0
- data/lib/wc_data/generated/types/group.rb +91 -0
- data/lib/wc_data/generated/types/groups.rb +50 -0
- data/lib/wc_data/generated/types/guid.rb +43 -0
- data/lib/wc_data/generated/types/hash_finalized.rb +48 -0
- data/lib/wc_data/generated/types/hash_finalized_data.rb +68 -0
- data/lib/wc_data/generated/types/hmac_algorithm.rb +48 -0
- data/lib/wc_data/generated/types/hmac_algorithm_data.rb +68 -0
- data/lib/wc_data/generated/types/hmac_finalized.rb +48 -0
- data/lib/wc_data/generated/types/hmac_finalized_data.rb +68 -0
- data/lib/wc_data/generated/types/iso3166.rb +1001 -0
- data/lib/wc_data/generated/types/iso4217.rb +733 -0
- data/lib/wc_data/generated/types/iso639_1.rb +585 -0
- data/lib/wc_data/generated/types/language_competency.rb +64 -0
- data/lib/wc_data/generated/types/localized_string.rb +64 -0
- data/lib/wc_data/generated/types/login_name.rb +56 -0
- data/lib/wc_data/generated/types/name_match_type.rb +53 -0
- data/lib/wc_data/generated/types/omb_ethnicity.rb +65 -0
- data/lib/wc_data/generated/types/open_query_info.rb +149 -0
- data/lib/wc_data/generated/types/permission.rb +61 -0
- data/lib/wc_data/generated/types/person_info.rb +214 -0
- data/lib/wc_data/generated/types/phone.rb +82 -0
- data/lib/wc_data/generated/types/positive_long.rb +43 -0
- data/lib/wc_data/generated/types/puid.rb +43 -0
- data/lib/wc_data/generated/types/rcpt_address.rb +69 -0
- data/lib/wc_data/generated/types/rcpt_person.rb +68 -0
- data/lib/wc_data/generated/types/rcpt_record.rb +48 -0
- data/lib/wc_data/generated/types/record.rb +264 -0
- data/lib/wc_data/generated/types/record_state.rb +57 -0
- data/lib/wc_data/generated/types/sig.rb +112 -0
- data/lib/wc_data/generated/types/string1024.rb +56 -0
- data/lib/wc_data/generated/types/string128.rb +56 -0
- data/lib/wc_data/generated/types/string16.rb +56 -0
- data/lib/wc_data/generated/types/string255.rb +56 -0
- data/lib/wc_data/generated/types/string32.rb +56 -0
- data/lib/wc_data/generated/types/string512.rb +56 -0
- data/lib/wc_data/generated/types/string64.rb +56 -0
- data/lib/wc_data/generated/types/stringnz.rb +43 -0
- data/lib/wc_data/generated/types/stringz1024.rb +56 -0
- data/lib/wc_data/generated/types/stringz128.rb +56 -0
- data/lib/wc_data/generated/types/stringz16.rb +56 -0
- data/lib/wc_data/generated/types/stringz255.rb +56 -0
- data/lib/wc_data/generated/types/stringz32.rb +56 -0
- data/lib/wc_data/generated/types/stringz512.rb +56 -0
- data/lib/wc_data/generated/types/stringz64.rb +56 -0
- data/lib/wc_data/generated/types/url.rb +56 -0
- data/lib/wc_data/generated/types/version.rb +56 -0
- data/lib/wc_data/generated/vocab/info_xml.rb +46 -0
- data/lib/wc_data/generated/vocab/vocabulary_code_item.rb +104 -0
- data/lib/wc_data/generated/vocab/vocabulary_code_set.rb +133 -0
- data/lib/wc_data/generated/vocab/vocabulary_key.rb +106 -0
- data/lib/wc_data/generated/vocab/vocabulary_key_info.rb +26 -0
- data/lib/wc_data/init.rb +27 -0
- data/lib/wc_data/raw_info_xml.rb +12 -0
- data/lib/wc_data/simple_type.rb +16 -0
- data/lib/wc_data/thing.rb +78 -0
- data/lib/xsd/bootstrap/request.xsd +107 -0
- data/lib/xsd/bootstrap/response-getservicedefinition.xsd +119 -0
- data/lib/xsd/bootstrap/types.xsd +1117 -0
- data/lib/xsd/common/application.xsd +766 -0
- data/lib/xsd/common/auth.xsd +1093 -0
- data/lib/xsd/common/dates.xsd +510 -0
- data/lib/xsd/common/record.xsd +1160 -0
- data/lib/xsd/common/request.xsd +524 -0
- data/lib/xsd/common/thing.xsd +881 -0
- data/lib/xsd/common/types.xsd +3131 -0
- data/lib/xsd/common/vocab.xsd +359 -0
- data/lib/xsd/requests/method-addapplication.xsd +349 -0
- data/lib/xsd/requests/method-createauthenticatedsessiontoken.xsd +216 -0
- data/lib/xsd/requests/method-createconnectrequest.xsd +143 -0
- data/lib/xsd/requests/method-deleteopenquery.xsd +75 -0
- data/lib/xsd/requests/method-deletependingconnectrequest.xsd +77 -0
- data/lib/xsd/requests/method-getauthorizedconnectrequests.xsd +78 -0
- data/lib/xsd/requests/method-getauthorizedrecords.xsd +82 -0
- data/lib/xsd/requests/method-getopenqueryinfo.xsd +74 -0
- data/lib/xsd/requests/method-getpersoninfo.xsd +80 -0
- data/lib/xsd/requests/method-getthings.xsd +516 -0
- data/lib/xsd/requests/method-getthingtype.xsd +201 -0
- data/lib/xsd/requests/method-getvocabulary.xsd +135 -0
- data/lib/xsd/requests/method-putthings.xsd +80 -0
- data/lib/xsd/requests/method-querypermissions.xsd +79 -0
- data/lib/xsd/requests/method-removethings.xsd +78 -0
- data/lib/xsd/requests/method-saveopenquery.xsd +219 -0
- data/lib/xsd/requests/method-searchvocabulary.xsd +222 -0
- data/lib/xsd/requests/method-sendinsecuremessage.xsd +185 -0
- data/lib/xsd/requests/method-sendinsecuremessagefromapplication.xsd +274 -0
- data/lib/xsd/requests/method-setapplicationsettings.xsd +166 -0
- data/lib/xsd/requests/method-updateapplication.xsd +357 -0
- data/lib/xsd/requests/method-updateexternalid.xsd +84 -0
- data/lib/xsd/responses/response-addapplication.xsd +79 -0
- data/lib/xsd/responses/response-any.xsd +59 -0
- data/lib/xsd/responses/response-createauthenticatedsessiontoken.xsd +167 -0
- data/lib/xsd/responses/response-createconnectrequest.xsd +88 -0
- data/lib/xsd/responses/response-deleteopenquery.xsd +87 -0
- data/lib/xsd/responses/response-getapplicationsettings.xsd +192 -0
- data/lib/xsd/responses/response-getauthorizedconnectrequests.xsd +135 -0
- data/lib/xsd/responses/response-getauthorizedrecords.xsd +76 -0
- data/lib/xsd/responses/response-getopenqueryinfo.xsd +64 -0
- data/lib/xsd/responses/response-getpeopleforrecord.xsd +95 -0
- data/lib/xsd/responses/response-getpersoninfo.xsd +87 -0
- data/lib/xsd/responses/response-getservicedefinition.xsd +515 -0
- data/lib/xsd/responses/response-getthings.xsd +198 -0
- data/lib/xsd/responses/response-getthingtype.xsd +457 -0
- data/lib/xsd/responses/response-getvocabulary.xsd +93 -0
- data/lib/xsd/responses/response-putthings.xsd +63 -0
- data/lib/xsd/responses/response-querypermissions.xsd +182 -0
- data/lib/xsd/responses/response-saveopenquery.xsd +62 -0
- data/lib/xsd/responses/response-searchvocabulary.xsd +90 -0
- data/lib/xsd/things/Advance Directive.xsd +60 -0
- data/lib/xsd/things/Aerobic Exercise Session.xsd +19 -0
- data/lib/xsd/things/Aerobic Profile.xsd +143 -0
- data/lib/xsd/things/Allergic Episode.xsd +17 -0
- data/lib/xsd/things/Allergy.xsd +39 -0
- data/lib/xsd/things/Application-Specific Information.xsd +42 -0
- data/lib/xsd/things/Appointment.xsd +24 -0
- data/lib/xsd/things/Asthma Inhaler Usage.xsd +44 -0
- data/lib/xsd/things/Asthma Inhaler.xsd +99 -0
- data/lib/xsd/things/Base Thing Type.xsd +1000 -0
- data/lib/xsd/things/Basic Demographic Information.xsd +49 -0
- data/lib/xsd/things/Blood Glucose Measurement.xsd +28 -0
- data/lib/xsd/things/Blood Pressure Measurement.xsd +30 -0
- data/lib/xsd/things/Cardiac Profile.xsd +80 -0
- data/lib/xsd/things/Cholesterol Profile (Lipid Profile).xsd +38 -0
- data/lib/xsd/things/Concern.xsd +17 -0
- data/lib/xsd/things/Condition.xsd +28 -0
- data/lib/xsd/things/Continuity of Care Record.xsd +3 -0
- data/lib/xsd/things/Contraindication.xsd +27 -0
- data/lib/xsd/things/Daily Dietary Intake.xsd +51 -0
- data/lib/xsd/things/Daily Medication Usage.xsd +41 -0
- data/lib/xsd/things/Device.xsd +24 -0
- data/lib/xsd/things/Diabetes Insulin Injection Use.xsd +26 -0
- data/lib/xsd/things/Diabetic Profile.xsd +92 -0
- data/lib/xsd/things/Discharge Summary.xsd +43 -0
- data/lib/xsd/things/Emergency or Provider Contact.xsd +11 -0
- data/lib/xsd/things/Emotional State.xsd +24 -0
- data/lib/xsd/things/Encounter (old).xsd +21 -0
- data/lib/xsd/things/Encounter.xsd +19 -0
- data/lib/xsd/things/Family History Condition.xsd +12 -0
- data/lib/xsd/things/Family History Person.xsd +18 -0
- data/lib/xsd/things/Family History.xsd +27 -0
- data/lib/xsd/things/File.xsd +28 -0
- data/lib/xsd/things/HL7 Continuity of Care Document.xsd +33 -0
- data/lib/xsd/things/HbA1C Measurement.xsd +23 -0
- data/lib/xsd/things/Healthcare Proxy.xsd +21 -0
- data/lib/xsd/things/Height Measurement.xsd +13 -0
- data/lib/xsd/things/Immunization.xsd +32 -0
- data/lib/xsd/things/Insulin Injection.xsd +30 -0
- data/lib/xsd/things/Insurance Plan.xsd +46 -0
- data/lib/xsd/things/Lab Test Result.xsd +11 -0
- data/lib/xsd/things/Life Goal.xsd +19 -0
- data/lib/xsd/things/Link.xsd +12 -0
- data/lib/xsd/things/Medical Annotation.xsd +21 -0
- data/lib/xsd/things/Medical Problem.xsd +15 -0
- data/lib/xsd/things/Medication.xsd +82 -0
- data/lib/xsd/things/Microbiology Lab Test Result.xsd +25 -0
- data/lib/xsd/things/Password Protected Package.xsd +23 -0
- data/lib/xsd/things/Personal Contact Information.xsd +18 -0
- data/lib/xsd/things/Personal Demographic Information.xsd +63 -0
- data/lib/xsd/things/Personal Image.xsd +13 -0
- data/lib/xsd/things/Procedure.xsd +19 -0
- data/lib/xsd/things/Radiology Lab Result.xsd +19 -0
- data/lib/xsd/things/Respiratory Profile.xsd +33 -0
- data/lib/xsd/things/Sleep Related Activity.xsd +45 -0
- data/lib/xsd/things/Sleep Session.xsd +51 -0
- data/lib/xsd/things/Spirometer Measurement.xsd +113 -0
- data/lib/xsd/things/Vital Signs.xsd +31 -0
- data/lib/xsd/things/Weekly Aerobic Exercise Goal.xsd +25 -0
- data/lib/xsd/things/Weight Goal.xsd +33 -0
- data/lib/xsd/things/Weight Measurement.xsd +10 -0
- data/spec/connection_spec.rb +17 -0
- data/spec/request_spec.rb +42 -0
- data/spec/support/test_server.rb +42 -0
- metadata +646 -0
@@ -0,0 +1,176 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
#--
|
3
|
+
# Copyright 2008 Danny Coates, Ashkan Farhadtouski
|
4
|
+
# All rights reserved.
|
5
|
+
# See LICENSE for permissions.
|
6
|
+
#++
|
7
|
+
# AUTOGENERATED ComplexType
|
8
|
+
|
9
|
+
module HealthVault
|
10
|
+
module WCData
|
11
|
+
module Thing
|
12
|
+
module Types
|
13
|
+
|
14
|
+
class Address < ComplexType
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
#<b>summary</b>: A description of the address.
|
20
|
+
#<b>remarks</b>: For example, a person may label the address as "My home address" or "My mailing address".
|
21
|
+
#<em>value</em> is a String
|
22
|
+
def description=(value)
|
23
|
+
@children['description'][:value] = value
|
24
|
+
end
|
25
|
+
|
26
|
+
#<b>returns</b>: a String
|
27
|
+
def description
|
28
|
+
return @children['description'][:value]
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
#<b>summary</b>: States if the addresses is the primary address for contacting the person.
|
35
|
+
#<b>remarks</b>: If true, the address is the preferred address for contacting the person.
|
36
|
+
#<em>value</em> is a String
|
37
|
+
def is_primary=(value)
|
38
|
+
@children['is-primary'][:value] = value
|
39
|
+
end
|
40
|
+
|
41
|
+
#<b>returns</b>: a String
|
42
|
+
def is_primary
|
43
|
+
return @children['is-primary'][:value]
|
44
|
+
end
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
#<em>value</em> is a String
|
49
|
+
def add_street(value)
|
50
|
+
@children['street'][:value] << value
|
51
|
+
end
|
52
|
+
|
53
|
+
#<em>value</em> is a #String
|
54
|
+
def remove_street(value)
|
55
|
+
@children['street'][:value].delete(value)
|
56
|
+
end
|
57
|
+
|
58
|
+
#<b>REQUIRED</b>
|
59
|
+
#<b>summary</b>: The street portion of the address.
|
60
|
+
#<b>remarks</b>: The street address may be made up of one or more lines and should adhere to the standard for the locale in which the address resides.
|
61
|
+
#<b>returns</b>: a String Array
|
62
|
+
def street
|
63
|
+
return @children['street'][:value]
|
64
|
+
end
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
#<b>REQUIRED</b>
|
69
|
+
#<b>summary</b>: The city portion of the address.
|
70
|
+
#<em>value</em> is a String
|
71
|
+
def city=(value)
|
72
|
+
@children['city'][:value] = value
|
73
|
+
end
|
74
|
+
|
75
|
+
#<b>returns</b>: a String
|
76
|
+
def city
|
77
|
+
return @children['city'][:value]
|
78
|
+
end
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
#<b>summary</b>: The state or province portion of the address.
|
84
|
+
#<em>value</em> is a String
|
85
|
+
def state=(value)
|
86
|
+
@children['state'][:value] = value
|
87
|
+
end
|
88
|
+
|
89
|
+
#<b>returns</b>: a String
|
90
|
+
def state
|
91
|
+
return @children['state'][:value]
|
92
|
+
end
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
#<b>REQUIRED</b>
|
97
|
+
#<b>summary</b>: The postal code portion of the address.
|
98
|
+
#<b>remarks</b>: The postal code should adhere to the standard for the locale in which the address resides.
|
99
|
+
#<em>value</em> is a String
|
100
|
+
def postcode=(value)
|
101
|
+
@children['postcode'][:value] = value
|
102
|
+
end
|
103
|
+
|
104
|
+
#<b>returns</b>: a String
|
105
|
+
def postcode
|
106
|
+
return @children['postcode'][:value]
|
107
|
+
end
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
#<b>REQUIRED</b>
|
112
|
+
#<b>summary</b>: The country portion of the address.
|
113
|
+
#<b>remarks</b>: This should be a string representation of the country as defined by the user. It is not used for processing so it doesn't have to be an ISO-3166 code. For example, a person could refer to the United States of America as "US", "USA", "United States", or "United States of America".
|
114
|
+
#<em>value</em> is a String
|
115
|
+
def country=(value)
|
116
|
+
@children['country'][:value] = value
|
117
|
+
end
|
118
|
+
|
119
|
+
#<b>returns</b>: a String
|
120
|
+
def country
|
121
|
+
return @children['country'][:value]
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
def initialize
|
127
|
+
super
|
128
|
+
self.tag_name = 'address'
|
129
|
+
|
130
|
+
|
131
|
+
@children['description'] = {:name => 'description', :class => String, :value => nil, :min => 0, :max => 1, :order => 1, :place => :element, :choice => 0 }
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
@children['is-primary'] = {:name => 'is-primary', :class => String, :value => nil, :min => 0, :max => 1, :order => 2, :place => :element, :choice => 0 }
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
@children['street'] = {:name => 'street', :class => String, :value => Array.new, :min => 1, :max => 999999, :order => 3, :place => :element, :choice => 0 }
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
@children['city'] = {:name => 'city', :class => String, :value => nil, :min => 1, :max => 1, :order => 4, :place => :element, :choice => 0 }
|
146
|
+
|
147
|
+
@children['city'][:value] = String.new
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
@children['state'] = {:name => 'state', :class => String, :value => nil, :min => 0, :max => 1, :order => 5, :place => :element, :choice => 0 }
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
@children['postcode'] = {:name => 'postcode', :class => String, :value => nil, :min => 1, :max => 1, :order => 6, :place => :element, :choice => 0 }
|
158
|
+
|
159
|
+
@children['postcode'][:value] = String.new
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
@children['country'] = {:name => 'country', :class => String, :value => nil, :min => 1, :max => 1, :order => 7, :place => :element, :choice => 0 }
|
165
|
+
|
166
|
+
@children['country'][:value] = String.new
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
end
|
176
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
#--
|
3
|
+
# Copyright 2008 Danny Coates, Ashkan Farhadtouski
|
4
|
+
# All rights reserved.
|
5
|
+
# See LICENSE for permissions.
|
6
|
+
#++
|
7
|
+
# AUTOGENERATED ComplexType
|
8
|
+
|
9
|
+
module HealthVault
|
10
|
+
module WCData
|
11
|
+
module Thing
|
12
|
+
module Types
|
13
|
+
|
14
|
+
class Aerobiclapsession < ComplexType
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
#<b>summary</b>: Optional description for this lap, such as "lap 1".
|
20
|
+
#<em>value</em> is a String
|
21
|
+
def name=(value)
|
22
|
+
@children['name'][:value] = value
|
23
|
+
end
|
24
|
+
|
25
|
+
#<b>returns</b>: a String
|
26
|
+
def name
|
27
|
+
return @children['name'][:value]
|
28
|
+
end
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
#<b>summary</b>: The start time of the lap relative to the entire session.
|
34
|
+
#<b>remarks</b>: This is measured in seconds.
|
35
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::NonNegativeDouble
|
36
|
+
def seconds_into_session=(value)
|
37
|
+
@children['seconds-into-session'][:value] = value
|
38
|
+
end
|
39
|
+
|
40
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::NonNegativeDouble
|
41
|
+
def seconds_into_session
|
42
|
+
return @children['seconds-into-session'][:value]
|
43
|
+
end
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
#<b>summary</b>: The lap session aerobic measurements.
|
49
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Aerobicsession
|
50
|
+
def lap_session=(value)
|
51
|
+
@children['lap-session'][:value] = value
|
52
|
+
end
|
53
|
+
|
54
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Aerobicsession
|
55
|
+
def lap_session
|
56
|
+
return @children['lap-session'][:value]
|
57
|
+
end
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
def initialize
|
62
|
+
super
|
63
|
+
self.tag_name = 'aerobic-lap-session'
|
64
|
+
|
65
|
+
|
66
|
+
@children['name'] = {:name => 'name', :class => String, :value => nil, :min => 0, :max => 1, :order => 1, :place => :element, :choice => 0 }
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
@children['seconds-into-session'] = {:name => 'seconds-into-session', :class => HealthVault::WCData::Thing::Types::NonNegativeDouble, :value => nil, :min => 0, :max => 1, :order => 2, :place => :element, :choice => 0 }
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
@children['lap-session'] = {:name => 'lap-session', :class => HealthVault::WCData::Thing::Types::Aerobicsession, :value => nil, :min => 0, :max => 1, :order => 3, :place => :element, :choice => 0 }
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
86
|
+
end
|
@@ -0,0 +1,745 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
#--
|
3
|
+
# Copyright 2008 Danny Coates, Ashkan Farhadtouski
|
4
|
+
# All rights reserved.
|
5
|
+
# See LICENSE for permissions.
|
6
|
+
#++
|
7
|
+
# AUTOGENERATED ComplexType
|
8
|
+
|
9
|
+
module HealthVault
|
10
|
+
module WCData
|
11
|
+
module Thing
|
12
|
+
module Types
|
13
|
+
|
14
|
+
class Aerobicsession < ComplexType
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
#<b>summary</b>: The type of activity for the session.
|
20
|
+
#<b>remarks</b>: The mode is the type of activity for the session, like biking, running, etc. The most common activities are part the of the Microsoft Health Lexicon and should be referenced using the code retrieved by calling GetVocabulary with "aerobic-activities" as the vocabulary name.
|
21
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Codablevalue
|
22
|
+
def mode=(value)
|
23
|
+
@children['mode'][:value] = value
|
24
|
+
end
|
25
|
+
|
26
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Codablevalue
|
27
|
+
def mode
|
28
|
+
return @children['mode'][:value]
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
#<b>summary</b>: The distance covered in the session.
|
35
|
+
#<b>remarks</b>: Distances are stored in meters. The application must convert the distance entered by the user into meters and should also store the distance and units entered by the user in the display-value so that it can be displayed to the user in their preferred unit of measure when viewing the data.
|
36
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Lengthvalue
|
37
|
+
def distance=(value)
|
38
|
+
@children['distance'][:value] = value
|
39
|
+
end
|
40
|
+
|
41
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Lengthvalue
|
42
|
+
def distance
|
43
|
+
return @children['distance'][:value]
|
44
|
+
end
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
#<b>summary</b>: The duration of the session in minutes.
|
50
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::PositiveDouble
|
51
|
+
def minutes=(value)
|
52
|
+
@children['minutes'][:value] = value
|
53
|
+
end
|
54
|
+
|
55
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::PositiveDouble
|
56
|
+
def minutes
|
57
|
+
return @children['minutes'][:value]
|
58
|
+
end
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
#<b>summary</b>: The subjective average intensity of the session.
|
64
|
+
#<b>remarks</b>: Intensity is measured on a scale from one to five where one is easy and five is the most intense.
|
65
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Onetofive
|
66
|
+
def intensity=(value)
|
67
|
+
@children['intensity'][:value] = value
|
68
|
+
end
|
69
|
+
|
70
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Onetofive
|
71
|
+
def intensity
|
72
|
+
return @children['intensity'][:value]
|
73
|
+
end
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
#<b>summary</b>: The highest heart rate reached during the session.
|
79
|
+
#<b>remarks</b>: The peak heart rate for a session differs from the person's maximum heart rate in that a person most likely will not reach their maximum heart rate during an aerobic session. This measurement defines the highest heart rate recorded during the session.
|
80
|
+
#<em>value</em> is a String
|
81
|
+
def peak_heartrate=(value)
|
82
|
+
@children['peak-heartrate'][:value] = value
|
83
|
+
end
|
84
|
+
|
85
|
+
#<b>returns</b>: a String
|
86
|
+
def peak_heartrate
|
87
|
+
return @children['peak-heartrate'][:value]
|
88
|
+
end
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
#<b>summary</b>: The average heart rate reached during the session.
|
94
|
+
#<em>value</em> is a String
|
95
|
+
def avg_heartrate=(value)
|
96
|
+
@children['avg-heartrate'][:value] = value
|
97
|
+
end
|
98
|
+
|
99
|
+
#<b>returns</b>: a String
|
100
|
+
def avg_heartrate
|
101
|
+
return @children['avg-heartrate'][:value]
|
102
|
+
end
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
#<b>summary</b>: The minimum heart rate reached during the session.
|
108
|
+
#<b>remarks</b>: This is measured in beats per minute.
|
109
|
+
#<em>value</em> is a String
|
110
|
+
def min_heartrate=(value)
|
111
|
+
@children['min-heartrate'][:value] = value
|
112
|
+
end
|
113
|
+
|
114
|
+
#<b>returns</b>: a String
|
115
|
+
def min_heartrate
|
116
|
+
return @children['min-heartrate'][:value]
|
117
|
+
end
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
#<b>summary</b>: The food energy expended during the session.
|
123
|
+
#<b>remarks</b>: This is measured in kilojoules .
|
124
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::PositiveDouble
|
125
|
+
def energy=(value)
|
126
|
+
@children['energy'][:value] = value
|
127
|
+
end
|
128
|
+
|
129
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::PositiveDouble
|
130
|
+
def energy
|
131
|
+
return @children['energy'][:value]
|
132
|
+
end
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
#<b>summary</b>: The food energy burned from fat during the session.
|
138
|
+
#<b>remarks</b>: This is measured in kilojoules.
|
139
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::PositiveDouble
|
140
|
+
def energy_from_fat=(value)
|
141
|
+
@children['energy-from-fat'][:value] = value
|
142
|
+
end
|
143
|
+
|
144
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::PositiveDouble
|
145
|
+
def energy_from_fat
|
146
|
+
return @children['energy-from-fat'][:value]
|
147
|
+
end
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
#<b>summary</b>: The maximum speed achieved during the session.
|
153
|
+
#<b>remarks</b>: This is measured in meters per second.
|
154
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Speedvalue
|
155
|
+
def peak_speed=(value)
|
156
|
+
@children['peak-speed'][:value] = value
|
157
|
+
end
|
158
|
+
|
159
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Speedvalue
|
160
|
+
def peak_speed
|
161
|
+
return @children['peak-speed'][:value]
|
162
|
+
end
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
#<b>summary</b>: The average speed achieved during the session.
|
168
|
+
#<b>remarks</b>: This is measured in meters per second.
|
169
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Speedvalue
|
170
|
+
def avg_speed=(value)
|
171
|
+
@children['avg-speed'][:value] = value
|
172
|
+
end
|
173
|
+
|
174
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Speedvalue
|
175
|
+
def avg_speed
|
176
|
+
return @children['avg-speed'][:value]
|
177
|
+
end
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
#<b>summary</b>: The minimum speed achieved during the session.
|
183
|
+
#<b>remarks</b>: This is measured in meters per second.
|
184
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Speedvalue
|
185
|
+
def min_speed=(value)
|
186
|
+
@children['min-speed'][:value] = value
|
187
|
+
end
|
188
|
+
|
189
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Speedvalue
|
190
|
+
def min_speed
|
191
|
+
return @children['min-speed'][:value]
|
192
|
+
end
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
#<b>summary</b>: The maximum pace achieved during the session.
|
198
|
+
#<b>remarks</b>: This is measured in seconds per 100 meters.
|
199
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Pacevalue
|
200
|
+
def peak_pace=(value)
|
201
|
+
@children['peak-pace'][:value] = value
|
202
|
+
end
|
203
|
+
|
204
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Pacevalue
|
205
|
+
def peak_pace
|
206
|
+
return @children['peak-pace'][:value]
|
207
|
+
end
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
#<b>summary</b>: The average pace achieved during the session.
|
213
|
+
#<b>remarks</b>: This is measured in seconds per 100 meters.
|
214
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Pacevalue
|
215
|
+
def avg_pace=(value)
|
216
|
+
@children['avg-pace'][:value] = value
|
217
|
+
end
|
218
|
+
|
219
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Pacevalue
|
220
|
+
def avg_pace
|
221
|
+
return @children['avg-pace'][:value]
|
222
|
+
end
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
#<b>summary</b>: The minimum pace achieved during the session.
|
228
|
+
#<b>remarks</b>: This is measured in seconds per 100 meters.
|
229
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Pacevalue
|
230
|
+
def min_pace=(value)
|
231
|
+
@children['min-pace'][:value] = value
|
232
|
+
end
|
233
|
+
|
234
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Pacevalue
|
235
|
+
def min_pace
|
236
|
+
return @children['min-pace'][:value]
|
237
|
+
end
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
#<b>summary</b>: The maximum power achieved during the session.
|
243
|
+
#<b>remarks</b>: This is measured in watts.
|
244
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Powervalue
|
245
|
+
def peak_power=(value)
|
246
|
+
@children['peak-power'][:value] = value
|
247
|
+
end
|
248
|
+
|
249
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Powervalue
|
250
|
+
def peak_power
|
251
|
+
return @children['peak-power'][:value]
|
252
|
+
end
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
#<b>summary</b>: The average power achieved during the session.
|
258
|
+
#<b>remarks</b>: This is measured in watts.
|
259
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Powervalue
|
260
|
+
def avg_power=(value)
|
261
|
+
@children['avg-power'][:value] = value
|
262
|
+
end
|
263
|
+
|
264
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Powervalue
|
265
|
+
def avg_power
|
266
|
+
return @children['avg-power'][:value]
|
267
|
+
end
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
#<b>summary</b>: The minimum power achieved during the session.
|
273
|
+
#<b>remarks</b>: This is measured in watts.
|
274
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Powervalue
|
275
|
+
def min_power=(value)
|
276
|
+
@children['min-power'][:value] = value
|
277
|
+
end
|
278
|
+
|
279
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Powervalue
|
280
|
+
def min_power
|
281
|
+
return @children['min-power'][:value]
|
282
|
+
end
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
#<b>summary</b>: The maximum torque achieved during the session.
|
288
|
+
#<b>remarks</b>: This is measured in newton meters.
|
289
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Torquevalue
|
290
|
+
def peak_torque=(value)
|
291
|
+
@children['peak-torque'][:value] = value
|
292
|
+
end
|
293
|
+
|
294
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Torquevalue
|
295
|
+
def peak_torque
|
296
|
+
return @children['peak-torque'][:value]
|
297
|
+
end
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
#<b>summary</b>: The average torque achieved during the session.
|
303
|
+
#<b>remarks</b>: This is measured in newton meters.
|
304
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Torquevalue
|
305
|
+
def avg_torque=(value)
|
306
|
+
@children['avg-torque'][:value] = value
|
307
|
+
end
|
308
|
+
|
309
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Torquevalue
|
310
|
+
def avg_torque
|
311
|
+
return @children['avg-torque'][:value]
|
312
|
+
end
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
#<b>summary</b>: The minimum torque achieved during the session.
|
318
|
+
#<b>remarks</b>: This is measured in newton meters.
|
319
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Torquevalue
|
320
|
+
def min_torque=(value)
|
321
|
+
@children['min-torque'][:value] = value
|
322
|
+
end
|
323
|
+
|
324
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Torquevalue
|
325
|
+
def min_torque
|
326
|
+
return @children['min-torque'][:value]
|
327
|
+
end
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
#<b>summary</b>: The power output balance between left and right strokes.
|
333
|
+
#<b>remarks</b>: This is measured as a percentage (%) relating to the left. For example, a value of 30 indicates that 30% of the power came from the left, while 70% came from the right.
|
334
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Percentage
|
335
|
+
def left_right_balance=(value)
|
336
|
+
@children['left-right-balance'][:value] = value
|
337
|
+
end
|
338
|
+
|
339
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Percentage
|
340
|
+
def left_right_balance
|
341
|
+
return @children['left-right-balance'][:value]
|
342
|
+
end
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
#<b>summary</b>: The maximum cadence achieved during the session. T
|
348
|
+
#<b>remarks</b>: his is measured in revolutions per minute (rpm).
|
349
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::PositiveDouble
|
350
|
+
def peak_cadence=(value)
|
351
|
+
@children['peak-cadence'][:value] = value
|
352
|
+
end
|
353
|
+
|
354
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::PositiveDouble
|
355
|
+
def peak_cadence
|
356
|
+
return @children['peak-cadence'][:value]
|
357
|
+
end
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
#<b>summary</b>: The average cadence achieved during the session.
|
363
|
+
#<b>remarks</b>: This is measured in revolutions per minute (rpm).
|
364
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::PositiveDouble
|
365
|
+
def avg_cadence=(value)
|
366
|
+
@children['avg-cadence'][:value] = value
|
367
|
+
end
|
368
|
+
|
369
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::PositiveDouble
|
370
|
+
def avg_cadence
|
371
|
+
return @children['avg-cadence'][:value]
|
372
|
+
end
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
#<b>summary</b>: The minimum cadence achieved during the session.
|
378
|
+
#<b>remarks</b>: This is measured in revolutions per minute (rpm).
|
379
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::PositiveDouble
|
380
|
+
def min_cadence=(value)
|
381
|
+
@children['min-cadence'][:value] = value
|
382
|
+
end
|
383
|
+
|
384
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::PositiveDouble
|
385
|
+
def min_cadence
|
386
|
+
return @children['min-cadence'][:value]
|
387
|
+
end
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
#<b>summary</b>: The maximum temperature achieved during the session.
|
393
|
+
#<b>remarks</b>: This is measured in degrees Celsius (C).
|
394
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Temperaturevalue
|
395
|
+
def peak_temperature=(value)
|
396
|
+
@children['peak-temperature'][:value] = value
|
397
|
+
end
|
398
|
+
|
399
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Temperaturevalue
|
400
|
+
def peak_temperature
|
401
|
+
return @children['peak-temperature'][:value]
|
402
|
+
end
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
#<b>summary</b>: The average temperature achieved during the session.
|
408
|
+
#<b>remarks</b>: This is measured in degrees Celsius (C).
|
409
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Temperaturevalue
|
410
|
+
def avg_temperature=(value)
|
411
|
+
@children['avg-temperature'][:value] = value
|
412
|
+
end
|
413
|
+
|
414
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Temperaturevalue
|
415
|
+
def avg_temperature
|
416
|
+
return @children['avg-temperature'][:value]
|
417
|
+
end
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
#<b>summary</b>: The minimum temperature achieved during the session.
|
423
|
+
#<b>remarks</b>: This is measured in degrees Celsius (C).
|
424
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Temperaturevalue
|
425
|
+
def min_temperature=(value)
|
426
|
+
@children['min-temperature'][:value] = value
|
427
|
+
end
|
428
|
+
|
429
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Temperaturevalue
|
430
|
+
def min_temperature
|
431
|
+
return @children['min-temperature'][:value]
|
432
|
+
end
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
#<b>summary</b>: The maximum altitude achieved during the session.
|
438
|
+
#<b>remarks</b>: This is measured in meters above mean sea level.
|
439
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Altitudevalue
|
440
|
+
def peak_altitude=(value)
|
441
|
+
@children['peak-altitude'][:value] = value
|
442
|
+
end
|
443
|
+
|
444
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Altitudevalue
|
445
|
+
def peak_altitude
|
446
|
+
return @children['peak-altitude'][:value]
|
447
|
+
end
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
#<b>summary</b>: The average altitude achieved during the session.
|
453
|
+
#<b>remarks</b>: This is measured in meters above mean sea level.
|
454
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Altitudevalue
|
455
|
+
def avg_altitude=(value)
|
456
|
+
@children['avg-altitude'][:value] = value
|
457
|
+
end
|
458
|
+
|
459
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Altitudevalue
|
460
|
+
def avg_altitude
|
461
|
+
return @children['avg-altitude'][:value]
|
462
|
+
end
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
#<b>summary</b>: The minimum altitude achieved during the session.
|
468
|
+
#<b>remarks</b>: This is measured in meters above mean sea level.
|
469
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Altitudevalue
|
470
|
+
def min_altitude=(value)
|
471
|
+
@children['min-altitude'][:value] = value
|
472
|
+
end
|
473
|
+
|
474
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Altitudevalue
|
475
|
+
def min_altitude
|
476
|
+
return @children['min-altitude'][:value]
|
477
|
+
end
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
#<b>summary</b>: The gain in elevation achieved during the session.
|
483
|
+
#<b>remarks</b>: This is measured in meters.
|
484
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Lengthvalue
|
485
|
+
def elevation_gain=(value)
|
486
|
+
@children['elevation-gain'][:value] = value
|
487
|
+
end
|
488
|
+
|
489
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Lengthvalue
|
490
|
+
def elevation_gain
|
491
|
+
return @children['elevation-gain'][:value]
|
492
|
+
end
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
#<b>summary</b>: The loss in elevation achieved during the session.
|
498
|
+
#<b>remarks</b>: This is measured in meters.
|
499
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::Lengthvalue
|
500
|
+
def elevation_loss=(value)
|
501
|
+
@children['elevation-loss'][:value] = value
|
502
|
+
end
|
503
|
+
|
504
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::Lengthvalue
|
505
|
+
def elevation_loss
|
506
|
+
return @children['elevation-loss'][:value]
|
507
|
+
end
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
#<b>summary</b>: Number of steps taken in this session.
|
513
|
+
#<em>value</em> is a String
|
514
|
+
def number_of_steps=(value)
|
515
|
+
@children['number-of-steps'][:value] = value
|
516
|
+
end
|
517
|
+
|
518
|
+
#<b>returns</b>: a String
|
519
|
+
def number_of_steps
|
520
|
+
return @children['number-of-steps'][:value]
|
521
|
+
end
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
#<b>summary</b>: Total steps taken in the aerobic activity range.
|
527
|
+
#<b>remarks</b>: Total steps taken in the aerobic activity range. This will be less than or equal to the total steps taken given that the participant may not remain in the aerobic activity range for the entire session.
|
528
|
+
#<em>value</em> is a String
|
529
|
+
def number_of_aerobic_steps=(value)
|
530
|
+
@children['number-of-aerobic-steps'][:value] = value
|
531
|
+
end
|
532
|
+
|
533
|
+
#<b>returns</b>: a String
|
534
|
+
def number_of_aerobic_steps
|
535
|
+
return @children['number-of-aerobic-steps'][:value]
|
536
|
+
end
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
#<b>summary</b>: Total duration spent in the aerobic activity range.
|
542
|
+
#<b>remarks</b>: This item will be recorded in units of minutes.
|
543
|
+
#<em>value</em> is a HealthVault::WCData::Thing::Types::NonNegativeDouble
|
544
|
+
def aerobic_step_minutes=(value)
|
545
|
+
@children['aerobic-step-minutes'][:value] = value
|
546
|
+
end
|
547
|
+
|
548
|
+
#<b>returns</b>: a HealthVault::WCData::Thing::Types::NonNegativeDouble
|
549
|
+
def aerobic_step_minutes
|
550
|
+
return @children['aerobic-step-minutes'][:value]
|
551
|
+
end
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
def initialize
|
556
|
+
super
|
557
|
+
self.tag_name = 'aerobic-session'
|
558
|
+
|
559
|
+
|
560
|
+
@children['mode'] = {:name => 'mode', :class => HealthVault::WCData::Thing::Types::Codablevalue, :value => nil, :min => 0, :max => 1, :order => 1, :place => :element, :choice => 0 }
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
@children['distance'] = {:name => 'distance', :class => HealthVault::WCData::Thing::Types::Lengthvalue, :value => nil, :min => 0, :max => 1, :order => 2, :place => :element, :choice => 0 }
|
566
|
+
|
567
|
+
|
568
|
+
|
569
|
+
|
570
|
+
@children['minutes'] = {:name => 'minutes', :class => HealthVault::WCData::Thing::Types::PositiveDouble, :value => nil, :min => 0, :max => 1, :order => 3, :place => :element, :choice => 0 }
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
@children['intensity'] = {:name => 'intensity', :class => HealthVault::WCData::Thing::Types::Onetofive, :value => nil, :min => 0, :max => 1, :order => 4, :place => :element, :choice => 0 }
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
@children['peak-heartrate'] = {:name => 'peak-heartrate', :class => String, :value => nil, :min => 0, :max => 1, :order => 5, :place => :element, :choice => 0 }
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
@children['avg-heartrate'] = {:name => 'avg-heartrate', :class => String, :value => nil, :min => 0, :max => 1, :order => 6, :place => :element, :choice => 0 }
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
@children['min-heartrate'] = {:name => 'min-heartrate', :class => String, :value => nil, :min => 0, :max => 1, :order => 7, :place => :element, :choice => 0 }
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
|
595
|
+
@children['energy'] = {:name => 'energy', :class => HealthVault::WCData::Thing::Types::PositiveDouble, :value => nil, :min => 0, :max => 1, :order => 8, :place => :element, :choice => 0 }
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
|
600
|
+
@children['energy-from-fat'] = {:name => 'energy-from-fat', :class => HealthVault::WCData::Thing::Types::PositiveDouble, :value => nil, :min => 0, :max => 1, :order => 9, :place => :element, :choice => 0 }
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
@children['peak-speed'] = {:name => 'peak-speed', :class => HealthVault::WCData::Thing::Types::Speedvalue, :value => nil, :min => 0, :max => 1, :order => 10, :place => :element, :choice => 0 }
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
@children['avg-speed'] = {:name => 'avg-speed', :class => HealthVault::WCData::Thing::Types::Speedvalue, :value => nil, :min => 0, :max => 1, :order => 11, :place => :element, :choice => 0 }
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
@children['min-speed'] = {:name => 'min-speed', :class => HealthVault::WCData::Thing::Types::Speedvalue, :value => nil, :min => 0, :max => 1, :order => 12, :place => :element, :choice => 0 }
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
|
620
|
+
@children['peak-pace'] = {:name => 'peak-pace', :class => HealthVault::WCData::Thing::Types::Pacevalue, :value => nil, :min => 0, :max => 1, :order => 13, :place => :element, :choice => 0 }
|
621
|
+
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
@children['avg-pace'] = {:name => 'avg-pace', :class => HealthVault::WCData::Thing::Types::Pacevalue, :value => nil, :min => 0, :max => 1, :order => 14, :place => :element, :choice => 0 }
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
@children['min-pace'] = {:name => 'min-pace', :class => HealthVault::WCData::Thing::Types::Pacevalue, :value => nil, :min => 0, :max => 1, :order => 15, :place => :element, :choice => 0 }
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
@children['peak-power'] = {:name => 'peak-power', :class => HealthVault::WCData::Thing::Types::Powervalue, :value => nil, :min => 0, :max => 1, :order => 16, :place => :element, :choice => 0 }
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
@children['avg-power'] = {:name => 'avg-power', :class => HealthVault::WCData::Thing::Types::Powervalue, :value => nil, :min => 0, :max => 1, :order => 17, :place => :element, :choice => 0 }
|
641
|
+
|
642
|
+
|
643
|
+
|
644
|
+
|
645
|
+
@children['min-power'] = {:name => 'min-power', :class => HealthVault::WCData::Thing::Types::Powervalue, :value => nil, :min => 0, :max => 1, :order => 18, :place => :element, :choice => 0 }
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
|
650
|
+
@children['peak-torque'] = {:name => 'peak-torque', :class => HealthVault::WCData::Thing::Types::Torquevalue, :value => nil, :min => 0, :max => 1, :order => 19, :place => :element, :choice => 0 }
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
@children['avg-torque'] = {:name => 'avg-torque', :class => HealthVault::WCData::Thing::Types::Torquevalue, :value => nil, :min => 0, :max => 1, :order => 20, :place => :element, :choice => 0 }
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
@children['min-torque'] = {:name => 'min-torque', :class => HealthVault::WCData::Thing::Types::Torquevalue, :value => nil, :min => 0, :max => 1, :order => 21, :place => :element, :choice => 0 }
|
661
|
+
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
@children['left-right-balance'] = {:name => 'left-right-balance', :class => HealthVault::WCData::Thing::Types::Percentage, :value => nil, :min => 0, :max => 1, :order => 22, :place => :element, :choice => 0 }
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
|
670
|
+
@children['peak-cadence'] = {:name => 'peak-cadence', :class => HealthVault::WCData::Thing::Types::PositiveDouble, :value => nil, :min => 0, :max => 1, :order => 23, :place => :element, :choice => 0 }
|
671
|
+
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
@children['avg-cadence'] = {:name => 'avg-cadence', :class => HealthVault::WCData::Thing::Types::PositiveDouble, :value => nil, :min => 0, :max => 1, :order => 24, :place => :element, :choice => 0 }
|
676
|
+
|
677
|
+
|
678
|
+
|
679
|
+
|
680
|
+
@children['min-cadence'] = {:name => 'min-cadence', :class => HealthVault::WCData::Thing::Types::PositiveDouble, :value => nil, :min => 0, :max => 1, :order => 25, :place => :element, :choice => 0 }
|
681
|
+
|
682
|
+
|
683
|
+
|
684
|
+
|
685
|
+
@children['peak-temperature'] = {:name => 'peak-temperature', :class => HealthVault::WCData::Thing::Types::Temperaturevalue, :value => nil, :min => 0, :max => 1, :order => 26, :place => :element, :choice => 0 }
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
@children['avg-temperature'] = {:name => 'avg-temperature', :class => HealthVault::WCData::Thing::Types::Temperaturevalue, :value => nil, :min => 0, :max => 1, :order => 27, :place => :element, :choice => 0 }
|
691
|
+
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
@children['min-temperature'] = {:name => 'min-temperature', :class => HealthVault::WCData::Thing::Types::Temperaturevalue, :value => nil, :min => 0, :max => 1, :order => 28, :place => :element, :choice => 0 }
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
@children['peak-altitude'] = {:name => 'peak-altitude', :class => HealthVault::WCData::Thing::Types::Altitudevalue, :value => nil, :min => 0, :max => 1, :order => 29, :place => :element, :choice => 0 }
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
@children['avg-altitude'] = {:name => 'avg-altitude', :class => HealthVault::WCData::Thing::Types::Altitudevalue, :value => nil, :min => 0, :max => 1, :order => 30, :place => :element, :choice => 0 }
|
706
|
+
|
707
|
+
|
708
|
+
|
709
|
+
|
710
|
+
@children['min-altitude'] = {:name => 'min-altitude', :class => HealthVault::WCData::Thing::Types::Altitudevalue, :value => nil, :min => 0, :max => 1, :order => 31, :place => :element, :choice => 0 }
|
711
|
+
|
712
|
+
|
713
|
+
|
714
|
+
|
715
|
+
@children['elevation-gain'] = {:name => 'elevation-gain', :class => HealthVault::WCData::Thing::Types::Lengthvalue, :value => nil, :min => 0, :max => 1, :order => 32, :place => :element, :choice => 0 }
|
716
|
+
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
@children['elevation-loss'] = {:name => 'elevation-loss', :class => HealthVault::WCData::Thing::Types::Lengthvalue, :value => nil, :min => 0, :max => 1, :order => 33, :place => :element, :choice => 0 }
|
721
|
+
|
722
|
+
|
723
|
+
|
724
|
+
|
725
|
+
@children['number-of-steps'] = {:name => 'number-of-steps', :class => String, :value => nil, :min => 0, :max => 1, :order => 34, :place => :element, :choice => 0 }
|
726
|
+
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
@children['number-of-aerobic-steps'] = {:name => 'number-of-aerobic-steps', :class => String, :value => nil, :min => 0, :max => 1, :order => 35, :place => :element, :choice => 0 }
|
731
|
+
|
732
|
+
|
733
|
+
|
734
|
+
|
735
|
+
@children['aerobic-step-minutes'] = {:name => 'aerobic-step-minutes', :class => HealthVault::WCData::Thing::Types::NonNegativeDouble, :value => nil, :min => 0, :max => 1, :order => 36, :place => :element, :choice => 0 }
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
end
|
740
|
+
end
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
end
|
745
|
+
end
|