<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.synapxe.sg/StructureDefinition/profile-diagnosticreport-cvs" />
  <name value="CervicalScreeningReport" />
  <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" />
      <type>
        <code value="Meta" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-meta" />
      </type>
    </element>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier" />
      <min value="1" />
      <type>
        <code value="Identifier" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-identifier" />
      </type>
    </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.basedOn.id">
      <path value="DiagnosticReport.basedOn.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn.extension">
      <path value="DiagnosticReport.basedOn.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn.reference">
      <path value="DiagnosticReport.basedOn.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.basedOn.type">
      <path value="DiagnosticReport.basedOn.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn.identifier">
      <path value="DiagnosticReport.basedOn.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn.display">
      <path value="DiagnosticReport.basedOn.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.id">
      <path value="DiagnosticReport.category.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.extension">
      <path value="DiagnosticReport.category.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.coding">
      <path value="DiagnosticReport.category.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.category.coding.id">
      <path value="DiagnosticReport.category.coding.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.coding.extension">
      <path value="DiagnosticReport.category.coding.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.coding.system">
      <path value="DiagnosticReport.category.coding.system" />
      <min value="1" />
      <fixedUri value="https://fhir.synapxe.sg/CodeSystem/screen-type" />
    </element>
    <element id="DiagnosticReport.category.coding.code">
      <path value="DiagnosticReport.category.coding.code" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.category.coding.display">
      <path value="DiagnosticReport.category.coding.display" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.category.coding.userSelected">
      <path value="DiagnosticReport.category.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.text">
      <path value="DiagnosticReport.category.text" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
      <binding>
        <strength value="required" />
        <description value="Screening Types for Diagnostic Reports" />
        <valueSet value="https://fhir.synapxe.sg/ValueSet/screen-type" />
      </binding>
    </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="https://fhir.synapxe.sg/CodeSystem/screen-type" />
    </element>
    <element id="DiagnosticReport.code.coding.code">
      <path value="DiagnosticReport.code.coding.code" />
      <patternCode value="cervical-screen" />
    </element>
    <element id="DiagnosticReport.code.coding.display">
      <path value="DiagnosticReport.code.coding.display" />
      <fixedString value="Cervical Screening Report" />
    </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.subject.display">
      <path value="DiagnosticReport.subject.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-encounter" />
      </type>
    </element>
    <element id="DiagnosticReport.encounter.id">
      <path value="DiagnosticReport.encounter.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter.extension">
      <path value="DiagnosticReport.encounter.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter.reference">
      <path value="DiagnosticReport.encounter.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.encounter.type">
      <path value="DiagnosticReport.encounter.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter.identifier">
      <path value="DiagnosticReport.encounter.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter.display">
      <path value="DiagnosticReport.encounter.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.effective[x]">
      <path value="DiagnosticReport.effective[x]" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <max value="0" />
    </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" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-observation" />
        <aggregation value="bundled" />
      </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" />
      <min value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.id">
      <path value="DiagnosticReport.supportingInfo.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.modifierExtension">
      <path value="DiagnosticReport.supportingInfo.modifierExtension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type">
      <path value="DiagnosticReport.supportingInfo.type" />
      <type>
        <code value="CodeableConcept" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.synapxe.sg/ValueSet/supportinginfo-type" />
      </binding>
    </element>
    <element id="DiagnosticReport.supportingInfo.type.extension">
      <path value="DiagnosticReport.supportingInfo.type.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.system">
      <path value="DiagnosticReport.supportingInfo.type.coding.system" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="DiagnosticReport.supportingInfo.type.coding.code">
      <path value="DiagnosticReport.supportingInfo.type.coding.code" />
      <patternCode value="11329-0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.reference">
      <path value="DiagnosticReport.supportingInfo.reference" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.synapxe.sg/StructureDefinition/profile-observation" />
        <aggregation value="bundled" />
      </type>
    </element>
    <element id="DiagnosticReport.supportingInfo.reference.id">
      <path value="DiagnosticReport.supportingInfo.reference.id" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.reference.extension">
      <path value="DiagnosticReport.supportingInfo.reference.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.reference.reference">
      <path value="DiagnosticReport.supportingInfo.reference.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.supportingInfo.reference.type">
      <path value="DiagnosticReport.supportingInfo.reference.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.reference.identifier">
      <path value="DiagnosticReport.supportingInfo.reference.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.supportingInfo.reference.display">
      <path value="DiagnosticReport.supportingInfo.reference.display" />
      <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.conclusion">
      <path value="DiagnosticReport.conclusion" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusionCode">
      <path value="DiagnosticReport.conclusionCode" />
      <short value="Concept - reference to a terminology or just  text" />
      <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.conclusionCode.extension">
      <path value="DiagnosticReport.conclusionCode.extension" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusionCode.coding">
      <path value="DiagnosticReport.conclusionCode.coding" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusionCode.text">
      <path value="DiagnosticReport.conclusionCode.text" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.presentedForm">
      <path value="DiagnosticReport.presentedForm" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>