<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.synapxe.sg/StructureDefinition/profile-ot-diagnosticreport" />
  <name value="DiagnosticReport" />
  <status value="active" />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-identifier" />
      </type>
    </element>
    <element id="DiagnosticReport.identifier.system">
      <path value="DiagnosticReport.identifier.system" />
      <fixedUri value="https://fhir.synapxe.sg/NamingSystem/sequence-no" />
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-practitioner" />
      </type>
    </element>
    <element id="DiagnosticReport.performer.id">
      <path value="DiagnosticReport.performer.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.performer.extension">
      <path value="DiagnosticReport.performer.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.performer.reference">
      <path value="DiagnosticReport.performer.reference" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.performer.type">
      <path value="DiagnosticReport.performer.type" />
      <min value="1" />
      <fixedUri value="Practitioner" />
    </element>
    <element id="DiagnosticReport.performer.identifier">
      <path value="DiagnosticReport.performer.identifier" />
      <min value="1" />
      <type>
        <code value="Identifier" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-identifier" />
      </type>
    </element>
    <element id="DiagnosticReport.resultsInterpreter">
      <path value="DiagnosticReport.resultsInterpreter" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.specimen">
      <path value="DiagnosticReport.specimen" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-ot-observation" />
      </type>
    </element>
    <element id="DiagnosticReport.result.id">
      <path value="DiagnosticReport.result.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result.extension">
      <path value="DiagnosticReport.result.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result.reference">
      <path value="DiagnosticReport.result.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.result.type">
      <path value="DiagnosticReport.result.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result.identifier">
      <path value="DiagnosticReport.result.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result.display">
      <path value="DiagnosticReport.result.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.note">
      <path value="DiagnosticReport.note" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.study">
      <path value="DiagnosticReport.study" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo">
      <path value="DiagnosticReport.supportingInfo" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media">
      <path value="DiagnosticReport.media" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.composition">
      <path value="DiagnosticReport.composition" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusionCode">
      <path value="DiagnosticReport.conclusionCode" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="DiagnosticReport.presentedForm">
      <path value="DiagnosticReport.presentedForm" />
      <type>
        <code value="Attachment" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-attachment" />
      </type>
    </element>
  </differential>
</StructureDefinition>