# Case subject consent for extended sharing

The user can opt in or out of *Extended* data sharing during [case creation](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/launching-analysis) based on the patient's consent. This is a mandatory field that cannot be edited later via edit case flow.

![](https://1131024994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGCW0DnLlE7QjoZPNmKIi%2Fuploads%2Fgit-blob-537f9e176d353859f985688d145ff736b60791fd%2Fcase_subject_consent_for_extended_sharing_1_image.png?alt=media)

A case with *Extended* data sharing consent will share both [*Restricted*](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/analyze_network/network_sharing_configuration) [fields](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/analyze_network/network_sharing_configuration) and [*Extended*](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/analyze_network/network_sharing_configuration) [fields](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/analyze_network/network_sharing_configuration) in the [*Related Cases tab*](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/variant_page/related_cases_section) of the *Variant page*, whereas a case without consent will only share *Restricted* fields. Whether a field is *Restricted* or *Extended* is defined by the network setup.

***Notes:***

* In the [*Add new case*](https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/launching-analysis) UI, default case subject consent for *Extended* data sharing is set to “Yes”, except for cases that ran on platform versions 31 and earlier.
* When using API to create cases, the `sharing_level` field is used to indicate whether the case subject consented to *Extended* data sharing. Valid inputs include: `restricted` and `extended`. If not specified, the default value is `restricted`.
