diff --git a/lib/aca_entities/async_api/enroll/amqp_private_families_publish.yml b/lib/aca_entities/async_api/enroll/amqp_private_families_publish.yml new file mode 100644 index 000000000..57625641d --- /dev/null +++ b/lib/aca_entities/async_api/enroll/amqp_private_families_publish.yml @@ -0,0 +1,61 @@ +--- +asyncapi: 2.0.0 +info: + title: Enroll App Private Family Events Publisher + version: 0.1.0 + description: AMQP Publish configuration for the Enroll App services to publish private family events + contact: + name: IdeaCrew + url: https://ideacrew.com + email: info@ideacrew.com + license: + name: MIT + url: https://opensource.org/licenses/MIT + +servers: + development: + url: 'amqp://rabbitmq:5672/event_source' + protocol: :amqp + protocolVersion: '0.9.2' + description: RabbitMQ Test Server + production: + url: 'amqp://rabbitmq:5672/event_source' + protocol: :amqp + protocolVersion: '0.9.2' + description: RabbitMQ Production Server + test: + url: 'amqp://rabbitmq:5672/event_source' + protocol: :amqp + protocolVersion: '0.9.2' + description: RabbitMQ Test Server + +channels: + enroll.private.families.validate_cv_requested: + bindings: + amqp: + is: :routing_key + exchange: + name: enroll.private.families + type: topic + content_type: application/json + durable: true + auto_delete: false + vhost: event_source + binding_version: '0.2.0' + publish: + bindings: + amqp: + app_id: enroll + type: enroll.private.families + routing_key: enroll.private.families.validate_cv_requested + deliveryMode: 2 + mandatory: true + timestamp: true + content_type: application/json + bindingVersion: 0.2.0 + description: Events - Publishes private family event for CV validation + operationId: enroll.private.families.validate_cv_requested + +tags: + - name: linter_tag + description: placeholder that satisfies the linter diff --git a/lib/aca_entities/async_api/enroll/amqp_private_families_subscribe.yml b/lib/aca_entities/async_api/enroll/amqp_private_families_subscribe.yml new file mode 100644 index 000000000..4c8ed0f46 --- /dev/null +++ b/lib/aca_entities/async_api/enroll/amqp_private_families_subscribe.yml @@ -0,0 +1,59 @@ +--- +asyncapi: 2.0.0 +info: + title: Enroll App + version: 0.1.0 + description: AMQP Subscribe configuration for Enroll Private Family services + contact: + name: IdeaCrew + url: https://ideacrew.com + email: info@ideacrew.com + license: + name: MIT + url: https://opensource.org/licenses/MIT + +servers: + development: + url: amqp://rabbitmq:5672/event_source + protocol: amqp + protocolVersion: 0.9.2 + description: RabbitMQ Development Server + production: + url: amqp://rabbitmq:5672/event_source + protocol: amqp + protocolVersion: 0.9.2 + description: RabbitMQ Production Server + test: + url: amqp://rabbitmq:5672/event_source + protocol: amqp + protocolVersion: 0.9.2 + description: RabbitMQ Test Server + +defaultContentType: application/json + +channels: + on_enroll.enroll.private.families: + bindings: + amqp: + is: queue + queue: + name: on_enroll.enroll.private.families + durable: true + exclusive: false + auto_delete: false + vhost: event_source + subscribe: + bindings: + amqp: + ack: true + exclusive: false + routing_key: enroll.private.families.validate_cv_requested + prefetch: 1 + block: false + bindingVersion: '0.2.0' + operationId: on_enroll.enroll.private.families + description: placeholder that satisfies the linter + +tags: + - name: linter_tag + description: placeholder that satisfies the linter diff --git a/lib/aca_entities/atp/functions/applicant_builder.rb b/lib/aca_entities/atp/functions/applicant_builder.rb index 62ec030e1..ffd006ed4 100644 --- a/lib/aca_entities/atp/functions/applicant_builder.rb +++ b/lib/aca_entities/atp/functions/applicant_builder.rb @@ -21,13 +21,30 @@ def call(cache) enrolled_non_esi_indicator = get_enrolled_non_esi_indicator(enrolled_non_esi_benfits) esi_coverage_indicators = get_esi_coverage_indicators(esi_benefits) non_esi_policies = get_non_esi_policies(enrolled_non_esi_benfits) + referral_activity_hash = referral_activity(applicant) insurance_applicant = AcaEntities::Atp::Transformers::Aces::Applicant.transform(applicant) - insurance_applicant.merge!(enrolled_non_esi_indicator, esi_associations: esi_coverage_indicators, non_esi_policies: non_esi_policies) + + insurance_applicant.merge!(enrolled_non_esi_indicator, referral_activity: referral_activity_hash, + esi_associations: esi_coverage_indicators, non_esi_policies: non_esi_policies) collector << insurance_applicant end end + def referral_activity(applicant) + additional_reason_codes = applicant[:additional_reason_codes]&.flat_map {|e| e[:additional_reason_codes]} + reason_code = applicant[:reason_code].blank? ? "FullDetermination" : applicant[:reason_code] + { + activity_id: { identification_id: ["SBM", DateTime.now.strftime("%Y%m%d%H%M%S"), "pe#{applicant[:person_hbx_id]}"&.slice(-3..-1)].join }, + activity_date: { date_time: DateTime.now }, + sender_reference: { :ref => "Sender" }, # TODO + receiver_reference: { :ref => "medicaidReceiver" }, # TODO + status: { :status_code => "Initiated" }, # TODO + reason_code: reason_code, # TODO + additional_reason_codes: additional_reason_codes + } + end + def get_enrolled_non_esi_indicator(enrolled_non_esi_benfits) if enrolled_non_esi_benfits.present? { non_esi_coverage_indicators: [true] } diff --git a/lib/aca_entities/atp/functions/expense_builder.rb b/lib/aca_entities/atp/functions/expense_builder.rb index 652216407..ab2f1069c 100644 --- a/lib/aca_entities/atp/functions/expense_builder.rb +++ b/lib/aca_entities/atp/functions/expense_builder.rb @@ -13,7 +13,29 @@ def call(cache) deductions = applicants_hash[member_id.to_sym][:deductions] deductions.each_with_object([]) do |deduction, collect| - collect << ::AcaEntities::Atp::Transformers::Aces::Expense.transform(deduction) + result = ::AcaEntities::Atp::Transformers::Aces::Expense.transform(deduction) + category_text = construct_category_text(deduction) + result.merge!(category_text: category_text) if category_text.present? + collect << result + end + end + + def construct_category_text(deduction) + return if deduction[:start_on].blank? && deduction[:end_on].blank? + + category_text = [] + category_text << "start:#{format_date(deduction[:start_on])}" if deduction[:start_on].present? + category_text << "end:#{format_date(deduction[:end_on])}" if deduction[:end_on].present? + category_text.join(',') + end + + def format_date(date) + case date + when String + parsed_date = Date.parse(date) + parsed_date.iso8601 + when Date, DateTime + date.to_date.iso8601 end end end diff --git a/lib/aca_entities/atp/functions/immigration_document_builder.rb b/lib/aca_entities/atp/functions/immigration_document_builder.rb index 517db9eef..5974e2fbb 100644 --- a/lib/aca_entities/atp/functions/immigration_document_builder.rb +++ b/lib/aca_entities/atp/functions/immigration_document_builder.rb @@ -41,9 +41,9 @@ def call(cache) # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLe doc = i20_doc when 'DS2019 (Certificate of Eligibility for Exchange Visitor (J-1) Status)' doc = ds2019_doc - when 'Other (with alien number)' + when 'Other (With Alien Number)' doc = other_with_alien_number_doc - when 'Other (with I-94 number)' + when 'Other (With I-94 Number)' doc = other_with_i94_doc end @@ -190,7 +190,7 @@ def other_with_i94_doc @document_person_ids << passport_number if passport_number @document_person_ids << sevis_id if sevis_id { - category_text: 'Other (with I-94 number)', + category_text: 'Other (With I-94 Number)', expiration_date: expiration_date, document_person_ids: @document_person_ids } @@ -201,7 +201,7 @@ def other_with_alien_number_doc @document_person_ids << passport_number if passport_number @document_person_ids << sevis_id if sevis_id { - category_text: 'Other (with alien number)', + category_text: 'Other (With Alien Number)', expiration_date: expiration_date, document_person_ids: @document_person_ids } diff --git a/lib/aca_entities/atp/schema/aces/atp_service.xsd b/lib/aca_entities/atp/schema/aces/atp_service.xsd deleted file mode 100644 index d1df84a33..000000000 --- a/lib/aca_entities/atp/schema/aces/atp_service.xsd +++ /dev/null @@ -1,15 +0,0 @@ - - - - true - - An exchange schema for transfer of an account from the Marketplace to Medicaid/CHIP or from Medicaid/CHIP to the Marketplace for an eligibility determination. - - - - - - - - - \ No newline at end of file diff --git a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_core.xsd b/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_core.xsd deleted file mode 100644 index 621fff779..000000000 --- a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_core.xsd +++ /dev/null @@ -1,1182 +0,0 @@ - - - - true - - A reference model containing data components that either a) are good candidates for inclusion in NIEM-Core or b) are needed to support web services. - - - - - - - - - - - - - - - A verification of an address. - - - - - An activity indicating that an object has been created. - - - - - An identification of an application. - - - - - An activity indicating that an object has been submitted to some authority for further action. - - - - - An activity indicating that an object has been updated. - - - - - - Details about how to contact a person or an organization. - - - - - A kind of contact information. - - - - - - - - A verification of a document, established by the Department of Homeland Security (DHS) Systematic Alien Verification for Entitlements (SAVE) program. - - - - - - - - A verification of information about a person, provided by the Department of Homeland Security (DHS) Systematic Alien Verification for Entitlements (SAVE) verification program. - - - - - - - - A verification supplement provided by the Department of Homeland Security (DHS) Systematic Alien Verification for Entitlements (SAVE) program. - - - - - An organization that has employed a person. - - - - - A number of credited quarters of employment history. - - - - - A year for which employment history is reported. - - - - - A status of a person's employment. - - - - - A kind of employment status. - - - - - A data concept for an entity. - - - - - A data concept for an entity. - - - - - An amount of an expense. - - - - - A data concept for a kind of expense. - - - - - - - - A kind of expense. - - - - - - - - A description of a kind of expense. - - - - - A frequency with which an expense is paid or incurred. - - - - - - - - A verification of information, established by the Federally Facilitated Exchange verification process. (The process starts in the pending (P) state, followed by verified (Y) or inconsistent (I). If resolved, I transitions to verified (Y); if not resolved, I transitions to not verified (N). Additional states exist to capture delays in the verification process.) - - - - - - - - A data concept for a family relationship between two people. - - - - - - - - A kind of family relationship between two people. - - - - - A status for a verification that a person previously subject to a five-year bar from services has completed the period of the bar. - - - - - A status of a verification that an individual is barred from services for five years. - - - - - - - - A kind of frequency with which an activity recurs. - - - - - A data concept for a frequency with which an activity recurs. - - - - - A date a person's asylum, parolee, refugee or lawful permanent resident status was granted. - - - - - A date the prisoner was confined. - - - - - True if the person is incarcerated; false otherwise. - - - - - A monetary payment received, usually on a regular basis. - - - - - An amount of money (in dollars) earned. - - - - - A data concept for a kind of income (e.g., wages, interest, etc.). - - - - - - - - A kind of income. - - - - - A date that an income was received. - - - - - - - - A number of days worked per week. - - - - - A date range during which an income was earned. - - - - - A description of the work for which an income is received (usually referring to self-employment income). - - - - - A percent of the federal poverty level that this income represents. - - - - - A frequency with which an income is earned. - - - - - - - - A number of hours worked per pay period. - - - - - - - - A number of hours worked per week. - - - - - A frequency with which an income is paid. - - - - - A data concept for a source of income. - - - - - - - - - An organization that provides (is the source of) an income. - - - - - True if an income is from a statutorily excluded American Indian / Alaska Native source (see 42 C.F.R. Section 435.603(e)(3)); false otherwise. - - - - - A description of the source of an income received as unemployment compensation (e.g. the name of a state or employer). - - - - - True if an income is expected to fluctuate significantly throughout a year; false otherwise. - - - - - A data concept for a measure of a period worked (e.g., hours or days) to earn an income. - - - - - A kind of system that participates in the exchange of electronic information. - - - - - A county responsible for an information exchange system. - - - - - A state responsible for an information exchange system. - - - - - A status of a verification of lawful presence. - - - - - A unit which conducts some sort of business or operations. - - - - - - - - - - - - A human being. - - - - - A date a person was adopted. - - - - - True if the person is an American Indian or Alaska Native by race or ethnicity; false otherwise. - - - - - A relationship between two people. - - - - - - - - - - - - An identification assigned by a Children’s Health Insurance Program (CHIP) program to an individual. - - - - - An indication of whether a person is a dependent deprived of parental support whose care is provided by a caretaker under Medicaid rules, including the dependent's health coverage status. - - - - - A relationship between a person and contact information. - - - - - True if this person's work history is to be used to provide credit for quarters worked for another person (usually to establish eligibility); false otherwise. - - - - - A relationship between an employer and an employee. - - - - - - - - Supplements an employment relationship. - - - - - An employment history for a person. - - - - - An outgoing monetary payment. - - - - - An identification assigned to an individual. - - - - - A monetary payment received, usually on a regular basis. - - - - - True if a person is married; false otherwise. - - - - - An identification assigned by a Medicaid program to an individual. - - - - - A relationship between a person and an organization. - - - - - A capacity of a person for a language with which that person has the strongest preference. - - - - - A pregnancy status of a person. - - - - - True if a person is a member of a recognized tribe; false otherwise. - - - - - A data concept for a relationship between two people. - - - - - A data concept for a person's tribal affiliation. - - - - - - - - A name of a native tribe. - - - - - True if a person is a U.S. veteran; false otherwise. - - - - - A number of babies a pregnant person is expecting. - - - - - A status of a verification that a person is a qualified non-citizen. - - - - - An information exchange system receiving information. - - - - - A data concept for a response made to a request. - - - - - - - - A coded response. - - - - - - - - A description of a response. - - - - - - - - - Acts as A human being. - - - - - - - - A human being. - - - - - An information exchange system sending information. - - - - - A date that a document was signed. - - - - - A name of a person signing a document. - - - - - True if the status holds; false otherwise. - - - - - A date range for which the status is valid. - - - - - A step in the Department of Homeland Security (DHS) Systematic Alien Verification for Entitlements (SAVE) process. - - - - - - - - A description of a response from a data source designated as trusted (a trusted data source or TDS) by the Centers for Medicare & Medicaid Services. - - - - - An identification assigned by the Internal Revenue Service for tax purposes. - - - - - - - - Supplements an nc:Person with tribal information. - - - - - A status for a verification that a person is a U.S. citizen. - - - - - True if a person is a naturalized citizen of the US; false otherwise. - - - - - A data concept for an authority that verifies information. - - - - - - - - A name of a verification authority. - - - - - - - - A trusted data source, as specified by the Centers for Medicare & Medicaid Services. - - - - - A kind of verification. - - - - - A data concept for a A verification code assigned by some authority. - - - - - A date a verification was performed. - - - - - A comment from a verifier. - - - - - An identification for a verification. - - - - - True if an acceptable justification for an inconsistency has been provided; false otherwise. - - - - - A justification of an inconsistency identified during verification (regardless of the acceptability of the justification). - - - - - True if the information has been verified as accurate; false if the information has been rejected as inaccurate. - - - - - A Metadata about any object, provided by a verifying authority. - - - - - An information exchange system that requested a verification. - - - - - A Documented Component - A status of a verification. - - - - - A kind of verification status. - - - - - A supplement containing additional information provided by a verifying authority. - - - - - - - - A data type for A single or set of related actions, events, or process steps. - - - - - - - - - - - - - A data type for an entity making a request via an application. - - - - - - - - - - - - - - - A data type for a formal application (or request). - - - - - - - - - - - - - - - - - - A data type for supplemental information provided by the Department of Homeland Security (DHS) for a Systematic Alien Verification for Entitlements (SAVE) program. - - - - - - - - - - - - - - - - - - - - - A data type for a history of employment. - - - - - - - - - - - - - - - - A data type for a status of a person's employment. - - - - - - - - - - - - - - - A data type for an outgoing monetary payment. - - - - - - - - - - - - - - - - - - A data type for a frequency with which an activity recurs. - - - - - - - - - - - - - - - A data type for a mandatory confined supervision of a person. - - - - - - - - - - - - - - - - A data type for a monetary payment received, usually on a regular basis. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A data type for a system that participates in the exchange of electronic information (such as a Medicaid system, the Federally Facilitated Exchange, an issuer system, a Social Security Administration system, etc.). - - - - - - - - - - - - - - - - - A data type that supplements an nc:Organization with health insurance specific information. - - - - - - - - - - - - truetrue - - - A data type for an applied augmentation for type nc:OrganizationType. - - - - - - - - - - - - - - - A relationship A data type for a relationship between two people. - - - - - - - - - - - - - - - - - A data type that supplements an nc:Person with health insurance specific information. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A relationship A data type for a relationship between a person and contact information. - - - - - - - - - - - - - truetrue - - - A relationship A data type for a relationship between an employer and an employee. - - - - - - - - - - - - - - - - - A data type that supplements an employment relationship. - - - - - - - - - - - - - A relationship A data type for a relationship between a person and an organization. - - - - - - - - - - - - truetrue - - - A data type for an applied augmentation for type nc:PersonType. - - - - - - - - - - - - - - - - A data type for a pregnancy status of a person. - - - - - - - - - - - - - - - - - A data type for metadata about a response. - - - - - - - - - - - - - - - - - A data type for a signature on a physical or electronic document. - - - - - - - - - - - - - - - - A data type for a state of something or someone. - - - - - - - - - - - - - - - - A data type that supplements an nc:Person with tribal information. - - - - - - - - - - - - - - - - - - - - A data type for metadata about any object, provided by a verifying authority. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A data type for a status of a verification. - - - - - - - - - - - - - - - A data type for a supplement containing additional verification metadata provided by a verifying authority. - - - - - - - - \ No newline at end of file diff --git a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_ee.xsd b/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_ee.xsd deleted file mode 100644 index 445c56910..000000000 --- a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_ee.xsd +++ /dev/null @@ -1,2042 +0,0 @@ - - - - true - - A package containing components needed for establishing eligibility and for enrolling in an insurance policy. - - - - - - - - - - - - - - An Advanced Payment of Premium Tax Credit (APTC) calculation. - - - - - - - - An assessment of a person's suitability for an Advance Premium Tax Credit (APTC) calculation eligibility program. - - - - - A maximum amount of tax credits for which an individual might qualify. - - - - - A data concept for a member of a household. - - - - - A data concept for a member of a household. - - - - - A certified assister (such as a navigator) who helps individuals complete an insurance application. - - - - - An authorized representative who is granted limited power of attorney for an insurance application. - - - - - - - - A reference to a person designated as an authorized representative. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on social security number verification. - - - - - - - - An assessment of a person's suitability to participate in a CHIP eligibility program. - - - - - - - - An identification for a member of a CHIP program. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on incarceration rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on income rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on Medicaid citizen or immigrant rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on Medicaid residency rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on pregnancy category rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on state health benefits rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on targeted low-income child rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on title-II work quarters met section rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on trafficking victim category rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on unborn child category rules. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on waiting period rules. - - - - - A CMS approved cost sharing reduction (CSR) amount that will be paid to the issuers in advance each month for each insured member who will be enrolled in the insurance plan. - - - - - A data type for an alpha code indicating the insurance plan variant. - - - - - - - - An assessment of a person's suitability for cost sharing reduction (CSR) eligibility program. - - - - - An activity that disenrolls a person from an insurance policy (ending the member role). - - - - - A data concept for a reason for a disenrollment activity. - - - - - - - - A reason for disenrollment. - - - - - - - - A description of a reason for disenrollment. - - - - - An employer-sponsored insurance arrangement. - - - - - - - - Supplements An arrangement for an employer sponsored insurance. - - - - - - - - A person who is the contact for an employer sponsored insurance (ESI) plan (e.g., a human resources contact). - - - - - An expected status of employer sponsored insurance (ESI). - - - - - A date changes to employer sponsored insurance (ESI) take effect. - - - - - An employer sponsored insurance (ESI) plan that is the lowest-cost self-only plan expected to be offered that meets the minimum value standard. - - - - - An employer sponsored insurance (ESI) plan that is the lowest-cost self-only plan that meets the minimum value standard. - - - - - True if it is unknown whether or not an employer sponsored insurance (ESI) plan meets the minimum actuarial value (AV) standard; false otherwise. - - - - - True if an applicant does not know the premium rate of the lowest-cost employer sponsored insurance (ESI) plan; false otherwise. - - - - - A kind of plan year an employer sponsored insurance (ESI) arrangement applies to. - - - - - - - - A reference to an employer sponsored insurance (ESI) arrangement. - - - - - True if an employer sponsored insurance (ESI) plan is specifically for retirees; false otherwise. - - - - - True if access to an employer sponsored insurance (ESI) arrangement is via a current employee relationship; false otherwise (e.g., via COBRA or retirement). - - - - - An assessment of a person's suitability to participate in a program based on various criteria. - - - - - An activity of establishing an eligibility basis. - - - - - A description of the reason for an eligibility basis determination of inconsistent. - - - - - A description of the reason for an eligibility basis determination of ineligibility. - - - - - A description of the reason for an eligibility basis determination of pending. - - - - - A status of an eligibility basis determination. - - - - - A date range of the eligibility. - - - - - An activity of determining eligibility. - - - - - A system making an eligibility determination. - - - - - A description of the reason that an eligibility determination has been delayed due to inconsistency. - - - - - - True if a person's eligibility for a program has been established (based on program rules); false otherwise. - - - - - A description of the reason that eligibility was established (or not). - - - - - A basis for emergency Medicaid eligibility based on Medicaid citizen or immigrant rules. - - - - - - - - An assessment of a person's suitability to participate in an emergency Medicaid eligibility program . - - - - - A basis for emergency Medicaid eligibility based on income rules. - - - - - A basis for emergency Medicaid eligibility based on residency rules. - - - - - An activity that enrolls a person with an insurance policy (starting that person in the member role). - - - - - A description of a reason for enrollment. - - - - - - - - An assessment of a person's suitability to participate in an exchange eligibility program. - - - - - A basis for exchange eligibility based on incarceration rules. - - - - - A basis for exchange eligibility based on Qualified Health Plan (QHP) residency rules. - - - - - A basis for exchange eligibility based on verified citizenship or lawful presence rules. - - - - - A collection of persons to be treated as a household unit. - - - - - - - - An adjusted gross income (AGI) based on Internal Revenue Service (IRS) rules. - - - - - A monetary payment received by a household, usually on a regular basis. - - - - - - - - A modified adjusted gross income (MAGI) based on Internal Revenue Service (IRS) rules. - - - - - - - - - A person in a household. - - - - - True if the size of the household is expected to change; false otherwise. - - - - - A basis for Children's Health Insurance Program (CHIP) eligibility based on household size. - - - - - A count of the number of persons in a household. - - - - - - - - An income derived from social security benefits considered taxable by the Internal Revenue Service. - - - - - An assessment of income reasonable compatibility. - - - - - An activity of establishing an income compatibility. - - - - - A description of the reason for an income compatibility determination of inconsistent. - - - - - True if an income compatibility passed verification; false otherwise. - - - - - A method of verifying income compatibility. - - - - - True if income eligibility is based on the application of rules accounting for reasonably predictable changes (RPC) in income or family size (under 42 C.F.R. § 435.603(h)(3)); false otherwise. [CDM] - - - - - A percent of the Federal Poverty Level (FPL) that was applied as a threshold under state rules as a basis for determining income eligibility. - - - - - A person requesting insurance coverage (either to obtain a new policy or to maintain enrollment in an existing policy). - - - - - An indication of whether or not the applicant has an absent parent or spouse. - - - - - An age when an applicant left foster care. - - - - - True if the applicant is blind or disabled; false otherwise. - - - - - True if an applicant has been enrolled in health insurance during the previous six months; false otherwise. - - - - - A relationship between an applicant and an employer sponsored insurance arrangement. - - - - - True if it is unknown whether an applicant is eligible for an employer sponsored insurance (ESI) plan; false otherwise. - - - - - True if an applicant is eligible for an employer sponsored insurance (ESI) plan; false otherwise. - - - - - - True if an applicant is enrolled in an employer sponsored insurance (ESI) plan; false otherwise. - - - - - - A date an applicant is eligible to enroll in an employer sponsored insurance (ESI) plan. - - - - - A date range an insurance applicant plans for coverage to be effective under an employer sponsored insurance (ESI) plan. - - - - - An insurance applicant's planned action with respect to enrollment in an employer sponsored insurance (ESI) plan. - - - - - True if the applicant is eligible for Indian Health Service/Tribal/Urban Indian Health (I/T/U) services; false otherwise. - - - - - True if the applicant has a fixed address; false otherwise. - - - - - True if the applicant has ever been in foster care; false otherwise. - - - - - A state in which an applicant was provided foster care. - - - - - True if the applicant received Medicaid benefits while in foster care; false otherwise. - - - - - True if an applicant's Medicaid household differs from her/his tax household based on Medicaid MAGI eligibility rules; false otherwise. - - - - - A description of the applicant's incarceration history. - - - - - A status of the applicant's lawful presence in the United States. - - - - - True if claiming tax filer is a non-custodial parent and if the claiming tax filer can be considered a caretaker relative; false otherwise. - - - - - True if an applicant requires long term care; false otherwise. - - - - - True if an applicant is enrolled in a non-employer sponsored insurance (ESI) plan; false otherwise. - - - - - An insurance policy associated with an applicant that is not an employer sponsored insurance (ESI) arrangement. - - - - - An average number of hours worked (in total) by a parent of an applicant. - - - - - True if an applicant is a parent or caretaker of a child on the application; false otherwise. - - - - - True if an applicant has ever received Indian Health Service/Tribal/Urban Indian Health (I/T/U) services; false otherwise. - - - - - True if an applicant has medical bills within the last ninety days; false otherwise. - - - - - True if an applicant has access to state benefits through a relationship to a public employee; false otherwise. - - - - - True if an adult applicant older than 19 and less than 21 years old is a full-time student; false otherwise. - - - - - True if an applicant temporarily lives outside the state under which an application is made; false otherwise. - - - - - A formal request to establish insurance coverage for the applicants named in the application. - - - - - A relationship between an insurance application and a certified assister (e.g., counselor or navigator). - - - - - - - - - A certified assister (such as a navigator) who helps individuals complete an insurance application. - - - - - A number of years for which a signer allows an exchange to renew coverage and determine eligibility (including reuse of tax data). - - - - - True if an application includes a request for financial assistance; false otherwise. - - - - - True if an insurance applicant is requesting Medicaid coverage; false otherwise. - - - - - True if a signer has granted access to tax return data this year; false otherwise. - - - - - A person who has health insurance coverage. (An insurance member is called a beneficiary when Centers for Medicare & Medicaid Services provides the coverage). - - - - - An identification of an insurance member. - - - - - An insurance plan that governs the terms of this insurance policy. - - - - - A date range for which a policy is actually effective (i.e., taking into consideration when the policy actually took effect, was cancelled, etc.). - - - - - An identification of the policy. - - - - - A source that offers insurance policies. - - - - - A periodic payment made on an insurance policy. - - - - - An amount paid as an Advance Premium Tax Credit (APTC) to an issuer. - - - - - A total amount paid to establish an insurance policy. - - - - - An amount paid by a subscriber to an issuer. - - - - - A data concept for a kind of lawful presence document. - - - - - - - - A code for a kind of immigration document. - - - - - - - - A description of a kind of immigration document. - - - - - A date a lawfully present applicant document expires. - - - - - A unique number assigned to a document of a lawfully present applicant. - - - - - An identification assigned to a person by an immigration document. - - - - - True if an immigration document is issued in the same name as the person presenting it as proof of lawful presence; false otherwise. - - - - - True if a person arrived in the US before 1996; false otherwise. - - - - - An eligibility of a person to receive benefits under the Affordable Care Act. - - - - - An immigration document used in determining lawful presence status. - - - - - - - - An assessment of a person's suitability to participate in a Medicaid program based on various criteria. - - - - - A collection of persons to be treated as a unit under Medicaid. - - - - - A number of persons in a household based on a state's Medicaid rules. - - - - - True if a household's income is greater than the highest applicable Modified Adjusted Gross Income (MAGI) standard for the household size; false otherwise. - - - - - - - - A collection of persons to be treated as a household unit under a state's Medicaid rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Medicaid Household rules. - - - - - A method of verifying household size. - - - - - - - - An identification for a member of a Medicaid program. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on CHIPRA 214 category rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on adult group category rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on optional adult group category rules (subclause (XX) of 42 C.F.R. Section 1902(a)(10)(a)(ii)). - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Child category rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Medicaid citizenship or immigration rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Dependent child coverage category rules. - - - - - - - - An assessment of a person's suitability to participate in a Medicaid program based on Modified Adjusted Gross Income (MAGI) criteria. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on five year bar rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on former foster-care category rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on income rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on optional targeted low-income child rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on parent caretaker category rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on pregnancy category rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on residency rules. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on social security number verification. - - - - - A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on seven year limit rules. - - - - - A basis for Medicaid non-MAGI Eligibility by reason of blindness or disability. - - - - - - - - An assessment of a person's suitability to participate in Medicaid Non MAGI eligibility program. - - - - - A basis for Medicaid non-MAGI Eligibility by reason of eligibility for Medicare. - - - - - True if an applicant is applying to the correct U.S. state for Medicaid; false otherwise. - - - - - True if an applicant is subject to the Medicaid Student Residency rule; false otherwise. - - - - - - - - A person that files a tax return as a primary filer. - - - - - A referral of an insurance applicant from one information exchange system to another. - - - - - True if additional documentation is available to support a referral; false otherwise. - - - - - - - - - An assessment or determination of an eligibility that motivates a referral activity. - - - - - An overall status of the verifications needed to establish eligibility for the applicant being referred. - - - - - A data concept for a reason for a referral activity. - - - - - - - - A reason for a referral activity. - - - - - - - - A description of a reason for a referral activity. - - - - - - - - An information exchange system receiving an insurance applicant via referral. - - - - - - - - An information exchange system responsible for sending an insurance applicant for referral. - - - - - A status of a referral activity. - - - - - A kind of referral activity status. - - - - - - - - An assessment of a person's suitability to participate in a refugee medical assistance eligibility program - - - - - A basis for refugee eligibility based on medical assistance rules. - - - - - A prior location for a special enrollment period (SEP) qualifying event (such as a relocation). - - - - - A data concept for a kind of special enrollment period (SEP) qualifying event. - - - - - - - - A kind of special enrollment period (SEP) qualifying event. - - - - - A date a qualifying event for a special enrollment period (SEP) occurred. - - - - - An attestation a signer makes when submitting an application. - - - - - True if a signer attests that they agree to the terms of the insurance application; false otherwise. - - - - - True if a signer attests that they agree to cooperate with agencies that collect medical support information from absent parents; false otherwise. - - - - - True if a signer attests that they agree to inform the exchange if information on the application changes; false otherwise. - - - - - True if a signer attests that they are aware of their obligations as a Medicaid applicant; false otherwise. - - - - - True if a signer attests that the information provided is truthful; false otherwise. - - - - - True if a signer attests that they are not currently incarcerated; false otherwise. - - - - - - True if a signer attests that they are not currently incarcerated but pending disposition of a criminal charge; false otherwise. - - - - - True if a signer attests that they understand how their information will be used; false otherwise. - - - - - A person responsible for answering questions about an insurance application. - - - - - A primary contact's preferred mode of receiving notices about an application. - - - - - A person who signs a Single Streamlined Form (SSF) insurance application, including the attestations, and is therefore able to make decisions regarding the application (including assigning an authorized representative). - - - - - A relationship between a Single Streamlined Form (SSF) signer and an authorized representative. - - - - - A signature on a physical or electronic document. - - - - - An enrollment period outside of open (annual or initial) enrollment. - - - - - - - - A person that files a tax return as a spouse. - - - - - - - - A person listed on a tax form as a dependent. - - - - - True if a tax dependent is under the state-defined age for full-time students and is being claimed by a custodial parent; false otherwise. - - - - - - - - A collection of persons to be treated as a household unit for tax purposes. - - - - - A tax return as filed with the Internal Revenue Service. - - - - - A data concept for an entity or set of entities that files taxes. - - - - - A kind of filing status. - - - - - A data concept for a tax period. - - - - - True if the tax return includes dependents; false otherwise. - - - - - A number of exemptions claimed on a tax return. - - - - - - - - A year for which taxes are being filed. - - - - - - - - A data type for a calculation of an Advance Premium Tax Credit (APTC). - - - - - - - - - - - - - - - A data type for an Advance Premium Tax Credit (APTC) eligibility determination outcome. - - - - - - - - - - - - - - - A data type for a certified assister (such as a navigator) who helps individuals complete an insurance application. - - - - - - - - - - - - - - - A data type for an authorized representative who is granted limited power of attorney for an insurance application. - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in a Children's Health Insurance Program (CHIP) program based on various criteria. - - - - - - - - - - - - - - - - - - - - - - - - - - - - A data type for Cost Sharing Reduction (CSR) advance payment. - - - - - - - - - - - - - - - A data type for cost sharing reduction (CSR) eligibility determination outcome. - - - - - - - - - - - - - - - A data type for an activity that disenrolls a person from an insurance policy (ending the member role). - - - - - - - - - - - - - - - - A data type that supplements A data type for an employer-sponsored insurance arrangement. - - - - - - - - - - - - - - - A data type for a status that serves as a factor in making an eligibility determination (e.g., residency status is a factor for making a Medicaid eligibility determination). - - - - - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in a program based on various criteria. - - - - - - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in an emergency Medicaid program based on various criteria. - - - - - - - - - - - - - - - - - A data type for insurance coverage sponsored by an employer offered to current / former employees and their families. - - - - - - - - - - - - - - - - - - - - - - - - A data type for an activity that enrolls a person with an insurance policy (starting that person in the member role). - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in an exchange program based on various criteria. - - - - - - - - - - - - - - - - - - A data type for a collection of persons to be treated as a unit based on defined rules. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A data type for an assessment of income reasonable compatibility (trusted data sources are reasonably compatible with self-attestations if any discrepancies will not affect eligibility—see 45 C.F.R. 155.300(d)). - - - - - - - - - - - - - - - - - - A data type for an assessment of a person's eligibility to participate in a program based on income criteria. - - - - - - - - - - - - - - - - - A relationship A data type for a relationship between an employer sponsored insurance (ESI) arrangement and an insurance applicant. - - - - - - - - - - - - - - - - - - - - - A data type for a person requesting insurance coverage (either to obtain a new policy or to maintain enrollment in an existing policy). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A relationship A data type for a relationship between an insurance application and a certified assister (e.g., counselor or navigator). - - - - - - - - - - - - - - - A data type for a formal request to establish insurance coverage for the applicants named in the application. - - - - - - - - - - - - - - - - - - - - - - A data type for a person who has health insurance coverage. (An insurance member is called a beneficiary when Centers for Medicare & Medicaid Services provides the coverage). - - - - - - - - - - - - - - - - A data type for an agreement by an issuer to provide coverage under an insurance plan to a set of members who subscribe as a unit. - - - - - - - - - - - - - - - - - - - - - - A data type for a periodic payment made on an insurance policy. - - - - - - - - - - - - - - - - - A data type for a document used in establishing lawful presence. - - - - - - - - - - - - - - - - - - - - A data type for a status of person's lawful presence in the United States. - - - - - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in a Medicaid program based on various criteria. - - - - - - - - - - - - - - - A data type for a basis for an assessment of a person's eligibility to participate in a program based on Medicaid household size criteria. - - - - - - - - - - - - - - - A data type for a collection of persons to be treated as a household unit under a state's Medicaid rules. - - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in a Medicaid program based on Modified Adjusted Gross Income (MAGI) criteria. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in a Medicaid program based on criteria other than Modified Adjusted Gross Income (MAGI). - - - - - - - - - - - - - - - - A data type for an assessment of a person's eligibility to participate in a Medicaid program based on residency criteria. - - - - - - - - - - - - - - - - A data type for a collection of persons residing together to be treated as a household unit. - - - - - - - - - - - - - A data type for a status of a referral activity. - - - - - - - - - - - - - - - - A data type for a referral of an insurance applicant from one information exchange system to another. - - - - - - - - - - - - - - - - - - - - - A data type for an assessment of a person's suitability to participate in an refugee medical assistance program based on various criteria. - - - - - - - - - - - - - - - A data type for attestations made when submitting a Single Streamlined Form (SSF). - - - - - - - - - - - - - - - - - - - - - - A data type for a person responsible for answering questions about an insurance application (also known as a Single Streamlined Form or SSF). - - - - - - - - - - - - - - - - A relationship A data type for a relationship between a Single Streamlined Form (SSF) signer and an authorized representative. - - - - - - - - - - - - - - - - A data type for a person who signs a Single Streamlined Form (SSF) insurance application, including the attestations, and is therefore able to make decisions regarding the application (including assigning an authorized representative). - - - - - - - - - - - - - - - - - A data type for an enrollment period outside of open (annual or initial) enrollment. - - - - - - - - - - - - - - - - - A data type for a person claimed as a tax dependent. - - - - - - - - - - - - - - - - - A data type for a person that files a tax return. - - - - - - - - - - - - - - - - A data type for a collection of persons to be treated as a household unit for tax purposes. - - - - - - - - - - - - - A data type for a tax return as filed with the Internal Revenue Service. - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lib/aca_entities/atp/schema/aces/niem_gov_niem_core_2_0.xsd b/lib/aca_entities/atp/schema/aces/niem_gov_niem_core_2_0.xsd deleted file mode 100644 index 40db48608..000000000 --- a/lib/aca_entities/atp/schema/aces/niem_gov_niem_core_2_0.xsd +++ /dev/null @@ -1,940 +0,0 @@ - - - - true - - NIEM Core includes both Universal (U) and Common (C) components. The identities for U and C components in Core are maintained with metadata. - - - - - - - - - - - - A date of an activity. - - - - - A data concept for a A date an activity occurs. - - - - - An identification that references an activity. - - - - - A data concept for a A single place or unit at which mail is delivered. - - - - - A data concept for a A representation of an address. - - - - - - - - A particular unit within a larger unit or grouping at a location. - - - - - A date an association begins. - - - - - A date an association ends. - - - - - - - - An electronic mailing address by which a person or organization may be contacted. - - - - - True if the contact information is the primary method for contact; false otherwise. - - - - - - - - A postal address by which a person or organization may be contacted. - - - - - A data concept for a A means of contacting someone. - - - - - - - - A telephone number for a telecommunication device by which a person or organization may be contacted. - - - - - - - - A full date. - - - - - A data concept for a A representation of a date. - - - - - - - - A full date and time. - - - - - An end date. - - - - - A location of a facility. - - - - - A name of a facility. - - - - - - - - A full telephone number. - - - - - A data concept for a A kind of identification. - - - - - - - - A kind of identification. - - - - - A value that identifies something. - - - - - A data concept for a An area, region, or unit in which a unique identification is issued. - - - - - - - - An area, region, or unit in which a unique identification is issued. - - - - - A data concept for a A system of words or symbols used for communication. - - - - - - - - A system of words or symbols used for communication. - - - - - A geophysical location described by postal information. - - - - - A name of a city or town. - - - - - A data concept for a A country, territory, dependency, or other such geopolitical subdivision of a location. - - - - - - - - A country, territory, dependency, or other such geopolitical subdivision of a location. - - - - - A data concept for a A county, parish, vicinage, or other such geopolitical subdivision of a state. - - - - - - - - A county, parish, vicinage, or other such geopolitical subdivision of a state. - - - - - - - - A county, parish, vicinage, or other such geopolitical subdivision of a state. - - - - - An identifier of a post office-assigned zone for an address. - - - - - A data concept for a A state, commonwealth, province, or other such geopolitical subdivision of a country. - - - - - - - - A state, commonwealth, province, or other such geopolitical subdivision of a country. - - - - - - - - A road, thoroughfare or highway. - - - - - - - - A specific measurement value. - - - - - A data concept for a A measurement value. - - - - - An identification that references an organization. - - - - - A name of an organization. - - - - - A preferred means of contacting an organization. - - - - - - - - A unit which conducts some sort of business or operations. - - - - - A measurement of the age of a person. - - - - - A date a person was born. - - - - - A data concept for a A cultural lineage of a person. - - - - - - - - A cultural lineage of a person. - - - - - A complete name of a person. - - - - - A first name of a person. - - - - - True if a person is alive, false if a person is dead. - - - - - A middle name of a person. - - - - - A combination of names and/or titles by which a person is known. - - - - - A term appended after the family name that qualifies the name. - - - - - A data concept for a A classification of a person based on factors such as geographical locations and genetics. - - - - - - - - A classification of a person based on factors such as geographical locations and genetics. - - - - - - - - A human being. - - - - - A unique reference to a living person; assigned by the United States Social Security Administration. - - - - - A data concept for a A gender or sex of a person. - - - - - - - - A gender or sex of a person. - - - - - True if a person is able to speak a language; false otherwise. - - - - - A last name or family name of a person. - - - - - True if a person is a citizen of the United States; false otherwise. - - - - - True if a person is able to write a language; false otherwise. - - - - - A date on which something begins. - - - - - A complete reference for a street. - - - - - - - - An address. - - - - - A facility at which a subject is being supervised. - - - - - A complete telephone number. - - - - - A data concept for a A telephone number. - - - - - A Additional numbers to be entered after a call connects to be directed to the appropriate place. - - - - - - - - A year. - - - - - - - - A year and month. - - - - - - - - A data type for a single or set of related actions, events, or process steps. - - - - - - - - - - - - - - - - A data type for a geophysical location described by postal information. - - - - - - - - - - - - - - - A data type for an amount of money. - - - - - - - - - - - A relationship A data type for a connection, relationship, or involvement somehow linking people and/or things together. - - - - - - - - - - - - - - - - A data type for how to contact a person or an organization. - - - - - - - - - - - - - - - - - A data type for a period of time. - - - - - - - - - - - - - - - - A data type for a calendar date. - - - - - - - - - - - - - - - - - - - - A data type for a building, place, or structure that provides a particular service. - - - - - - - - - - - - - - - - A data type for a full telephone number. - - - - - - - - - - - - - - - - A data type for a representation of an identity. - - - - - - - - - - - - - - - - - A data type for a geophysical location. - - - - - - - - - - - - - - - A data type for a measure point value. - - - - - - - - - - - A data type for a measurement. - - - - - - - - - - - - - - - - - A data type for a number value. - - - - - - - - - - - A data type for a body of people organized for a particular purpose. - - - - - - - - - - - - - - - - - A relationship A data type for an association between people. - - - - - - - - - - - - - - - A relationship A data type for an association between a person and contact information. - - - - - - - - - - - - - - - A relationship A data type for an association between a person and an employment. - - - - - - - - - - - - - A data type for a language capability of a person. - - - - - - - - - - - - - - - - - A relationship A data type for an association between a person and a location. - - - - - - - - - - - - - - - A data type for a name by which a person is known, referred, or addressed. - - - - - - - - - - - A data type for a combination of names and/or titles by which a person is known. - - - - - - - - - - - - - - - - - - - A relationship A data type for an association between a person and an organization. - - - - - - - - - - - - - - - A data type for a human being. - - - - - - - - - - - - - - - - - - - - - - - A data type for a word or phrase by which a person or thing is known, referred, or addressed. - - - - - - - - - - - A data type for a count or tally. - - - - - - - - - - - A data type for a road, thoroughfare, or highway. - - - - - - - - - - - - - - - A data type for an address. - - - - - - - - - - - - - - - - - - - - - - A data type for an act of officially overseeing, supervising, or keeping track in some capacity of a person. - - - - - - - - - - - - - - - A data type for a telephone number for a telecommunication device. - - - - - - - - - - - - - - - A data type for a character string. - - - - - - - - - - - A data type for a measurement of a quantity of time. - - - - - - - - \ No newline at end of file diff --git a/lib/aca_entities/atp/schema/aces/niem_gov_proxy_xsd_2_0.xsd b/lib/aca_entities/atp/schema/aces/niem_gov_proxy_xsd_2_0.xsd deleted file mode 100644 index e0be1907f..000000000 --- a/lib/aca_entities/atp/schema/aces/niem_gov_proxy_xsd_2_0.xsd +++ /dev/null @@ -1,216 +0,0 @@ - - - Proxy types that carry dictionary metadata and have XML data type simple contents. - - true - - - - - - - - - - - - - - - - - - - A data type for Base64-encoded binary data. - - - - - - - - - - - - - A data type for binary-valued logic (true/false). - - - - - - - - - - - - - A data type for a calendar date with the format CCYY-MM-DD. - - - - - - - - - - - - - - - - - - - - - - - - - A data type for arbitrary precision decimal numbers. - - - - - - - - - - - - - A data type for a duration of time with the format PnYnMnDTnHnMnS, where nY is the number of years, nM is the number of months, nD is the number of days, nH is the number of hours, nM is the number of minutes, and nS is the number of seconds. - - - - - - - - - - - - - A data type for a Gregorian month with the format --MM--. - - - - - - - - - - - - - A data type for a Gregorian calendar year with the format CCYY. - - - - - - - - - - - - - A data type for a specific gregorian month in a specific gregorian year. - - - - - - - - - - - - - A data type for hex-encoded binary data. - - - - - - - - - - - - - A data type for the standard mathematical concept of integer numbers. - - - - - - - - - - - - - A data type for an integer with a minimum value of 0. - - - - - - - - - - - - - A data type for character strings in XML. - - - - - - - - - - - - - A data type for an instant of time with the format hh:mm:ss.sss. - - - - - - - - - - - - - A data type for tokenized strings. - - - - - - - - - - - \ No newline at end of file diff --git a/lib/aca_entities/atp/schema/aces/niem_gov_usps_states_2_0.xsd b/lib/aca_entities/atp/schema/aces/niem_gov_usps_states_2_0.xsd deleted file mode 100644 index 86a30ff5e..000000000 --- a/lib/aca_entities/atp/schema/aces/niem_gov_usps_states_2_0.xsd +++ /dev/null @@ -1,345 +0,0 @@ - - - - true - - U.S. state and possession abbreviations from the U.S. Postal Service (USPS). - - - - - - - - - - - A data type for states. - - - - - ALASKA - - - - - MAINE - - - - - NEW JERSEY - - - - - WASHINGTON - - - - - Armed Forces Pacific - - - - - NEW YORK - - - - - IOWA - - - - - MISSOURI - - - - - CONNECTICUT - - - - - AMERICAN SAMOA - - - - - Armed Forces Americas (except Canada) - - - - - WYOMING - - - - - VIRGIN ISLANDS - - - - - GUAM - - - - - PUERTO RICO - - - - - FEDERATED STATES OF MICRONESIA - - - - - OKLAHOMA - - - - - OHIO - - - - - MINNESOTA - - - - - FLORIDA - - - - - MARYLAND - - - - - VIRGINIA - - - - - GEORGIA - - - - - COLORADO - - - - - INDIANA - - - - - SOUTH DAKOTA - - - - - UTAH - - - - - MICHIGAN - - - - - PALAU - - - - - KENTUCKY - - - - - DELAWARE - - - - - CALIFORNIA - - - - - HAWAII - - - - - MASSACHUSETTS - - - - - NEW MEXICO - - - - - RHODE ISLAND - - - - - ALABAMA - - - - - DISTRICT OF COLUMBIA - - - - - OREGON - - - - - TEXAS - - - - - LOUISIANA - - - - - TENNESSEE - - - - - NEBRASKA - - - - - NORTH CAROLINA - - - - - ARIZONA - - - - - NEW HAMPSHIRE - - - - - WEST VIRGINIA - - - - - ILLINOIS - - - - - ARKANSAS - - - - - MONTANA - - - - - VERMONT - - - - - MISSISSIPPI - - - - - SOUTH CAROLINA - - - - - KANSAS - - - - - NEVADA - - - - - NORTHERN MARIANA ISLANDS - - - - - MARSHALL ISLANDS - - - - - Armed Forces Africa, Canada, Europe, Middle East - - - - - NORTH DAKOTA - - - - - IDAHO - - - - - PENNSYLVANIA - - - - - WISCONSIN - - - - - - - - - - A data type for states. - - - - - - - - \ No newline at end of file diff --git a/lib/aca_entities/atp/transformers/aces/applicant.rb b/lib/aca_entities/atp/transformers/aces/applicant.rb index 424efea46..f1be29f05 100644 --- a/lib/aca_entities/atp/transformers/aces/applicant.rb +++ b/lib/aca_entities/atp/transformers/aces/applicant.rb @@ -68,14 +68,6 @@ class Applicant < ::AcaEntities::Operations::Transforms::Transform } map 'need_help_paying_bills', 'recent_medical_bills_indicator' - add_key 'referral_activity.activity_id.identification_id', function: lambda {|v| - ["SBM", DateTime.now.strftime("%Y%m%d%H%M%S"), v.resolve('role_reference.ref').item&.slice(-3..-1)].join - } - add_key 'referral_activity.activity_date.date_time', value: ->(_v) {DateTime.now} # default value - add_key 'referral_activity.sender_reference.ref', value: "Sender" - add_key 'referral_activity.receiver_reference.ref', value: "medicaidReceiver" - add_key 'referral_activity.status.status_code', value: "Initiated" # default value - add_key 'referral_activity.reason_code', value: "FullDetermination" # default value end end end diff --git a/lib/aca_entities/atp/transformers/aces/expense.rb b/lib/aca_entities/atp/transformers/aces/expense.rb index fc0de1660..6e523cce9 100644 --- a/lib/aca_entities/atp/transformers/aces/expense.rb +++ b/lib/aca_entities/atp/transformers/aces/expense.rb @@ -13,7 +13,6 @@ class Expense < ::AcaEntities::Operations::Transforms::Transform 'student_loan_interest' => 'StudentLoanInterest' }.freeze - add_key 'category_text' map 'amount', 'amount' map 'frequency_kind', 'frequency.frequency_code' map 'kind', 'category_code', function: lambda { |v| diff --git a/lib/aca_entities/atp/xml.rb b/lib/aca_entities/atp/xml.rb new file mode 100644 index 000000000..5bb6d1324 --- /dev/null +++ b/lib/aca_entities/atp/xml.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +require_relative "xml/validator" + +module AcaEntities + module Atp + # Master namespace for ATP XML operations. + module Xml + end + end +end \ No newline at end of file diff --git a/lib/aca_entities/atp/xml/constraint/exchange/ExchangeModel.xsd b/lib/aca_entities/atp/xml/constraint/exchange/ExchangeModel.xsd new file mode 100644 index 000000000..83705606e --- /dev/null +++ b/lib/aca_entities/atp/xml/constraint/exchange/ExchangeModel.xsd @@ -0,0 +1,29 @@ + + + + + + true + + An exchange schema for transfer of an account from the Marketplace to Medicaid/CHIP or from Medicaid/CHIP to the Marketplace for an eligibility determination. + + + + + + + + + diff --git a/lib/aca_entities/atp/xml/constraint/exchange/SBM.xsd b/lib/aca_entities/atp/xml/constraint/exchange/SBM.xsd new file mode 100644 index 000000000..662cc4ca9 --- /dev/null +++ b/lib/aca_entities/atp/xml/constraint/exchange/SBM.xsd @@ -0,0 +1,18 @@ + + + + + + diff --git a/lib/aca_entities/atp/xml/constraint/exchange/SBM_DCHBX.xsd b/lib/aca_entities/atp/xml/constraint/exchange/SBM_DCHBX.xsd new file mode 100644 index 000000000..ff069fd3a --- /dev/null +++ b/lib/aca_entities/atp/xml/constraint/exchange/SBM_DCHBX.xsd @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/lib/aca_entities/atp/xml/constraint/exchange/SBM_MESBM.xsd b/lib/aca_entities/atp/xml/constraint/exchange/SBM_MESBM.xsd new file mode 100644 index 000000000..f3b49dba5 --- /dev/null +++ b/lib/aca_entities/atp/xml/constraint/exchange/SBM_MESBM.xsd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + A data type for a referral of an insurance applicant from one information exchange system to another. + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/aca_entities/atp/schema/aces/at_dsh_cms_gov_extension.xsd b/lib/aca_entities/atp/xml/constraint/extension/ExtensionModel.xsd similarity index 81% rename from lib/aca_entities/atp/schema/aces/at_dsh_cms_gov_extension.xsd rename to lib/aca_entities/atp/xml/constraint/extension/ExtensionModel.xsd index 7db4c4459..d010f5c84 100644 --- a/lib/aca_entities/atp/schema/aces/at_dsh_cms_gov_extension.xsd +++ b/lib/aca_entities/atp/xml/constraint/extension/ExtensionModel.xsd @@ -1,35 +1,54 @@ - + + + true An extension schema with additional data components needed for Hub to identify the endpoint - - - - - - - - + + + + + + + + Account Transfer Version Number - + A set of persons that reside together. - + Code which identifies Exchange or MedicaidCHIP - + Transfer Activity State Code @@ -40,7 +59,8 @@ - + Count of the applicants referred in this transfer for program eligibility determination by the state agency or FFM. @@ -137,7 +157,8 @@ - + @@ -181,4 +202,4 @@ - \ No newline at end of file + diff --git a/spec/reference/xml/atp/hix_cms_gov_hix_core.xsd b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-core/hix-core.xsd similarity index 87% rename from spec/reference/xml/atp/hix_cms_gov_hix_core.xsd rename to lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-core/hix-core.xsd index 621fff779..e1d31487b 100644 --- a/spec/reference/xml/atp/hix_cms_gov_hix_core.xsd +++ b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-core/hix-core.xsd @@ -1,18 +1,34 @@ - + + + true A reference model containing data components that either a) are good candidates for inclusion in NIEM-Core or b) are needed to support web services. - - - - - - - - + + + + + + + + @@ -47,7 +63,8 @@ Details about how to contact a person or an organization. - + A kind of contact information. @@ -68,7 +85,8 @@ A verification of information about a person, provided by the Department of Homeland Security (DHS) Systematic Alien Verification for Entitlements (SAVE) verification program. - + @@ -81,7 +99,8 @@ An organization that has employed a person. - + A number of credited quarters of employment history. @@ -96,7 +115,8 @@ A status of a person's employment. - + A kind of employment status. @@ -137,7 +157,8 @@ A description of a kind of expense. - + A frequency with which an expense is paid or incurred. @@ -158,7 +179,8 @@ A data concept for a family relationship between two people. - + @@ -166,12 +188,14 @@ A kind of family relationship between two people. - + A status for a verification that a person previously subject to a five-year bar from services has completed the period of the bar. - + A status of a verification that an individual is barred from services for five years. @@ -219,7 +243,7 @@ A data concept for a kind of income (e.g., wages, interest, etc.). - + @@ -232,7 +256,7 @@ A date that an income was received. - + @@ -245,22 +269,25 @@ A date range during which an income was earned. - + A description of the work for which an income is received (usually referring to self-employment income). - + A percent of the federal poverty level that this income represents. - + A frequency with which an income is earned. - + @@ -268,7 +295,7 @@ A number of hours worked per pay period. - + @@ -276,7 +303,8 @@ A number of hours worked per week. - + A frequency with which an income is paid. @@ -295,12 +323,14 @@ An organization that provides (is the source of) an income. - + True if an income is from a statutorily excluded American Indian / Alaska Native source (see 42 C.F.R. Section 435.603(e)(3)); false otherwise. - + A description of the source of an income received as unemployment compensation (e.g. the name of a state or employer). @@ -315,22 +345,26 @@ A data concept for a measure of a period worked (e.g., hours or days) to earn an income. - + A kind of system that participates in the exchange of electronic information. - + A county responsible for an information exchange system. - + A state responsible for an information exchange system. - + A status of a verification of lawful presence. @@ -357,7 +391,8 @@ A date a person was adopted. - + True if the person is an American Indian or Alaska Native by race or ethnicity; false otherwise. @@ -374,17 +409,20 @@ - + An identification assigned by a Children’s Health Insurance Program (CHIP) program to an individual. - + An indication of whether a person is a dependent deprived of parental support whose care is provided by a caretaker under Medicaid rules, including the dependent's health coverage status. - + A relationship between a person and contact information. @@ -394,7 +432,8 @@ True if this person's work history is to be used to provide credit for quarters worked for another person (usually to establish eligibility); false otherwise. - + A relationship between an employer and an employee. @@ -407,7 +446,8 @@ Supplements an employment relationship. - + An employment history for a person. @@ -427,17 +467,20 @@ A monetary payment received, usually on a regular basis. - + True if a person is married; false otherwise. - + An identification assigned by a Medicaid program to an individual. - + A relationship between a person and an organization. @@ -447,7 +490,8 @@ A capacity of a person for a language with which that person has the strongest preference. - + A pregnancy status of a person. @@ -485,7 +529,8 @@ A number of babies a pregnant person is expecting. - + A status of a verification that a person is a qualified non-citizen. @@ -516,7 +561,7 @@ A description of a response. - + @@ -571,7 +616,8 @@ A description of a response from a data source designated as trusted (a trusted data source or TDS) by the Centers for Medicare & Medicaid Services. - + An identification assigned by the Internal Revenue Service for tax purposes. @@ -584,7 +630,8 @@ Supplements an nc:Person with tribal information. - + A status for a verification that a person is a U.S. citizen. @@ -607,7 +654,8 @@ A name of a verification authority. - + @@ -615,7 +663,8 @@ A trusted data source, as specified by the Centers for Medicare & Medicaid Services. - + A kind of verification. @@ -640,12 +689,14 @@ An identification for a verification. - + True if an acceptable justification for an inconsistency has been provided; false otherwise. - + A justification of an inconsistency identified during verification (regardless of the acceptability of the justification). @@ -655,12 +706,14 @@ True if the information has been verified as accurate; false if the information has been rejected as inaccurate. - + A Metadata about any object, provided by a verifying authority. - + An information exchange system that requested a verification. @@ -671,12 +724,14 @@ A status of a verification. - + A kind of verification status. - + A supplement containing additional information provided by a verifying authority. @@ -738,12 +793,16 @@ - + - - + + - + @@ -759,7 +818,8 @@ - + @@ -841,18 +901,24 @@ - + - - - + + + - - + + @@ -867,9 +933,12 @@ - - - + + + @@ -916,7 +985,8 @@ - + @@ -932,21 +1002,26 @@ - + - + - + - + - + @@ -962,7 +1037,8 @@ - + @@ -1038,7 +1114,8 @@ - + @@ -1057,7 +1134,8 @@ - + @@ -1104,8 +1182,10 @@ - - + + @@ -1124,28 +1204,31 @@ - + - + - + - - + + - + @@ -1179,4 +1262,4 @@ - \ No newline at end of file + diff --git a/spec/reference/xml/atp/hix_cms_gov_hix_ee.xsd b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-ee/hix-ee.xsd similarity index 79% rename from spec/reference/xml/atp/hix_cms_gov_hix_ee.xsd rename to lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-ee/hix-ee.xsd index 445c56910..e7b93ace4 100644 --- a/spec/reference/xml/atp/hix_cms_gov_hix_ee.xsd +++ b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-ee/hix-ee.xsd @@ -1,20 +1,38 @@ - + + + true A package containing components needed for establishing eligibility and for enrolling in an insurance policy. - - - - - - - - - - + + + + + + + + + + An Advanced Payment of Premium Tax Credit (APTC) calculation. @@ -48,7 +66,8 @@ A certified assister (such as a navigator) who helps individuals complete an insurance application. - + An authorized representative who is granted limited power of attorney for an insurance application. @@ -61,7 +80,8 @@ A reference to a person designated as an authorized representative. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on social security number verification. @@ -74,7 +94,7 @@ An assessment of a person's suitability to participate in a CHIP eligibility program. - + @@ -82,57 +102,68 @@ An identification for a member of a CHIP program. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on incarceration rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on income rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on Medicaid citizen or immigrant rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on Medicaid residency rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on pregnancy category rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on state health benefits rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on targeted low-income child rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on title-II work quarters met section rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on trafficking victim category rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on unborn child category rules. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on waiting period rules. @@ -142,7 +173,8 @@ A CMS approved cost sharing reduction (CSR) amount that will be paid to the issuers in advance each month for each insured member who will be enrolled in the insurance plan. - + A data type for an alpha code indicating the insurance plan variant. @@ -155,7 +187,8 @@ An assessment of a person's suitability for cost sharing reduction (CSR) eligibility program. - + An activity that disenrolls a person from an insurance policy (ending the member role). @@ -202,7 +235,8 @@ A person who is the contact for an employer sponsored insurance (ESI) plan (e.g., a human resources contact). - + An expected status of employer sponsored insurance (ESI). @@ -280,7 +314,8 @@ A description of the reason for an eligibility basis determination of pending. - + A status of an eligibility basis determination. @@ -295,7 +330,8 @@ An activity of determining eligibility. - + A system making an eligibility determination. @@ -306,7 +342,8 @@ - + True if a person's eligibility for a program has been established (based on program rules); false otherwise. @@ -316,7 +353,8 @@ A description of the reason that eligibility was established (or not). - + A basis for emergency Medicaid eligibility based on Medicaid citizen or immigrant rules. @@ -329,12 +367,14 @@ An assessment of a person's suitability to participate in an emergency Medicaid eligibility program . - + A basis for emergency Medicaid eligibility based on income rules. - + A basis for emergency Medicaid eligibility based on residency rules. @@ -357,17 +397,20 @@ An assessment of a person's suitability to participate in an exchange eligibility program. - + A basis for exchange eligibility based on incarceration rules. - + A basis for exchange eligibility based on Qualified Health Plan (QHP) residency rules. - + A basis for exchange eligibility based on verified citizenship or lawful presence rules. @@ -390,7 +433,7 @@ A monetary payment received by a household, usually on a regular basis. - + @@ -412,7 +455,8 @@ True if the size of the household is expected to change; false otherwise. - + A basis for Children's Health Insurance Program (CHIP) eligibility based on household size. @@ -435,32 +479,38 @@ An assessment of income reasonable compatibility. - + An activity of establishing an income compatibility. - + A description of the reason for an income compatibility determination of inconsistent. - + True if an income compatibility passed verification; false otherwise. - + A method of verifying income compatibility. - + True if income eligibility is based on the application of rules accounting for reasonably predictable changes (RPC) in income or family size (under 42 C.F.R. § 435.603(h)(3)); false otherwise. [CDM] - + A percent of the Federal Poverty Level (FPL) that was applied as a threshold under state rules as a basis for determining income eligibility. @@ -470,7 +520,8 @@ A person requesting insurance coverage (either to obtain a new policy or to maintain enrollment in an existing policy). - + An indication of whether or not the applicant has an absent parent or spouse. @@ -480,134 +531,160 @@ An age when an applicant left foster care. - + True if the applicant is blind or disabled; false otherwise. - + True if an applicant has been enrolled in health insurance during the previous six months; false otherwise. - + A relationship between an applicant and an employer sponsored insurance arrangement. - + True if it is unknown whether an applicant is eligible for an employer sponsored insurance (ESI) plan; false otherwise. - + True if an applicant is eligible for an employer sponsored insurance (ESI) plan; false otherwise. - + True if an applicant is enrolled in an employer sponsored insurance (ESI) plan; false otherwise. - + A date an applicant is eligible to enroll in an employer sponsored insurance (ESI) plan. - + A date range an insurance applicant plans for coverage to be effective under an employer sponsored insurance (ESI) plan. - + An insurance applicant's planned action with respect to enrollment in an employer sponsored insurance (ESI) plan. - + True if the applicant is eligible for Indian Health Service/Tribal/Urban Indian Health (I/T/U) services; false otherwise. - + True if the applicant has a fixed address; false otherwise. - + True if the applicant has ever been in foster care; false otherwise. - + A state in which an applicant was provided foster care. - + True if the applicant received Medicaid benefits while in foster care; false otherwise. - + True if an applicant's Medicaid household differs from her/his tax household based on Medicaid MAGI eligibility rules; false otherwise. - + A description of the applicant's incarceration history. - + A status of the applicant's lawful presence in the United States. - + True if claiming tax filer is a non-custodial parent and if the claiming tax filer can be considered a caretaker relative; false otherwise. - + True if an applicant requires long term care; false otherwise. - + True if an applicant is enrolled in a non-employer sponsored insurance (ESI) plan; false otherwise. - + An insurance policy associated with an applicant that is not an employer sponsored insurance (ESI) arrangement. - + An average number of hours worked (in total) by a parent of an applicant. - + True if an applicant is a parent or caretaker of a child on the application; false otherwise. - + True if an applicant has ever received Indian Health Service/Tribal/Urban Indian Health (I/T/U) services; false otherwise. - + True if an applicant has medical bills within the last ninety days; false otherwise. - + True if an applicant has access to state benefits through a relationship to a public employee; false otherwise. @@ -617,7 +694,9 @@ True if an adult applicant older than 19 and less than 21 years old is a full-time student; false otherwise. - + True if an applicant temporarily lives outside the state under which an application is made; false otherwise. @@ -627,7 +706,8 @@ A formal request to establish insurance coverage for the applicants named in the application. - + A relationship between an insurance application and a certified assister (e.g., counselor or navigator). @@ -641,22 +721,26 @@ A certified assister (such as a navigator) who helps individuals complete an insurance application. - + A number of years for which a signer allows an exchange to renew coverage and determine eligibility (including reuse of tax data). - + True if an application includes a request for financial assistance; false otherwise. - + True if an insurance applicant is requesting Medicaid coverage; false otherwise. - + True if a signer has granted access to tax return data this year; false otherwise. @@ -676,7 +760,8 @@ An insurance plan that governs the terms of this insurance policy. - + A date range for which a policy is actually effective (i.e., taking into consideration when the policy actually took effect, was cancelled, etc.). @@ -686,7 +771,8 @@ An identification of the policy. - + A source that offers insurance policies. @@ -716,7 +802,8 @@ A data concept for a kind of lawful presence document. - + @@ -742,32 +829,37 @@ A unique number assigned to a document of a lawfully present applicant. - + An identification assigned to a person by an immigration document. - + True if an immigration document is issued in the same name as the person presenting it as proof of lawful presence; false otherwise. - + True if a person arrived in the US before 1996; false otherwise. - + An eligibility of a person to receive benefits under the Affordable Care Act. - + An immigration document used in determining lawful presence status. - + @@ -780,12 +872,15 @@ A collection of persons to be treated as a unit under Medicaid. - + A number of persons in a household based on a state's Medicaid rules. - + True if a household's income is greater than the highest applicable Modified Adjusted Gross Income (MAGI) standard for the household size; false otherwise. @@ -798,17 +893,19 @@ A collection of persons to be treated as a household unit under a state's Medicaid rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Medicaid Household rules. - + A method of verifying household size. - + @@ -816,32 +913,38 @@ An identification for a member of a Medicaid program. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on CHIPRA 214 category rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on adult group category rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on optional adult group category rules (subclause (XX) of 42 C.F.R. Section 1902(a)(10)(a)(ii)). - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Child category rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Medicaid citizenship or immigration rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on Dependent child coverage category rules. @@ -854,52 +957,62 @@ An assessment of a person's suitability to participate in a Medicaid program based on Modified Adjusted Gross Income (MAGI) criteria. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on five year bar rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on former foster-care category rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on income rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on optional targeted low-income child rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on parent caretaker category rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on pregnancy category rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on residency rules. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on social security number verification. - + A basis for Medicaid MAGI (Modified Adjusted Gross Income) eligibility based on seven year limit rules. - + A basis for Medicaid non-MAGI Eligibility by reason of blindness or disability. @@ -912,17 +1025,20 @@ An assessment of a person's suitability to participate in Medicaid Non MAGI eligibility program. - + A basis for Medicaid non-MAGI Eligibility by reason of eligibility for Medicare. - + True if an applicant is applying to the correct U.S. state for Medicaid; false otherwise. - + True if an applicant is subject to the Medicaid Student Residency rule; false otherwise. @@ -940,7 +1056,8 @@ A referral of an insurance applicant from one information exchange system to another. - + True if additional documentation is available to support a referral; false otherwise. @@ -954,7 +1071,8 @@ An assessment or determination of an eligibility that motivates a referral activity. - + An overall status of the verifications needed to establish eligibility for the applicant being referred. @@ -996,17 +1114,20 @@ An information exchange system responsible for sending an insurance applicant for referral. - + A status of a referral activity. - + A kind of referral activity status. - + @@ -1014,7 +1135,8 @@ An assessment of a person's suitability to participate in a refugee medical assistance eligibility program - + A basis for refugee eligibility based on medical assistance rules. @@ -1029,7 +1151,8 @@ A data concept for a kind of special enrollment period (SEP) qualifying event. - + @@ -1047,43 +1170,51 @@ An attestation a signer makes when submitting an application. - + True if a signer attests that they agree to the terms of the insurance application; false otherwise. - + True if a signer attests that they agree to cooperate with agencies that collect medical support information from absent parents; false otherwise. - + True if a signer attests that they agree to inform the exchange if information on the application changes; false otherwise. - + True if a signer attests that they are aware of their obligations as a Medicaid applicant; false otherwise. - + True if a signer attests that the information provided is truthful; false otherwise. - + True if a signer attests that they are not currently incarcerated; false otherwise. - + True if a signer attests that they are not currently incarcerated but pending disposition of a criminal charge; false otherwise. - + True if a signer attests that they understand how their information will be used; false otherwise. @@ -1093,7 +1224,8 @@ A person responsible for answering questions about an insurance application. - + A primary contact's preferred mode of receiving notices about an application. @@ -1103,7 +1235,8 @@ A person who signs a Single Streamlined Form (SSF) insurance application, including the attestations, and is therefore able to make decisions regarding the application (including assigning an authorized representative). - + A relationship between a Single Streamlined Form (SSF) signer and an authorized representative. @@ -1113,7 +1246,8 @@ A signature on a physical or electronic document. - + An enrollment period outside of open (annual or initial) enrollment. @@ -1134,7 +1268,8 @@ A person listed on a tax form as a dependent. - + True if a tax dependent is under the state-defined age for full-time students and is being claimed by a custodial parent; false otherwise. @@ -1157,7 +1292,8 @@ A data concept for an entity or set of entities that files taxes. - + A kind of filing status. @@ -1172,12 +1308,13 @@ True if the tax return includes dependents; false otherwise. - + A number of exemptions claimed on a tax return. - + @@ -1256,18 +1393,29 @@ - - - - - - - - + + + + + + + + - - - + + + @@ -1314,7 +1462,8 @@ - + @@ -1345,9 +1494,12 @@ - - - + + + @@ -1368,7 +1520,8 @@ - + @@ -1383,9 +1536,12 @@ - - - + + + @@ -1407,8 +1563,10 @@ - - + + @@ -1439,9 +1597,12 @@ - - - + + + @@ -1457,22 +1618,23 @@ - + - + - + - + @@ -1487,10 +1649,14 @@ - - - - + + + + @@ -1506,8 +1672,10 @@ - - + + @@ -1522,13 +1690,19 @@ - - - - - + + + + + - + @@ -1543,23 +1717,39 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -1569,20 +1759,29 @@ - - - - - - + + + + + + - - + + - + @@ -1592,7 +1791,8 @@ - + @@ -1608,13 +1808,18 @@ - - + + - - + + - + @@ -1652,7 +1857,8 @@ - + @@ -1669,7 +1875,8 @@ - + @@ -1684,12 +1891,18 @@ - - - - - - + + + + + + @@ -1704,9 +1917,12 @@ - - - + + + @@ -1738,7 +1954,8 @@ - + @@ -1753,8 +1970,10 @@ - - + + @@ -1769,22 +1988,38 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -1799,8 +2034,10 @@ - - + + @@ -1815,8 +2052,10 @@ - - + + @@ -1845,7 +2084,8 @@ - + @@ -1861,12 +2101,15 @@ - + - - + + @@ -1881,7 +2124,8 @@ - + @@ -1896,14 +2140,22 @@ - - - - - - - - + + + + + + + + @@ -1919,12 +2171,14 @@ - + - + @@ -1934,7 +2188,8 @@ - + @@ -1951,7 +2206,8 @@ - + @@ -1969,7 +2225,8 @@ - + @@ -1986,7 +2243,8 @@ - + @@ -2030,13 +2288,15 @@ - + - + - \ No newline at end of file + diff --git a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_pm.xsd b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-pm/hix-pm.xsd similarity index 77% rename from lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_pm.xsd rename to lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-pm/hix-pm.xsd index 65ffacfa0..9d022fd2f 100644 --- a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_pm.xsd +++ b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-pm/hix-pm.xsd @@ -1,23 +1,38 @@ - + + + true Reference Model for Health Information Exchange (HIX) Plan Management (PM) - - - - - - - + + + + + + + A data concept for an assessment of actuarial value, i.e., the extent to which health care costs are shouldered by an issuer (either directly or indirectly via a cost-sharing reduction). - + @@ -25,7 +40,8 @@ An assessment of actuarial value usually represented as a metallic tier. - + An identification for an insurance plan. @@ -35,7 +51,8 @@ A name of an insurance plan. - + A kind of subsidy available for policies based on this plan (e.g., Advance Premium Tax Credits and Cost Sharing Reductions). @@ -65,7 +82,8 @@ A set of healthcare services provided by a health care organization - + An identifier for the issuer. @@ -78,7 +96,8 @@ True if a plan meets the minimum value standard (60%); false otherwise. - + @@ -91,7 +110,8 @@ - + @@ -109,7 +129,7 @@ - + @@ -135,4 +155,4 @@ - \ No newline at end of file + diff --git a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_types.xsd b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-types/hix-types.xsd similarity index 98% rename from lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_types.xsd rename to lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-types/hix-types.xsd index 0af43bced..95a4a7103 100644 --- a/lib/aca_entities/atp/schema/aces/hix_cms_gov_hix_types.xsd +++ b/lib/aca_entities/atp/xml/constraint/niem/domains/hix/0.1/hix-types/hix-types.xsd @@ -1,14 +1,25 @@ - + + + true It contains the types used by HIX reference models. - - - - + + + + @@ -1500,7 +1511,8 @@ - + @@ -2147,4 +2159,4 @@ - \ No newline at end of file + diff --git a/spec/reference/xml/atp/niem_gov_niem_core_2_0.xsd b/lib/aca_entities/atp/xml/constraint/niem/niem-core.xsd similarity index 90% rename from spec/reference/xml/atp/niem_gov_niem_core_2_0.xsd rename to lib/aca_entities/atp/xml/constraint/niem/niem-core.xsd index 40db48608..b96dc9457 100644 --- a/spec/reference/xml/atp/niem_gov_niem_core_2_0.xsd +++ b/lib/aca_entities/atp/xml/constraint/niem/niem-core.xsd @@ -1,16 +1,29 @@ - + + + true NIEM Core includes both Universal (U) and Common (C) components. The identities for U and C components in Core are maintained with metadata. - - - - - - + + + + + + @@ -23,7 +36,8 @@ A data concept for a A date an activity occurs. - + An identification that references an activity. @@ -38,7 +52,7 @@ A data concept for a A representation of an address. - + @@ -56,7 +70,7 @@ A date an association ends. - + @@ -64,12 +78,13 @@ An electronic mailing address by which a person or organization may be contacted. - + True if the contact information is the primary method for contact; false otherwise. - + @@ -82,7 +97,7 @@ A data concept for a A means of contacting someone. - + @@ -90,7 +105,7 @@ A telephone number for a telecommunication device by which a person or organization may be contacted. - + @@ -103,7 +118,7 @@ A data concept for a A representation of a date. - + @@ -126,7 +141,7 @@ A name of a facility. - + @@ -139,7 +154,7 @@ A data concept for a A kind of identification. - + @@ -157,7 +172,8 @@ A data concept for a An area, region, or unit in which a unique identification is issued. - + @@ -170,7 +186,7 @@ A data concept for a A system of words or symbols used for communication. - + @@ -183,7 +199,8 @@ A geophysical location described by postal information. - + A name of a city or town. @@ -193,7 +210,7 @@ A data concept for a A country, territory, dependency, or other such geopolitical subdivision of a location. - + @@ -206,7 +223,7 @@ A data concept for a A county, parish, vicinage, or other such geopolitical subdivision of a state. - + @@ -214,7 +231,7 @@ A county, parish, vicinage, or other such geopolitical subdivision of a state. - + @@ -232,7 +249,7 @@ A data concept for a A state, commonwealth, province, or other such geopolitical subdivision of a country. - + @@ -240,7 +257,7 @@ A state, commonwealth, province, or other such geopolitical subdivision of a country. - + @@ -248,7 +265,7 @@ A road, thoroughfare or highway. - + @@ -261,7 +278,8 @@ A data concept for a A measurement value. - + An identification that references an organization. @@ -271,12 +289,14 @@ A name of an organization. - + A preferred means of contacting an organization. - + @@ -299,7 +319,7 @@ A data concept for a A cultural lineage of a person. - + @@ -312,17 +332,20 @@ A complete name of a person. - + A first name of a person. - + True if a person is alive, false if a person is dead. - + A middle name of a person. @@ -342,7 +365,7 @@ A data concept for a A classification of a person based on factors such as geographical locations and genetics. - + @@ -358,7 +381,8 @@ A human being. - + A unique reference to a living person; assigned by the United States Social Security Administration. @@ -368,7 +392,7 @@ A data concept for a A gender or sex of a person. - + @@ -376,7 +400,8 @@ A gender or sex of a person. - + True if a person is able to speak a language; false otherwise. @@ -386,12 +411,14 @@ A last name or family name of a person. - + True if a person is a citizen of the United States; false otherwise. - + True if a person is able to write a language; false otherwise. @@ -406,7 +433,7 @@ A complete reference for a street. - + @@ -419,7 +446,8 @@ A facility at which a subject is being supervised. - + A complete telephone number. @@ -434,7 +462,7 @@ A Additional numbers to be entered after a call connects to be directed to the appropriate place. - + @@ -442,7 +470,7 @@ A year. - + @@ -551,7 +579,7 @@ - + @@ -605,7 +633,8 @@ - + @@ -646,7 +675,7 @@ - + @@ -676,7 +705,8 @@ - + @@ -706,7 +736,8 @@ - + @@ -937,4 +968,4 @@ - \ No newline at end of file + diff --git a/spec/reference/xml/atp/niem_gov_usps_states_2_0.xsd b/lib/aca_entities/atp/xml/constraint/niem/usps_states/2.0/usps_states.xsd similarity index 92% rename from spec/reference/xml/atp/niem_gov_usps_states_2_0.xsd rename to lib/aca_entities/atp/xml/constraint/niem/usps_states/2.0/usps_states.xsd index 86a30ff5e..cc5fff905 100644 --- a/spec/reference/xml/atp/niem_gov_usps_states_2_0.xsd +++ b/lib/aca_entities/atp/xml/constraint/niem/usps_states/2.0/usps_states.xsd @@ -1,14 +1,24 @@ - + + + true U.S. state and possession abbreviations from the U.S. Postal Service (USPS). - - - - + + + + @@ -342,4 +352,4 @@ - \ No newline at end of file + diff --git a/lib/aca_entities/atp/schema/aces/niem_gov_appinfo_2_0.xsd b/lib/aca_entities/atp/xml/constraint/subset/niem/appinfo/2.0/appinfo.xsd similarity index 92% rename from lib/aca_entities/atp/schema/aces/niem_gov_appinfo_2_0.xsd rename to lib/aca_entities/atp/xml/constraint/subset/niem/appinfo/2.0/appinfo.xsd index 9a9a8767b..7a1808ab1 100644 --- a/lib/aca_entities/atp/schema/aces/niem_gov_appinfo_2_0.xsd +++ b/lib/aca_entities/atp/xml/constraint/subset/niem/appinfo/2.0/appinfo.xsd @@ -1,4 +1,8 @@ - + + + The appinfo schema provides support for high level data model concepts and additional syntax to support the NIEM @@ -90,4 +94,4 @@ non-NIEM-conformant content. - \ No newline at end of file + diff --git a/lib/aca_entities/atp/schema/aces/niem_gov_appinfo_2_1.xsd b/lib/aca_entities/atp/xml/constraint/subset/niem/appinfo/2.1/appinfo.xsd similarity index 84% rename from lib/aca_entities/atp/schema/aces/niem_gov_appinfo_2_1.xsd rename to lib/aca_entities/atp/xml/constraint/subset/niem/appinfo/2.1/appinfo.xsd index 99b3b7abd..d81d1b2b0 100644 --- a/lib/aca_entities/atp/schema/aces/niem_gov_appinfo_2_1.xsd +++ b/lib/aca_entities/atp/xml/constraint/subset/niem/appinfo/2.1/appinfo.xsd @@ -1,4 +1,7 @@ - + + + This appinfo schema provides support for augmented types and augmented elements in NIEM domain schemas. It was written to work in tandem with the NIEM appinfo v2.0 schema. @@ -12,4 +15,4 @@ The AugmentedElementIndicator may be applied to any NIEM-conformant element. An element that occurs in a NIEM domain and that has a type that is an augmented type should have a true value. No other elements should have a true value. - \ No newline at end of file + diff --git a/lib/aca_entities/atp/schema/aces/niem_gov_domains_screening_2_0.xsd b/lib/aca_entities/atp/xml/constraint/subset/niem/domains/screening/2.1/screening.xsd similarity index 97% rename from lib/aca_entities/atp/schema/aces/niem_gov_domains_screening_2_0.xsd rename to lib/aca_entities/atp/xml/constraint/subset/niem/domains/screening/2.1/screening.xsd index 2ec8605b5..9bd4b9545 100644 --- a/lib/aca_entities/atp/schema/aces/niem_gov_domains_screening_2_0.xsd +++ b/lib/aca_entities/atp/xml/constraint/subset/niem/domains/screening/2.1/screening.xsd @@ -1,21 +1,35 @@ - + + + true The People Screening domain provides harmonized information sharing content within the Screening Portfolio of DHS. The Screening namespace is initially being populated with person screening information for immigrant and non-immigrant person types who have been encountered and identified by the Screening Portfolio Components. Screening expands on encounter-related NIEM elements currently included in the Immigration and Intelligence domains. - - - - - + + + + + The date , as specified at ARRIVAL, on which the alien is no longer authorized to stay in the United State. - + A kind of class of admission. @@ -876,4 +890,4 @@ - \ No newline at end of file + diff --git a/spec/reference/xml/atp/niem_gov_proxy_xsd_2_0.xsd b/lib/aca_entities/atp/xml/constraint/subset/niem/proxy/xsd/2.0/xsd.xsd similarity index 78% rename from spec/reference/xml/atp/niem_gov_proxy_xsd_2_0.xsd rename to lib/aca_entities/atp/xml/constraint/subset/niem/proxy/xsd/2.0/xsd.xsd index e0be1907f..4ec2ff7f3 100644 --- a/spec/reference/xml/atp/niem_gov_proxy_xsd_2_0.xsd +++ b/lib/aca_entities/atp/xml/constraint/subset/niem/proxy/xsd/2.0/xsd.xsd @@ -1,16 +1,23 @@ - + + + Proxy types that carry dictionary metadata and have XML data type simple contents. true - - + + - + @@ -23,7 +30,7 @@ A data type for Base64-encoded binary data. - + @@ -36,7 +43,7 @@ A data type for binary-valued logic (true/false). - + @@ -49,7 +56,7 @@ A data type for a calendar date with the format CCYY-MM-DD. - + @@ -61,7 +68,7 @@ - + @@ -74,7 +81,7 @@ A data type for arbitrary precision decimal numbers. - + @@ -87,7 +94,7 @@ A data type for a duration of time with the format PnYnMnDTnHnMnS, where nY is the number of years, nM is the number of months, nD is the number of days, nH is the number of hours, nM is the number of minutes, and nS is the number of seconds. - + @@ -100,7 +107,7 @@ A data type for a Gregorian month with the format --MM--. - + @@ -113,7 +120,7 @@ A data type for a Gregorian calendar year with the format CCYY. - + @@ -126,7 +133,7 @@ A data type for a specific gregorian month in a specific gregorian year. - + @@ -139,7 +146,7 @@ A data type for hex-encoded binary data. - + @@ -152,7 +159,7 @@ A data type for the standard mathematical concept of integer numbers. - + @@ -165,7 +172,7 @@ A data type for an integer with a minimum value of 0. - + @@ -178,7 +185,7 @@ A data type for character strings in XML. - + @@ -191,7 +198,7 @@ A data type for an instant of time with the format hh:mm:ss.sss. - + @@ -204,7 +211,7 @@ A data type for tokenized strings. - + @@ -213,4 +220,4 @@ - \ No newline at end of file + diff --git a/lib/aca_entities/atp/schema/aces/niem_gov_structures_2_0.xsd b/lib/aca_entities/atp/xml/constraint/subset/niem/structures/2.0/structures.xsd similarity index 62% rename from lib/aca_entities/atp/schema/aces/niem_gov_structures_2_0.xsd rename to lib/aca_entities/atp/xml/constraint/subset/niem/structures/2.0/structures.xsd index 685ec6eb7..b7877a06d 100644 --- a/lib/aca_entities/atp/schema/aces/niem_gov_structures_2_0.xsd +++ b/lib/aca_entities/atp/xml/constraint/subset/niem/structures/2.0/structures.xsd @@ -1,6 +1,12 @@ - + + + - + @@ -26,25 +32,25 @@ - - + + - + - + - + - + /)} - let(:schema_location) do - loc = File.join( - File.dirname(__FILE__), - "..", "..", "..", "..", "..", - "reference", "xml", "atp", - "atp_service.xsd" - ) - File.expand_path(loc) - end - ############################ let(:schematron_location) do loc = File.join( @@ -48,7 +39,7 @@ end ############################## - let(:schema) { Nokogiri::XML::Schema(File.open(schema_location)) } + let(:schema) { AcaEntities::Atp::Xml::Validator.new } it "is schema valid" do # Line numbers must be adjusted for accurate error messages diff --git a/spec/aca_entities/serializers/xml/medicaid/atp/outgoing_xml_spec.rb b/spec/aca_entities/serializers/xml/medicaid/atp/outgoing_xml_spec.rb index 99c3f9455..a649c724b 100644 --- a/spec/aca_entities/serializers/xml/medicaid/atp/outgoing_xml_spec.rb +++ b/spec/aca_entities/serializers/xml/medicaid/atp/outgoing_xml_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require 'spec_helper' +require 'aca_entities/atp/operations/aces/generate_xml' require 'aca_entities/serializers/xml/medicaid/atp' require 'open3' @@ -25,7 +26,52 @@ it "passes business rule validation" do data = sample_xml - output, _err = Open3.capture3("java -jar atp_validator-0.1.0-jar-with-dependencies.jar --oneshot", stdin_data: data, binmode: true, + output, _err = Open3.capture3("java -jar atp_validator-0.3.0-jar-with-dependencies.jar --oneshot", stdin_data: data, binmode: true, + chdir: schematron_location) + error_doc = Nokogiri::XML(output) + error_objects = error_doc.xpath("//svrl:failed-assert", business_error_ns).map do |node| + location = node.at_xpath("@location").content + message = node.at_xpath("svrl:text").content + [location, message] + end + error_objects.each do |error| + puts "\n\n======= Business Rule Failure =======" + puts error.first + puts error.last + end + expect(error_objects).to be_empty + end + +end + +RSpec.describe AcaEntities::Serializers::Xml::Medicaid::Atp::AccountTransferRequest, "encoded from a file with additional referral reasons" do + let(:payload) { File.read(Pathname.pwd.join("spec/support/atp/sample_payloads/multiple_reason_L_cv_payload.json")) } + let(:payload_hash) { JSON.parse(payload, symbolize_names: true) } + + let(:xml_payload) do + result = AcaEntities::Atp::Operations::Aces::GenerateXml.new.call(payload_hash.to_json) + result.value! + end + + let(:schematron_location) do + loc = File.join( + File.dirname(__FILE__), + "..", "..", "..", "..", "..", + "reference", "xml", "atp" + ) + File.expand_path(loc) + end + + let(:business_error_ns) do + { + svrl: "http://purl.oclc.org/dsdl/svrl" + } + end + + it "passes business rule validation" do + data = xml_payload + + output, _err = Open3.capture3("java -jar atp_validator-0.3.0-jar-with-dependencies.jar --oneshot", stdin_data: data, binmode: true, chdir: schematron_location) error_doc = Nokogiri::XML(output) error_objects = error_doc.xpath("//svrl:failed-assert", business_error_ns).map do |node| diff --git a/spec/reference/xml/atp/at_dsh_cms_gov_extension.xsd b/spec/reference/xml/atp/at_dsh_cms_gov_extension.xsd deleted file mode 100644 index 7db4c4459..000000000 --- a/spec/reference/xml/atp/at_dsh_cms_gov_extension.xsd +++ /dev/null @@ -1,184 +0,0 @@ - - - - true - - An extension schema with additional data components needed for Hub to identify the endpoint - - - - - - - - - - - - Account Transfer Version Number - - - - - A set of persons that reside together. - - - - - - Code which identifies Exchange or MedicaidCHIP - - - - - Transfer Activity State Code - - - - - Account Transfer Response - - - - - - Count of the applicants referred in this transfer for program eligibility determination by the state agency or FFM. - - - - - A entity that starts the referral process. - - - - - - - - A data type for Account Transfer Request Details - - - - - - - - - - - - - - - - - - - - - - - - - - A data type for Account Transfer Response Details - - - - - - - - - - - - - - - - A data type for Transfer Activity Code - - - - - Exchange - - - - - MedicaidCHIP - - - - - - - - - - A data type for Transfer Activity Code - - - - - - - - - - - - - A data type for An entity that started the referral activity. - - - - - - - - - - - - - - - - - A data type for An entity that started the referral process. - - - - - - - - - - - - - - - A data type for for account transfer version number - - - - - - - - - - - A data type for for account transfer version number - - - - - - - - \ No newline at end of file diff --git a/spec/reference/xml/atp/atp_service.xsd b/spec/reference/xml/atp/atp_service.xsd deleted file mode 100644 index d1df84a33..000000000 --- a/spec/reference/xml/atp/atp_service.xsd +++ /dev/null @@ -1,15 +0,0 @@ - - - - true - - An exchange schema for transfer of an account from the Marketplace to Medicaid/CHIP or from Medicaid/CHIP to the Marketplace for an eligibility determination. - - - - - - - - - \ No newline at end of file diff --git a/spec/reference/xml/atp/atp_validator-0.1.0-jar-with-dependencies.jar b/spec/reference/xml/atp/atp_validator-0.1.0-jar-with-dependencies.jar deleted file mode 100644 index d06844b52..000000000 Binary files a/spec/reference/xml/atp/atp_validator-0.1.0-jar-with-dependencies.jar and /dev/null differ diff --git a/spec/reference/xml/atp/atp_validator-0.3.0-jar-with-dependencies.jar b/spec/reference/xml/atp/atp_validator-0.3.0-jar-with-dependencies.jar new file mode 100644 index 000000000..1be745679 Binary files /dev/null and b/spec/reference/xml/atp/atp_validator-0.3.0-jar-with-dependencies.jar differ diff --git a/spec/reference/xml/atp/hix_cms_gov_hix_pm.xsd b/spec/reference/xml/atp/hix_cms_gov_hix_pm.xsd deleted file mode 100644 index 65ffacfa0..000000000 --- a/spec/reference/xml/atp/hix_cms_gov_hix_pm.xsd +++ /dev/null @@ -1,138 +0,0 @@ - - - - true - - Reference Model for Health Information Exchange (HIX) Plan Management (PM) - - - - - - - - - - - A data concept for an assessment of actuarial value, i.e., the extent to which health care costs are shouldered by an issuer (either directly or indirectly via a cost-sharing reduction). - - - - - - - - An assessment of actuarial value usually represented as a metallic tier. - - - - - An identification for an insurance plan. - - - - - A name of an insurance plan. - - - - - A kind of subsidy available for policies based on this plan (e.g., Advance Premium Tax Credits and Cost Sharing Reductions). - - - - - A rate that determines a premium for an insurance policy based on a member's attributes, such as geographic location, age, and tobacco use status. - - - - - An amount collected from a subscriber as a premium. - - - - - True if a rate applies at some point in the future; false if it currently applies. - - - - - A frequency of an insurance rate. - - - - - A set of healthcare services provided by a health care organization - - - - - An identifier for the issuer. - - - - - - - - True if a plan meets the minimum value standard (60%); false otherwise. - - - - - - - - - A data type for a rate that determines a premium for an insurance policy based on a member's attributes, such as geographic location, age, and tobacco use status. - - - - - - - - - - - - - - - - - A data type for a package of benefits paired with consumer costs, including premium rates and a default set of cost sharings. (An insurance plan variant may override the default set of cost sharings). - - - - - - - - - - - - - - - - - - - - - - - A data type for a licensed health insurance issuing organization registered in a specific state. - - - - - - - - - - - \ No newline at end of file diff --git a/spec/reference/xml/atp/hix_cms_gov_hix_types.xsd b/spec/reference/xml/atp/hix_cms_gov_hix_types.xsd deleted file mode 100644 index 0af43bced..000000000 --- a/spec/reference/xml/atp/hix_cms_gov_hix_types.xsd +++ /dev/null @@ -1,2150 +0,0 @@ - - - - true - - It contains the types used by HIX reference models. - - - - - - - - - - - A data type for an indication of whether or not the applicant has an absent parent or spouse. - - - - - Yes, an insurance applicant has an absent parent or spouse, and information about those individuals is provided. - - - - - No, an insurance applicant does not have an absent parent or spouse. - - - - - Yes, an insurance applicant has an absent parent or spouse, but information about those individuals is not provided (which requires "good cause"). - - - - - - - - - - A data type for an indication of whether or not the applicant has an absent parent or spouse. - - - - - - - - - - - - - A data type for an assessment of actuarial value usually represented as a metallic tier. - - - - - Platinum — target of 0.9 actuarial value - - - - - Gold — target of 0.8 actuarial value - - - - - Silver — target of 0.7 actuarial value - - - - - Bronze — target of 0.6 actuarial value - - - - - Catastrophic — no target actuarial value — intended for young adults - - - - - - - - - - A data type for an assessment of actuarial value usually represented as a metallic tier. - - - - - - - - - - - - - A data type for a verification of an address. - - - - - Valid match of address - - - - - Partial match of address - - - - - Street missing from address - - - - - City missing from address - - - - - - - - - - A data type for a verification of an address. - - - - - - - - - - - - - A data type for an indication of whether a person is a dependent deprived of parental support whose care is provided by a caretaker under Medicaid rules, including the dependent's health coverage status. - - - - - Yes, the person is a dependent deprived of parental support whose care is provided by a caretaker — the dependent has health coverage - - - - - Yes, the person is a dependent deprived of parental support whose care is provided by a caretaker — the dependent lacks health coverage - - - - - No, the person is not a dependent deprived of parental support whose care is provided by a caretaker - - - - - - - - - - A data type for an indication of whether a person is a dependent deprived of parental support whose care is provided by a caretaker under Medicaid rules, including the dependent's health coverage status. - - - - - - - - - - - - - A data type for a kind of contact information. - - - - - Home - - - - - Work - - - - - Employer - - - - - Friend - - - - - Mailing - - - - - A set of ways to contact a person indirectly via an organization, such as an employer - - - - - A set of ways to contact a person indirectly via a person, such as a friend - - - - - A set of ways to contact a person directly - - - - - Mobile phone - - - - - Current address at which applicant is residing - - - - - Temporary residency address - - - - - - - - - - A data type for a kind of contact information. - - - - - - - - - - - - - A data type for a means of delivering notices to a person. - - - - - Text message; i.e., Simple Message Service (SMS) - - - - - Email - - - - - U.S. Mail - - - - - - - - - - A data type for a means of delivering notices to a person. - - - - - - - - - - - - - - - - - Lawful Permanent Resident – Employment Authorized - - - - - Section 245A Temporary Resident – Temporary Employment Authorized - - - - - Cuban/Haitian Entrant – Temporary Employment Authorized - - - - - Institute Additional Verification - - - - - Application Pending – Temporary Employment Authorized - - - - - Temporary Employment Authorized - - - - - Lawful Permanent Resident - - - - - Non-Immigrant - - - - - Refugee – Employment Authorized - - - - - Asylee – Employment Authorized - - - - - Temporary Resident – Temporary Employment Authorized - - - - - United States Citizen - - - - - Student Requiring SEVIS (Student and Exchange Visitor Information System) ID Number - - - - - Initial Verification Failed: Name or Date of Birth (DOB) Mismatch or Record Not Found for Document Number - - - - - Returned when Student's SEVIS (Student and Exchange Visitor Information System) ID Is Not Active - - - - - Student Status Temporary Authorized - - - - - Non-Immigrant – Temporary Employment Authorized - - - - - Asylum Application Pending – Employment Authorized - - - - - Non-Immigrant – Employment Authorized CNMI (Commonwealth of the Northern Mariana Islands) Only - - - - - DACA (Deferred Action for Childhood Arrivals) – Employment Authorized - - - - - Temporary Protected Status – Employment Authorized - - - - - - - - - - - - - - - - - - - - - - A data type for a reason for a disenrollment. - - - - - Disenrollment due to unpaid premiums - - - - - Disenrollment because the issuer discontinued the plan - - - - - Disenrollment because the employer no longer offers the plan - - - - - Disenrollment due to change of employer - - - - - - - - - - A data type for a reason for a disenrollment. - - - - - - - - - - - - - A data type for a status of an eligibility basis determination. - - - - - Eligibility determination status is complete. - - - - - Eligibility determination status is pending. - - - - - Eligibility determination status is not applicable. - - - - - Eligibility determination status is inconsistent. - - - - - - - - - - A data type for a status of an eligibility basis determination. - - - - - - - - - - - - - A data type for a kind of program for which a determination was made. - - - - - Children's Health Insurance Program - - - - - Emergency Medicaid insurance program - - - - - Refugee Medical Assistance insurance program - - - - - Qualified Health Plan insurance program - - - - - Medicaid insurance program - - - - - Dental - - - - - - - - - - A data type for a kind of program for which a determination was made. - - - - - - - - - - - - - A data type for a status of an employer's sponsorship of insurance. - - - - - Currently offers insurance. - - - - - Does not currently offer insurance. - - - - - Does not currently offer, but plans to offer insurance. - - - - - Currently offers insurance, but plans to drop it. - - - - - Currently offers insurance, but plans to change available options. - - - - - Employee does not know what insurance an employer intends to sponsor. - - - - - Currently offers insurance, but plans to change an employee's cost. - - - - - - - - - - A data type for a status of an employer's sponsorship of insurance. - - - - - - - - - - - - - A data type for a status of a person's employment. - - - - - No Longer Employed - - - - - Retired - - - - - Currently Employed - - - - - - - - - - A data type for a status of a person's employment. - - - - - - - - - - - - - A data type for a person's enrollment status in an insurance plan. - - - - - Enrolled - - - - - Planning to enroll - - - - - Not eligible to enroll - - - - - Enrolled and planning to disenroll - - - - - Eligible but not enrolled or planning to enroll - - - - - - - - - - A data type for a person's enrollment status in an insurance plan. - - - - - - - - - - - - - A data type for a kind of expense. - - - - - Alimony expense - - - - - Student loan interest expense - - - - - - - - - - A data type for a kind of expense. - - - - - - - - - - - - - A data type for A data type (established by the Federally Facilitated Exchange) for a verification. - - - - - Verification affirmed - - - - - Verification inconsistency or pended state never resolved - - - - - Verification inconsistent - - - - - Verification pended - - - - - - - - - - A data type for A data type (established by the Federally Facilitated Exchange) for a verification. - - - - - - - - - - - - - A data type for a familial relationship between two people. - - - - - Spouse - - - - - Parent (father or mother) - - - - - Grandparent (grandfather or grandmother) - - - - - Grandchild (grandson or granddaughter) - - - - - Uncle or aunt - - - - - Nephew or niece - - - - - First cousin - - - - - Adopted child (son or daughter) - - - - - Foster child (foster son or foster daughter) - - - - - Son-in-law or daughter-in-law - - - - - Brother-in-law or sister-in-law - - - - - Mother-in-law or father-in law - - - - - Sibling (brother or sister) - - - - - Ward - - - - - Stepparent (stepfather or stepmother) - - - - - Stepchild (stepson or stepdaughter) - - - - - Self - - - - - Child (son or daughter) - - - - - Sponsored dependent - - - - - Dependent of a minor dependent - - - - - Former spouse - - - - - Guardian - - - - - Court-appointed guardian - - - - - Collateral dependent - - - - - Domestic partner - - - - - Annuitant - - - - - Trustee - - - - - Unspecified relationship - - - - - Unspecified relative - - - - - Parent's domestic partner - - - - - Child of domestic partner - - - - - - - - - - A data type for a familial relationship between two people. - - - - - - - - - - - - - A data type for a frequency. - - - - - Weekly - - - - - Monthly - - - - - Annually - - - - - Bi-Weekly - - - - - Quarterly - - - - - Semi-Monthly - - - - - Hourly - - - - - Daily - - - - - Semi-Annually - - - - - Thirteen times per year - - - - - Eleven times per year - - - - - Ten times per year - - - - - Once - - - - - - - - - - A data type for a frequency. - - - - - - - - - - - - - A data type for a verification result generated by the Department of Homeland Security (DHS) Systematic Alien Verification for Entitlements (SAVE) system. - - - - - Lawful Permanent Resident - - - - - Conditional Resident - - - - - Application Pending - - - - - Asylee - - - - - Refugee - - - - - Parolee - Indefinite - - - - - Parolee - Expires - - - - - Cuban/Haitian Entrant - - - - - Conditional Entrant - - - - - Non-Immigrant - - - - - American Indian Born In Canada - - - - - U.S. Citizen - - - - - Continue to Process - - - - - Expired Document - - - - - Altered Document - - - - - Counterfeit Document - - - - - Resubmit with Disclosure Consent - - - - - Resubmit Doc (Need Copy Original) - - - - - Resubmit Doc (2 Sided Needed) - - - - - Resubmit Doc (Unreadable) - - - - - Other - - - - - Operator Error - - - - - - - - - - A data type for a verification result generated by the Department of Homeland Security (DHS) Systematic Alien Verification for Entitlements (SAVE) system. - - - - - - - - - - - - - A data type for a kind of method for verifying household size. - - - - - Household size verified using Internal Revenue Service (IRS) data - - - - - Household size verified using internal data - - - - - Household size verified using paper data - - - - - Household size verified using attestation - - - - - Household size verification method not applicable - - - - - - - - - - A data type for a kind of method for verifying household size. - - - - - - - - - - - - - A data type for a kind of immigration document. - - - - - Document indicating that a person is an American Samoan - - - - - Certificate of Citizenship - - - - - Document indicating that a person is a Haitian or Cuban entrant - - - - - DS2019 Certificate of Eligibility for Exchange Visitor (J-1) Status - - - - - I-20 Certificate of Eligibility for Nonimmigrant (F-1) Student Status - - - - - I-327 Reentry Permit - - - - - I-551 Permanent Resident Card - - - - - I-571 Refugee Travel Document - - - - - I-766 Employment Authorization Card - - - - - I-797 Notice of Action - - - - - I-94 Arrival/Departure Record - - - - - I-94 Arrival/Departure Record in Unexpired Foreign Passport - - - - - Machine Readable Visa (with Temporary I-551 Language) - - - - - Document indicating that a person is a member of a federally-recognized Indian tribe or American Indian born in Canada - - - - - Naturalization Certificate - - - - - Certification from the U.S. Department of Health and Human Services Office of Refugee Resettlement (ORR) - - - - - Office of Refugee Resettlement (ORR) eligibility letter - - - - - Administrative stay of removal issued by the Department of Homeland Security - - - - - Document indicating withholding of removal - - - - - Temporary I-551 Stamp (on Passport or I-94) - - - - - Unexpired Foreign Passport - - - - - - - - - - A data type for a kind of immigration document. - - - - - - - - - - - - - A data type for a kind of income. - - - - - Capital Gains - - - - - Interest - - - - - Wages - - - - - Rental or Royalty - - - - - Farming or Fishing - - - - - Winnings - - - - - Alimony - - - - - Social Security - - - - - Unemployment - - - - - Retirement - - - - - Canceled Debt - - - - - Court Award - - - - - Jury Duty - - - - - Self Employment - - - - - Cash Support - - - - - Scholarship - - - - - Unspecified kind of income - - - - - Pension - - - - - - - - - - A data type for a kind of income. - - - - - - - - - - - - - A data type for an income reasonable compatibility method used in an income eligibility determination. - - - - - Expedited path – Internal Revenue Service (IRS) data - - - - - Current to Annual – Internal Revenue Service (IRS) data - - - - - External data source current income - - - - - Attestation - - - - - Paper verification - - - - - - - - - - A data type for an income reasonable compatibility method used in an income eligibility determination. - - - - - - - - - - - - - A data type for a kind of system that participates in the exchange of electronic information. - - - - - Exchange system - - - - - Medicaid agency system - - - - - Children's Health Insurance Program (CHIP) agency system - - - - - - - - - - A data type for a kind of system that participates in the exchange of electronic information. - - - - - - - - - - - - - A data type for a kind of insurance plan variant represented as an alpha code. - - - - - Open to Indians below 300% FPL (Federal Poverty Level) - - - - - Open to Indians above 300% FPL (Federal Poverty Level) - - - - - 73% Actuarial Variance Level Silver Plan Cost Sharing Reduction (CSR) - - - - - 87% Actuarial Variance Level Silver Plan Cost Sharing Reduction (CSR) - - - - - 94% Actuarial Variance Level Silver Plan Cost Sharing Reduction (CSR) - - - - - - - - - - A data type for a kind of insurance plan variant represented as an alpha code. - - - - - - - - - - - - - A data type for a kind of source that offers insurance coverage. - - - - - Employer-sponsored coverage - - - - - Private coverage - - - - - Medicaid coverage - - - - - Medicare coverage - - - - - Children's Health Insurance Program coverage - - - - - Triple option benefit plan (TRICARE) coverage - - - - - Veteran Health Program coverage - - - - - Peace Corps coverage - - - - - Office of Personnel Management coverage - - - - - Federal coverage - - - - - State coverage - - - - - Unspecified source of insurance coverage that provides limited coverage (i.e., Medicaid is the primary payer) - - - - - Unspecified source of insurance coverage that provides full coverage (i.e., Medicaid is the secondary payer) - - - - - - - - - - A data type for a kind of source that offers insurance coverage. - - - - - - - - - - - - - A data type for a ratio, proper fraction, or percentage (1.00 represents 100%). - - - - - - - - - - - A data type for a kind of plan year. - - - - - A plan year based on today's date. - - - - - A plan year based on a policy's coverage year. - - - - - - - - - - A data type for a kind of plan year. - - - - - - - - - - - - - A data type for a reason for a referral activity. - - - - - The applicant has requested a full determination be made for Medicaid and Children's Health Insurance Program eligibility. - - - - - The marketplace has requested that a Children's Health Insurance Program (CHIP) system determine if an applicant qualifies for an exception to the normal waiting period rules for the Children's Health Insurance Program. (This reason can apply either in the case of an initial referral from a marketplace to a CHIP system or in the case of a rejected referral initiated by a CHIP system.) - - - - - The sender is referring an applicant under the gap filling rules established by the Centers for Medicare & Medicaid Services. - - - - - - - - - - A data type for a reason for a referral activity. - - - - - - - - - - - - - A data type for a status of a referral. - - - - - A referral has been initiated by the sender; the next status will usually be accepted, rejected or temporary. - - - - - A referral has been accepted by the receiver; this is usually a final state for a given referral. - - - - - A referral has been rejected by the receiver; this is usually a final state for a given referral. - - - - - A referral with inconsistencies has been provisionally accepted by the receiver; the next status (resolving the inconsitencies) will usually be updated. - - - - - A referral has been updated by the sender; the next status will usually be accepted or rejected. - - - - - An eligibility determination (or more than one) in a referral has been rejected by the receiver, but at least one determination remains unresolved; this is not a final state for a given referral. The next state will likely be Rejected or Accepted (for the outstanding eligibility determination). - - - - - - - - - - A data type for a status of a referral. - - - - - - - - - - - - - A data type for a kind of qualifying event for a special enrollment period (SEP). - - - - - Immigration qualifying event - - - - - Marriage qualifying event - - - - - Loss of insurance coverage qualifying event - - - - - Adoption qualifying event - - - - - Relocation qualifying event - - - - - Release from incarceration qualifying event - - - - - - - - - - A data type for a kind of qualifying event for a special enrollment period (SEP). - - - - - - - - - - - - - A data type for a trusted data source, as specified by the Centers for Medicare & Medicaid Services. - - - - - Social Security Administration data source - - - - - Department of Homeland Security data source - - - - - Children's Health Insurance Program data source - - - - - Centers for Medicare & Medicaid Services data source - - - - - Experian data source - - - - - Internal Revenue Service data source - - - - - Medicaid data source - - - - - Medicare data source - - - - - Basic Health Program data source - - - - - Symantec data source - - - - - Equifax data source - - - - - Eligibility Support Desktop (help desk) data source - - - - - State data source (such as Medicaid, Children's Health Insurance Program, or Basic Health Program) - - - - - Paper documentation (usually provided by an applicant) - - - - - - - - - - A data type for a trusted data source, as specified by the Centers for Medicare & Medicaid Services. - - - - - - - - - - - - - A data type for a kind of tax filing status. - - - - - Single, Filing Declaration of Estimated Income Tax - - - - - Single Taxpayer - - - - - Married Taxpayer filing Joint Return - - - - - Married Taxpayer filing a Separate Return (Spouse exemption is not claimed) - - - - - Head of Household (Claiming Dependent) - - - - - Widow(er) with a Dependent Child - - - - - Married Taxpayer filing a Separate Return (Spouse exemption IS claimed) - - - - - Head of Household (Dependent is not Claimed) - - - - - - - - - - A data type for a kind of tax filing status. - - - - - - - - - - - - - A data type for a kind of verification metadata. - - - - - Verification of Social Security Number - - - - - Verification of U.S. citizenship - - - - - Verification of an immigration status that is eligible for insurance benefits - - - - - Verification of annual income - - - - - Verification of current income - - - - - Verification of incarceration status - - - - - Verification of employer sponsored insurance (ESI) minimum essential coverage (MEC) - - - - - Verification of non-employer sponsored insurance (ESI) minimum essential coverage (MEC) - - - - - - - - - - A data type for a kind of verification metadata. - - - - - - - - - - - - - A data type for a kind of verification status. - - - - - Hub response expected - - - - - Hub response not expected (delayed) - - - - - Data source response expected - - - - - Data source response delayed - - - - - Data found - - - - - Data not found - - - - - - - - - - A data type for a kind of verification status. - - - - - - - - \ No newline at end of file diff --git a/spec/reference/xml/atp/niem_gov_appinfo_2_0.xsd b/spec/reference/xml/atp/niem_gov_appinfo_2_0.xsd deleted file mode 100644 index 9a9a8767b..000000000 --- a/spec/reference/xml/atp/niem_gov_appinfo_2_0.xsd +++ /dev/null @@ -1,93 +0,0 @@ - - - The appinfo schema provides support for high level - data model concepts and additional syntax to support the NIEM - conceptual model and validation of NIEM-conformant - instances. - - - - The Resource element provides a method for - application information to define a name within a schema, without the - name being bound to a schema component. This is used by the - structures schema to define names for structures:Object and - structures:Association. - - - - - - - - The Deprecated element provides a method for - identifying components as being deprecated. A deprecated component is - one which is provided, but whose use is not - recommended. - - - - - - - - - - - - - - The Base element provides a mechanism for - indicating base types and base elements in schema, for the cases in - which XML Schema mechanisms are insufficient. For example, it is used - to indicate Object or Association bases. - - - - - - - - - The ReferenceTarget element indicates a NIEM type - which may be a target (that is, a destination) of a NIEM reference - element. It may be used in combinations to indicate a set of valid - types. - - - - - - - - - The AppliesTo element is used in two ways. First, - it indicates the set of types to which a metadata type may be - applied. Second, it indicates the set of types to which an - augmentation element may be applied. - - - - - - - - - The ConformantIndicator element may be used in two - ways. First, it is included as application information for a schema - document element to indicate that the schema is NIEM-conformant. - Second, it is used as application information of a namespace import - to indicate that the schema is not - NIEM-conformant. - - - - - The ExternalAdapterTypeIndicator element indicates - that a complex type is an external adapter type. Such a type is one - that is composed of elements and attributes from non-NIEM-conformant - schemas. The indicator allows schema processors to switch to - alternative processing modes when processing NIEM-conformant versus - non-NIEM-conformant content. - - - \ No newline at end of file diff --git a/spec/reference/xml/atp/niem_gov_appinfo_2_1.xsd b/spec/reference/xml/atp/niem_gov_appinfo_2_1.xsd deleted file mode 100644 index 99b3b7abd..000000000 --- a/spec/reference/xml/atp/niem_gov_appinfo_2_1.xsd +++ /dev/null @@ -1,15 +0,0 @@ - - - This appinfo schema provides support for augmented types and augmented elements in NIEM domain schemas. It was written to work in tandem with the NIEM appinfo v2.0 schema. - - - - The AugmentedTypeIndicator may be applied to any NIEM-conformant type. A type that occurs in a NIEM domain and that uses an augmentation element must have an AugmentedTypeIndicator with a true value. No other type should have a true value. - - - - - The AugmentedElementIndicator may be applied to any NIEM-conformant element. An element that occurs in a NIEM domain and that has a type that is an augmented type should have a true value. No other elements should have a true value. - - - \ No newline at end of file diff --git a/spec/reference/xml/atp/niem_gov_domains_screening_2_0.xsd b/spec/reference/xml/atp/niem_gov_domains_screening_2_0.xsd deleted file mode 100644 index 2ec8605b5..000000000 --- a/spec/reference/xml/atp/niem_gov_domains_screening_2_0.xsd +++ /dev/null @@ -1,879 +0,0 @@ - - - - true - - The People Screening domain provides harmonized information sharing content within the Screening Portfolio of DHS. The Screening namespace is initially being populated with person screening information for immigrant and non-immigrant person types who have been encountered and identified by the Screening Portfolio Components. Screening expands on encounter-related NIEM elements currently included in the Immigration and Intelligence domains. - - - - - - - - - The date , as specified at ARRIVAL, on which the alien is no longer authorized to stay in the United State. - - - - - A kind of class of admission. - - - - - - - - A data type for A data type describing the kinds of Immigration Class of Admission types - - - - - Spouse or child of H-1B, H-1B1, H-1C, H-2A, H-2B, H-2R, or H-3. - - - - - Temporary agricultural workers coming to the United States to perform agricultural services or labor of a temporary or seasonal nature when authorized workers are unavailable in the United States; - - - - - Registered nurses to work in areas with a shortage of health professionals under the Nursing Relief for Disadvantaged Areas Act of 1999; - - - - - Child accompanying or following to join a K-3 alien. - - - - - Nonimmigrant spouse of lawful permanent residents waiting more than 3 years for an immigrant visa based upon an immigrant petition filed on or before the enactment date of the LIFE Act, as of December 28, 2000. - - - - - Child of T-1 - - - - - Aliens coming temporarily to the United States as trainees, other than to receive graduate medical education or training; - - - - - Parent of an alien classified SK3 or SN3. - - - - - Alien crewman on a vessel or aircraft temporarily in the United States, departing on same vessel or airline of arrival. - - - - - Returning H-2B worker not subject to the numerical cap (exempts returning workers from the H-2B numerical cap for FY05, FY06, FY07), expires at the conclusion of FY 2007. - - - - - Spouse and children of R1 (Prior to FY92, R2 was a class used for deferred inspection). - - - - - Child of lawful permanent residents waiting more than 3 years for an immigrant visa based upon an immigrant petition filed on or before the enactment date of the LIFE Act. - - - - - Attendant, servant, or personal employee of NATO-1, NATO-2, NATO-3, NATO-4, NATO-5, and NATO-6 classes, and members of immediate family. - - - - - Registered nurses to work in areas with a shortage of health professionals under the Nursing Relief for Disadvantaged Areas Act of 1999; - - - - - Spouse or child of P-1, P-2, or P-3. - - - - - Temporary visitor for business (including Peace Corps). - - - - - Child of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Representative of nonrecognized or nonmember foreign government to international organization, and members of immediate family. - - - - - Temporary worker to perform work in religious occupations (Prior to FY92, R1 was a class used for parolee admission). - - - - - Temporary visitor for business admitted without visa under the Visa Waiver Program. - - - - - Temporary visitor for business (including Peace Corps). - - - - - Ambassador, public minister, career diplomatic or consular officer, and members of immediate family. - - - - - Free Trade, Singapore / Chile nationals to work in specialty occupations. - - - - - Other representatives of Member States to NATO - - - - - Parent of T-1 - - - - - Student, academic or language program. - - - - - Child of V-1 or V-2. - - - - - Alien crewman departing on vessel other than one of arrival. - - - - - Members of a civilian component accompanying a force entering in accordance with the provisions of the NATO Status-of-Forces Agreement; - - - - - Exchange visitor. - - - - - Canadian or Mexican national commuter student (vocational student or other nonacademic student). - - - - - Temporary worker in an international cultural exchange program. - - - - - Spouse or child of L-1. - - - - - Workers with "specialty occupations" admitted on the basis of professional education, skills, and/or equivalent experience - - - - - Temporary worker accompanying or assisting O-1. - - - - - Temporary visitor for pleasure. - - - - - Other foreign government official or employee and members of immediate family. - - - - - Nonimmigrant spouse of lawful permanent residents waiting more than 3 years for an immigrant visa based upon an immigrant petition filed on or before the enactment date of the LIFE Act, as of December 28, 2000. - - - - - Individuals physically present in the United States who are or have been victims of a severe form of trafficking. - - - - - Spouse or child of P-1, P-2, or P-3. - - - - - Spouse or child of F-1. - - - - - Treaty investor, spouse and children. - - - - - Spouse or child of M-1. - - - - - Treaty investor, spouse and children. - - - - - Exchange visitor. - - - - - Spouse of T-1 - - - - - Alien crewman on a vessel or aircraft temporarily in the United States, departing on same vessel or airline of arrival. - - - - - Temporary Worker, internationally recognized athlete or entertainer for a specific competition or performance. - - - - - Alien in continuous and immediate transit through the United States. - - - - - Attendant, servant, or personal employee of A-1 or A-2 and members of immediate family. - - - - - Alien in continuous and immediate transit through the United States. - - - - - Temporary non-agricultural workers coming to the United States to perform temporary services or labor if unemployed persons capable of performing the service or labor cannot be found in the United States; - - - - - Spouse or child of Q-2, expires September 2008 - - - - - Ambassador, public minister, career diplomatic or consular officer, and members of immediate family. - - - - - Unmarried, under 18, sibling of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Other representatives of Member States to NATO - - - - - Child of K-1. - - - - - Temporary worker, artist or entertainer under a reciprocal exchange program with a similar organization of a foreign state. - - - - - Temporary worker with extraordinary ability/achievement in the sciences, arts, education, business, or athletics. - - - - - Members of a civilian component accompanying a force entering in accordance with the provisions of the NATO Status-of-Forces Agreement; - - - - - Spouse or child of J-1. - - - - - Canadian or Mexican national commuter student (vocational student or other nonacademic student). - - - - - Individuals who have suffered substantial physical or mental abuse as victim of criminal activity. (Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Child of K-1. - - - - - Free Trade, Singapore / Chile nationals to work in specialty occupations. - - - - - Individuals who have suffered substantial physical or mental abuse as victim of criminal activity. (Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Child of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Athletes and entertainers at an internationally recognized level of performance; artists and entertainers under a reciprocal exchange program; artists and entertainers under a program that is "culturally unique"; and their spouses and children; - - - - - Officer or employee of international organization and members of immediate family. - - - - - Spouse of a U.S. citizen who is a beneficiary of a petition for status as the immediate relative of a U.S. citizen (I-130). - - - - - Spouse of a U.S. citizen who is a beneficiary of a petition for status as the immediate relative of a U.S. citizen (I-130). - - - - - Temporary workers with extraordinary ability or achievement in the sciences, arts, education, business, or athletics; those entering solely for the purpose of accompanying and assisting such workers; and their spouses and children; - - - - - Spouse or child of J-1. - - - - - Temporary agricultural workers coming to the United States to perform agricultural services or labor of a temporary or seasonal nature when authorized workers are unavailable in the United States; - - - - - Returning H-2B worker not subject to the numerical cap (exempts returning workers from the H-2B numerical cap for FY05, FY06, FY07), expires at the conclusion of FY 2007. - - - - - Child of N-8 or of an alien classified SK1, SK2, SK4, SN1, SN2, or SN4. - - - - - Unmarried, under 18, sibling of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Child of N-8 or of an alien classified SK1, SK2, SK4, SN1, SN2, or SN4. - - - - - Child of lawful permanent residents waiting more than 3 years for an immigrant visa based upon an immigrant petition filed on or before the enactment date of the LIFE Act. - - - - - Student, academic or language program. - - - - - Attendant, servant, or personal employee of G-1, G-2, G-3, or G-4, and members of immediate family. - - - - - Spouse or child of H-1B, H-1B1, H-1C, H-2A, H-2B, H-2R, or H-3. - - - - - Spouse or child of L-1. - - - - - Official clerical staff accompanying a representative of Member State to NATO - - - - - Registered nurses (valid from 10/1/1990 through 9/30/1995) - - - - - Student pursuing a full course of study at an established vocational or other recognized nonacademic institution (other than in a language training program). - - - - - Parent of T-1 - - - - - Foreign government official, members of immediate family, attendant, servant, or personal employee, in transit. - - - - - Workers with "specialty occupations" admitted on the basis of professional education, skills, and/or equivalent experience - - - - - Alien crewman departing on vessel other than one of arrival. - - - - - Temporary visitor for pleasure admitted without visa under the Visa Waiver Program. - - - - - Spouse of T-1 - - - - - Officials of NATO (other than those classifiable under NATO-1) and members of immediate family. - - - - - Fiance or fiancee of a U.S. citizen entering solely to conclude a valid marriage contract. - - - - - Child of V-1 or V-2. - - - - - Temporary worker to perform work in religious occupations (Prior to FY92, R1 was a class used for parolee admission). - - - - - Alien in Transit to United Nations Headquarters District under Sec. 11 (3), (4), or (5) of the Headquarters Agreement with the United Nations. - - - - - Spouse of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Intracompany transferee (executive, managerial, and specialized personnel entering to render services to a branch, parent, subsidiary, or affiliate of the company of previous employment outside the United States). - - - - - Sibling of T-1 - - - - - Temporary visitor for pleasure admitted without visa to Guam under the Guam Visa Waiver Program. - - - - - Principal resident representative of recognized foreign member government to international organization, staff, and members of immediate family. - - - - - Child accompanying or following to join a K-3 alien. - - - - - Other foreign government official or employee and members of immediate family. - - - - - Spouse or child of Q-2, expires September 2008 - - - - - Temporary worker in an international cultural exchange program. - - - - - Aliens coming temporarily to the United States as trainees, other than to receive graduate medical education or training; - - - - - Fiance or fiancee of a U.S. citizen entering solely to conclude a valid marriage contract. - - - - - Alien in Transit to United Nations Headquarters District under Sec. 11 (3), (4), or (5) of the Headquarters Agreement with the United Nations. - - - - - Temporary visitor for business admitted without visa to Guam under the Guam Visa Waiver Program. - - - - - Returning H-2B worker not subject to the numerical cap (exempts returning workers from the H-2B numerical cap for FY05, FY06, FY07), expires at the conclusion of FY 2007. - - - - - Temporary worker, artist or entertainer under a program that is "culturally unique". - - - - - Temporary non-agricultural workers coming to the United States to perform temporary services or labor if unemployed persons capable of performing the service or labor cannot be found in the United States; - - - - - Principal permanent representative of Member State to NATO - - - - - Spouse or child of F-1. - - - - - Treaty trader, spouse and children. - - - - - Individuals physically present in the United States who are or have been victims of a severe form of trafficking. - - - - - Student pursuing a full course of study at an established vocational or other recognized nonacademic institution (other than in a language training program). - - - - - Registered nurses to work in areas with a shortage of health professionals under the Nursing Relief for Disadvantaged Areas Act of 1999; - - - - - Temporary representative of recognized foreign member government to an international organization, and members of immediate family. - - - - - Principal permanent representative of Member State to NATO - - - - - Participants of the Irish Peace Process Cultural and Training (PPCT) Program, expires September 2008 - - - - - Temporary Worker, internationally recognized athlete or entertainer for a specific competition or performance. - - - - - Principal resident representative of recognized foreign member government to international organization, staff, and members of immediate family. - - - - - Spouse or child of M-1. - - - - - Temporary worker, artist or entertainer under a program that is "culturally unique". - - - - - Attendant, servant, or personal employee of G-1, G-2, G-3, or G-4, and members of immediate family. - - - - - Parent of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Temporary agricultural workers coming to the United States to perform agricultural services or labor of a temporary or seasonal nature when authorized workers are unavailable in the United States; - - - - - Parent of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Canadian or Mexican national commuter student. - - - - - Attendant, servant, or personal employee of A-1 or A-2 and members of immediate family. - - - - - Sibling of T-1 - - - - - Officer or employee of international organization and members of immediate family. - - - - - Attendant, servant, or personal employee of NATO-1, NATO-2, NATO-3, NATO-4, NATO-5, and NATO-6 classes, and members of immediate family. - - - - - Temporary representative of recognized foreign member government to an international organization, and members of immediate family. - - - - - Temporary visitor for pleasure. - - - - - Official clerical staff accompanying a representative of Member State to NATO - - - - - Representative of nonrecognized or nonmember foreign government to international organization, and members of immediate family. - - - - - Temporary worker accompanying or assisting O-1. - - - - - Canadian or Mexican citizen professional business person engaged in business activities in the U.S. (North American Free Trade Agreement.) - - - - - Officials of NATO (other than those classifiable under NATO-1) and members of immediate family. - - - - - Australian Free Trade Agreement: issued to Australian nationals coming to work in "specialty occupations" - - - - - Spouse or child of O-1 or O-2. - - - - - Experts, other than NATO officials classifiable under the symbol NATO-4, employed on missions on behalf of NATO and their dependents. - - - - - Parent of an alien classified SK3 or SN3. - - - - - Bering Strait Agreement: visa-free travel for Russian citizens to designated areas of Alaska - - - - - Child of T-1 - - - - - Spouse or child of O-1 or O-2. - - - - - Spouse and children of R1 (Prior to FY92, R2 was a class used for deferred inspection). - - - - - Representative of foreign information media, spouse and children. - - - - - Temporary non-agricultural workers coming to the United States to perform temporary services or labor if unemployed persons capable of performing the service or labor cannot be found in the United States; - - - - - Intracompany transferee (executive, managerial, and specialized personnel entering to render services to a branch, parent, subsidiary, or affiliate of the company of previous employment outside the United States). - - - - - Canadian or Mexican national commuter student. - - - - - Australian Free Trade Agreement: issued to Australian nationals coming to work in "specialty occupations" - - - - - Experts, other than NATO officials classifiable under the symbol NATO-4, employed on missions on behalf of NATO and their dependents. - - - - - Spouse or child of TN. - - - - - Treaty trader, spouse and children. - - - - - Participants of the Irish Peace Process Cultural and Training (PPCT) Program, expires September 2008 - - - - - Free Trade, Singapore / Chile nationals to work in specialty occupations. - - - - - Spouse of U-1 -(Regulations have not yet been written, but DHS is statutorily responsible for writing the regulations by 5 Jul 2006.) - - - - - Foreign government official, members of immediate family, attendant, servant, or personal employee, in transit. - - - - - - - - - - A data type for A data type describing the kinds of Immigration Class of Admission types - - - - - - - - - - - - - A data type for an encounter representing the entry of a Person or Conveyance into the United States - - - - - - - - - - \ No newline at end of file diff --git a/spec/reference/xml/atp/niem_gov_structures_2_0.xsd b/spec/reference/xml/atp/niem_gov_structures_2_0.xsd deleted file mode 100644 index 685ec6eb7..000000000 --- a/spec/reference/xml/atp/niem_gov_structures_2_0.xsd +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spec/support/atp/sample_payloads/multiple_reason_L_cv_payload.json b/spec/support/atp/sample_payloads/multiple_reason_L_cv_payload.json new file mode 100644 index 000000000..e4ea73d08 --- /dev/null +++ b/spec/support/atp/sample_payloads/multiple_reason_L_cv_payload.json @@ -0,0 +1,1498 @@ +{ + "family": { + "ext_app_id": "SBM61261111114166619", + "hbx_id": "testID12345", + "family_members": [ + { + "person": { + "ext_app_id": "pe1992374604681766994", + "person_name": { + "first_name": "Simple", + "middle_name": "Transfer", + "last_name": "L", + "full_name": "Simple Transfer L" + }, + "hbx_id": "1003158", + "person_health": { + "is_tobacco_user": null, + "is_physically_disabled": null + }, + "is_homeless": false, + "is_temporarily_out_of_state": false, + "age_off_excluded": null, + "is_active": null, + "is_disabled": false, + "person_demographics": { + "gender": "male", + "dob": "01/01/1941", + "no_ssn": "1", + "date_of_death": null, + "dob_check": null, + "is_incarcerated": false, + "tribal_id": null, + "language_code": null, + "tribal_state": null, + "tribal_name": null + }, + "race": "White", + "consumer_role": { + "is_active": "true", + "lawful_presence_determination": { + "citizen_status": "us_citizen" + }, + "language_preference": "english", + "five_year_bar": null, + "requested_coverage_start_date": "2021-05-07", + "is_applicant": true, + "birth_location": null, + "marital_status": false, + "is_applying_coverage": true, + "bookmark_url": null, + "admin_bookmark_url": null, + "contact_method": "Paper and Electronic communications", + "is_state_resident": null, + "identity_validation": null, + "identity_update_reason": null, + "application_validation": null, + "application_update_reason": null, + "identity_rejected": null, + "application_rejected": null, + "documents": [], + "vlp_documents": [], + "ridp_documents": [], + "verification_type_history_elements": [], + "local_residency_responses": [], + "local_residency_requests": [] + }, + "addresses": [ + { + "kind": "home", + "address_1": "514 Test Street", + "address_2": null, + "address_3": null, + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + }, + { + "kind": "mailing", + "address_1": "37 ML", + "address_2": null, + "address_3": null, + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + } + ], + "emails": [ + { + "address": "M80@gmail.com", + "kind": "home" + } + ], + "phones": [ + { + "extension": null, + "kind": "mobile", + "area_code": "301", + "number": "1510342", + "primary": true, + "full_phone_number": "3011510342", + "start_on": null, + "end_on": null + } + ], + "person_relationships": [ + { + "relative": { + "hbx_id": "1003158", + "first_name": "Simple", + "last_name": "L", + "gender": "Male", + "dob": "01/01/1941", + "ssn": null + }, + "kind": "self" + }, + { + "relative": { + "hbx_id": "1002699", + "first_name": "Helen", + "last_name": "test", + "gender": "Female", + "dob": "01/01/1997", + "ssn": null + }, + "kind": "child" + } + ] + }, + "ethnicity": [], + "is_consent_applicant": null, + "is_coverage_applicant": true, + "is_primary_applicant": true, + "hbx_id": "1003158" + }, + { + "person": { + "ext_app_id": "pe1992374604681766995", + "person_name": { + "first_name": "Helen", + "middle_name": null, + "last_name": "test", + "full_name": "Helen test" + }, + "hbx_id": "1002699", + "person_health": { + "is_tobacco_user": null, + "is_physically_disabled": null + }, + "is_homeless": false, + "is_temporarily_out_of_state": false, + "age_off_excluded": null, + "is_active": null, + "is_disabled": false, + "person_demographics": { + "gender": "female", + "dob": "01/01/1997", + "no_ssn": "1", + "date_of_death": null, + "dob_check": null, + "is_incarcerated": false, + "tribal_id": null, + "language_code": null, + "tribal_state": null, + "tribal_name": null + }, + "race": "White", + "consumer_role": { + "is_active": "true", + "lawful_presence_determination": { + "citizen_status": "alien_lawfully_present", + "vlp_responses": [ + { + "received_at": "2024-06-20T18:48:28.368+00:00", + "body": "{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"InitialVerificationResponseSet\":{\"InitialVerificationIndividualResponses\":[{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"LawfulPresenceVerifiedCode\":\"Y\",\"InitialVerificationIndividualResponseSet\":{\"CaseNumber\":\"0024172183006TS\",\"NonCitLastName\":\"test\",\"NonCitFirstName\":\"helen\",\"NonCitMiddleName\":null,\"NonCitBirthDate\":\"1997-01-01\",\"NonCitEntryDate\":null,\"AdmittedToDate\":null,\"AdmittedToText\":\"INDEFINITE\",\"NonCitCountryBirthCd\":\"PAK\",\"NonCitCountryCitCd\":\"PAK\",\"NonCitCoaCode\":\"IR6\",\"NonCitProvOfLaw\":null,\"NonCitEadsExpireDate\":null,\"EligStatementCd\":1,\"EligStatementTxt\":\"LAWFUL PERMANENT RESIDENT - EMPLOYMENT AUTHORIZED\",\"IAVTypeCode\":null,\"IAVTypeTxt\":null,\"WebServSftwrVer\":\"37\",\"GrantDate\":\"2002-02-28\",\"GrantDateReasonCd\":null,\"SponsorDataFoundIndicator\":null,\"ArrayOfSponsorshipData\":null,\"SponsorshipReasonCd\":null,\"AgencyAction\":\"Invoke CloseCase Web method to close the case.\",\"FiveYearBarApplyCode\":\"Y\",\"QualifiedNonCitizenCode\":\"Y\",\"FiveYearBarMetCode\":\"Y\",\"USCitizenCode\":\"X\"}}]}}" + }, + { + "received_at": "2024-06-20T18:48:28.368+00:00", + "body": "{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"InitialVerificationResponseSet\":{\"InitialVerificationIndividualResponses\":[{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"LawfulPresenceVerifiedCode\":\"Y\",\"InitialVerificationIndividualResponseSet\":{\"CaseNumber\":\"0024172183037NT\",\"NonCitLastName\":\"test\",\"NonCitFirstName\":\"helen\",\"NonCitMiddleName\":null,\"NonCitBirthDate\":\"1997-01-01\",\"NonCitEntryDate\":null,\"AdmittedToDate\":null,\"AdmittedToText\":\"INDEFINITE\",\"NonCitCountryBirthCd\":\"PAK\",\"NonCitCountryCitCd\":\"PAK\",\"NonCitCoaCode\":\"IR6\",\"NonCitProvOfLaw\":null,\"NonCitEadsExpireDate\":null,\"EligStatementCd\":1,\"EligStatementTxt\":\"LAWFUL PERMANENT RESIDENT - EMPLOYMENT AUTHORIZED\",\"IAVTypeCode\":null,\"IAVTypeTxt\":null,\"WebServSftwrVer\":\"37\",\"GrantDate\":\"2002-02-28\",\"GrantDateReasonCd\":null,\"SponsorDataFoundIndicator\":null,\"ArrayOfSponsorshipData\":null,\"SponsorshipReasonCd\":null,\"AgencyAction\":\"Invoke CloseCase Web method to close the case.\",\"FiveYearBarApplyCode\":\"Y\",\"QualifiedNonCitizenCode\":\"Y\",\"FiveYearBarMetCode\":\"Y\",\"USCitizenCode\":\"X\"}}]}}" + } + ] + }, + "language_preference": "english", + "five_year_bar": null, + "requested_coverage_start_date": "2021-05-07", + "is_applicant": false, + "birth_location": null, + "marital_status": false, + "is_applying_coverage": true, + "bookmark_url": null, + "admin_bookmark_url": null, + "contact_method": null, + "is_state_resident": null, + "identity_validation": null, + "identity_update_reason": null, + "application_validation": null, + "application_update_reason": null, + "identity_rejected": null, + "application_rejected": null, + "documents": [], + "vlp_documents": [], + "ridp_documents": [], + "verification_type_history_elements": [], + "local_residency_responses": [], + "local_residency_requests": [] + }, + "addresses": [ + { + "kind": "home", + "address_1": "514 Test Street", + "address_2": null, + "address_3": null, + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + }, + { + "kind": "mailing", + "address_1": "37 ML", + "address_2": null, + "address_3": null, + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + } + ], + "emails": [ + { + "address": "H24@gmail.com", + "kind": "home" + } + ], + "phones": [ + { + "extension": null, + "kind": "mobile", + "area_code": "301", + "number": "2228341", + "primary": true, + "full_phone_number": "3012228342", + "start_on": null, + "end_on": null + } + ], + "person_relationships": [ + { + "relative": { + "hbx_id": "1003158", + "first_name": "Simple", + "last_name": "L", + "gender": "Male", + "dob": "01/01/1941", + "ssn": null + }, + "kind": "parent" + } + ] + }, + "ethnicity": [], + "is_consent_applicant": null, + "is_coverage_applicant": true, + "is_primary_applicant": false, + "hbx_id": "1002699" + }, + { + "person": { + "ext_app_id": "pe1992374604681766996", + "person_name": { + "first_name": "Robert", + "middle_name": null, + "last_name": "test", + "full_name": "Robert test" + }, + "hbx_id": "1003159", + "person_health": { + "is_tobacco_user": null, + "is_physically_disabled": null + }, + "is_homeless": false, + "is_temporarily_out_of_state": false, + "age_off_excluded": null, + "is_active": null, + "is_disabled": false, + "person_demographics": { + "encrypted_ssn": "4iZwbErnZLQfDLQkqNBlm4AKuP4LI8RMkg==", + "gender": "male", + "dob": "01/01/2010", + "no_ssn": "0", + "date_of_death": null, + "dob_check": null, + "is_incarcerated": false, + "tribal_id": null, + "language_code": null, + "tribal_state": null, + "tribal_name": null + }, + "race": "White", + "consumer_role": { + "is_active": "true", + "lawful_presence_determination": { + "citizen_status": "us_citizen", + "ssa_responses": [ + { + "received_at": "2024-06-20T18:48:28.368+00:00", + "body": "{\"ResponseMetadata\":{\"ResponseCode\":\"HE030002\",\"ResponseDescriptionText\":\"SSN Verified; SSN exists\",\"TDSResponseDescriptionText\":null},\"SSACompositeIndividualResponses\":[{\"ResponseMetadata\":{\"ResponseCode\":\"HE030002\",\"ResponseDescriptionText\":\"SSN Verified; SSN exists\",\"TDSResponseDescriptionText\":null},\"PersonSSNIdentification\":\"123456789\",\"SSAResponse\":{\"SSNVerificationIndicator\":true,\"DeathConfirmationCode\":null,\"PersonUSCitizenIndicator\":true,\"PersonIncarcerationInformationIndicator\":false,\"SSATitleIIMonthlyIncomeInformationIndicator\":null,\"SSATitleIIAnnualIncomeInformationIndicator\":null,\"SSAQuartersOfCoverageInformationIndicator\":null,\"SSAIncarcerationInformation\":null,\"SSATitleIIMonthlyIncome\":null,\"SSATitleIIYearlyIncome\":null,\"SSAQuartersOfCoverage\":null}}]}" + }, + { + "received_at": "2024-06-20T18:48:28.368+00:00", + "body": "{\"ResponseMetadata\":{\"ResponseCode\":\"HE030002\",\"ResponseDescriptionText\":\"SSN Verified; SSN exists\",\"TDSResponseDescriptionText\":null},\"SSACompositeIndividualResponses\":[{\"ResponseMetadata\":{\"ResponseCode\":\"HE030002\",\"ResponseDescriptionText\":\"SSN Verified; SSN exists\",\"TDSResponseDescriptionText\":null},\"PersonSSNIdentification\":\"123456789\",\"SSAResponse\":{\"SSNVerificationIndicator\":true,\"DeathConfirmationCode\":null,\"PersonUSCitizenIndicator\":true,\"PersonIncarcerationInformationIndicator\":false,\"SSATitleIIMonthlyIncomeInformationIndicator\":null,\"SSATitleIIAnnualIncomeInformationIndicator\":null,\"SSAQuartersOfCoverageInformationIndicator\":null,\"SSAIncarcerationInformation\":null,\"SSATitleIIMonthlyIncome\":null,\"SSATitleIIYearlyIncome\":null,\"SSAQuartersOfCoverage\":null}}]}" + } + ], + "vlp_responses": [ + { + "received_at": "2024-06-20T18:48:28.368+00:00", + "body": "{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"InitialVerificationResponseSet\":{\"InitialVerificationIndividualResponses\":[{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"LawfulPresenceVerifiedCode\":\"P\",\"InitialVerificationIndividualResponseSet\":{\"CaseNumber\":\"0024172183006TS\",\"NonCitLastName\":\"test\",\"NonCitFirstName\":\"Robert\",\"NonCitMiddleName\":null,\"NonCitBirthDate\":\"2010-01-01\",\"NonCitEntryDate\":null,\"AdmittedToDate\":null,\"AdmittedToText\":\"INDEFINITE\",\"NonCitCountryBirthCd\":\"null\",\"NonCitCountryCitCd\":\"null\",\"NonCitCoaCode\":\"null\",\"NonCitProvOfLaw\":null,\"NonCitEadsExpireDate\":null,\"EligStatementCd\":1,\"EligStatementTxt\":\"PENDING\",\"IAVTypeCode\":null,\"IAVTypeTxt\":null,\"WebServSftwrVer\":\"37\",\"GrantDate\":\"2002-02-28\",\"GrantDateReasonCd\":null,\"SponsorDataFoundIndicator\":null,\"ArrayOfSponsorshipData\":null,\"SponsorshipReasonCd\":null,\"AgencyAction\":\"Invoke CloseCase Web method to close the case.\",\"FiveYearBarApplyCode\":\"null\",\"QualifiedNonCitizenCode\":\"null\",\"FiveYearBarMetCode\":\"null\",\"USCitizenCode\":\"null\"}}]}}" + }, + { + "received_at": "2024-06-20T18:48:28.368+00:00", + "body": "{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"InitialVerificationResponseSet\":{\"InitialVerificationIndividualResponses\":[{\"ResponseMetadata\":{\"ResponseCode\":\"HS000000\",\"ResponseDescriptionText\":\"Successful.\"},\"LawfulPresenceVerifiedCode\":\"P\",\"InitialVerificationIndividualResponseSet\":{\"CaseNumber\":\"0024172183037NT\",\"NonCitLastName\":\"test\",\"NonCitFirstName\":\"Robert\",\"NonCitMiddleName\":null,\"NonCitBirthDate\":\"2010-01-01\",\"NonCitEntryDate\":null,\"AdmittedToDate\":null,\"AdmittedToText\":\"INDEFINITE\",\"NonCitCountryBirthCd\":\"null\",\"NonCitCountryCitCd\":\"null\",\"NonCitCoaCode\":\"null\",\"NonCitProvOfLaw\":null,\"NonCitEadsExpireDate\":null,\"EligStatementCd\":1,\"EligStatementTxt\":\"PENDING\",\"IAVTypeCode\":null,\"IAVTypeTxt\":null,\"WebServSftwrVer\":\"37\",\"GrantDate\":\"2002-02-28\",\"GrantDateReasonCd\":null,\"SponsorDataFoundIndicator\":null,\"ArrayOfSponsorshipData\":null,\"SponsorshipReasonCd\":null,\"AgencyAction\":\"Invoke CloseCase Web method to close the case.\",\"FiveYearBarApplyCode\":\"null\",\"QualifiedNonCitizenCode\":\"null\",\"FiveYearBarMetCode\":\"null\",\"USCitizenCode\":\"null\"}}]}}" + } + ] + }, + "language_preference": "english", + "five_year_bar": null, + "requested_coverage_start_date": "2021-05-07", + "is_applicant": false, + "birth_location": null, + "marital_status": false, + "is_applying_coverage": true, + "bookmark_url": null, + "admin_bookmark_url": null, + "contact_method": null, + "is_state_resident": null, + "identity_validation": null, + "identity_update_reason": null, + "application_validation": null, + "application_update_reason": null, + "identity_rejected": null, + "application_rejected": null, + "documents": [], + "vlp_documents": [], + "ridp_documents": [], + "verification_type_history_elements": [], + "local_residency_responses": [], + "local_residency_requests": [] + }, + "addresses": [ + { + "kind": "home", + "address_1": "510 Test Street", + "address_2": null, + "address_3": null, + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + }, + { + "kind": "mailing", + "address_1": "37 ML", + "address_2": null, + "address_3": null, + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + } + ], + "emails": [ + { + "address": "RH10@gmail.com", + "kind": "home" + } + ], + "phones": [ + { + "extension": null, + "kind": "mobile", + "area_code": "202", + "number": "1768341", + "primary": true, + "full_phone_number": "2021768341", + "start_on": null, + "end_on": null + } + ], + "person_relationships": [ + { + "relative": { + "hbx_id": "1234", + "first_name": "Simple", + "last_name": "L", + "gender": "Male", + "dob": "01/01/1941", + "ssn": null + }, + "kind": "child" + } + ] + }, + "ethnicity": [], + "is_consent_applicant": null, + "is_coverage_applicant": true, + "is_primary_applicant": false, + "hbx_id": "1003159" + } + ], + "general_agency_accounts": [], + "special_enrollment_periods": [], + "irs_groups": [], + "broker_accounts": [], + "documents": [], + "payment_transactions": [], + "magi_medicaid_applications": + { + "family_reference": { + "hbx_id": "10419" + }, + "assistance_year": 2021, + "aptc_effective_date": "2021-09-01T00:00:00.000+00:00", + "years_to_renew": null, + "renewal_consent_through_year": 5, + "is_ridp_verified": true, + "is_renewal_authorized": true, + "applicants": [ + { + "name": { + "first_name": "Simple", + "middle_name": null, + "last_name": "L", + "name_sfx": null, + "name_pfx": null + }, + "identifying_information": { + "has_ssn": "1", + "encrypted_ssn": null + }, + "demographic": { + "gender": "Male", + "dob": "1941-01-01", + "ethnicity": [ + "White" + ], + "race": null, + "is_veteran_or_active_military": false, + "is_vets_spouse_or_child": false + }, + "attestation": { + "is_incarcerated": false, + "is_self_attested_disabled": false, + "is_self_attested_blind": false, + "is_self_attested_long_term_care": false + }, + "is_primary_applicant": true, + "native_american_information": { + "indian_tribe_member": false, + "tribal_id": null + }, + "citizenship_immigration_status_information": { + "citizen_status": "us_citizen", + "is_lawful_presence_self_attested": false, + "is_resident_post_092296": false + }, + "is_consumer_role": true, + "is_resident_role": false, + "is_applying_coverage": true, + "is_consent_applicant": false, + "vlp_document": { + "subject": "I-94 (Arrival/Departure Record) in Unexpired Foreign Passport", + "i94_number": "12345678912", + "visa_number": "12345678", + "passport_number": "123456", + "sevis_id": "1234567891", + "country_of_citizenship": "USA", + "expiration_date": "01-01-2020", + "issuing_country": "USA", + "status": "nil", + "verification_type": "nil", + "comment": "nil" + }, + "family_member_reference": { + "family_member_hbx_id": "1003158", + "first_name": "Simple", + "last_name": "L", + "person_hbx_id": "1003158", + "is_primary_family_member": true + }, + "person_hbx_id": "1003158", + "is_required_to_file_taxes": true, + "is_filing_as_head_of_household": true, + "is_joint_tax_filing": false, + "is_claimed_as_tax_dependent": false, + "claimed_as_tax_dependent_by": null, + "tax_filer_kind": "tax_filer", + "student": { + "is_student": false, + "student_kind": null, + "student_school_kind": null, + "student_status_end_on": null + }, + "is_refugee": false, + "is_trafficking_victim": false, + "foster_care": { + "is_former_foster_care": false, + "age_left_foster_care": null, + "foster_care_us_state": "", + "had_medicaid_during_foster_care": false + }, + "pregnancy_information": { + "is_pregnant": false, + "is_enrolled_on_medicaid": false, + "is_post_partum_period": false, + "expected_children_count": null, + "pregnancy_due_on": null, + "pregnancy_end_on": null + }, + "is_subject_to_five_year_bar": false, + "is_five_year_bar_met": false, + "is_forty_quarters": false, + "is_ssn_applied": false, + "non_ssn_apply_reason": "NoGoodCause", + "moved_on_or_after_welfare_reformed_law": false, + "is_currently_enrolled_in_health_plan": false, + "has_daily_living_help": false, + "need_help_paying_bills": false, + "has_job_income": true, + "has_self_employment_income": false, + "has_unemployment_income": false, + "has_other_income": false, + "has_deductions": false, + "has_enrolled_health_coverage": false, + "has_eligible_health_coverage": false, + "job_coverage_ended_in_past_3_months": false, + "job_coverage_end_date": null, + "medicaid_and_chip": { + "not_eligible_in_last_90_days": false, + "denied_on": null, + "ended_as_change_in_eligibility": false, + "hh_income_or_size_changed": false, + "medicaid_or_chip_coverage_end_date": null, + "ineligible_due_to_immigration_in_last_5_years": false, + "immigration_status_changed_since_ineligibility": false + }, + "other_health_service": { + "has_received": false, + "is_eligible": false + }, + "addresses": [ + { + "kind": "home", + "address_1": "514 Test Street", + "address_2": "", + "address_3": "", + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + }, + { + "kind": "mailing", + "address_1": "37 ML", + "address_2": "", + "address_3": "", + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + } + ], + "emails": [ + { + "kind": "home", + "address": "M80@gmail.com" + }, + { + "kind": "work", + "address": "E70@gmail.com" + } + ], + "phones": [ + { + "kind": "home", + "primary": false, + "area_code": "301", + "number": "1510342", + "country_code": "", + "extension": "", + "full_phone_number": "3011510342" + }, + { + "kind": "mobile", + "primary": true, + "area_code": "301", + "number": "6660000", + "country_code": "", + "extension": "", + "full_phone_number": "3016660000" + } + ], + "incomes": [ + { + "title": null, + "kind": "wages_and_salaries", + "wage_type": null, + "hours_per_week": null, + "amount": 78100.0, + "amount_tax_exempt": 0, + "frequency_kind": "Annually", + "start_on": "2021-01-01", + "end_on": "2021-12-31", + "is_projected": false, + "tax_form": null, + "employer": { + "employer_name": "City of Augusta Bank", + "employer_id": "em2009481180751485382" + }, + "has_property_usage_rights": null, + "submitted_at": "2021-07-27T14:29:26.000+00:00" + } + ], + "benefits": [], + "deductions": [ + { + "name": null, + "kind": "alimony_paid", + "amount": 10.0, + "start_on": "2021-01-01", + "end_on": "2021-12-31", + "frequency_kind": "Daily", + "submitted_at": "2021-07-27T14:29:26.000+00:00" + } + ], + "is_medicare_eligible": false, + "is_self_attested_long_term_care": false, + "has_insurance": false, + "has_state_health_benefit": false, + "had_prior_insurance": false, + "prior_insurance_end_date": null, + "age_of_applicant": 80, + "hours_worked_per_week": 0, + "is_temporarily_out_of_state": false, + "is_claimed_as_dependent_by_non_applicant": false, + "benchmark_premium": { + "health_only_lcsp_premiums": [ + { + "member_identifier": "1003158", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1002699", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1003159", + "monthly_premium": 310.5 + } + ], + "health_only_slcsp_premiums": [ + { + "member_identifier": "1003158", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1002699", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1003159", + "monthly_premium": 310.5 + } + ] + }, + "is_homeless": false, + "mitc_income": { + "amount": 78100, + "taxable_interest": 0, + "tax_exempt_interest": 0, + "taxable_refunds": 0, + "alimony": 0, + "capital_gain_or_loss": 0, + "pensions_and_annuities_taxable_amount": 0, + "farm_income_or_loss": 0, + "unemployment_compensation": 0, + "other_income": 0, + "magi_deductions": 0, + "adjusted_gross_income": { + "cents": 7810000, + "currency_iso": "USD" + }, + "deductible_part_of_self_employment_tax": 0, + "ira_deduction": 0, + "student_loan_interest_deduction": 0, + "tution_and_fees": 0, + "other_magi_eligible_income": 0 + }, + "mitc_relationships": [ + { + "other_id": "1002699", + "attest_primary_responsibility": "Y", + "relationship_code": "03" + }, + { + "other_id": "1003159", + "attest_primary_responsibility": "Y", + "relationship_code": "03" + } + ], + "mitc_is_required_to_file_taxes": true, + "additional_reason_codes": ["FullDetermination", "GapFilling"] + }, + { + "name": { + "first_name": "Helen", + "middle_name": null, + "last_name": "test", + "name_sfx": null, + "name_pfx": null + }, + "identifying_information": { + "has_ssn": "0", + "encrypted_ssn": null + }, + "demographic": { + "gender": "Female", + "dob": "1997-01-01", + "ethnicity": [], + "race": null, + "is_veteran_or_active_military": false, + "is_vets_spouse_or_child": false + }, + "attestation": { + "is_incarcerated": false, + "is_self_attested_disabled": false, + "is_self_attested_blind": false, + "is_self_attested_long_term_care": false + }, + "is_primary_applicant": false, + "native_american_information": { + "indian_tribe_member": false, + "tribal_id": null + }, + "citizenship_immigration_status_information": { + "citizen_status": "us_citizen", + "is_lawful_presence_self_attested": false, + "is_resident_post_092296": false + }, + "is_consumer_role": true, + "is_resident_role": false, + "is_applying_coverage": true, + "is_consent_applicant": false, + "vlp_document": null, + "family_member_reference": { + "family_member_hbx_id": "1002699", + "first_name": "Helen", + "last_name": "test", + "person_hbx_id": "1002699", + "is_primary_family_member": false + }, + "person_hbx_id": "1002699", + "is_required_to_file_taxes": false, + "is_filing_as_head_of_household": false, + "is_joint_tax_filing": false, + "is_claimed_as_tax_dependent": true, + "claimed_as_tax_dependent_by": { + "first_name": "Simple", + "last_name": "L", + "dob": "1941-01-01", + "person_hbx_id": "1003158", + "encrypted_ssn": null + }, + "tax_filer_kind": "dependent", + "student": { + "is_student": false, + "student_kind": null, + "student_school_kind": null, + "student_status_end_on": null + }, + "is_refugee": false, + "is_trafficking_victim": false, + "foster_care": { + "is_former_foster_care": true, + "age_left_foster_care": 18, + "foster_care_us_state": "ME", + "had_medicaid_during_foster_care": true + }, + "pregnancy_information": { + "is_pregnant": true, + "is_enrolled_on_medicaid": false, + "is_post_partum_period": false, + "expected_children_count": 1, + "pregnancy_due_on": "2022-01-01", + "pregnancy_end_on": null + }, + "is_subject_to_five_year_bar": false, + "is_five_year_bar_met": false, + "is_forty_quarters": false, + "is_ssn_applied": false, + "non_ssn_apply_reason": null, + "moved_on_or_after_welfare_reformed_law": false, + "is_currently_enrolled_in_health_plan": false, + "has_daily_living_help": false, + "need_help_paying_bills": false, + "has_job_income": false, + "has_self_employment_income": false, + "has_unemployment_income": false, + "has_other_income": false, + "has_deductions": false, + "has_enrolled_health_coverage": false, + "has_eligible_health_coverage": false, + "job_coverage_ended_in_past_3_months": false, + "job_coverage_end_date": null, + "medicaid_and_chip": { + "not_eligible_in_last_90_days": false, + "denied_on": null, + "ended_as_change_in_eligibility": false, + "hh_income_or_size_changed": false, + "medicaid_or_chip_coverage_end_date": null, + "ineligible_due_to_immigration_in_last_5_years": false, + "immigration_status_changed_since_ineligibility": false + }, + "other_health_service": { + "has_received": false, + "is_eligible": false + }, + "addresses": [ + { + "kind": "home", + "address_1": "514 Test Street", + "address_2": "", + "address_3": "", + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + }, + { + "kind": "mailing", + "address_1": "37 ML", + "address_2": "", + "address_3": "", + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + } + ], + "emails": [ + { + "kind": "home", + "address": "H24@gmail.com" + } + ], + "phones": [ + { + "kind": "mobile", + "primary": true, + "area_code": "301", + "number": "2228341", + "country_code": "", + "extension": "", + "full_phone_number": "3012228342" + } + ], + "incomes": [], + "benefits": [], + "deductions": [], + "is_medicare_eligible": false, + "is_self_attested_long_term_care": false, + "has_insurance": false, + "has_state_health_benefit": false, + "had_prior_insurance": false, + "prior_insurance_end_date": null, + "age_of_applicant": 24, + "hours_worked_per_week": 0, + "is_temporarily_out_of_state": false, + "is_claimed_as_dependent_by_non_applicant": false, + "benchmark_premium": { + "health_only_lcsp_premiums": [ + { + "member_identifier": "1003158", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1002699", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1003159", + "monthly_premium": 310.5 + } + ], + "health_only_slcsp_premiums": [ + { + "member_identifier": "1003158", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1002699", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1003159", + "monthly_premium": 310.5 + } + ] + }, + "is_homeless": false, + "mitc_income": { + "amount": 0, + "taxable_interest": 0, + "tax_exempt_interest": 0, + "taxable_refunds": 0, + "alimony": 0, + "capital_gain_or_loss": 0, + "pensions_and_annuities_taxable_amount": 0, + "farm_income_or_loss": 0, + "unemployment_compensation": 0, + "other_income": 0, + "magi_deductions": 0, + "adjusted_gross_income": { + "cents": 0, + "currency_iso": "USD" + }, + "deductible_part_of_self_employment_tax": 0, + "ira_deduction": 0, + "student_loan_interest_deduction": 0, + "tution_and_fees": 0, + "other_magi_eligible_income": 0 + }, + "mitc_relationships": [ + { + "other_id": "1003158", + "attest_primary_responsibility": "N", + "relationship_code": "04" + }, + { + "other_id": "1003159", + "attest_primary_responsibility": "N", + "relationship_code": "07" + } + ], + "mitc_is_required_to_file_taxes": false + }, + { + "name": { + "first_name": "Robert", + "middle_name": null, + "last_name": "test", + "name_sfx": null, + "name_pfx": null + }, + "identifying_information": { + "has_ssn": "0", + "encrypted_ssn": "QEVuQwEAhSGtHhAjniLFopfwZ8h6dQ==" + }, + "demographic": { + "gender": "Male", + "dob": "2010-01-01", + "ethnicity": [], + "race": null, + "is_veteran_or_active_military": false, + "is_vets_spouse_or_child": false + }, + "attestation": { + "is_incarcerated": false, + "is_self_attested_disabled": false, + "is_self_attested_blind": false, + "is_self_attested_long_term_care": false + }, + "is_primary_applicant": false, + "native_american_information": { + "indian_tribe_member": false, + "tribal_id": null + }, + "citizenship_immigration_status_information": { + "citizen_status": "us_citizen", + "is_lawful_presence_self_attested": false, + "is_resident_post_092296": false + }, + "is_consumer_role": true, + "is_resident_role": false, + "is_applying_coverage": true, + "is_consent_applicant": false, + "vlp_document": null, + "family_member_reference": { + "family_member_hbx_id": "1003159", + "first_name": "Robert", + "last_name": "test", + "person_hbx_id": "1003159", + "is_primary_family_member": false + }, + "person_hbx_id": "1003159", + "is_required_to_file_taxes": false, + "is_filing_as_head_of_household": false, + "is_joint_tax_filing": false, + "is_claimed_as_tax_dependent": true, + "claimed_as_tax_dependent_by": { + "first_name": "Simple", + "last_name": "L", + "dob": "1941-01-01", + "person_hbx_id": "1003158", + "encrypted_ssn": null + }, + "tax_filer_kind": "dependent", + "student": { + "is_student": false, + "student_kind": null, + "student_school_kind": null, + "student_status_end_on": null + }, + "is_refugee": false, + "is_trafficking_victim": false, + "foster_care": { + "is_former_foster_care": false, + "age_left_foster_care": null, + "foster_care_us_state": null, + "had_medicaid_during_foster_care": false + }, + "pregnancy_information": { + "is_pregnant": false, + "is_enrolled_on_medicaid": false, + "is_post_partum_period": false, + "expected_children_count": null, + "pregnancy_due_on": null, + "pregnancy_end_on": null + }, + "is_subject_to_five_year_bar": false, + "is_five_year_bar_met": false, + "is_forty_quarters": false, + "is_ssn_applied": false, + "non_ssn_apply_reason": null, + "moved_on_or_after_welfare_reformed_law": false, + "is_currently_enrolled_in_health_plan": false, + "has_daily_living_help": false, + "need_help_paying_bills": false, + "has_job_income": false, + "has_self_employment_income": false, + "has_unemployment_income": false, + "has_other_income": false, + "has_deductions": false, + "has_enrolled_health_coverage": false, + "has_eligible_health_coverage": false, + "job_coverage_ended_in_past_3_months": false, + "job_coverage_end_date": null, + "medicaid_and_chip": { + "not_eligible_in_last_90_days": false, + "denied_on": null, + "ended_as_change_in_eligibility": false, + "hh_income_or_size_changed": false, + "medicaid_or_chip_coverage_end_date": null, + "ineligible_due_to_immigration_in_last_5_years": false, + "immigration_status_changed_since_ineligibility": false + }, + "other_health_service": { + "has_received": false, + "is_eligible": false + }, + "addresses": [ + { + "kind": "home", + "address_1": "510 Test Street", + "address_2": "", + "address_3": "", + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + }, + { + "kind": "mailing", + "address_1": "37 ML", + "address_2": "", + "address_3": "", + "city": "Augusta", + "county": "KENNEBEC", + "county_fips": "011", + "state": "ME", + "zip": "04330", + "country_name": null + } + ], + "emails": [ + { + "kind": "home", + "address": "RH10@gmail.com" + } + ], + "phones": [ + { + "kind": "mobile", + "primary": false, + "area_code": "202", + "number": "1768341", + "country_code": "", + "extension": "", + "full_phone_number": "2021768341" + } + ], + "incomes": [], + "benefits": [{ + "name": null, + "kind": "private_health_insurance_plan", + "status": "is_enrolled", + "is_employer_sponsored": false, + "employer": null, + "esi_covered": null, + "is_esi_waiting_period": false, + "is_esi_mec_met": false, + "employee_cost": { + "cents": 30000, + "currency_iso": "USD" + }, + "employee_cost_frequency": null, + "start_on": "2021-01-01", + "end_on": null, + "submitted_at": "2021-11-24T20:42:37.000+00:00", + "hra_kind": null + }, { + "name": null, + "kind": "employer_sponsored_insurance", + "status": "is_enrolled", + "is_employer_sponsored": false, + "employer": { + "employer_name": "test llc", + "employer_id": "35-5666443" + }, + "esi_covered": "self", + "is_esi_waiting_period": false, + "is_esi_mec_met": true, + "employee_cost": { + "cents": 40000, + "currency_iso": "USD" + }, + "employee_cost_frequency": "Monthly", + "start_on": "2022-02-02", + "end_on": "2022-06-06", + "submitted_at": "2022-11-24T20:20:20.000+00:00", + "hra_kind": null + }], + "deductions": [], + "is_medicare_eligible": false, + "is_self_attested_long_term_care": false, + "has_insurance": false, + "has_state_health_benefit": false, + "had_prior_insurance": false, + "prior_insurance_end_date": null, + "age_of_applicant": 11, + "hours_worked_per_week": 0, + "is_temporarily_out_of_state": false, + "is_claimed_as_dependent_by_non_applicant": false, + "benchmark_premium": { + "health_only_lcsp_premiums": [ + { + "member_identifier": "1003158", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1002699", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1003159", + "monthly_premium": 310.5 + } + ], + "health_only_slcsp_premiums": [ + { + "member_identifier": "1003158", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1002699", + "monthly_premium": 310.5 + }, + { + "member_identifier": "1003159", + "monthly_premium": 310.5 + } + ] + }, + "is_homeless": false, + "mitc_income": { + "amount": 0, + "taxable_interest": 0, + "tax_exempt_interest": 0, + "taxable_refunds": 0, + "alimony": 0, + "capital_gain_or_loss": 0, + "pensions_and_annuities_taxable_amount": 0, + "farm_income_or_loss": 0, + "unemployment_compensation": 0, + "other_income": 0, + "magi_deductions": 0, + "adjusted_gross_income": { + "cents": 0, + "currency_iso": "USD" + }, + "deductible_part_of_self_employment_tax": 0, + "ira_deduction": 0, + "student_loan_interest_deduction": 0, + "tution_and_fees": 0, + "other_magi_eligible_income": 0 + }, + "mitc_relationships": [ + { + "other_id": "1003158", + "attest_primary_responsibility": "N", + "relationship_code": "04" + }, + { + "other_id": "1002699", + "attest_primary_responsibility": "N", + "relationship_code": "07" + } + ], + "mitc_is_required_to_file_taxes": false + } + ], + "relationships": [ + { + "kind": "child", + "applicant_reference": { + "first_name": "Helen", + "last_name": "test", + "dob": "1997-01-01", + "person_hbx_id": "1002699", + "encrypted_ssn": null + }, + "relative_reference": { + "first_name": "Simple", + "last_name": "L", + "dob": "1941-01-01", + "person_hbx_id": "1003158", + "encrypted_ssn": null + }, + "live_with_household_member": false + }, + { + "kind": "parent", + "applicant_reference": { + "first_name": "Simple", + "last_name": "L", + "dob": "1941-01-01", + "person_hbx_id": "1003158", + "encrypted_ssn": null + }, + "relative_reference": { + "first_name": "Helen", + "last_name": "test", + "dob": "1997-01-01", + "person_hbx_id": "1002699", + "encrypted_ssn": null + }, + "live_with_household_member": false + }, + { + "kind": "child", + "applicant_reference": { + "first_name": "Robert", + "last_name": "test", + "dob": "2010-01-01", + "person_hbx_id": "1003159", + "encrypted_ssn": "QEVuQwEAhSGtHhAjniLFopfwZ8h6dQ==" + }, + "relative_reference": { + "first_name": "Simple", + "last_name": "L", + "dob": "1941-01-01", + "person_hbx_id": "1003158", + "encrypted_ssn": null + }, + "live_with_household_member": false + }, + { + "kind": "parent", + "applicant_reference": { + "first_name": "Simple", + "last_name": "L", + "dob": "1941-01-01", + "person_hbx_id": "1003158", + "encrypted_ssn": null + }, + "relative_reference": { + "first_name": "Robert", + "last_name": "test", + "dob": "2010-01-01", + "person_hbx_id": "1003159", + "encrypted_ssn": "QEVuQwEAhSGtHhAjniLFopfwZ8h6dQ==" + }, + "live_with_household_member": false + }, + { + "kind": "sibling", + "applicant_reference": { + "first_name": "Helen", + "last_name": "test", + "dob": "1997-01-01", + "person_hbx_id": "1002699", + "encrypted_ssn": null + }, + "relative_reference": { + "first_name": "Robert", + "last_name": "test", + "dob": "2010-01-01", + "person_hbx_id": "1003159", + "encrypted_ssn": "QEVuQwEAhSGtHhAjniLFopfwZ8h6dQ==" + }, + "live_with_household_member": false + }, + { + "kind": "sibling", + "applicant_reference": { + "first_name": "Robert", + "last_name": "test", + "dob": "2010-01-01", + "person_hbx_id": "1003159", + "encrypted_ssn": "QEVuQwEAhSGtHhAjniLFopfwZ8h6dQ==" + }, + "relative_reference": { + "first_name": "Helen", + "last_name": "test", + "dob": "1997-01-01", + "person_hbx_id": "1002699", + "encrypted_ssn": null + }, + "live_with_household_member": false + } + ], + "tax_households": [ + { + "hbx_id": "10711", + "max_aptc": { + "cents": 0, + "currency_iso": "USD" + }, + "is_insurance_assistance_eligible": null, + "annual_tax_household_income": { + "cents": 0, + "currency_iso": "USD" + }, + "tax_household_members": [ + { + "applicant_reference": { + "first_name": "Simple", + "last_name": "L", + "dob": "1941-01-01", + "person_hbx_id": "1003158", + "encrypted_ssn": null + }, + "product_eligibility_determination": { + "is_ia_eligible": false, + "is_medicaid_chip_eligible": false, + "is_totally_ineligible": false, + "is_magi_medicaid": false, + "is_non_magi_medicaid_eligible": false, + "is_without_assistance": false, + "magi_medicaid_monthly_household_income": { + "cents": 0, + "currency_iso": "USD" + }, + "medicaid_household_size": null, + "magi_medicaid_monthly_income_limit": { + "cents": 0, + "currency_iso": "USD" + }, + "magi_as_percentage_of_fpl": 0.0, + "magi_medicaid_category": null + } + }, + { + "applicant_reference": { + "first_name": "Helen", + "last_name": "test", + "dob": "1997-01-01", + "person_hbx_id": "1002699", + "encrypted_ssn": null + }, + "product_eligibility_determination": { + "is_ia_eligible": false, + "is_medicaid_chip_eligible": false, + "is_totally_ineligible": false, + "is_magi_medicaid": false, + "is_non_magi_medicaid_eligible": false, + "is_without_assistance": false, + "magi_medicaid_monthly_household_income": { + "cents": 0, + "currency_iso": "USD" + }, + "medicaid_household_size": null, + "magi_medicaid_monthly_income_limit": { + "cents": 0, + "currency_iso": "USD" + }, + "magi_as_percentage_of_fpl": 0.0, + "magi_medicaid_category": null + } + }, + { + "applicant_reference": { + "first_name": "Robert", + "last_name": "test", + "dob": "2010-01-01", + "person_hbx_id": "1003159", + "encrypted_ssn": "QEVuQwEAhSGtHhAjniLFopfwZ8h6dQ==" + }, + "product_eligibility_determination": { + "is_ia_eligible": false, + "is_medicaid_chip_eligible": false, + "is_totally_ineligible": false, + "is_magi_medicaid": false, + "is_non_magi_medicaid_eligible": false, + "is_without_assistance": false, + "magi_medicaid_monthly_household_income": { + "cents": 0, + "currency_iso": "USD" + }, + "medicaid_household_size": null, + "magi_medicaid_monthly_income_limit": { + "cents": 0, + "currency_iso": "USD" + }, + "magi_as_percentage_of_fpl": 0.0, + "magi_medicaid_category": null + } + } + ] + } + ], + "us_state": "ME", + "hbx_id": "1000886", + "oe_start_on": "2020-11-01", + "mitc_households": [ + { + "household_id": "1", + "people": [ + { + "person_id": "1003158" + }, + { + "person_id": "1002699" + } + ] + }, + { + "household_id": "2", + "people": [ + { + "person_id": "1003159" + } + ] + } + ], + "mitc_tax_returns": [ + { + "filers": [ + { + "person_id": "1003158" + } + ], + "dependents": [ + { + "person_id": "1002699" + }, + { + "person_id": "1003159" + } + ] + } + ] + } + } +} \ No newline at end of file