<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.synapxe.sg/StructureDefinition/profile-radiologyreport" />
  <name value="RadiologyReport" />
  <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.meta">
      <path value="DiagnosticReport.meta" />
      <short value="Metadata about a resource" />
      <definition value="The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." />
      <type>
        <code value="Meta" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-meta" />
      </type>
    </element>
    <element id="DiagnosticReport.contained">
      <path value="DiagnosticReport.contained" />
      <short value="Sample for analysis" />
      <definition value="A sample to be used for analysis." />
    </element>
    <element id="DiagnosticReport.modifierExtension">
      <path value="DiagnosticReport.modifierExtension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier.id">
      <path value="DiagnosticReport.identifier.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.extension">
      <path value="DiagnosticReport.identifier.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.use">
      <path value="DiagnosticReport.identifier.use" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.type">
      <path value="DiagnosticReport.identifier.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.system">
      <path value="DiagnosticReport.identifier.system" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier.period">
      <path value="DiagnosticReport.identifier.period" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier">
      <path value="DiagnosticReport.identifier" />
      <sliceName value="recordIdentifier" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.id">
      <path value="DiagnosticReport.identifier.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.extension">
      <path value="DiagnosticReport.identifier.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.use">
      <path value="DiagnosticReport.identifier.use" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.type">
      <path value="DiagnosticReport.identifier.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.system">
      <path value="DiagnosticReport.identifier.system" />
      <min value="1" />
      <fixedUri value="https://fhir.synapxe.sg/NamingSystem/record-id" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.period">
      <path value="DiagnosticReport.identifier.period" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:recordIdentifier.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber">
      <path value="DiagnosticReport.identifier" />
      <sliceName value="accessionNumber" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.id">
      <path value="DiagnosticReport.identifier.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.extension">
      <path value="DiagnosticReport.identifier.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.use">
      <path value="DiagnosticReport.identifier.use" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.type">
      <path value="DiagnosticReport.identifier.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.system">
      <path value="DiagnosticReport.identifier.system" />
      <patternUri value="https://fhir.synapxe.sg/NamingSystem/accession-no" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.period">
      <path value="DiagnosticReport.identifier.period" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier:accessionNumber.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest" />
        <aggregation value="bundled" />
      </type>
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
      <binding>
        <strength value="required" />
      </binding>
    </element>
    <element id="DiagnosticReport.category.extension">
      <path value="DiagnosticReport.category.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.coding.system">
      <path value="DiagnosticReport.category.coding.system" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/v2-0074" />
    </element>
    <element id="DiagnosticReport.category.coding.version">
      <path value="DiagnosticReport.category.coding.version" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.coding.code">
      <path value="DiagnosticReport.category.coding.code" />
      <patternCode value="RAD" />
    </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.code.extension">
      <path value="DiagnosticReport.code.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.code.coding.system">
      <path value="DiagnosticReport.code.coding.system" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="DiagnosticReport.code.coding.version">
      <path value="DiagnosticReport.code.coding.version" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-patient" />
      </type>
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-reference-encounter" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-encounter" />
      </type>
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-location" />
        <aggregation value="bundled" />
      </type>
    </element>
    <element id="DiagnosticReport.resultsInterpreter">
      <path value="DiagnosticReport.resultsInterpreter" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-practitioner" />
      </type>
    </element>
    <element id="DiagnosticReport.resultsInterpreter.id">
      <path value="DiagnosticReport.resultsInterpreter.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.extension">
      <path value="DiagnosticReport.resultsInterpreter.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.reference">
      <path value="DiagnosticReport.resultsInterpreter.reference" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.type">
      <path value="DiagnosticReport.resultsInterpreter.type" />
      <fixedUri value="Practitioner" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier">
      <path value="DiagnosticReport.resultsInterpreter.identifier" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.id">
      <path value="DiagnosticReport.resultsInterpreter.identifier.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.extension">
      <path value="DiagnosticReport.resultsInterpreter.identifier.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.use">
      <path value="DiagnosticReport.resultsInterpreter.identifier.use" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.type">
      <path value="DiagnosticReport.resultsInterpreter.identifier.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.system">
      <path value="DiagnosticReport.resultsInterpreter.identifier.system" />
      <min value="1" />
      <fixedUri value="https://fhir.synapxe.sg/NamingSystem/mcr" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.value">
      <path value="DiagnosticReport.resultsInterpreter.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.period">
      <path value="DiagnosticReport.resultsInterpreter.identifier.period" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier.assigner">
      <path value="DiagnosticReport.resultsInterpreter.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.display">
      <path value="DiagnosticReport.resultsInterpreter.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.specimen">
      <path value="DiagnosticReport.specimen" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-specimen" />
      </type>
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-investigation" />
        <aggregation value="bundled" />
      </type>
    </element>
    <element id="DiagnosticReport.result.reference">
      <path value="DiagnosticReport.result.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.note">
      <path value="DiagnosticReport.note" />
      <max value="1" />
      <type>
        <code value="Annotation" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-annotation" />
      </type>
    </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.supportingInfo.id">
      <path value="DiagnosticReport.supportingInfo.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.extension">
      <path value="DiagnosticReport.supportingInfo.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.modifierExtension">
      <path value="DiagnosticReport.supportingInfo.modifierExtension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.id">
      <path value="DiagnosticReport.supportingInfo.type.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.extension">
      <path value="DiagnosticReport.supportingInfo.type.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding">
      <path value="DiagnosticReport.supportingInfo.type.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.id">
      <path value="DiagnosticReport.supportingInfo.type.coding.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.extension">
      <path value="DiagnosticReport.supportingInfo.type.coding.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.system">
      <path value="DiagnosticReport.supportingInfo.type.coding.system" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.code">
      <path value="DiagnosticReport.supportingInfo.type.coding.code" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.display">
      <path value="DiagnosticReport.supportingInfo.type.coding.display" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.userSelected">
      <path value="DiagnosticReport.supportingInfo.type.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.text">
      <path value="DiagnosticReport.supportingInfo.type.text" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.reference">
      <path value="DiagnosticReport.supportingInfo.reference" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-specimen" />
      </type>
    </element>
    <element id="DiagnosticReport.media">
      <path value="DiagnosticReport.media" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.id">
      <path value="DiagnosticReport.media.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.extension">
      <path value="DiagnosticReport.media.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.modifierExtension">
      <path value="DiagnosticReport.media.modifierExtension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.comment">
      <path value="DiagnosticReport.media.comment" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link">
      <path value="DiagnosticReport.media.link" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-documentreference" />
      </type>
    </element>
    <element id="DiagnosticReport.composition">
      <path value="DiagnosticReport.composition" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusion">
      <path value="DiagnosticReport.conclusion" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusionCode">
      <path value="DiagnosticReport.conclusionCode" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
    </element>
    <element id="DiagnosticReport.conclusionCode.extension">
      <path value="DiagnosticReport.conclusionCode.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusionCode.coding.version">
      <path value="DiagnosticReport.conclusionCode.coding.version" />
      <max value="0" />
    </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>