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,216 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.CreateAuthenticatedSessionToken"
|
4
|
+
xmlns:wc-createauthenticatedsessiontoken="urn:com.microsoft.wc.methods.CreateAuthenticatedSessionToken"
|
5
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
6
|
+
xmlns:wc-auth="urn:com.microsoft.wc.auth"
|
7
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
8
|
+
|
9
|
+
<!--
|
10
|
+
|
11
|
+
METHOD-CreateAuthenticatedSessionToken.XSD
|
12
|
+
Microsoft Wildcat
|
13
|
+
|
14
|
+
Platform API: Info schema for CreateAuthenticatedSessionToken method
|
15
|
+
|
16
|
+
-->
|
17
|
+
|
18
|
+
<import
|
19
|
+
namespace="urn:com.microsoft.wc.types"
|
20
|
+
schemaLocation="types.xsd" />
|
21
|
+
<import
|
22
|
+
namespace="urn:com.microsoft.wc.auth"
|
23
|
+
schemaLocation="auth.xsd" />
|
24
|
+
|
25
|
+
<annotation>
|
26
|
+
<documentation>
|
27
|
+
<summary>
|
28
|
+
Provides a way for clients to establish an authenticated
|
29
|
+
session with the Microsoft Health Service.
|
30
|
+
</summary>
|
31
|
+
|
32
|
+
<remarks>
|
33
|
+
Once the authenticated session is established, the client
|
34
|
+
may call web methods that is authorized to call.
|
35
|
+
The authorization context depends upon the credential type and
|
36
|
+
the subsequent authenticated session context. Both
|
37
|
+
application and user authorization policies apply to what
|
38
|
+
clients may call.
|
39
|
+
</remarks>
|
40
|
+
<method-visibility>Public</method-visibility>
|
41
|
+
</documentation>
|
42
|
+
</annotation>
|
43
|
+
|
44
|
+
<!-- this is a scoped down wc-types:Credential -->
|
45
|
+
<complexType name="Credential">
|
46
|
+
<annotation>
|
47
|
+
<documentation>
|
48
|
+
<summary>
|
49
|
+
Credential in which the authenticated session
|
50
|
+
will be in the context of.
|
51
|
+
</summary>
|
52
|
+
|
53
|
+
<remarks>
|
54
|
+
The credential serves two purposes. First,
|
55
|
+
it must be verified as valid. Once verified,
|
56
|
+
the credential provides the authentication context
|
57
|
+
for the session.
|
58
|
+
</remarks>
|
59
|
+
</documentation>
|
60
|
+
</annotation>
|
61
|
+
<choice>
|
62
|
+
<element name="cardspaceauthsession"
|
63
|
+
type="wc-types:CardSpaceCred">
|
64
|
+
<annotation>
|
65
|
+
<documentation>
|
66
|
+
<summary>
|
67
|
+
A CardSpace SAML token.
|
68
|
+
</summary>
|
69
|
+
|
70
|
+
<remarks>
|
71
|
+
The SAMLE token is generated via CardSpace using
|
72
|
+
GetToken.
|
73
|
+
</remarks>
|
74
|
+
</documentation>
|
75
|
+
</annotation>
|
76
|
+
</element>
|
77
|
+
|
78
|
+
<element name="appserver"
|
79
|
+
type="wc-types:AppServerCred">
|
80
|
+
<annotation>
|
81
|
+
<documentation>
|
82
|
+
<summary>
|
83
|
+
Web application server credential.
|
84
|
+
</summary>
|
85
|
+
|
86
|
+
<remarks>
|
87
|
+
The credential is a signed request showing
|
88
|
+
proof-of-posession of the application-specific
|
89
|
+
private key. This credential may be used to
|
90
|
+
establish two modes of authentication. First,
|
91
|
+
it may be used to create an trusted anonymous session
|
92
|
+
in the context of the application. Secondly,
|
93
|
+
it may be used to create a trusted session in
|
94
|
+
the context of a specified user.
|
95
|
+
</remarks>
|
96
|
+
</documentation>
|
97
|
+
</annotation>
|
98
|
+
</element>
|
99
|
+
|
100
|
+
<!--- temporary type for auth-plus release -->
|
101
|
+
<element name="userpassauthsession"
|
102
|
+
type="wc-auth:UserPassAuthSessionCred">
|
103
|
+
<annotation>
|
104
|
+
<documentation>
|
105
|
+
<summary>
|
106
|
+
A credential consisting of username and password.
|
107
|
+
</summary>
|
108
|
+
|
109
|
+
<remarks>
|
110
|
+
This is for test purposes only.
|
111
|
+
Both the username and password are in plaintext.
|
112
|
+
</remarks>
|
113
|
+
</documentation>
|
114
|
+
</annotation>
|
115
|
+
</element>
|
116
|
+
|
117
|
+
</choice>
|
118
|
+
</complexType>
|
119
|
+
|
120
|
+
<!-- CreateAuthenticatedSessionToken - - - - - - - - - - - - - - - - - - - - - - - -->
|
121
|
+
<complexType name="AuthTokenInfo">
|
122
|
+
<annotation>
|
123
|
+
<documentation>
|
124
|
+
<summary>
|
125
|
+
Parameters for creating an authenticated session token.
|
126
|
+
</summary>
|
127
|
+
|
128
|
+
<remarks>
|
129
|
+
The caller must provide the application information as well
|
130
|
+
as the user credential for which the session will be in
|
131
|
+
the context of.
|
132
|
+
</remarks>
|
133
|
+
</documentation>
|
134
|
+
</annotation>
|
135
|
+
<sequence>
|
136
|
+
<element name="app-id"
|
137
|
+
type="wc-types:AppInfo"
|
138
|
+
minOccurs="1" maxOccurs="1">
|
139
|
+
<annotation>
|
140
|
+
<documentation>
|
141
|
+
<summary>
|
142
|
+
Application identifier for the authenticated session.
|
143
|
+
</summary>
|
144
|
+
|
145
|
+
<remarks>
|
146
|
+
In order for a session to be created,
|
147
|
+
the user must grant access to the application to
|
148
|
+
run in the context of the user. If permission
|
149
|
+
has not been granted, this will result in a
|
150
|
+
access denied error.
|
151
|
+
</remarks>
|
152
|
+
</documentation>
|
153
|
+
</annotation>
|
154
|
+
</element>
|
155
|
+
|
156
|
+
<element name="credential"
|
157
|
+
type="wc-createauthenticatedsessiontoken:Credential">
|
158
|
+
<annotation>
|
159
|
+
<documentation>
|
160
|
+
<summary>
|
161
|
+
Credential in which the authenticated session
|
162
|
+
will be in the context of.
|
163
|
+
</summary>
|
164
|
+
|
165
|
+
<remarks>
|
166
|
+
The credential serves two purposes. First,
|
167
|
+
it must be verified as valid. Once verified,
|
168
|
+
the credential provides the authentication context
|
169
|
+
for the session.
|
170
|
+
</remarks>
|
171
|
+
</documentation>
|
172
|
+
</annotation>
|
173
|
+
</element>
|
174
|
+
|
175
|
+
</sequence>
|
176
|
+
</complexType>
|
177
|
+
|
178
|
+
<element name="info">
|
179
|
+
<complexType>
|
180
|
+
<annotation>
|
181
|
+
<documentation>
|
182
|
+
<summary>
|
183
|
+
Creates an authenticated session token.
|
184
|
+
</summary>
|
185
|
+
|
186
|
+
<remarks>
|
187
|
+
The authenticated session is in the context
|
188
|
+
of the provided credential and the application.
|
189
|
+
</remarks>
|
190
|
+
</documentation>
|
191
|
+
</annotation>
|
192
|
+
<sequence>
|
193
|
+
<element name="auth-info"
|
194
|
+
type="wc-createauthenticatedsessiontoken:AuthTokenInfo">
|
195
|
+
<annotation>
|
196
|
+
<documentation>
|
197
|
+
<summary>
|
198
|
+
Parameters for creating an authenticated session token.
|
199
|
+
</summary>
|
200
|
+
|
201
|
+
<remarks>
|
202
|
+
The caller must provide the application information as well
|
203
|
+
as the user credential for which the session will be in
|
204
|
+
the context of.
|
205
|
+
</remarks>
|
206
|
+
</documentation>
|
207
|
+
</annotation>
|
208
|
+
</element>
|
209
|
+
|
210
|
+
</sequence>
|
211
|
+
</complexType>
|
212
|
+
</element>
|
213
|
+
|
214
|
+
</schema>
|
215
|
+
|
216
|
+
|
@@ -0,0 +1,143 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.CreateConnectRequest"
|
4
|
+
xmlns:wc-createconnectrequest="urn:com.microsoft.wc.methods.CreateConnectRequest"
|
5
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
6
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
7
|
+
|
8
|
+
<!--
|
9
|
+
|
10
|
+
METHOD-CREATECONNECTREQUEST.XSD
|
11
|
+
Microsoft Wildcat
|
12
|
+
|
13
|
+
Platform API: Info schema for CreateConnectRequest method
|
14
|
+
|
15
|
+
-->
|
16
|
+
|
17
|
+
<import
|
18
|
+
namespace="urn:com.microsoft.wc.types"
|
19
|
+
schemaLocation="types.xsd" />
|
20
|
+
|
21
|
+
<annotation>
|
22
|
+
<documentation>
|
23
|
+
<summary>
|
24
|
+
Creates a connect request which will allow the user to tie their HealthVault
|
25
|
+
account to the calling application once the user validates the connect request.
|
26
|
+
</summary>
|
27
|
+
|
28
|
+
<remarks>
|
29
|
+
The connect requests are validated when the HealthVault user correctly supplies the
|
30
|
+
identity code and is able to successfully answer the challenge question
|
31
|
+
(via account.healthvault.com). Validated connect requests will be delivered once
|
32
|
+
the corresponding external application calls GetAuthorizedConnectRequests.
|
33
|
+
</remarks>
|
34
|
+
<method-visibility>Public</method-visibility>
|
35
|
+
</documentation>
|
36
|
+
</annotation>
|
37
|
+
|
38
|
+
<!-- CreateConnectRequest - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
39
|
+
|
40
|
+
<element name="info">
|
41
|
+
<complexType>
|
42
|
+
<annotation>
|
43
|
+
<documentation>
|
44
|
+
<summary>
|
45
|
+
The element of the request that contains the method
|
46
|
+
specific parameters.
|
47
|
+
</summary>
|
48
|
+
|
49
|
+
<remarks>
|
50
|
+
All requests contain the info element to pass parameters
|
51
|
+
that are specific to each method. If the method does not
|
52
|
+
define an info element, the method does not take any
|
53
|
+
parameters.
|
54
|
+
</remarks>
|
55
|
+
</documentation>
|
56
|
+
</annotation>
|
57
|
+
<sequence>
|
58
|
+
<element name="friendly-name" type="wc-types:stringnz">
|
59
|
+
<annotation>
|
60
|
+
<documentation>
|
61
|
+
<summary>
|
62
|
+
A friendly name that will be presented to the user after the user
|
63
|
+
successfully answers the challenge question.
|
64
|
+
</summary>
|
65
|
+
|
66
|
+
<remarks>
|
67
|
+
The friendly name should be something that is recognizable and
|
68
|
+
distinguishes one connect request from another so that the user may
|
69
|
+
choose the expected record during application authorization. For
|
70
|
+
example, a mother of 2 children may want to name her connect
|
71
|
+
requests after each child so she can distinguish one child's
|
72
|
+
connect request from the others.
|
73
|
+
</remarks>
|
74
|
+
</documentation>
|
75
|
+
</annotation>
|
76
|
+
</element>
|
77
|
+
<element name="question" type="wc-types:stringnz">
|
78
|
+
<annotation>
|
79
|
+
<documentation>
|
80
|
+
<summary>
|
81
|
+
A challenge question posed to the user once the identity code has
|
82
|
+
been successfully entered.
|
83
|
+
</summary>
|
84
|
+
|
85
|
+
<remarks>
|
86
|
+
The challenge question should be personal and easy to answer for
|
87
|
+
the user. It is recommended that the challenge question require a
|
88
|
+
one word answer. An empty question will result in an
|
89
|
+
InvalidVerificationQuestion error.
|
90
|
+
</remarks>
|
91
|
+
</documentation>
|
92
|
+
</annotation>
|
93
|
+
</element>
|
94
|
+
<element name="answer" type="wc-types:stringnz">
|
95
|
+
<annotation>
|
96
|
+
<documentation>
|
97
|
+
<summary>
|
98
|
+
The answer that the patient is expected to provide when posed with
|
99
|
+
the challenge question.
|
100
|
+
</summary>
|
101
|
+
|
102
|
+
<remarks>
|
103
|
+
It is recommended that this be a single word. The answer is
|
104
|
+
case-insensitive, however, it is whitespace sensitive. An empty
|
105
|
+
answer will result in an InvalidVerificationAnswer error.
|
106
|
+
</remarks>
|
107
|
+
</documentation>
|
108
|
+
</annotation>
|
109
|
+
</element>
|
110
|
+
<element name="external-id" type="wc-types:stringnz">
|
111
|
+
<annotation>
|
112
|
+
<documentation>
|
113
|
+
<summary>
|
114
|
+
An identifier supplied by the external application for the
|
115
|
+
connect request.
|
116
|
+
</summary>
|
117
|
+
|
118
|
+
<remarks>
|
119
|
+
This value will tie the external application to the HealthVault
|
120
|
+
record being shared. For instance, this could be the patient
|
121
|
+
identifier used to store information in the calling application's
|
122
|
+
database.
|
123
|
+
</remarks>
|
124
|
+
</documentation>
|
125
|
+
</annotation>
|
126
|
+
</element>
|
127
|
+
<element name="call-back-url" type="wc-types:stringnz" minOccurs="0" maxOccurs="1">
|
128
|
+
<annotation>
|
129
|
+
<documentation>
|
130
|
+
<summary>
|
131
|
+
A URL for call back once the connect request is validated.
|
132
|
+
</summary>
|
133
|
+
|
134
|
+
<remarks>
|
135
|
+
Currently not supported.
|
136
|
+
</remarks>
|
137
|
+
</documentation>
|
138
|
+
</annotation>
|
139
|
+
</element>
|
140
|
+
</sequence>
|
141
|
+
</complexType>
|
142
|
+
</element>
|
143
|
+
</schema>
|
@@ -0,0 +1,75 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.DeleteOpenQuery"
|
4
|
+
xmlns:wc-doq="urn:com.microsoft.wc.methods.DeleteOpenQuery"
|
5
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
6
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
7
|
+
|
8
|
+
<!--
|
9
|
+
|
10
|
+
METHOD-DELETEOPENQUERY.XSD
|
11
|
+
Microsoft Wildcat
|
12
|
+
|
13
|
+
Platform API: Info schema for DeleteOpenQuery method
|
14
|
+
-->
|
15
|
+
|
16
|
+
<import
|
17
|
+
namespace="urn:com.microsoft.wc.types"
|
18
|
+
schemaLocation="types.xsd" />
|
19
|
+
|
20
|
+
<annotation>
|
21
|
+
<documentation>
|
22
|
+
<summary>
|
23
|
+
Deletes a saved open query given the query identifier.
|
24
|
+
</summary>
|
25
|
+
|
26
|
+
<remarks>
|
27
|
+
Deletes a previously created query using the SaveOpenQuery
|
28
|
+
method. Expired open queries no longer exists in the
|
29
|
+
system, and don't need an explicit call to DeleteOpenQuery
|
30
|
+
to remove them.
|
31
|
+
</remarks>
|
32
|
+
<method-visibility>Public</method-visibility>
|
33
|
+
</documentation>
|
34
|
+
</annotation>
|
35
|
+
|
36
|
+
<element name="info">
|
37
|
+
<complexType>
|
38
|
+
<annotation>
|
39
|
+
<documentation>
|
40
|
+
<summary>
|
41
|
+
The element of the request that contains the method
|
42
|
+
specific parameters.
|
43
|
+
</summary>
|
44
|
+
|
45
|
+
<remarks>
|
46
|
+
All requests contain the info element to pass parameters
|
47
|
+
that are specific to each method. If the method does not
|
48
|
+
define an info element, the method does not take any
|
49
|
+
parameters.
|
50
|
+
</remarks>
|
51
|
+
</documentation>
|
52
|
+
</annotation>
|
53
|
+
<sequence>
|
54
|
+
<element name="query-id" type="wc-types:guid" >
|
55
|
+
<annotation>
|
56
|
+
<documentation>
|
57
|
+
<summary>
|
58
|
+
The identifier of the saved query that is to be deleted.
|
59
|
+
</summary>
|
60
|
+
|
61
|
+
<remarks>
|
62
|
+
When a query is saved by the SaveOpenQuery method
|
63
|
+
a unique identifier is issued by the Microsoft
|
64
|
+
Health Services. This identifier is used to delete
|
65
|
+
the saved query by calling the DeleteOpenQuery method.
|
66
|
+
</remarks>
|
67
|
+
</documentation>
|
68
|
+
</annotation>
|
69
|
+
</element>
|
70
|
+
|
71
|
+
</sequence>
|
72
|
+
</complexType>
|
73
|
+
</element>
|
74
|
+
|
75
|
+
</schema>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:com.microsoft.wc.methods.DeletePendingConnectRequest"
|
4
|
+
xmlns:wc-deletependingconnectrequest="urn:com.microsoft.wc.methods.DeletePendingConnectRequest"
|
5
|
+
xmlns:wc-types="urn:com.microsoft.wc.types"
|
6
|
+
xmlns="http://www.w3.org/2001/XMLSchema" >
|
7
|
+
|
8
|
+
<!--
|
9
|
+
|
10
|
+
METHOD-DELETEPENDINGCONNECTREQUEST.XSD
|
11
|
+
Microsoft Wildcat
|
12
|
+
|
13
|
+
Platform API: Info schema for DeletePendingConnectRequest method
|
14
|
+
|
15
|
+
-->
|
16
|
+
|
17
|
+
<import
|
18
|
+
namespace="urn:com.microsoft.wc.types"
|
19
|
+
schemaLocation="types.xsd" />
|
20
|
+
|
21
|
+
<annotation>
|
22
|
+
<documentation>
|
23
|
+
<summary>
|
24
|
+
Deletes the pending connect request for the supplied external id.
|
25
|
+
</summary>
|
26
|
+
|
27
|
+
<remarks>
|
28
|
+
This method should be used if the user loses the identity code, or is afraid it has
|
29
|
+
been compromised. The connect request will deleted only if it has not been
|
30
|
+
authorized.
|
31
|
+
</remarks>
|
32
|
+
<method-visibility>Public</method-visibility>
|
33
|
+
<errors>
|
34
|
+
<error id="ACCESS_DENIED">
|
35
|
+
If the calling application does not have method-level access rights to
|
36
|
+
the method.
|
37
|
+
</error>
|
38
|
+
</errors>
|
39
|
+
</documentation>
|
40
|
+
</annotation>
|
41
|
+
|
42
|
+
<!-- DeletePendingConnectRequest - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
43
|
+
|
44
|
+
<element name="info">
|
45
|
+
<complexType>
|
46
|
+
<annotation>
|
47
|
+
<documentation>
|
48
|
+
<summary>
|
49
|
+
The element of the request that contains the method
|
50
|
+
specific parameters.
|
51
|
+
</summary>
|
52
|
+
|
53
|
+
<remarks>
|
54
|
+
All requests contain the info element to pass parameters
|
55
|
+
that are specific to each method. If the method does not
|
56
|
+
define an info element, the method does not take any
|
57
|
+
parameters.
|
58
|
+
</remarks>
|
59
|
+
</documentation>
|
60
|
+
</annotation>
|
61
|
+
<sequence>
|
62
|
+
<element name="external-id" type="wc-types:stringnz">
|
63
|
+
<annotation>
|
64
|
+
<documentation>
|
65
|
+
<summary>
|
66
|
+
Specifies the external id for which the associated pending
|
67
|
+
connect request is removed.
|
68
|
+
</summary>
|
69
|
+
<remarks>
|
70
|
+
</remarks>
|
71
|
+
</documentation>
|
72
|
+
</annotation>
|
73
|
+
</element>
|
74
|
+
</sequence>
|
75
|
+
</complexType>
|
76
|
+
</element>
|
77
|
+
</schema>
|