

<!-- Source = /Users/ehaas/Documents/FHIR/US-Core/input/. This file is generated by SearchParameterMakerR4.ipynb Do not edit directly. -->{% include quickstart-intro.md %}

#### Mandatory Search Parameters:

The following search parameters and search parameter combinations SHALL be supported:

1. **SHALL** support both read RelatedPerson by `id` **AND** RelatedPerson search using the **[`_id`](SearchParameter-us-core-relatedperson-id.html)** search parameter:

    `GET [base]/RelatedPerson/[id]` or `GET [base]/RelatedPerson?_id=[id]`

    Example:
    
      1. GET [base]/RelatedPerson/shaw-niece
      1. GET [base]/RelatedPerson?_id=shaw-niece

    *Implementation Notes:*  ([how to search by the logical id] of the resource)


#### Optional Search Parameters:

The following search parameter combinations **SHOULD** be supported:

1. **SHOULD** support searching for all relatedpersons for a patient using the **[`patient`](SearchParameter-us-core-relatedperson-patient.html)** search parameter:

     `GET [base]/RelatedPerson?patient={Type/}[id]`

    Example:
    
      1. GET [base]/RelatedPerson?patient=1032702

      *Implementation Notes:* Fetches a bundle of all RelatedPerson resources for the specified patient ([how to search by reference])

1. **SHOULD** support searching using the combination of the **[`patient`](SearchParameter-us-core-relatedperson-patient.html)** and **[`name`](SearchParameter-us-core-relatedperson-name.html)** search parameters:

    `GET [base]/RelatedPerson?patient={Type/}[id]&name=[string]`

    Example:
    
      1. GET [base]/RelatedPerson?patient=1137192&amp;name=van%20Putten

    *Implementation Notes:* Fetches a bundle of all RelatedPerson resources for the specified patient that may match any of the string fields in the `name` element (including family, give, prefix, suffix, suffix, and/or text) ([how to search by reference] and [how to search by string])




{% include link-list.md %}