candidhealth 1.0.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/auth/client.rb +7 -7
- data/lib/candidhealth/auth/{v_2 → default}/client.rb +39 -13
- data/lib/candidhealth/auth/{v_2 → default}/types/auth_get_token_response.rb +3 -3
- data/lib/candidhealth/auth/default/types/invalid_content_type_error_type.rb +60 -0
- data/lib/candidhealth/auth/{v_2 → default}/types/too_many_requests_error_type.rb +3 -3
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_base_optional.rb +62 -0
- data/lib/candidhealth/charge_capture/v_1/client.rb +532 -484
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture.rb +17 -1
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +173 -173
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_error.rb +26 -2
- data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +58 -0
- data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create_optional.rb +100 -0
- data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create_optional.rb +101 -0
- data/lib/candidhealth/commons/types/next_responsible_party.rb +16 -0
- data/lib/candidhealth/commons/types/phone_number_optional.rb +71 -0
- data/lib/candidhealth/commons/types/procedure_modifier.rb +2 -0
- data/lib/candidhealth/commons/types/street_address_long_zip_optional.rb +107 -0
- data/lib/candidhealth/contracts/v_2/client.rb +4 -4
- data/lib/candidhealth/custom_schemas/v_1/types/schema_instance_optional.rb +78 -0
- data/lib/candidhealth/diagnoses/client.rb +23 -4
- data/lib/candidhealth/diagnoses/types/diagnosis.rb +21 -2
- data/lib/candidhealth/diagnoses/types/diagnosis_create.rb +25 -2
- data/lib/candidhealth/diagnoses/types/diagnosis_create_optional.rb +126 -0
- data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +22 -2
- data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider_optional.rb +123 -0
- data/lib/candidhealth/encounters/v_4/client.rb +216 -208
- data/lib/candidhealth/encounters/v_4/types/claim_supplemental_information_optional.rb +86 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create_optional.rb +78 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note_optional.rb +93 -0
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +27 -4
- data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +4 -2
- data/lib/candidhealth/encounters/v_4/types/encounter_deep_optional.rb +780 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +1 -139
- data/lib/candidhealth/encounters/v_4/types/epsdt_referral_optional.rb +85 -0
- data/lib/candidhealth/encounters/v_4/types/intake_question_optional.rb +84 -0
- data/lib/candidhealth/encounters/v_4/types/intervention_optional.rb +114 -0
- data/lib/candidhealth/encounters/v_4/types/lab_optional.rb +80 -0
- data/lib/candidhealth/encounters/v_4/types/medication_optional.rb +108 -0
- data/lib/candidhealth/encounters/v_4/types/patient_history_category_optional.rb +78 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor_optional.rb +144 -0
- data/lib/candidhealth/individual/types/individual_base_optional.rb +78 -0
- data/lib/candidhealth/individual/types/patient_non_insurance_payer_info_create_optional.rb +89 -0
- data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +8 -8
- data/lib/candidhealth/individual/types/subscriber_base_optional.rb +118 -0
- data/lib/candidhealth/individual/types/subscriber_create_optional.rb +132 -0
- data/lib/candidhealth/insurance_adjudications/v_1/client.rb +2 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_create.rb +9 -1
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create_optional.rb +167 -0
- data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +1 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/authorization.rb +13 -1
- data/lib/candidhealth/service_lines/v_2/client.rb +4 -0
- data/lib/candidhealth/service_lines/v_2/types/drug_identification_optional.rb +126 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +10 -2
- data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +10 -2
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_optional.rb +247 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone.rb +10 -2
- data/lib/candidhealth/service_lines/v_2/types/service_line_update.rb +10 -2
- data/lib/candidhealth/service_lines/v_2/types/test_result_optional.rb +73 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_reason.rb +1 -0
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off_reason.rb +1 -0
- data/lib/candidhealth/yes_no_indicator/types/yes_no_indicator.rb +14 -0
- data/lib/core/oauth.rb +2 -2
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +33 -3
- metadata +35 -5
@@ -486,8 +486,10 @@ module CandidApiClient
|
|
486
486
|
# * :name (String)
|
487
487
|
# * :code_type (CandidApiClient::Diagnoses::Types::DiagnosisTypeCode)
|
488
488
|
# * :code (String)
|
489
|
+
# * :present_on_admission_indicator (CandidApiClient::YesNoIndicator::Types::YesNoIndicator)
|
489
490
|
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
490
|
-
# patient encounters.
|
491
|
+
# patient encounters. Please note that medical records for appeals should be sent
|
492
|
+
# using the Encounter Attachments API.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
491
493
|
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
492
494
|
# * :notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNote>)
|
493
495
|
# @param billing_notes [Array<Hash>] Spot to store misc, human-readable, notes about this encounter to be used
|
@@ -537,6 +539,7 @@ module CandidApiClient
|
|
537
539
|
# * :last_name (String)
|
538
540
|
# * :organization_name (String)
|
539
541
|
# * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
|
542
|
+
# * :note (String)
|
540
543
|
# @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorCreate, as a Hash
|
541
544
|
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
542
545
|
# * :phone_consent (Boolean)
|
@@ -830,10 +833,6 @@ module CandidApiClient
|
|
830
833
|
# date_of_service values.
|
831
834
|
# @param tag_ids [Array<String>] Names of tags that should be on the encounter. Note all tags on encounter will
|
832
835
|
# be overridden with this list.
|
833
|
-
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
834
|
-
# patient encounters.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
835
|
-
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
836
|
-
# * :notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNote>)
|
837
836
|
# @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
|
838
837
|
# Examples for when this should be set to NOT_BILLABLE include if the Encounter
|
839
838
|
# has not occurred yet or if there is no intention of ever billing the
|
@@ -860,6 +859,100 @@ module CandidApiClient
|
|
860
859
|
# encounter's end_date_of_service will fail. If all service line
|
861
860
|
# end_date_of_service values are the same, updating the encounter's
|
862
861
|
# end_date_of_service will update all service line date_of_service values.
|
862
|
+
# @param additional_information [String] Defines additional information on the claim needed by the payer.
|
863
|
+
# Box 19 on the CMS-1500 claim form.
|
864
|
+
# @param service_authorization_exception_code [CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode] 837p Loop2300 REF*4N
|
865
|
+
# Required when mandated by government law or regulation to obtain authorization
|
866
|
+
# for specific service(s) but, for the
|
867
|
+
# reasons listed in one of the enum values of ServiceAuthorizationExceptionCode,
|
868
|
+
# the service was performed without
|
869
|
+
# obtaining the authorization.
|
870
|
+
# @param admission_date [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18
|
871
|
+
# Required on all ambulance claims when the patient was known to be admitted to
|
872
|
+
# the hospital.
|
873
|
+
# OR
|
874
|
+
# Required on all claims involving inpatient medical visits.
|
875
|
+
# @param discharge_date [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18
|
876
|
+
# Required for inpatient claims when the patient was discharged from the facility
|
877
|
+
# and the discharge date is known.
|
878
|
+
# @param onset_of_current_illness_or_symptom_date [Date] 837p Loop2300 DTP*431, CMS-1500 Box 14
|
879
|
+
# Required for the initial medical service or visit performed in response to a
|
880
|
+
# medical emergency when the date is available and is different than the date of
|
881
|
+
# service.
|
882
|
+
# OR
|
883
|
+
# This date is the onset of acute symptoms for the current illness or condition.
|
884
|
+
# @param last_menstrual_period_date [Date] 837p Loop2300 DTP*484, CMS-1500 Box 14
|
885
|
+
# Required when, in the judgment of the provider, the services on this claim are
|
886
|
+
# related to the patient's pregnancy.de
|
887
|
+
# @param delay_reason_code [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
|
888
|
+
# Code indicating the reason why a request was delayed
|
889
|
+
# @param patient_authorized_release [Boolean] Whether this patient has authorized the release of medical information
|
890
|
+
# for billing purpose.
|
891
|
+
# Box 12 on the CMS-1500 claim form.
|
892
|
+
# @param vitals [Hash] If a vitals entity already exists for the encounter, then all values will be
|
893
|
+
# updated to the provided values.
|
894
|
+
# Otherwise, a new vitals object will be created for the encounter.Request of type CandidApiClient::Encounters::V4::Types::VitalsUpdate, as a Hash
|
895
|
+
# * :height_in (Integer)
|
896
|
+
# * :weight_lbs (Integer)
|
897
|
+
# * :blood_pressure_systolic_mmhg (Integer)
|
898
|
+
# * :blood_pressure_diastolic_mmhg (Integer)
|
899
|
+
# * :body_temperature_f (Float)
|
900
|
+
# * :hemoglobin_gdl (Float)
|
901
|
+
# * :hematocrit_pct (Float)
|
902
|
+
# @param referral_number [String] Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
903
|
+
# @param secondary_payer_carrier_code [String] When Medicaid is billed as the secondary payer the Carrier Code is used to
|
904
|
+
# identify the primary payer. This is required for certain states.
|
905
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
906
|
+
# @param _field_set [Object]
|
907
|
+
# @param epsdt_referral [Hash] Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the
|
908
|
+
# 837P formRequest of type CandidApiClient::Encounters::V4::Types::EpsdtReferral, as a Hash
|
909
|
+
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
910
|
+
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
911
|
+
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
912
|
+
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
913
|
+
# patient encounters. Please note that medical records for appeals should be sent
|
914
|
+
# using the Encounter Attachments API.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
915
|
+
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
916
|
+
# * :notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNote>)
|
917
|
+
# @param claim_supplemental_information [Array<Hash>] Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are
|
918
|
+
# permitted.Request of type Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>, as a Hash
|
919
|
+
# * :attachment_report_type_code (CandidApiClient::Encounters::V4::Types::ReportTypeCode)
|
920
|
+
# * :attachment_transmission_code (CandidApiClient::Encounters::V4::Types::ReportTransmissionCode)
|
921
|
+
# * :attachment_control_number (String)
|
922
|
+
# @param schema_instances [Array<Hash>] Key-value pairs that must adhere to a schema created via the Custom Schema API.
|
923
|
+
# Multiple schema
|
924
|
+
# instances cannot be created for the same schema on an encounter. Updating schema
|
925
|
+
# instances utilizes PUT
|
926
|
+
# semantics, so the schema instances on the encounter will be set to whatever
|
927
|
+
# inputs are provided. If null
|
928
|
+
# is provided as an input, then the encounter's schema instances will be cleared.Request of type Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>, as a Hash
|
929
|
+
# * :schema_id (String)
|
930
|
+
# * :content (Hash{String => Object})
|
931
|
+
# @param existing_medications [Array<Hash>] Existing medications that should be on the encounter.
|
932
|
+
# Note all current existing medications on encounter will be overridden with this
|
933
|
+
# list.Request of type Array<CandidApiClient::Encounters::V4::Types::Medication>, as a Hash
|
934
|
+
# * :name (String)
|
935
|
+
# * :rx_cui (String)
|
936
|
+
# * :dosage (String)
|
937
|
+
# * :dosage_form (String)
|
938
|
+
# * :frequency (String)
|
939
|
+
# * :as_needed (Boolean)
|
940
|
+
# @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorUpdate, as a Hash
|
941
|
+
# * :first_name (String)
|
942
|
+
# * :last_name (String)
|
943
|
+
# * :external_id (String)
|
944
|
+
# * :date_of_birth (Date)
|
945
|
+
# * :address (Hash)
|
946
|
+
# * :zip_plus_four_code (String)
|
947
|
+
# * :address_1 (String)
|
948
|
+
# * :address_2 (String)
|
949
|
+
# * :city (String)
|
950
|
+
# * :state (CandidApiClient::Commons::Types::State)
|
951
|
+
# * :zip_code (String)
|
952
|
+
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
953
|
+
# * :phone_consent (Boolean)
|
954
|
+
# * :email (String)
|
955
|
+
# * :email_consent (Boolean)
|
863
956
|
# @param subscriber_primary [Hash] Contains details of the primary insurance subscriber.Request of type CandidApiClient::Individual::Types::SubscriberCreate, as a Hash
|
864
957
|
# * :insurance_card (Hash)
|
865
958
|
# * :member_id (String)
|
@@ -941,95 +1034,6 @@ module CandidApiClient
|
|
941
1034
|
# * :first_name (String)
|
942
1035
|
# * :last_name (String)
|
943
1036
|
# * :gender (CandidApiClient::Individual::Types::Gender)
|
944
|
-
# @param additional_information [String] Defines additional information on the claim needed by the payer.
|
945
|
-
# Box 19 on the CMS-1500 claim form.
|
946
|
-
# @param service_authorization_exception_code [CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode] 837p Loop2300 REF*4N
|
947
|
-
# Required when mandated by government law or regulation to obtain authorization
|
948
|
-
# for specific service(s) but, for the
|
949
|
-
# reasons listed in one of the enum values of ServiceAuthorizationExceptionCode,
|
950
|
-
# the service was performed without
|
951
|
-
# obtaining the authorization.
|
952
|
-
# @param admission_date [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18
|
953
|
-
# Required on all ambulance claims when the patient was known to be admitted to
|
954
|
-
# the hospital.
|
955
|
-
# OR
|
956
|
-
# Required on all claims involving inpatient medical visits.
|
957
|
-
# @param discharge_date [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18
|
958
|
-
# Required for inpatient claims when the patient was discharged from the facility
|
959
|
-
# and the discharge date is known.
|
960
|
-
# @param onset_of_current_illness_or_symptom_date [Date] 837p Loop2300 DTP*431, CMS-1500 Box 14
|
961
|
-
# Required for the initial medical service or visit performed in response to a
|
962
|
-
# medical emergency when the date is available and is different than the date of
|
963
|
-
# service.
|
964
|
-
# OR
|
965
|
-
# This date is the onset of acute symptoms for the current illness or condition.
|
966
|
-
# @param last_menstrual_period_date [Date] 837p Loop2300 DTP*484, CMS-1500 Box 14
|
967
|
-
# Required when, in the judgment of the provider, the services on this claim are
|
968
|
-
# related to the patient's pregnancy.de
|
969
|
-
# @param delay_reason_code [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
|
970
|
-
# Code indicating the reason why a request was delayed
|
971
|
-
# @param patient_authorized_release [Boolean] Whether this patient has authorized the release of medical information
|
972
|
-
# for billing purpose.
|
973
|
-
# Box 12 on the CMS-1500 claim form.
|
974
|
-
# @param schema_instances [Array<Hash>] Key-value pairs that must adhere to a schema created via the Custom Schema API.
|
975
|
-
# Multiple schema
|
976
|
-
# instances cannot be created for the same schema on an encounter. Updating schema
|
977
|
-
# instances utilizes PUT
|
978
|
-
# semantics, so the schema instances on the encounter will be set to whatever
|
979
|
-
# inputs are provided. If null
|
980
|
-
# is provided as an input, then the encounter's schema instances will be cleared.Request of type Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>, as a Hash
|
981
|
-
# * :schema_id (String)
|
982
|
-
# * :content (Hash{String => Object})
|
983
|
-
# @param vitals [Hash] If a vitals entity already exists for the encounter, then all values will be
|
984
|
-
# updated to the provided values.
|
985
|
-
# Otherwise, a new vitals object will be created for the encounter.Request of type CandidApiClient::Encounters::V4::Types::VitalsUpdate, as a Hash
|
986
|
-
# * :height_in (Integer)
|
987
|
-
# * :weight_lbs (Integer)
|
988
|
-
# * :blood_pressure_systolic_mmhg (Integer)
|
989
|
-
# * :blood_pressure_diastolic_mmhg (Integer)
|
990
|
-
# * :body_temperature_f (Float)
|
991
|
-
# * :hemoglobin_gdl (Float)
|
992
|
-
# * :hematocrit_pct (Float)
|
993
|
-
# @param existing_medications [Array<Hash>] Existing medications that should be on the encounter.
|
994
|
-
# Note all current existing medications on encounter will be overridden with this
|
995
|
-
# list.Request of type Array<CandidApiClient::Encounters::V4::Types::Medication>, as a Hash
|
996
|
-
# * :name (String)
|
997
|
-
# * :rx_cui (String)
|
998
|
-
# * :dosage (String)
|
999
|
-
# * :dosage_form (String)
|
1000
|
-
# * :frequency (String)
|
1001
|
-
# * :as_needed (Boolean)
|
1002
|
-
# @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorUpdate, as a Hash
|
1003
|
-
# * :first_name (String)
|
1004
|
-
# * :last_name (String)
|
1005
|
-
# * :external_id (String)
|
1006
|
-
# * :date_of_birth (Date)
|
1007
|
-
# * :address (Hash)
|
1008
|
-
# * :zip_plus_four_code (String)
|
1009
|
-
# * :address_1 (String)
|
1010
|
-
# * :address_2 (String)
|
1011
|
-
# * :city (String)
|
1012
|
-
# * :state (CandidApiClient::Commons::Types::State)
|
1013
|
-
# * :zip_code (String)
|
1014
|
-
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
1015
|
-
# * :phone_consent (Boolean)
|
1016
|
-
# * :email (String)
|
1017
|
-
# * :email_consent (Boolean)
|
1018
|
-
# @param referral_number [String] Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
1019
|
-
# @param epsdt_referral [Hash] Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the
|
1020
|
-
# 837P formRequest of type CandidApiClient::Encounters::V4::Types::EpsdtReferral, as a Hash
|
1021
|
-
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
1022
|
-
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
1023
|
-
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
1024
|
-
# @param claim_supplemental_information [Array<Hash>] Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are
|
1025
|
-
# permitted.Request of type Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>, as a Hash
|
1026
|
-
# * :attachment_report_type_code (CandidApiClient::Encounters::V4::Types::ReportTypeCode)
|
1027
|
-
# * :attachment_transmission_code (CandidApiClient::Encounters::V4::Types::ReportTransmissionCode)
|
1028
|
-
# * :attachment_control_number (String)
|
1029
|
-
# @param secondary_payer_carrier_code [String] When Medicaid is billed as the secondary payer the Carrier Code is used to
|
1030
|
-
# identify the primary payer. This is required for certain states.
|
1031
|
-
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
1032
|
-
# @param _field_set [Object]
|
1033
1037
|
# @param pay_to_address [Hash] Specifies the address to which payments for the claim should be sent.Request of type CandidApiClient::Commons::Types::StreetAddressLongZip, as a Hash
|
1034
1038
|
# * :zip_plus_four_code (String)
|
1035
1039
|
# * :address_1 (String)
|
@@ -1177,7 +1181,7 @@ module CandidApiClient
|
|
1177
1181
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
1178
1182
|
# api.encounters.v_4.update(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
1179
1183
|
def update(encounter_id:, benefits_assigned_to_provider: nil, prior_authorization_number: nil,
|
1180
|
-
external_id: nil, date_of_service: nil, tag_ids: nil,
|
1184
|
+
external_id: nil, date_of_service: nil, tag_ids: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, synchronicity: nil, place_of_service_code: nil, appointment_type: nil, end_date_of_service: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient_authorized_release: nil, vitals: nil, referral_number: nil, secondary_payer_carrier_code: nil, additional_properties: nil, _field_set: nil, epsdt_referral: nil, clinical_notes: nil, claim_supplemental_information: nil, schema_instances: nil, existing_medications: nil, guarantor: nil, subscriber_primary: nil, subscriber_secondary: nil, subscriber_tertiary: nil, pay_to_address: nil, diagnosis_ids: nil, initial_referring_provider: nil, referring_provider: nil, patient: nil, rendering_provider: nil, service_facility: nil, supervising_provider: nil, billing_provider: nil, place_of_service_code_as_submitted: nil, request_options: nil)
|
1181
1185
|
response = @request_client.conn.patch do |req|
|
1182
1186
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
1183
1187
|
req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
|
@@ -1193,7 +1197,6 @@ module CandidApiClient
|
|
1193
1197
|
external_id: external_id,
|
1194
1198
|
date_of_service: date_of_service,
|
1195
1199
|
tag_ids: tag_ids,
|
1196
|
-
clinical_notes: clinical_notes,
|
1197
1200
|
billable_status: billable_status,
|
1198
1201
|
responsible_party: responsible_party,
|
1199
1202
|
provider_accepts_assignment: provider_accepts_assignment,
|
@@ -1201,9 +1204,6 @@ module CandidApiClient
|
|
1201
1204
|
place_of_service_code: place_of_service_code,
|
1202
1205
|
appointment_type: appointment_type,
|
1203
1206
|
end_date_of_service: end_date_of_service,
|
1204
|
-
subscriber_primary: subscriber_primary,
|
1205
|
-
subscriber_secondary: subscriber_secondary,
|
1206
|
-
subscriber_tertiary: subscriber_tertiary,
|
1207
1207
|
additional_information: additional_information,
|
1208
1208
|
service_authorization_exception_code: service_authorization_exception_code,
|
1209
1209
|
admission_date: admission_date,
|
@@ -1212,16 +1212,20 @@ module CandidApiClient
|
|
1212
1212
|
last_menstrual_period_date: last_menstrual_period_date,
|
1213
1213
|
delay_reason_code: delay_reason_code,
|
1214
1214
|
patient_authorized_release: patient_authorized_release,
|
1215
|
-
schema_instances: schema_instances,
|
1216
1215
|
vitals: vitals,
|
1217
|
-
existing_medications: existing_medications,
|
1218
|
-
guarantor: guarantor,
|
1219
1216
|
referral_number: referral_number,
|
1220
|
-
epsdt_referral: epsdt_referral,
|
1221
|
-
claim_supplemental_information: claim_supplemental_information,
|
1222
1217
|
secondary_payer_carrier_code: secondary_payer_carrier_code,
|
1223
1218
|
additional_properties: additional_properties,
|
1224
1219
|
_field_set: _field_set,
|
1220
|
+
epsdt_referral: epsdt_referral,
|
1221
|
+
clinical_notes: clinical_notes,
|
1222
|
+
claim_supplemental_information: claim_supplemental_information,
|
1223
|
+
schema_instances: schema_instances,
|
1224
|
+
existing_medications: existing_medications,
|
1225
|
+
guarantor: guarantor,
|
1226
|
+
subscriber_primary: subscriber_primary,
|
1227
|
+
subscriber_secondary: subscriber_secondary,
|
1228
|
+
subscriber_tertiary: subscriber_tertiary,
|
1225
1229
|
pay_to_address: pay_to_address,
|
1226
1230
|
diagnosis_ids: diagnosis_ids,
|
1227
1231
|
initial_referring_provider: initial_referring_provider,
|
@@ -1679,8 +1683,10 @@ module CandidApiClient
|
|
1679
1683
|
# * :name (String)
|
1680
1684
|
# * :code_type (CandidApiClient::Diagnoses::Types::DiagnosisTypeCode)
|
1681
1685
|
# * :code (String)
|
1686
|
+
# * :present_on_admission_indicator (CandidApiClient::YesNoIndicator::Types::YesNoIndicator)
|
1682
1687
|
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
1683
|
-
# patient encounters.
|
1688
|
+
# patient encounters. Please note that medical records for appeals should be sent
|
1689
|
+
# using the Encounter Attachments API.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
1684
1690
|
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
1685
1691
|
# * :notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNote>)
|
1686
1692
|
# @param billing_notes [Array<Hash>] Spot to store misc, human-readable, notes about this encounter to be used
|
@@ -1730,6 +1736,7 @@ module CandidApiClient
|
|
1730
1736
|
# * :last_name (String)
|
1731
1737
|
# * :organization_name (String)
|
1732
1738
|
# * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
|
1739
|
+
# * :note (String)
|
1733
1740
|
# @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorCreate, as a Hash
|
1734
1741
|
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
1735
1742
|
# * :phone_consent (Boolean)
|
@@ -2027,10 +2034,6 @@ module CandidApiClient
|
|
2027
2034
|
# date_of_service values.
|
2028
2035
|
# @param tag_ids [Array<String>] Names of tags that should be on the encounter. Note all tags on encounter will
|
2029
2036
|
# be overridden with this list.
|
2030
|
-
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
2031
|
-
# patient encounters.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
2032
|
-
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
2033
|
-
# * :notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNote>)
|
2034
2037
|
# @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
|
2035
2038
|
# Examples for when this should be set to NOT_BILLABLE include if the Encounter
|
2036
2039
|
# has not occurred yet or if there is no intention of ever billing the
|
@@ -2057,6 +2060,100 @@ module CandidApiClient
|
|
2057
2060
|
# encounter's end_date_of_service will fail. If all service line
|
2058
2061
|
# end_date_of_service values are the same, updating the encounter's
|
2059
2062
|
# end_date_of_service will update all service line date_of_service values.
|
2063
|
+
# @param additional_information [String] Defines additional information on the claim needed by the payer.
|
2064
|
+
# Box 19 on the CMS-1500 claim form.
|
2065
|
+
# @param service_authorization_exception_code [CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode] 837p Loop2300 REF*4N
|
2066
|
+
# Required when mandated by government law or regulation to obtain authorization
|
2067
|
+
# for specific service(s) but, for the
|
2068
|
+
# reasons listed in one of the enum values of ServiceAuthorizationExceptionCode,
|
2069
|
+
# the service was performed without
|
2070
|
+
# obtaining the authorization.
|
2071
|
+
# @param admission_date [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18
|
2072
|
+
# Required on all ambulance claims when the patient was known to be admitted to
|
2073
|
+
# the hospital.
|
2074
|
+
# OR
|
2075
|
+
# Required on all claims involving inpatient medical visits.
|
2076
|
+
# @param discharge_date [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18
|
2077
|
+
# Required for inpatient claims when the patient was discharged from the facility
|
2078
|
+
# and the discharge date is known.
|
2079
|
+
# @param onset_of_current_illness_or_symptom_date [Date] 837p Loop2300 DTP*431, CMS-1500 Box 14
|
2080
|
+
# Required for the initial medical service or visit performed in response to a
|
2081
|
+
# medical emergency when the date is available and is different than the date of
|
2082
|
+
# service.
|
2083
|
+
# OR
|
2084
|
+
# This date is the onset of acute symptoms for the current illness or condition.
|
2085
|
+
# @param last_menstrual_period_date [Date] 837p Loop2300 DTP*484, CMS-1500 Box 14
|
2086
|
+
# Required when, in the judgment of the provider, the services on this claim are
|
2087
|
+
# related to the patient's pregnancy.de
|
2088
|
+
# @param delay_reason_code [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
|
2089
|
+
# Code indicating the reason why a request was delayed
|
2090
|
+
# @param patient_authorized_release [Boolean] Whether this patient has authorized the release of medical information
|
2091
|
+
# for billing purpose.
|
2092
|
+
# Box 12 on the CMS-1500 claim form.
|
2093
|
+
# @param vitals [Hash] If a vitals entity already exists for the encounter, then all values will be
|
2094
|
+
# updated to the provided values.
|
2095
|
+
# Otherwise, a new vitals object will be created for the encounter.Request of type CandidApiClient::Encounters::V4::Types::VitalsUpdate, as a Hash
|
2096
|
+
# * :height_in (Integer)
|
2097
|
+
# * :weight_lbs (Integer)
|
2098
|
+
# * :blood_pressure_systolic_mmhg (Integer)
|
2099
|
+
# * :blood_pressure_diastolic_mmhg (Integer)
|
2100
|
+
# * :body_temperature_f (Float)
|
2101
|
+
# * :hemoglobin_gdl (Float)
|
2102
|
+
# * :hematocrit_pct (Float)
|
2103
|
+
# @param referral_number [String] Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
2104
|
+
# @param secondary_payer_carrier_code [String] When Medicaid is billed as the secondary payer the Carrier Code is used to
|
2105
|
+
# identify the primary payer. This is required for certain states.
|
2106
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
2107
|
+
# @param _field_set [Object]
|
2108
|
+
# @param epsdt_referral [Hash] Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the
|
2109
|
+
# 837P formRequest of type CandidApiClient::Encounters::V4::Types::EpsdtReferral, as a Hash
|
2110
|
+
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
2111
|
+
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
2112
|
+
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
2113
|
+
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
2114
|
+
# patient encounters. Please note that medical records for appeals should be sent
|
2115
|
+
# using the Encounter Attachments API.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
2116
|
+
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
2117
|
+
# * :notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNote>)
|
2118
|
+
# @param claim_supplemental_information [Array<Hash>] Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are
|
2119
|
+
# permitted.Request of type Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>, as a Hash
|
2120
|
+
# * :attachment_report_type_code (CandidApiClient::Encounters::V4::Types::ReportTypeCode)
|
2121
|
+
# * :attachment_transmission_code (CandidApiClient::Encounters::V4::Types::ReportTransmissionCode)
|
2122
|
+
# * :attachment_control_number (String)
|
2123
|
+
# @param schema_instances [Array<Hash>] Key-value pairs that must adhere to a schema created via the Custom Schema API.
|
2124
|
+
# Multiple schema
|
2125
|
+
# instances cannot be created for the same schema on an encounter. Updating schema
|
2126
|
+
# instances utilizes PUT
|
2127
|
+
# semantics, so the schema instances on the encounter will be set to whatever
|
2128
|
+
# inputs are provided. If null
|
2129
|
+
# is provided as an input, then the encounter's schema instances will be cleared.Request of type Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>, as a Hash
|
2130
|
+
# * :schema_id (String)
|
2131
|
+
# * :content (Hash{String => Object})
|
2132
|
+
# @param existing_medications [Array<Hash>] Existing medications that should be on the encounter.
|
2133
|
+
# Note all current existing medications on encounter will be overridden with this
|
2134
|
+
# list.Request of type Array<CandidApiClient::Encounters::V4::Types::Medication>, as a Hash
|
2135
|
+
# * :name (String)
|
2136
|
+
# * :rx_cui (String)
|
2137
|
+
# * :dosage (String)
|
2138
|
+
# * :dosage_form (String)
|
2139
|
+
# * :frequency (String)
|
2140
|
+
# * :as_needed (Boolean)
|
2141
|
+
# @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorUpdate, as a Hash
|
2142
|
+
# * :first_name (String)
|
2143
|
+
# * :last_name (String)
|
2144
|
+
# * :external_id (String)
|
2145
|
+
# * :date_of_birth (Date)
|
2146
|
+
# * :address (Hash)
|
2147
|
+
# * :zip_plus_four_code (String)
|
2148
|
+
# * :address_1 (String)
|
2149
|
+
# * :address_2 (String)
|
2150
|
+
# * :city (String)
|
2151
|
+
# * :state (CandidApiClient::Commons::Types::State)
|
2152
|
+
# * :zip_code (String)
|
2153
|
+
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
2154
|
+
# * :phone_consent (Boolean)
|
2155
|
+
# * :email (String)
|
2156
|
+
# * :email_consent (Boolean)
|
2060
2157
|
# @param subscriber_primary [Hash] Contains details of the primary insurance subscriber.Request of type CandidApiClient::Individual::Types::SubscriberCreate, as a Hash
|
2061
2158
|
# * :insurance_card (Hash)
|
2062
2159
|
# * :member_id (String)
|
@@ -2138,95 +2235,6 @@ module CandidApiClient
|
|
2138
2235
|
# * :first_name (String)
|
2139
2236
|
# * :last_name (String)
|
2140
2237
|
# * :gender (CandidApiClient::Individual::Types::Gender)
|
2141
|
-
# @param additional_information [String] Defines additional information on the claim needed by the payer.
|
2142
|
-
# Box 19 on the CMS-1500 claim form.
|
2143
|
-
# @param service_authorization_exception_code [CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode] 837p Loop2300 REF*4N
|
2144
|
-
# Required when mandated by government law or regulation to obtain authorization
|
2145
|
-
# for specific service(s) but, for the
|
2146
|
-
# reasons listed in one of the enum values of ServiceAuthorizationExceptionCode,
|
2147
|
-
# the service was performed without
|
2148
|
-
# obtaining the authorization.
|
2149
|
-
# @param admission_date [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18
|
2150
|
-
# Required on all ambulance claims when the patient was known to be admitted to
|
2151
|
-
# the hospital.
|
2152
|
-
# OR
|
2153
|
-
# Required on all claims involving inpatient medical visits.
|
2154
|
-
# @param discharge_date [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18
|
2155
|
-
# Required for inpatient claims when the patient was discharged from the facility
|
2156
|
-
# and the discharge date is known.
|
2157
|
-
# @param onset_of_current_illness_or_symptom_date [Date] 837p Loop2300 DTP*431, CMS-1500 Box 14
|
2158
|
-
# Required for the initial medical service or visit performed in response to a
|
2159
|
-
# medical emergency when the date is available and is different than the date of
|
2160
|
-
# service.
|
2161
|
-
# OR
|
2162
|
-
# This date is the onset of acute symptoms for the current illness or condition.
|
2163
|
-
# @param last_menstrual_period_date [Date] 837p Loop2300 DTP*484, CMS-1500 Box 14
|
2164
|
-
# Required when, in the judgment of the provider, the services on this claim are
|
2165
|
-
# related to the patient's pregnancy.de
|
2166
|
-
# @param delay_reason_code [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
|
2167
|
-
# Code indicating the reason why a request was delayed
|
2168
|
-
# @param patient_authorized_release [Boolean] Whether this patient has authorized the release of medical information
|
2169
|
-
# for billing purpose.
|
2170
|
-
# Box 12 on the CMS-1500 claim form.
|
2171
|
-
# @param schema_instances [Array<Hash>] Key-value pairs that must adhere to a schema created via the Custom Schema API.
|
2172
|
-
# Multiple schema
|
2173
|
-
# instances cannot be created for the same schema on an encounter. Updating schema
|
2174
|
-
# instances utilizes PUT
|
2175
|
-
# semantics, so the schema instances on the encounter will be set to whatever
|
2176
|
-
# inputs are provided. If null
|
2177
|
-
# is provided as an input, then the encounter's schema instances will be cleared.Request of type Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>, as a Hash
|
2178
|
-
# * :schema_id (String)
|
2179
|
-
# * :content (Hash{String => Object})
|
2180
|
-
# @param vitals [Hash] If a vitals entity already exists for the encounter, then all values will be
|
2181
|
-
# updated to the provided values.
|
2182
|
-
# Otherwise, a new vitals object will be created for the encounter.Request of type CandidApiClient::Encounters::V4::Types::VitalsUpdate, as a Hash
|
2183
|
-
# * :height_in (Integer)
|
2184
|
-
# * :weight_lbs (Integer)
|
2185
|
-
# * :blood_pressure_systolic_mmhg (Integer)
|
2186
|
-
# * :blood_pressure_diastolic_mmhg (Integer)
|
2187
|
-
# * :body_temperature_f (Float)
|
2188
|
-
# * :hemoglobin_gdl (Float)
|
2189
|
-
# * :hematocrit_pct (Float)
|
2190
|
-
# @param existing_medications [Array<Hash>] Existing medications that should be on the encounter.
|
2191
|
-
# Note all current existing medications on encounter will be overridden with this
|
2192
|
-
# list.Request of type Array<CandidApiClient::Encounters::V4::Types::Medication>, as a Hash
|
2193
|
-
# * :name (String)
|
2194
|
-
# * :rx_cui (String)
|
2195
|
-
# * :dosage (String)
|
2196
|
-
# * :dosage_form (String)
|
2197
|
-
# * :frequency (String)
|
2198
|
-
# * :as_needed (Boolean)
|
2199
|
-
# @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorUpdate, as a Hash
|
2200
|
-
# * :first_name (String)
|
2201
|
-
# * :last_name (String)
|
2202
|
-
# * :external_id (String)
|
2203
|
-
# * :date_of_birth (Date)
|
2204
|
-
# * :address (Hash)
|
2205
|
-
# * :zip_plus_four_code (String)
|
2206
|
-
# * :address_1 (String)
|
2207
|
-
# * :address_2 (String)
|
2208
|
-
# * :city (String)
|
2209
|
-
# * :state (CandidApiClient::Commons::Types::State)
|
2210
|
-
# * :zip_code (String)
|
2211
|
-
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
2212
|
-
# * :phone_consent (Boolean)
|
2213
|
-
# * :email (String)
|
2214
|
-
# * :email_consent (Boolean)
|
2215
|
-
# @param referral_number [String] Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
2216
|
-
# @param epsdt_referral [Hash] Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the
|
2217
|
-
# 837P formRequest of type CandidApiClient::Encounters::V4::Types::EpsdtReferral, as a Hash
|
2218
|
-
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
2219
|
-
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
2220
|
-
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
2221
|
-
# @param claim_supplemental_information [Array<Hash>] Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are
|
2222
|
-
# permitted.Request of type Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>, as a Hash
|
2223
|
-
# * :attachment_report_type_code (CandidApiClient::Encounters::V4::Types::ReportTypeCode)
|
2224
|
-
# * :attachment_transmission_code (CandidApiClient::Encounters::V4::Types::ReportTransmissionCode)
|
2225
|
-
# * :attachment_control_number (String)
|
2226
|
-
# @param secondary_payer_carrier_code [String] When Medicaid is billed as the secondary payer the Carrier Code is used to
|
2227
|
-
# identify the primary payer. This is required for certain states.
|
2228
|
-
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
2229
|
-
# @param _field_set [Object]
|
2230
2238
|
# @param pay_to_address [Hash] Specifies the address to which payments for the claim should be sent.Request of type CandidApiClient::Commons::Types::StreetAddressLongZip, as a Hash
|
2231
2239
|
# * :zip_plus_four_code (String)
|
2232
2240
|
# * :address_1 (String)
|
@@ -2374,7 +2382,7 @@ module CandidApiClient
|
|
2374
2382
|
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
2375
2383
|
# api.encounters.v_4.update(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
2376
2384
|
def update(encounter_id:, benefits_assigned_to_provider: nil, prior_authorization_number: nil,
|
2377
|
-
external_id: nil, date_of_service: nil, tag_ids: nil,
|
2385
|
+
external_id: nil, date_of_service: nil, tag_ids: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, synchronicity: nil, place_of_service_code: nil, appointment_type: nil, end_date_of_service: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient_authorized_release: nil, vitals: nil, referral_number: nil, secondary_payer_carrier_code: nil, additional_properties: nil, _field_set: nil, epsdt_referral: nil, clinical_notes: nil, claim_supplemental_information: nil, schema_instances: nil, existing_medications: nil, guarantor: nil, subscriber_primary: nil, subscriber_secondary: nil, subscriber_tertiary: nil, pay_to_address: nil, diagnosis_ids: nil, initial_referring_provider: nil, referring_provider: nil, patient: nil, rendering_provider: nil, service_facility: nil, supervising_provider: nil, billing_provider: nil, place_of_service_code_as_submitted: nil, request_options: nil)
|
2378
2386
|
Async do
|
2379
2387
|
response = @request_client.conn.patch do |req|
|
2380
2388
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -2391,7 +2399,6 @@ module CandidApiClient
|
|
2391
2399
|
external_id: external_id,
|
2392
2400
|
date_of_service: date_of_service,
|
2393
2401
|
tag_ids: tag_ids,
|
2394
|
-
clinical_notes: clinical_notes,
|
2395
2402
|
billable_status: billable_status,
|
2396
2403
|
responsible_party: responsible_party,
|
2397
2404
|
provider_accepts_assignment: provider_accepts_assignment,
|
@@ -2399,9 +2406,6 @@ module CandidApiClient
|
|
2399
2406
|
place_of_service_code: place_of_service_code,
|
2400
2407
|
appointment_type: appointment_type,
|
2401
2408
|
end_date_of_service: end_date_of_service,
|
2402
|
-
subscriber_primary: subscriber_primary,
|
2403
|
-
subscriber_secondary: subscriber_secondary,
|
2404
|
-
subscriber_tertiary: subscriber_tertiary,
|
2405
2409
|
additional_information: additional_information,
|
2406
2410
|
service_authorization_exception_code: service_authorization_exception_code,
|
2407
2411
|
admission_date: admission_date,
|
@@ -2410,16 +2414,20 @@ module CandidApiClient
|
|
2410
2414
|
last_menstrual_period_date: last_menstrual_period_date,
|
2411
2415
|
delay_reason_code: delay_reason_code,
|
2412
2416
|
patient_authorized_release: patient_authorized_release,
|
2413
|
-
schema_instances: schema_instances,
|
2414
2417
|
vitals: vitals,
|
2415
|
-
existing_medications: existing_medications,
|
2416
|
-
guarantor: guarantor,
|
2417
2418
|
referral_number: referral_number,
|
2418
|
-
epsdt_referral: epsdt_referral,
|
2419
|
-
claim_supplemental_information: claim_supplemental_information,
|
2420
2419
|
secondary_payer_carrier_code: secondary_payer_carrier_code,
|
2421
2420
|
additional_properties: additional_properties,
|
2422
2421
|
_field_set: _field_set,
|
2422
|
+
epsdt_referral: epsdt_referral,
|
2423
|
+
clinical_notes: clinical_notes,
|
2424
|
+
claim_supplemental_information: claim_supplemental_information,
|
2425
|
+
schema_instances: schema_instances,
|
2426
|
+
existing_medications: existing_medications,
|
2427
|
+
guarantor: guarantor,
|
2428
|
+
subscriber_primary: subscriber_primary,
|
2429
|
+
subscriber_secondary: subscriber_secondary,
|
2430
|
+
subscriber_tertiary: subscriber_tertiary,
|
2423
2431
|
pay_to_address: pay_to_address,
|
2424
2432
|
diagnosis_ids: diagnosis_ids,
|
2425
2433
|
initial_referring_provider: initial_referring_provider,
|