> For the complete documentation index, see [llms.txt](https://docs.cw.crisisworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cw.crisisworks.com/system-administration/configuring-the-system/imports/register-items/recovery-contact-and-related-case-import.md).

# Recovery Contact and Related Case Import

### Overview <a href="#overview" id="overview"></a>

You can add/or update [Person](broken://pages/EHEPjigCz1DuA1EC5mC5)s (Recovery Contacts) and in bulk using the Recovery Contact and Related Case Import option. This is intended for use with [Case](broken://pages/Sfj9Pht3MY5OyzcTaJAs)s. For Relief Registrations please use the Relief Registrations Import instead.

Refer to the register page for general instructions on importing:

{% content-ref url="/pages/QP6MVwI3qEAEvatbmPc3" %}
[Imports](/system-administration/configuring-the-system/imports.md)
{% endcontent-ref %}

#### Considerations <a href="#considerations" id="considerations"></a>

When importing this data, the import system will perform a check on the address that the affected person has provided. If a recovery case does not exist with this address, a new recovery [Case](broken://pages/Sfj9Pht3MY5OyzcTaJAs) will be created. The contact will then be created as the case's applicant. If the case does already exist (and therefore already has an applicant), the contact will be created and linked to this case as a related affected person.

This means that if more than one contact in the import file have the same address, a recovery case will be created and the first contact will be created and linked as the applicant. Subsequent contacts with the same address will also be created and then linked as related affected people into the same case.

When importing consider the following:

* **Contact Type** - defaults to Individual if not set. If you want to import Organisations you will need to change this
* **Address** - is used to match to existing Person/s or Related Cases

### Import File <a href="#instructions" id="instructions"></a>

A CSV format file is required with the correct field mappings.

Refer to the Import Field Mappings section in the [Import Instructions](https://app.gitbook.com/o/XTVHxRDLJsgVRj4dNFUc/s/Ny7IznbrPLUq6GJDDQDk/system-administration/system-administration/imports#import-instructions) section for the latest import file requirements.

### Import Steps <a href="#import-steps" id="import-steps"></a>

To import the file:

1. Refer to the general instructions in [Imports](https://app.gitbook.com/o/XTVHxRDLJsgVRj4dNFUc/s/Ny7IznbrPLUq6GJDDQDk/system-administration/system-administration/imports).
2. In the General section select **Type**: *Register Items*
3. For **Parsing Rule:** select *Recovery Contact and Related Case Import*
4. Under **Import File:** use the **Add file** button


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cw.crisisworks.com/system-administration/configuring-the-system/imports/register-items/recovery-contact-and-related-case-import.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
