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,64 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.response.GetOpenQueryInfo"
|
4
|
+
xmlns:wc-doq-response="urn:com.microsoft.wc.methods.response.GetOpenQueryInfo"
|
5
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
6
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
7
|
+
|
8
|
+
<!--
|
9
|
+
|
10
|
+
RESPONSE-GETOPENQUERYINFO.XSD
|
11
|
+
Microsoft Wildcat
|
12
|
+
|
13
|
+
Platform API: Info schema for GetOpenQueryInfo method response
|
14
|
+
|
15
|
+
-->
|
16
|
+
|
17
|
+
<import
|
18
|
+
namespace="urn:com.microsoft.wc.types"
|
19
|
+
schemaLocation="types.xsd" />
|
20
|
+
|
21
|
+
<annotation>
|
22
|
+
<documentation>
|
23
|
+
<summary>
|
24
|
+
Defines the response to a GetOpenQueryInfo request.
|
25
|
+
</summary>
|
26
|
+
|
27
|
+
<remarks>
|
28
|
+
GetOpenQueryInfo is used to get information about a previously
|
29
|
+
created query that was created using the SaveOpenQuery method.
|
30
|
+
</remarks>
|
31
|
+
<method-visibility>Public</method-visibility>
|
32
|
+
|
33
|
+
<errors>
|
34
|
+
<error id="INVALID_OPENQUERY">
|
35
|
+
If a query with the specified identifier does not exist,
|
36
|
+
which includes expired open queries.
|
37
|
+
</error>
|
38
|
+
<error id="ACCESS_DENIED">
|
39
|
+
If the authenticated application or the target person does
|
40
|
+
not match with the corresponding properties of the saved
|
41
|
+
query.
|
42
|
+
</error>
|
43
|
+
</errors>
|
44
|
+
</documentation>
|
45
|
+
</annotation>
|
46
|
+
|
47
|
+
<element name="info"
|
48
|
+
type="wc-types:OpenQueryInfo">
|
49
|
+
<annotation>
|
50
|
+
<documentation>
|
51
|
+
<summary>
|
52
|
+
The information describing the saved OpenQuery.
|
53
|
+
</summary>
|
54
|
+
|
55
|
+
<remarks>
|
56
|
+
This information is used to invoke an OpenQuery
|
57
|
+
after it is saved.
|
58
|
+
</remarks>
|
59
|
+
</documentation>
|
60
|
+
</annotation>
|
61
|
+
</element>
|
62
|
+
|
63
|
+
</schema>
|
64
|
+
|
@@ -0,0 +1,95 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.response.GetPeopleForRecord"
|
4
|
+
xmlns:wc-people-for-record-response=
|
5
|
+
"urn:com.microsoft.wc.methods.response.GetPeopleForRecord"
|
6
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
7
|
+
xmlns:wc-record="urn:com.microsoft.wc.record"
|
8
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
9
|
+
|
10
|
+
<!--
|
11
|
+
|
12
|
+
RESPONSE-GETPEOPLEFORRECORD.XSD
|
13
|
+
Microsoft Wildcat
|
14
|
+
|
15
|
+
Platform API: Info schema for GetPeopleForRecord method
|
16
|
+
response
|
17
|
+
|
18
|
+
-->
|
19
|
+
|
20
|
+
<import
|
21
|
+
namespace="urn:com.microsoft.wc.types"
|
22
|
+
schemaLocation="types.xsd" />
|
23
|
+
|
24
|
+
<import
|
25
|
+
namespace="urn:com.microsoft.wc.record"
|
26
|
+
schemaLocation="record.xsd" />
|
27
|
+
|
28
|
+
<annotation>
|
29
|
+
<documentation>
|
30
|
+
<summary>
|
31
|
+
Gets information about the people that have been authorized
|
32
|
+
to the record specified in the header or have been invited
|
33
|
+
to share the record.
|
34
|
+
</summary>
|
35
|
+
<remarks>
|
36
|
+
This method can only be called record custodians.
|
37
|
+
</remarks>
|
38
|
+
</documentation>
|
39
|
+
</annotation>
|
40
|
+
|
41
|
+
<!-- - - - - - - - - - - GetPeopleForRecord - - - - - - - - - -->
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
<element name="info">
|
46
|
+
<complexType>
|
47
|
+
<annotation>
|
48
|
+
<documentation>
|
49
|
+
<summary>
|
50
|
+
The element that contains the method
|
51
|
+
specific response.
|
52
|
+
</summary>
|
53
|
+
<remarks>
|
54
|
+
All responses contain the info element to return data
|
55
|
+
that are specific to each method. If the method does not
|
56
|
+
define an info element, the method does not expect any
|
57
|
+
data for the response.
|
58
|
+
</remarks>
|
59
|
+
</documentation>
|
60
|
+
</annotation>
|
61
|
+
<sequence>
|
62
|
+
<element name="active-person-authorization"
|
63
|
+
type="wc-record:ActivePersonAuthorizationNoIds"
|
64
|
+
minOccurs="1" maxOccurs="unbounded" >
|
65
|
+
<annotation>
|
66
|
+
<documentation>
|
67
|
+
<summary>
|
68
|
+
List of persons that have authorizations to the record.
|
69
|
+
</summary>
|
70
|
+
<remarks>
|
71
|
+
</remarks>
|
72
|
+
</documentation>
|
73
|
+
</annotation>
|
74
|
+
</element>
|
75
|
+
|
76
|
+
|
77
|
+
<element name="non-active-authorization"
|
78
|
+
type="wc-record:NonActiveAuthorizationNoIds"
|
79
|
+
minOccurs="0" maxOccurs="unbounded" >
|
80
|
+
<annotation>
|
81
|
+
<documentation>
|
82
|
+
<summary>
|
83
|
+
List of persons that have not accepted their sharing invites to
|
84
|
+
the record.
|
85
|
+
</summary>
|
86
|
+
<remarks>
|
87
|
+
</remarks>
|
88
|
+
</documentation>
|
89
|
+
</annotation>
|
90
|
+
</element>
|
91
|
+
</sequence>
|
92
|
+
</complexType>
|
93
|
+
</element>
|
94
|
+
|
95
|
+
</schema>
|
@@ -0,0 +1,87 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.response.GetPersonInfo"
|
4
|
+
xmlns:wc-getpersoninfo-response=
|
5
|
+
"urn:com.microsoft.wc.methods.response.GetPersonInfo"
|
6
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
7
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
8
|
+
|
9
|
+
<!--
|
10
|
+
|
11
|
+
RESPONSE-GETPERSONINFO.XSD
|
12
|
+
Microsoft Wildcat
|
13
|
+
|
14
|
+
Platform API: Info schema for GetPersonInfo method response
|
15
|
+
|
16
|
+
-->
|
17
|
+
|
18
|
+
<import
|
19
|
+
namespace="urn:com.microsoft.wc.types"
|
20
|
+
schemaLocation="types.xsd" />
|
21
|
+
|
22
|
+
<annotation>
|
23
|
+
<documentation>
|
24
|
+
<summary>
|
25
|
+
The basic information about an authenticated person.
|
26
|
+
</summary>
|
27
|
+
|
28
|
+
<remarks>
|
29
|
+
GetPersonInfo is used to retrieve basic information about the
|
30
|
+
authenticated person, like, their name,
|
31
|
+
application specific settings for the person, the selected
|
32
|
+
record for the application, and the records that the person
|
33
|
+
has authorized the application to use. It can also, optionally,
|
34
|
+
get the groups the person is a member of.
|
35
|
+
</remarks>
|
36
|
+
<method-visibility>Public</method-visibility>
|
37
|
+
<errors>
|
38
|
+
<error id="ACCESS_DENIED">
|
39
|
+
If the authenticated person or the application does not
|
40
|
+
have method-level access rights to the method.
|
41
|
+
</error>
|
42
|
+
</errors>
|
43
|
+
</documentation>
|
44
|
+
</annotation>
|
45
|
+
|
46
|
+
<!-- GetPersonInfo - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
47
|
+
|
48
|
+
<element name="info">
|
49
|
+
<complexType>
|
50
|
+
<annotation>
|
51
|
+
<documentation>
|
52
|
+
<summary>
|
53
|
+
The element of the response that contains the method
|
54
|
+
specific return value(s).
|
55
|
+
</summary>
|
56
|
+
|
57
|
+
<remarks>
|
58
|
+
All response schemas contain the info element which
|
59
|
+
contain the return value of the method. If the method
|
60
|
+
does not define an info element, the method has no
|
61
|
+
return value.
|
62
|
+
</remarks>
|
63
|
+
</documentation>
|
64
|
+
</annotation>
|
65
|
+
<sequence>
|
66
|
+
<element name="person-info" type="wc-types:PersonInfo" >
|
67
|
+
<annotation>
|
68
|
+
<documentation>
|
69
|
+
<summary>
|
70
|
+
Basic information about a person.
|
71
|
+
</summary>
|
72
|
+
|
73
|
+
<remarks>
|
74
|
+
Basic information about a person including their
|
75
|
+
name, application specific settings, record
|
76
|
+
selected for use by the application, and other
|
77
|
+
records that are the person authorized the
|
78
|
+
application to use.
|
79
|
+
</remarks>
|
80
|
+
</documentation>
|
81
|
+
</annotation>
|
82
|
+
</element>
|
83
|
+
</sequence>
|
84
|
+
</complexType>
|
85
|
+
</element>
|
86
|
+
|
87
|
+
</schema>
|
@@ -0,0 +1,515 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace=
|
4
|
+
"urn:com.microsoft.wc.methods.response.GetServiceDefinition"
|
5
|
+
xmlns:wc-getservicedefinition-response=
|
6
|
+
"urn:com.microsoft.wc.methods.response.GetServiceDefinition"
|
7
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
8
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
9
|
+
|
10
|
+
<!--
|
11
|
+
|
12
|
+
METHOD-GETSERVICEDEFINITION.XSD
|
13
|
+
Microsoft Wildcat
|
14
|
+
|
15
|
+
Platform API: Info schema for GetServiceDefinition method
|
16
|
+
|
17
|
+
-->
|
18
|
+
|
19
|
+
<import
|
20
|
+
namespace="urn:com.microsoft.wc.types"
|
21
|
+
schemaLocation="types.xsd" />
|
22
|
+
|
23
|
+
<annotation>
|
24
|
+
<documentation>
|
25
|
+
<summary>
|
26
|
+
Gets information about the Microsoft Health Service and
|
27
|
+
its related features.
|
28
|
+
</summary>
|
29
|
+
|
30
|
+
<remarks>
|
31
|
+
GetServiceDefinition gets information about the Microsoft
|
32
|
+
Health Service like its version, the schemas for its
|
33
|
+
published methods, and pointers to the Microsoft Health
|
34
|
+
Shell and software development kit.
|
35
|
+
|
36
|
+
It is recommended that instead of calling this method, that
|
37
|
+
you get the "servicedefinition.xml" file at the root of the
|
38
|
+
HealthVault Platform application.
|
39
|
+
For example: "http://platform.healthvault.com/platform/servicedefinition.xml".
|
40
|
+
</remarks>
|
41
|
+
<method-visibility>Public</method-visibility>
|
42
|
+
</documentation>
|
43
|
+
</annotation>
|
44
|
+
|
45
|
+
|
46
|
+
<!-- info - - - - - - - - - - - - - - - - - - - - -->
|
47
|
+
|
48
|
+
<complexType name="ConfigurationEntry">
|
49
|
+
<annotation>
|
50
|
+
<documentation>
|
51
|
+
<summary>
|
52
|
+
A configuration value that is important for developers
|
53
|
+
to know about the Microsoft Health Service.
|
54
|
+
</summary>
|
55
|
+
|
56
|
+
<remarks>
|
57
|
+
The Microsoft Health Service has some configuration that
|
58
|
+
dictates the behavior of certain methods and data. For
|
59
|
+
instance, GetThings will return only a certain number
|
60
|
+
of full things in the response and give only thing keys
|
61
|
+
for anything beyond that limit. The number of full things
|
62
|
+
returned is defined by configuration and can be changed
|
63
|
+
at any time to optimize the services ability to respond
|
64
|
+
to applications. These configuration values are surfaced
|
65
|
+
here so that application developers can make programmatic
|
66
|
+
decisions based on these values if necessary.
|
67
|
+
</remarks>
|
68
|
+
</documentation>
|
69
|
+
</annotation>
|
70
|
+
<simpleContent>
|
71
|
+
<extension base="string">
|
72
|
+
<attribute name="key"
|
73
|
+
type="string" use="required">
|
74
|
+
<annotation>
|
75
|
+
<documentation>
|
76
|
+
<summary>
|
77
|
+
The name of the configuration value.
|
78
|
+
</summary>
|
79
|
+
</documentation>
|
80
|
+
</annotation>
|
81
|
+
</attribute>
|
82
|
+
</extension>
|
83
|
+
</simpleContent>
|
84
|
+
</complexType>
|
85
|
+
|
86
|
+
<complexType name="Platform">
|
87
|
+
<annotation>
|
88
|
+
<documentation>
|
89
|
+
<summary>
|
90
|
+
Information about the Microsoft Health Service.
|
91
|
+
</summary>
|
92
|
+
</documentation>
|
93
|
+
</annotation>
|
94
|
+
<sequence>
|
95
|
+
<element name="url" type="string" >
|
96
|
+
<annotation>
|
97
|
+
<documentation>
|
98
|
+
<summary>
|
99
|
+
The URL to use to access the Microsoft
|
100
|
+
Health Service methods.
|
101
|
+
</summary>
|
102
|
+
|
103
|
+
<remarks>
|
104
|
+
All Microsoft Health Service method requests
|
105
|
+
must go through this URL.
|
106
|
+
</remarks>
|
107
|
+
</documentation>
|
108
|
+
</annotation>
|
109
|
+
</element>
|
110
|
+
|
111
|
+
|
112
|
+
<element name="version" type="string" >
|
113
|
+
<annotation>
|
114
|
+
<documentation>
|
115
|
+
<summary>
|
116
|
+
The Microsoft Health Service version number.
|
117
|
+
</summary>
|
118
|
+
|
119
|
+
<remarks>
|
120
|
+
This version number will follow the general
|
121
|
+
.NET guidlines for versioning of assemblies:
|
122
|
+
major.minor.build.revision. Changes to the
|
123
|
+
major version number signify breaking changes.
|
124
|
+
Changes to other parts of the version signify
|
125
|
+
added or updates to functionality.
|
126
|
+
</remarks>
|
127
|
+
</documentation>
|
128
|
+
</annotation>
|
129
|
+
</element>
|
130
|
+
|
131
|
+
|
132
|
+
<element name="configuration"
|
133
|
+
type="wc-getservicedefinition-response:ConfigurationEntry"
|
134
|
+
minOccurs="0"
|
135
|
+
maxOccurs="unbounded" >
|
136
|
+
<annotation>
|
137
|
+
<documentation>
|
138
|
+
<summary>
|
139
|
+
Configuration values that are important for developers
|
140
|
+
to know about the Microsoft Health Service.
|
141
|
+
</summary>
|
142
|
+
|
143
|
+
<remarks>
|
144
|
+
The Microsoft Health Service has some configuration that
|
145
|
+
dictates the behavior of certain methods and data. For
|
146
|
+
instance, GetThings will return only a certain number
|
147
|
+
of full things in the response and give only thing keys
|
148
|
+
for anything beyond that limit. The number of full things
|
149
|
+
returned is defined by configuration and can be changed
|
150
|
+
at any time to optimize the services ability to respond
|
151
|
+
to applications. These configuration values are surfaced
|
152
|
+
here so that application developers can make programmatic
|
153
|
+
decisions based on these values if necessary.
|
154
|
+
</remarks>
|
155
|
+
</documentation>
|
156
|
+
</annotation>
|
157
|
+
</element>
|
158
|
+
|
159
|
+
|
160
|
+
</sequence>
|
161
|
+
</complexType>
|
162
|
+
|
163
|
+
|
164
|
+
<complexType name="ShellRedirectToken">
|
165
|
+
<annotation>
|
166
|
+
<documentation>
|
167
|
+
<summary>
|
168
|
+
A representation of the redirect information that can be
|
169
|
+
supplied along with the Shell redirect url to access specific
|
170
|
+
functionalities in the Shell.
|
171
|
+
</summary>
|
172
|
+
</documentation>
|
173
|
+
</annotation>
|
174
|
+
<sequence>
|
175
|
+
<element name="token" type="string">
|
176
|
+
<annotation>
|
177
|
+
<documentation>
|
178
|
+
<summary>
|
179
|
+
A string token used to redirect to specific parts
|
180
|
+
within the Shell, accessing specific functions.
|
181
|
+
</summary>
|
182
|
+
</documentation>
|
183
|
+
</annotation>
|
184
|
+
</element>
|
185
|
+
<element name="description" type="string">
|
186
|
+
<annotation>
|
187
|
+
<documentation>
|
188
|
+
<summary>
|
189
|
+
A localized text description of the Shell
|
190
|
+
functionality accessible by using the token.
|
191
|
+
</summary>
|
192
|
+
</documentation>
|
193
|
+
</annotation>
|
194
|
+
</element>
|
195
|
+
<element name="querystring-parameters" type="string">
|
196
|
+
<annotation>
|
197
|
+
<documentation>
|
198
|
+
<summary>
|
199
|
+
A comma seperated list of parameters that must
|
200
|
+
be supplied in the query string in addition to
|
201
|
+
the redirect token.
|
202
|
+
</summary>
|
203
|
+
</documentation>
|
204
|
+
</annotation>
|
205
|
+
</element>
|
206
|
+
</sequence>
|
207
|
+
</complexType>
|
208
|
+
|
209
|
+
<complexType name="Shell">
|
210
|
+
<annotation>
|
211
|
+
<documentation>
|
212
|
+
<summary>
|
213
|
+
Information about the Microsoft Health Shell.
|
214
|
+
</summary>
|
215
|
+
</documentation>
|
216
|
+
</annotation>
|
217
|
+
<sequence>
|
218
|
+
<element name="url" type="string" >
|
219
|
+
<annotation>
|
220
|
+
<documentation>
|
221
|
+
<summary>
|
222
|
+
The URL used to access the Microsoft Health Shell.
|
223
|
+
</summary>
|
224
|
+
</documentation>
|
225
|
+
</annotation>
|
226
|
+
</element>
|
227
|
+
<element name="redirect-url" type="string">
|
228
|
+
<annotation>
|
229
|
+
<documentation>
|
230
|
+
<summary>
|
231
|
+
The URL used to redirect to specific functions within the Microsoft Health Shell.
|
232
|
+
</summary>
|
233
|
+
</documentation>
|
234
|
+
</annotation>
|
235
|
+
</element>
|
236
|
+
<element name="redirect-token"
|
237
|
+
type="wc-getservicedefinition-response:ShellRedirectToken"
|
238
|
+
minOccurs="0" maxOccurs="unbounded">
|
239
|
+
<annotation>
|
240
|
+
<documentation>
|
241
|
+
<summary>
|
242
|
+
The possible redirect tokens that can be supplied
|
243
|
+
in addition to the redirect url to route to specific
|
244
|
+
functionalities within the Shell.
|
245
|
+
</summary>
|
246
|
+
</documentation>
|
247
|
+
</annotation>
|
248
|
+
</element>
|
249
|
+
|
250
|
+
</sequence>
|
251
|
+
</complexType>
|
252
|
+
|
253
|
+
<complexType name="SDKAssembly">
|
254
|
+
<annotation>
|
255
|
+
<documentation>
|
256
|
+
<summary>
|
257
|
+
Information about the .NET assembly that can be used to
|
258
|
+
access the Microsoft Health Service.
|
259
|
+
</summary>
|
260
|
+
|
261
|
+
<remarks>
|
262
|
+
The Microsoft Health Service can be accessed via XML
|
263
|
+
web methods. Microsoft has also developed .NET assemblies
|
264
|
+
for making it easier for developers using .NET to access
|
265
|
+
the Microsoft Health Service. The following contains
|
266
|
+
information about those assemblies.
|
267
|
+
</remarks>
|
268
|
+
</documentation>
|
269
|
+
</annotation>
|
270
|
+
<sequence>
|
271
|
+
<element name="url" type="string" >
|
272
|
+
<annotation>
|
273
|
+
<documentation>
|
274
|
+
<summary>
|
275
|
+
The URL to the Microsoft Health Service .NET assembly
|
276
|
+
for download.
|
277
|
+
</summary>
|
278
|
+
</documentation>
|
279
|
+
</annotation>
|
280
|
+
</element>
|
281
|
+
|
282
|
+
<element name="version" type="string" >
|
283
|
+
<annotation>
|
284
|
+
<documentation>
|
285
|
+
<summary>
|
286
|
+
The version number for the Microsoft Health Service
|
287
|
+
.NET assembly.
|
288
|
+
</summary>
|
289
|
+
</documentation>
|
290
|
+
</annotation>
|
291
|
+
</element>
|
292
|
+
|
293
|
+
|
294
|
+
<element name="doc-url" type="string" >
|
295
|
+
<annotation>
|
296
|
+
<documentation>
|
297
|
+
<summary>
|
298
|
+
The URL to the documentation for the Microsoft
|
299
|
+
Health Service .NET assembly.
|
300
|
+
</summary>
|
301
|
+
|
302
|
+
<remarks>
|
303
|
+
The URL references online documentation for the
|
304
|
+
Microsoft Health Service SDK.
|
305
|
+
</remarks>
|
306
|
+
</documentation>
|
307
|
+
</annotation>
|
308
|
+
</element>
|
309
|
+
|
310
|
+
|
311
|
+
</sequence>
|
312
|
+
</complexType>
|
313
|
+
|
314
|
+
<complexType name="XmlMethodVersion">
|
315
|
+
<annotation>
|
316
|
+
<documentation>
|
317
|
+
<summary>
|
318
|
+
Information about a particular version of one of the
|
319
|
+
Microsoft Health Service XML web-methods.
|
320
|
+
</summary>
|
321
|
+
</documentation>
|
322
|
+
</annotation>
|
323
|
+
<sequence>
|
324
|
+
<element name="request-schema-url"
|
325
|
+
type="string"
|
326
|
+
minOccurs="0"
|
327
|
+
maxOccurs="1" >
|
328
|
+
<annotation>
|
329
|
+
<documentation>
|
330
|
+
<summary>
|
331
|
+
The URL of the method request schema.
|
332
|
+
</summary>
|
333
|
+
|
334
|
+
<remarks>
|
335
|
+
The URL points to an .xsd file defining the
|
336
|
+
schema for a request to this method.
|
337
|
+
</remarks>
|
338
|
+
</documentation>
|
339
|
+
</annotation>
|
340
|
+
</element>
|
341
|
+
|
342
|
+
|
343
|
+
<element name="response-schema-url"
|
344
|
+
type="string"
|
345
|
+
minOccurs="0"
|
346
|
+
maxOccurs="1" >
|
347
|
+
<annotation>
|
348
|
+
<documentation>
|
349
|
+
<summary>
|
350
|
+
The URL of the method response schema.
|
351
|
+
</summary>
|
352
|
+
|
353
|
+
<remarks>
|
354
|
+
The URL points to an .xsd file defining the
|
355
|
+
schema for a response from this method.
|
356
|
+
</remarks>
|
357
|
+
</documentation>
|
358
|
+
</annotation>
|
359
|
+
</element>
|
360
|
+
|
361
|
+
|
362
|
+
</sequence>
|
363
|
+
<attribute name="number" type="string" use="required">
|
364
|
+
<annotation>
|
365
|
+
<documentation>
|
366
|
+
<summary>
|
367
|
+
The version number of the method.
|
368
|
+
</summary>
|
369
|
+
|
370
|
+
<remarks>
|
371
|
+
The version number for a Microsoft Health Service
|
372
|
+
web-method is a sequencially increasing number starting
|
373
|
+
at one. Breaking changes to a method will increment
|
374
|
+
the version number for the method but old versions of
|
375
|
+
a method are still available to handle requests. The
|
376
|
+
method request must contain the appropriate method
|
377
|
+
version number for the XML schema that it is sending.
|
378
|
+
</remarks>
|
379
|
+
</documentation>
|
380
|
+
</annotation>
|
381
|
+
</attribute>
|
382
|
+
|
383
|
+
</complexType>
|
384
|
+
|
385
|
+
<complexType name="XmlMethod">
|
386
|
+
<annotation>
|
387
|
+
<documentation>
|
388
|
+
<summary>
|
389
|
+
Information about a Microsoft Health Service web-method.
|
390
|
+
</summary>
|
391
|
+
</documentation>
|
392
|
+
</annotation>
|
393
|
+
<sequence>
|
394
|
+
<element name="name" type="string" >
|
395
|
+
<annotation>
|
396
|
+
<documentation>
|
397
|
+
<summary>
|
398
|
+
The name of the Microsoft Health Service method.
|
399
|
+
</summary>
|
400
|
+
|
401
|
+
<remarks>
|
402
|
+
The name is used in the XML request to define the
|
403
|
+
method the request is calling.
|
404
|
+
</remarks>
|
405
|
+
</documentation>
|
406
|
+
</annotation>
|
407
|
+
</element>
|
408
|
+
|
409
|
+
|
410
|
+
<element name="version"
|
411
|
+
type="wc-getservicedefinition-response:XmlMethodVersion"
|
412
|
+
minOccurs="0"
|
413
|
+
maxOccurs="unbounded" >
|
414
|
+
<annotation>
|
415
|
+
<documentation>
|
416
|
+
<summary>
|
417
|
+
The set of available versions of the method.
|
418
|
+
</summary>
|
419
|
+
</documentation>
|
420
|
+
</annotation>
|
421
|
+
</element>
|
422
|
+
|
423
|
+
|
424
|
+
</sequence>
|
425
|
+
</complexType>
|
426
|
+
|
427
|
+
<element name="info">
|
428
|
+
<complexType>
|
429
|
+
<annotation>
|
430
|
+
<documentation>
|
431
|
+
<summary>
|
432
|
+
The element of the request that contains the method
|
433
|
+
specific parameters.
|
434
|
+
</summary>
|
435
|
+
|
436
|
+
<remarks>
|
437
|
+
All requests contain the info element to pass parameters
|
438
|
+
that are specific to each method. If the method does not
|
439
|
+
define an info element, the method does not take any
|
440
|
+
parameters.
|
441
|
+
</remarks>
|
442
|
+
</documentation>
|
443
|
+
</annotation>
|
444
|
+
<sequence>
|
445
|
+
<element name="platform"
|
446
|
+
type="wc-getservicedefinition-response:Platform">
|
447
|
+
<annotation>
|
448
|
+
<documentation>
|
449
|
+
<summary>
|
450
|
+
Information about the Microsoft Health Service.
|
451
|
+
</summary>
|
452
|
+
</documentation>
|
453
|
+
</annotation>
|
454
|
+
</element>
|
455
|
+
|
456
|
+
|
457
|
+
<element name="shell"
|
458
|
+
type="wc-getservicedefinition-response:Shell" >
|
459
|
+
<annotation>
|
460
|
+
<documentation>
|
461
|
+
<summary>
|
462
|
+
Information about the Microsoft Health Shell.
|
463
|
+
</summary>
|
464
|
+
</documentation>
|
465
|
+
</annotation>
|
466
|
+
</element>
|
467
|
+
|
468
|
+
|
469
|
+
<element name="sdk-assembly"
|
470
|
+
type="wc-getservicedefinition-response:SDKAssembly"
|
471
|
+
minOccurs="1"
|
472
|
+
maxOccurs="unbounded">
|
473
|
+
<annotation>
|
474
|
+
<documentation>
|
475
|
+
<summary>
|
476
|
+
Information about the Microsoft Health Service
|
477
|
+
.NET software development kit.
|
478
|
+
</summary>
|
479
|
+
</documentation>
|
480
|
+
</annotation>
|
481
|
+
</element>
|
482
|
+
|
483
|
+
|
484
|
+
<element name="xml-method"
|
485
|
+
type="wc-getservicedefinition-response:XmlMethod"
|
486
|
+
minOccurs="1"
|
487
|
+
maxOccurs="unbounded" >
|
488
|
+
<annotation>
|
489
|
+
<documentation>
|
490
|
+
<summary>
|
491
|
+
Information about the Microsoft Health Service
|
492
|
+
web methods.
|
493
|
+
</summary>
|
494
|
+
</documentation>
|
495
|
+
</annotation>
|
496
|
+
</element>
|
497
|
+
|
498
|
+
<element name="common-schema"
|
499
|
+
type="string"
|
500
|
+
minOccurs="0"
|
501
|
+
maxOccurs="unbounded" >
|
502
|
+
<annotation>
|
503
|
+
<documentation>
|
504
|
+
<summary>
|
505
|
+
URLs to schemas referenced by the Microsoft
|
506
|
+
Health Service methods.
|
507
|
+
</summary>
|
508
|
+
</documentation>
|
509
|
+
</annotation>
|
510
|
+
</element>
|
511
|
+
</sequence>
|
512
|
+
</complexType>
|
513
|
+
</element>
|
514
|
+
|
515
|
+
</schema>
|