<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="DataSharingPatientScopeCodes"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem DataSharingPatientScopeCodes</b></p><a name="DataSharingPatientScopeCodes"> </a><a name="hcDataSharingPatientScopeCodes"> </a><p>This case-sensitive code system <code>https://www.core.blackpear.com/ig/metadata/CodeSystem/DataSharingPatientScopeCodes</code> defines the following codes:</p><table class="codes"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style="white-space:nowrap">all<a name="DataSharingPatientScopeCodes-all"> </a></td><td>All patients</td></tr><tr><td style="white-space:nowrap">gp<a name="DataSharingPatientScopeCodes-gp"> </a></td><td>Patients where data controller is registered GP</td></tr><tr><td style="white-space:nowrap">no-gp<a name="DataSharingPatientScopeCodes-no-gp"> </a></td><td>Patients without a registered GP</td></tr><tr><td style="white-space:nowrap">careteam<a name="DataSharingPatientScopeCodes-careteam"> </a></td><td>Patients where data controller is included within care team</td></tr><tr><td style="white-space:nowrap">none<a name="DataSharingPatientScopeCodes-none"> </a></td><td>No patients</td></tr></table></div>
  </text>
  <url value="https://www.core.blackpear.com/ig/metadata/CodeSystem/DataSharingPatientScopeCodes"/>
  <version value="0.1.0"/>
  <name value="DataSharingPatientScopeCodes"/>
  <title value="Data Sharing Patient Scope Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-11-13T16:51:07+00:00"/>
  <description value="Group of patients for which service shares data with data controller"/>
  <caseSensitive value="true"/>
  <content value="complete"/>
  <count value="5"/>
  <concept>
    <code value="all"/>
    <display value="All patients"/>
  </concept>
  <concept>
    <code value="gp"/>
    <display value="Patients where data controller is registered GP"/>
  </concept>
  <concept>
    <code value="no-gp"/>
    <display value="Patients without a registered GP"/>
  </concept>
  <concept>
    <code value="careteam"/>
    <display value="Patients where data controller is included within care team"/>
  </concept>
  <concept>
    <code value="none"/>
    <display value="No patients"/>
  </concept>
</CodeSystem>