<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="England-CareTeam-Flag" />
  <url value="https://fhir.nhs.uk/England/StructureDefinition/England-CareTeam-Flag" />
  <version value="0.1.0" />
  <name value="EnglandCareTeamFlag" />
  <title value="England Care Team Flag" />
  <status value="draft" />
  <date value="2025-03-03" />
  <publisher value="NHS England" />
  <contact>
    <name value="NHS England" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="Defines the structure for the CareTeam resource associated with the Flag resource, representing local authority safeguarding teams." />
  <purpose value="This profile provides a structured representation of a CareTeam in the Flag system, including details of safeguarding professionals and their managing organizations." />
  <copyright value="Copyright © 2025 NHS England. Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="CareTeam" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CareTeam" />
  <derivation value="constraint" />
  <differential>
    <element id="CareTeam.id">
      <path value="CareTeam.id" />
      <mustSupport value="true" />
    </element>
    <element id="CareTeam.status">
      <path value="CareTeam.status" />
      <mustSupport value="true" />
    </element>
    <element id="CareTeam.name">
      <path value="CareTeam.name" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="CareTeam.telecom">
      <path value="CareTeam.telecom" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>