<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="065ae94f-682d-4ccd-a7a5-eaab762c8f30" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2023-10-23T12:43:50.357+00:00" />
    <source value="#wGat4wojvZZWQJ2H" />
  </meta>
  <url value="https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Group-Request-Contacts" />
  <version value="1.0.0" />
  <name value="IDMSGroupRequestContacts" />
  <status value="draft" />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Group" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Group" />
  <derivation value="constraint" />
  <differential>
    <element id="Group.extension">
      <path value="Group.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Group.extension:createdUser">
      <path value="Group.extension" />
      <sliceName value="createdUser" />
      <definition value="#### **_`IDMS:  Link to the user that created the record.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser" />
      </type>
    </element>
    <element id="Group.extension:createdDate">
      <path value="Group.extension" />
      <sliceName value="createdDate" />
      <definition value="#### **_`IDMS:  Date and Time the record was created.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate" />
      </type>
    </element>
    <element id="Group.extension:updatedUser">
      <path value="Group.extension" />
      <sliceName value="updatedUser" />
      <definition value="#### **_`IDMS:  Link to the user that last updated the record.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser" />
      </type>
    </element>
    <element id="Group.extension:updatedDate">
      <path value="Group.extension" />
      <sliceName value="updatedDate" />
      <definition value="#### **_`IDMS:  Date and Time the record was last updated.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate" />
      </type>
    </element>
    <element id="Group.identifier">
      <path value="Group.identifier" />
      <max value="0" />
    </element>
    <element id="Group.active">
      <path value="Group.active" />
      <max value="0" />
    </element>
    <element id="Group.type">
      <path value="Group.type" />
      <definition value="#### **_`IDMS: This is a fixed value of 'practitioner'` ._**" />
      <fixedCode value="practitioner" />
    </element>
    <element id="Group.membership">
      <path value="Group.membership" />
      <definition value="#### **_`IDMS: This is a fixed value of 'enumerated'` ._**" />
      <fixedCode value="enumerated" />
    </element>
    <element id="Group.code">
      <path value="Group.code" />
      <max value="0" />
    </element>
    <element id="Group.name">
      <path value="Group.name" />
      <max value="0" />
    </element>
    <element id="Group.description">
      <path value="Group.description" />
      <max value="0" />
    </element>
    <element id="Group.quantity">
      <path value="Group.quantity" />
      <max value="0" />
    </element>
    <element id="Group.managingEntity">
      <path value="Group.managingEntity" />
      <max value="0" />
    </element>
    <element id="Group.characteristic">
      <path value="Group.characteristic" />
      <max value="0" />
    </element>
    <element id="Group.member">
      <path value="Group.member" />
      <definition value="#### **_`IDMS: These are the contacts for a request.  They can be a contact from the Submitting Organization or the Manufacturer .`_**" />
    </element>
    <element id="Group.member.modifierExtension">
      <path value="Group.member.modifierExtension" />
      <max value="0" />
    </element>
    <element id="Group.member.entity">
      <path value="Group.member.entity" />
      <definition value="#### **_`IDMS: The person's role that is a member of the group, it is a reference to a IDMS_PractitionerRole .`_**" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS_PractitionerRole" />
      </type>
    </element>
    <element id="Group.member.period">
      <path value="Group.member.period" />
      <max value="0" />
    </element>
    <element id="Group.member.extension:primaryIndicator">
      <path value="Group.member.extension" />
      <sliceName value="primaryIndicator" />
      <definition value="#### **_`IDMS: Primary flag for the Contact. `_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Contact-Primary-Indicator" />
      </type>
    </element>
  </differential>
</StructureDefinition>