rubyhealthvault 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,359 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<schema
|
|
3
|
+
targetNamespace="urn:com.microsoft.wc.vocab"
|
|
4
|
+
xmlns:wc-vocab="urn:com.microsoft.wc.vocab"
|
|
5
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
|
6
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
|
7
|
+
|
|
8
|
+
<!--
|
|
9
|
+
|
|
10
|
+
VOCAB.XSD
|
|
11
|
+
Microsoft Wildcat
|
|
12
|
+
|
|
13
|
+
Platform API: Shared vocab types
|
|
14
|
+
|
|
15
|
+
-->
|
|
16
|
+
|
|
17
|
+
<import namespace="urn:com.microsoft.wc.types" schemaLocation="types.xsd" />
|
|
18
|
+
|
|
19
|
+
<annotation>
|
|
20
|
+
<documentation>
|
|
21
|
+
<summary>
|
|
22
|
+
Defines common types for interfacing with vocabularies in the system.
|
|
23
|
+
</summary>
|
|
24
|
+
|
|
25
|
+
<remarks>
|
|
26
|
+
|
|
27
|
+
</remarks>
|
|
28
|
+
</documentation>
|
|
29
|
+
</annotation>
|
|
30
|
+
|
|
31
|
+
<complexType name="VocabularyKey">
|
|
32
|
+
<annotation>
|
|
33
|
+
<documentation>
|
|
34
|
+
<summary>
|
|
35
|
+
Used to uniquely identify a specific vocabulary in the system.
|
|
36
|
+
</summary>
|
|
37
|
+
|
|
38
|
+
<remarks>
|
|
39
|
+
Information about supported vocabularies can be obtained though
|
|
40
|
+
the partner labs site.
|
|
41
|
+
</remarks>
|
|
42
|
+
</documentation>
|
|
43
|
+
</annotation>
|
|
44
|
+
<sequence>
|
|
45
|
+
<element name="name" type="wc-types:stringnz">
|
|
46
|
+
<annotation>
|
|
47
|
+
<documentation>
|
|
48
|
+
<summary>
|
|
49
|
+
The name of the vocabulary being referenced.
|
|
50
|
+
</summary>
|
|
51
|
+
|
|
52
|
+
<remarks>
|
|
53
|
+
|
|
54
|
+
</remarks>
|
|
55
|
+
</documentation>
|
|
56
|
+
</annotation>
|
|
57
|
+
</element>
|
|
58
|
+
|
|
59
|
+
<element name="family" type="wc-types:stringnz"
|
|
60
|
+
minOccurs="0" maxOccurs="1">
|
|
61
|
+
<annotation>
|
|
62
|
+
<documentation>
|
|
63
|
+
<summary>
|
|
64
|
+
The family to which the vocabulary being referenced belongs.
|
|
65
|
+
</summary>
|
|
66
|
+
|
|
67
|
+
<remarks>
|
|
68
|
+
Vocabularies can be defined by HealthVault or by a number
|
|
69
|
+
of standards organizations such as the ISO. The family
|
|
70
|
+
parameter specfies this source.
|
|
71
|
+
</remarks>
|
|
72
|
+
</documentation>
|
|
73
|
+
</annotation>
|
|
74
|
+
</element>
|
|
75
|
+
|
|
76
|
+
<element name="version" type="wc-types:stringnz"
|
|
77
|
+
minOccurs="0" maxOccurs="1">
|
|
78
|
+
<annotation>
|
|
79
|
+
<documentation>
|
|
80
|
+
<summary>
|
|
81
|
+
The version of the vocabulary being referenced.
|
|
82
|
+
</summary>
|
|
83
|
+
|
|
84
|
+
<remarks>
|
|
85
|
+
A string used to identify a particular version of a
|
|
86
|
+
vocabulary.
|
|
87
|
+
</remarks>
|
|
88
|
+
</documentation>
|
|
89
|
+
</annotation>
|
|
90
|
+
</element>
|
|
91
|
+
|
|
92
|
+
<element name="code-value" type ="string" minOccurs="0" maxOccurs="1">
|
|
93
|
+
<annotation>
|
|
94
|
+
<documentation>
|
|
95
|
+
<summary>
|
|
96
|
+
|
|
97
|
+
</summary>
|
|
98
|
+
|
|
99
|
+
<remarks>
|
|
100
|
+
If the code-value is specified, all vocabulary code items starting with
|
|
101
|
+
the one which has the specified code value are returned.
|
|
102
|
+
</remarks>
|
|
103
|
+
</documentation>
|
|
104
|
+
</annotation>
|
|
105
|
+
</element>
|
|
106
|
+
|
|
107
|
+
</sequence>
|
|
108
|
+
</complexType>
|
|
109
|
+
|
|
110
|
+
<complexType name="VocabularyKeyInfo">
|
|
111
|
+
<annotation>
|
|
112
|
+
<documentation>
|
|
113
|
+
<summary>
|
|
114
|
+
Summary information about a vocabulary in the system.
|
|
115
|
+
</summary>
|
|
116
|
+
|
|
117
|
+
<remarks>
|
|
118
|
+
This information is made up of the key and a description
|
|
119
|
+
of the vocabulary. The key is made up of the name, family,
|
|
120
|
+
and version.
|
|
121
|
+
</remarks>
|
|
122
|
+
</documentation>
|
|
123
|
+
</annotation>
|
|
124
|
+
<complexContent>
|
|
125
|
+
<extension base="wc-vocab:VocabularyKey">
|
|
126
|
+
<sequence>
|
|
127
|
+
<element name="description"
|
|
128
|
+
type ="string" minOccurs="0" maxOccurs="1" >
|
|
129
|
+
<annotation>
|
|
130
|
+
<documentation>
|
|
131
|
+
<summary>
|
|
132
|
+
This is a description of the vocabulary being returned.
|
|
133
|
+
</summary>
|
|
134
|
+
|
|
135
|
+
<remarks>
|
|
136
|
+
This is a text description of the vocabulary returned by
|
|
137
|
+
the system as a part of vocabulary key information.
|
|
138
|
+
</remarks>
|
|
139
|
+
</documentation>
|
|
140
|
+
</annotation>
|
|
141
|
+
</element>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</sequence>
|
|
145
|
+
</extension>
|
|
146
|
+
</complexContent>
|
|
147
|
+
</complexType>
|
|
148
|
+
|
|
149
|
+
<complexType name="VocabularyCodeSet">
|
|
150
|
+
<annotation>
|
|
151
|
+
<documentation>
|
|
152
|
+
<summary>
|
|
153
|
+
Contains information about a vocabulary along with items
|
|
154
|
+
belonging to that vocabulary.
|
|
155
|
+
</summary>
|
|
156
|
+
|
|
157
|
+
<remarks>
|
|
158
|
+
|
|
159
|
+
</remarks>
|
|
160
|
+
</documentation>
|
|
161
|
+
</annotation>
|
|
162
|
+
<sequence>
|
|
163
|
+
<element name="name" type="string" >
|
|
164
|
+
<annotation>
|
|
165
|
+
<documentation>
|
|
166
|
+
<summary>
|
|
167
|
+
The name of the referenced vocabulary.
|
|
168
|
+
</summary>
|
|
169
|
+
|
|
170
|
+
<remarks>
|
|
171
|
+
|
|
172
|
+
</remarks>
|
|
173
|
+
</documentation>
|
|
174
|
+
</annotation>
|
|
175
|
+
</element>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<element name="family" type="string" >
|
|
179
|
+
<annotation>
|
|
180
|
+
<documentation>
|
|
181
|
+
<summary>
|
|
182
|
+
The family the referenced vocabulary belongs to.
|
|
183
|
+
</summary>
|
|
184
|
+
|
|
185
|
+
<remarks>
|
|
186
|
+
|
|
187
|
+
</remarks>
|
|
188
|
+
</documentation>
|
|
189
|
+
</annotation>
|
|
190
|
+
</element>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<element name="version" type="string" >
|
|
194
|
+
<annotation>
|
|
195
|
+
<documentation>
|
|
196
|
+
<summary>
|
|
197
|
+
The version of the referenced vocabulary.
|
|
198
|
+
</summary>
|
|
199
|
+
|
|
200
|
+
<remarks>
|
|
201
|
+
|
|
202
|
+
</remarks>
|
|
203
|
+
</documentation>
|
|
204
|
+
</annotation>
|
|
205
|
+
</element>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<element name="code-item"
|
|
209
|
+
type="wc-vocab:VocabularyCodeItem"
|
|
210
|
+
minOccurs="0" maxOccurs="unbounded" >
|
|
211
|
+
<annotation>
|
|
212
|
+
<documentation>
|
|
213
|
+
<summary>
|
|
214
|
+
A list of vocabulary items belonging to a vocabulary.
|
|
215
|
+
</summary>
|
|
216
|
+
|
|
217
|
+
<remarks>
|
|
218
|
+
This is the full list of items in the vocabulary for a GetVocabulary
|
|
219
|
+
call, and a list of matching items for a SearchVocabulary call.
|
|
220
|
+
</remarks>
|
|
221
|
+
</documentation>
|
|
222
|
+
</annotation>
|
|
223
|
+
</element>
|
|
224
|
+
|
|
225
|
+
<element name="is-vocab-truncated"
|
|
226
|
+
type="boolean" minOccurs="0" maxOccurs="1" >
|
|
227
|
+
<annotation>
|
|
228
|
+
<documentation>
|
|
229
|
+
<summary>
|
|
230
|
+
Indicates if list of vocabulary items in the vocabulary has been
|
|
231
|
+
truncated.
|
|
232
|
+
</summary>
|
|
233
|
+
|
|
234
|
+
<remarks>
|
|
235
|
+
HealthVault only returns a maximum number of vocabulary items indicated
|
|
236
|
+
by the configuration.
|
|
237
|
+
</remarks>
|
|
238
|
+
</documentation>
|
|
239
|
+
</annotation>
|
|
240
|
+
</element>
|
|
241
|
+
|
|
242
|
+
</sequence>
|
|
243
|
+
|
|
244
|
+
</complexType>
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
<complexType name="VocabularyCodeItem">
|
|
248
|
+
<annotation>
|
|
249
|
+
<documentation>
|
|
250
|
+
<summary>
|
|
251
|
+
Describes an indivdual code item.
|
|
252
|
+
</summary>
|
|
253
|
+
|
|
254
|
+
<remarks>
|
|
255
|
+
A code item is a unit member of a vocabulary.
|
|
256
|
+
</remarks>
|
|
257
|
+
</documentation>
|
|
258
|
+
</annotation>
|
|
259
|
+
<sequence>
|
|
260
|
+
<element name="code-value" type="string">
|
|
261
|
+
<annotation>
|
|
262
|
+
<documentation>
|
|
263
|
+
<summary>
|
|
264
|
+
This is the value associated with the item which uniquely
|
|
265
|
+
identifies it within a vocabulary.
|
|
266
|
+
</summary>
|
|
267
|
+
|
|
268
|
+
<remarks>
|
|
269
|
+
|
|
270
|
+
</remarks>
|
|
271
|
+
</documentation>
|
|
272
|
+
</annotation>
|
|
273
|
+
</element>
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
<element name="display-text" type="string"
|
|
277
|
+
minOccurs ="0" maxOccurs="1">
|
|
278
|
+
<annotation>
|
|
279
|
+
<documentation>
|
|
280
|
+
<summary>
|
|
281
|
+
This is the display text of the item.
|
|
282
|
+
</summary>
|
|
283
|
+
|
|
284
|
+
<remarks>
|
|
285
|
+
|
|
286
|
+
</remarks>
|
|
287
|
+
</documentation>
|
|
288
|
+
</annotation>
|
|
289
|
+
</element>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
<element name="abbreviation-text" type="string"
|
|
293
|
+
minOccurs ="0" maxOccurs="1">
|
|
294
|
+
<annotation>
|
|
295
|
+
<documentation>
|
|
296
|
+
<summary>
|
|
297
|
+
This is the abbreviation text of an item.
|
|
298
|
+
</summary>
|
|
299
|
+
|
|
300
|
+
<remarks>
|
|
301
|
+
|
|
302
|
+
</remarks>
|
|
303
|
+
</documentation>
|
|
304
|
+
</annotation>
|
|
305
|
+
</element>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
<element name="info-xml" type="wc-vocab:InfoXml"
|
|
309
|
+
minOccurs="0" maxOccurs="1">
|
|
310
|
+
<annotation>
|
|
311
|
+
<documentation>
|
|
312
|
+
<summary>
|
|
313
|
+
Contains important auxillary information that can be used
|
|
314
|
+
for operations such as unit conversions.
|
|
315
|
+
</summary>
|
|
316
|
+
|
|
317
|
+
<remarks>
|
|
318
|
+
|
|
319
|
+
</remarks>
|
|
320
|
+
</documentation>
|
|
321
|
+
</annotation>
|
|
322
|
+
</element>
|
|
323
|
+
|
|
324
|
+
</sequence>
|
|
325
|
+
</complexType>
|
|
326
|
+
|
|
327
|
+
<complexType name="InfoXml">
|
|
328
|
+
<annotation>
|
|
329
|
+
<documentation>
|
|
330
|
+
<summary>
|
|
331
|
+
Contains important auxillary information that can be used
|
|
332
|
+
for operations such as unit conversions.
|
|
333
|
+
</summary>
|
|
334
|
+
|
|
335
|
+
<remarks>
|
|
336
|
+
|
|
337
|
+
</remarks>
|
|
338
|
+
</documentation>
|
|
339
|
+
</annotation>
|
|
340
|
+
<sequence>
|
|
341
|
+
<any namespace="##any" processContents="skip">
|
|
342
|
+
<annotation>
|
|
343
|
+
<documentation>
|
|
344
|
+
<summary>
|
|
345
|
+
Code item specific blob that contains auxillary information about
|
|
346
|
+
the code item.
|
|
347
|
+
</summary>
|
|
348
|
+
|
|
349
|
+
<remarks>
|
|
350
|
+
This can be for instance, information on how to convert a
|
|
351
|
+
value from one measurement unit to another, or nutritional
|
|
352
|
+
information of a food item.
|
|
353
|
+
</remarks>
|
|
354
|
+
</documentation>
|
|
355
|
+
</annotation>
|
|
356
|
+
</any>
|
|
357
|
+
</sequence>
|
|
358
|
+
</complexType>
|
|
359
|
+
</schema>
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<schema
|
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.AddApplication"
|
|
4
|
+
xmlns:wc-addapplication="urn:com.microsoft.wc.methods.AddApplication"
|
|
5
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
|
6
|
+
xmlns:wc-auth="urn:com.microsoft.wc.auth"
|
|
7
|
+
xmlns:wc-app="urn:com.microsoft.wc.application"
|
|
8
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
|
9
|
+
|
|
10
|
+
<!--
|
|
11
|
+
|
|
12
|
+
METHOD-ADDAPPLICATION.XSD
|
|
13
|
+
Microsoft Wildcat
|
|
14
|
+
|
|
15
|
+
Platform API: Info schema for AddApplication method
|
|
16
|
+
|
|
17
|
+
-->
|
|
18
|
+
|
|
19
|
+
<import namespace="urn:com.microsoft.wc.types" schemaLocation="types.xsd" />
|
|
20
|
+
<import namespace="urn:com.microsoft.wc.auth" schemaLocation="auth.xsd" />
|
|
21
|
+
<import namespace="urn:com.microsoft.wc.application" schemaLocation="application.xsd" />
|
|
22
|
+
|
|
23
|
+
<annotation>
|
|
24
|
+
<documentation>
|
|
25
|
+
<summary>
|
|
26
|
+
Adds an application configuration.
|
|
27
|
+
</summary>
|
|
28
|
+
|
|
29
|
+
<remarks>
|
|
30
|
+
Before an application can call HealthVault, two things must happen:
|
|
31
|
+
1. The application configuration must be added to HealthVault.
|
|
32
|
+
2. A user must allow the application to access his/her health data.
|
|
33
|
+
|
|
34
|
+
The application configuration specifies how the application will interact with
|
|
35
|
+
HealthVault (i.e. which methods it will call, which data types it needs access
|
|
36
|
+
to, etc.). It also provides information specificially for the user (i.e. a
|
|
37
|
+
description about what the application does, the application logo, etc.). This
|
|
38
|
+
information will be shown to the user during application authorization.
|
|
39
|
+
</remarks>
|
|
40
|
+
<method-visibility>Public</method-visibility>
|
|
41
|
+
</documentation>
|
|
42
|
+
</annotation>
|
|
43
|
+
|
|
44
|
+
<!-- AddApplication - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
45
|
+
<element name="info">
|
|
46
|
+
<complexType>
|
|
47
|
+
<annotation>
|
|
48
|
+
<documentation>
|
|
49
|
+
<summary>
|
|
50
|
+
The element of the request that contains the method
|
|
51
|
+
specific parameters.
|
|
52
|
+
</summary>
|
|
53
|
+
|
|
54
|
+
<remarks>
|
|
55
|
+
All requests contain the info element to pass parameters
|
|
56
|
+
that are specific to each method. If the method does not
|
|
57
|
+
define an info element, the method does not take any
|
|
58
|
+
parameters.
|
|
59
|
+
</remarks>
|
|
60
|
+
</documentation>
|
|
61
|
+
</annotation>
|
|
62
|
+
<sequence>
|
|
63
|
+
<element name="name" type="wc-types:string255">
|
|
64
|
+
<annotation>
|
|
65
|
+
<documentation>
|
|
66
|
+
<summary>
|
|
67
|
+
The application name.
|
|
68
|
+
</summary>
|
|
69
|
+
</documentation>
|
|
70
|
+
</annotation>
|
|
71
|
+
</element>
|
|
72
|
+
|
|
73
|
+
<element name="public-keys" type="wc-app:PublicKeys">
|
|
74
|
+
<annotation>
|
|
75
|
+
<documentation>
|
|
76
|
+
<summary>
|
|
77
|
+
The X509 certificate to be used in conjunction with the
|
|
78
|
+
application id to uniquely identify the application to HealthVault.
|
|
79
|
+
</summary>
|
|
80
|
+
|
|
81
|
+
<remarks>
|
|
82
|
+
This value should be the hexadecimal representation of the entire
|
|
83
|
+
X509 certificate, excluding the private key. The easiest way to
|
|
84
|
+
get this value is to take the binary value of a .cer file as a
|
|
85
|
+
hexadecimal.
|
|
86
|
+
|
|
87
|
+
It is extremely important that the private key that cooresponds to
|
|
88
|
+
this public key should be secured both physically and
|
|
89
|
+
electronically so that other applications cannot identify
|
|
90
|
+
themselves the application being added.
|
|
91
|
+
</remarks>
|
|
92
|
+
</documentation>
|
|
93
|
+
</annotation>
|
|
94
|
+
</element>
|
|
95
|
+
|
|
96
|
+
<element name="person-online-base-auth" type="wc-auth:AuthXml"
|
|
97
|
+
minOccurs="0" maxOccurs="1">
|
|
98
|
+
<annotation>
|
|
99
|
+
<documentation>
|
|
100
|
+
<summary>
|
|
101
|
+
The list of data types (with corresponding permissions) that
|
|
102
|
+
the application can access to while the person is logged in
|
|
103
|
+
and using the application.
|
|
104
|
+
</summary>
|
|
105
|
+
|
|
106
|
+
<remarks>
|
|
107
|
+
This set of authorization rules must be a subset of the calling
|
|
108
|
+
application's authorization rule set. If not, an INVALID_APPAUTH
|
|
109
|
+
error will be returned.
|
|
110
|
+
</remarks>
|
|
111
|
+
</documentation>
|
|
112
|
+
</annotation>
|
|
113
|
+
</element>
|
|
114
|
+
|
|
115
|
+
<element name="person-offline-base-auth" type="wc-auth:AuthXml">
|
|
116
|
+
<annotation>
|
|
117
|
+
<documentation>
|
|
118
|
+
<summary>
|
|
119
|
+
The list of data types (with corresponding permissions) that
|
|
120
|
+
the application can access at any time.
|
|
121
|
+
</summary>
|
|
122
|
+
|
|
123
|
+
<remarks>
|
|
124
|
+
This set of authorization rules must be a subset of the calling
|
|
125
|
+
application's authorization rule set. If not, an INVALID_APPAUTH
|
|
126
|
+
error will be returned.
|
|
127
|
+
</remarks>
|
|
128
|
+
</documentation>
|
|
129
|
+
</annotation>
|
|
130
|
+
</element>
|
|
131
|
+
|
|
132
|
+
<element name="methods" type="wc-types:stringnz" minOccurs="0" maxOccurs="1">
|
|
133
|
+
<annotation>
|
|
134
|
+
<documentation>
|
|
135
|
+
<summary>
|
|
136
|
+
List of HealthVault methods that the application is allowed to
|
|
137
|
+
call.
|
|
138
|
+
</summary>
|
|
139
|
+
|
|
140
|
+
<remarks>
|
|
141
|
+
Currently not supported. Instead, each application is given access
|
|
142
|
+
to the following default list of methods:
|
|
143
|
+
|
|
144
|
+
- CreateAuthenticatedSessionToken
|
|
145
|
+
- GetApplicationSettings
|
|
146
|
+
- GetAuthorizedRecords
|
|
147
|
+
- GetPersonInfo
|
|
148
|
+
- GetServiceDefinition
|
|
149
|
+
- GetThings
|
|
150
|
+
- GetThingType
|
|
151
|
+
- GetVocabulary
|
|
152
|
+
- PutThings
|
|
153
|
+
- QueryPermissions
|
|
154
|
+
- RemoveThings
|
|
155
|
+
- SetApplicationSettings
|
|
156
|
+
</remarks>
|
|
157
|
+
</documentation>
|
|
158
|
+
</annotation>
|
|
159
|
+
</element>
|
|
160
|
+
|
|
161
|
+
<element name="action-url" type="wc-types:stringnz" minOccurs="0" maxOccurs="1">
|
|
162
|
+
<annotation>
|
|
163
|
+
<documentation>
|
|
164
|
+
<summary>
|
|
165
|
+
A single url used by HealthVault with different query string
|
|
166
|
+
parameters to make specific requests to an online application.
|
|
167
|
+
</summary>
|
|
168
|
+
|
|
169
|
+
<remarks>
|
|
170
|
+
Since an application must have both a privacy statement and a
|
|
171
|
+
terms of use statement, you must supply one of the following:
|
|
172
|
+
1. An action url.
|
|
173
|
+
2. Both the privacy statement and terms of use (see the
|
|
174
|
+
"privacy-statement" and "terms-of-use" parameters).
|
|
175
|
+
|
|
176
|
+
If the above condition is not met, an INVALID_XML error will be
|
|
177
|
+
returned.
|
|
178
|
+
</remarks>
|
|
179
|
+
</documentation>
|
|
180
|
+
</annotation>
|
|
181
|
+
</element>
|
|
182
|
+
|
|
183
|
+
<element name="description" type="wc-types:stringnz">
|
|
184
|
+
<annotation>
|
|
185
|
+
<documentation>
|
|
186
|
+
<summary>
|
|
187
|
+
A high level description about what the application does.
|
|
188
|
+
</summary>
|
|
189
|
+
</documentation>
|
|
190
|
+
</annotation>
|
|
191
|
+
</element>
|
|
192
|
+
|
|
193
|
+
<element name="auth-reason" type="wc-types:stringnz">
|
|
194
|
+
<annotation>
|
|
195
|
+
<documentation>
|
|
196
|
+
<summary>
|
|
197
|
+
The reason why the application requires the requested permissions
|
|
198
|
+
to the various data types.
|
|
199
|
+
</summary>
|
|
200
|
+
</documentation>
|
|
201
|
+
</annotation>
|
|
202
|
+
</element>
|
|
203
|
+
|
|
204
|
+
<element name="domain-name" type="wc-types:string255" minOccurs="0" maxOccurs="1">
|
|
205
|
+
<annotation>
|
|
206
|
+
<documentation>
|
|
207
|
+
<summary>
|
|
208
|
+
The domain name from which emails sent on behalf of the
|
|
209
|
+
application will originate from.
|
|
210
|
+
</summary>
|
|
211
|
+
|
|
212
|
+
<remarks>
|
|
213
|
+
For example, if the domain name supplied was 'myapp.com', the
|
|
214
|
+
application would call SendInsecureMessageFromApplication with a
|
|
215
|
+
mailbox-name 'mailbox', and the recipient would receive an email
|
|
216
|
+
from mailbox@myapp.com.
|
|
217
|
+
|
|
218
|
+
Currently not supported. The list of methods that the application
|
|
219
|
+
is given access to by default does not contain any of the methods
|
|
220
|
+
for sending email.
|
|
221
|
+
</remarks>
|
|
222
|
+
</documentation>
|
|
223
|
+
</annotation>
|
|
224
|
+
</element>
|
|
225
|
+
|
|
226
|
+
<element name="large-logo" type="wc-app:AppLargeLogoInfo">
|
|
227
|
+
<annotation>
|
|
228
|
+
<documentation>
|
|
229
|
+
<summary>
|
|
230
|
+
The application's logo as a base64 encoded string and its
|
|
231
|
+
corresponding content type.
|
|
232
|
+
</summary>
|
|
233
|
+
|
|
234
|
+
<remarks>
|
|
235
|
+
The large logo can be up to 160kb in size.
|
|
236
|
+
</remarks>
|
|
237
|
+
</documentation>
|
|
238
|
+
</annotation>
|
|
239
|
+
</element>
|
|
240
|
+
|
|
241
|
+
<element name="small-logo" type="wc-app:AppSmallLogoInfo"
|
|
242
|
+
minOccurs="0" maxOccurs="1">
|
|
243
|
+
<annotation>
|
|
244
|
+
<documentation>
|
|
245
|
+
<summary>
|
|
246
|
+
The application's logo as a base64 encoded string and its
|
|
247
|
+
corresponding content type.
|
|
248
|
+
</summary>
|
|
249
|
+
|
|
250
|
+
<remarks>
|
|
251
|
+
The small logo can be up to 40kb in size.
|
|
252
|
+
</remarks>
|
|
253
|
+
</documentation>
|
|
254
|
+
</annotation>
|
|
255
|
+
</element>
|
|
256
|
+
|
|
257
|
+
<element name="persistent-tokens" type="wc-app:AppPersistentTokens"
|
|
258
|
+
minOccurs="0" maxOccurs="1">
|
|
259
|
+
<annotation>
|
|
260
|
+
<documentation>
|
|
261
|
+
<summary>
|
|
262
|
+
Specifies whether the application requires using persistent tokens
|
|
263
|
+
and the duration to persist the tokens for (in seconds)
|
|
264
|
+
</summary>
|
|
265
|
+
|
|
266
|
+
<remarks>
|
|
267
|
+
A persistent token is an encrypted identifier for the user and
|
|
268
|
+
application. It can be used to enable the "Keep me signed in on
|
|
269
|
+
this computer" feature in HealthVault.
|
|
270
|
+
</remarks>
|
|
271
|
+
</documentation>
|
|
272
|
+
</annotation>
|
|
273
|
+
</element>
|
|
274
|
+
|
|
275
|
+
<element name="app-type" type="wc-types:stringnz" minOccurs="0" maxOccurs="1">
|
|
276
|
+
<annotation>
|
|
277
|
+
<documentation>
|
|
278
|
+
<summary>
|
|
279
|
+
The category used to classify the application.
|
|
280
|
+
</summary>
|
|
281
|
+
|
|
282
|
+
<remarks>
|
|
283
|
+
Currently not used by HealthVault.
|
|
284
|
+
</remarks>
|
|
285
|
+
</documentation>
|
|
286
|
+
</annotation>
|
|
287
|
+
</element>
|
|
288
|
+
|
|
289
|
+
<element name="privacy-statement" type="wc-app:StatementInfo"
|
|
290
|
+
minOccurs="0" maxOccurs="1">
|
|
291
|
+
<annotation>
|
|
292
|
+
<documentation>
|
|
293
|
+
<summary>
|
|
294
|
+
The application's privacy statement as a base64 encoded string
|
|
295
|
+
and its corresponding content type.
|
|
296
|
+
</summary>
|
|
297
|
+
</documentation>
|
|
298
|
+
</annotation>
|
|
299
|
+
</element>
|
|
300
|
+
|
|
301
|
+
<element name="terms-of-use" type="wc-app:StatementInfo"
|
|
302
|
+
minOccurs="0" maxOccurs="1">
|
|
303
|
+
<annotation>
|
|
304
|
+
<documentation>
|
|
305
|
+
<summary>
|
|
306
|
+
The application's terms of use statement as a base64 encoded string
|
|
307
|
+
and its corresponding content type.
|
|
308
|
+
</summary>
|
|
309
|
+
</documentation>
|
|
310
|
+
</annotation>
|
|
311
|
+
</element>
|
|
312
|
+
|
|
313
|
+
<element name="app-auth-required" type="boolean" minOccurs="0" maxOccurs="1">
|
|
314
|
+
<annotation>
|
|
315
|
+
<documentation>
|
|
316
|
+
<summary>
|
|
317
|
+
Specifies whether the application needs to authenticate the user.
|
|
318
|
+
</summary>
|
|
319
|
+
|
|
320
|
+
<remarks>
|
|
321
|
+
For example, if the application charged a subscription fee for its
|
|
322
|
+
use, this parameter would need to be true so that the application
|
|
323
|
+
can verify that the user has in fact paid for the usage before
|
|
324
|
+
logging him/her in.
|
|
325
|
+
|
|
326
|
+
Currently not supported.
|
|
327
|
+
</remarks>
|
|
328
|
+
</documentation>
|
|
329
|
+
</annotation>
|
|
330
|
+
</element>
|
|
331
|
+
|
|
332
|
+
<element name="is-published" type="boolean" minOccurs="0" maxOccurs="1">
|
|
333
|
+
<annotation>
|
|
334
|
+
<documentation>
|
|
335
|
+
<summary>
|
|
336
|
+
Currently not supported.
|
|
337
|
+
</summary>
|
|
338
|
+
|
|
339
|
+
<remarks>
|
|
340
|
+
Currently not supported.
|
|
341
|
+
</remarks>
|
|
342
|
+
</documentation>
|
|
343
|
+
</annotation>
|
|
344
|
+
</element>
|
|
345
|
+
|
|
346
|
+
</sequence>
|
|
347
|
+
</complexType>
|
|
348
|
+
</element>
|
|
349
|
+
</schema>
|