<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="DiagnosticReport" />
  <url value="http://mrdm.nl/profiles/fhir/r4/palga/StructureDefinition/diagnostic-report" />
  <name value="PalgaDiagnosticReport" />
  <status value="draft" />
  <date value="2023-11-28T08:53:54.0362159+00:00" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-textresult-v4.4-2020EN" />
    <uri value="https://zibs.nl/wiki/TextResult-v4.4(2020EN)" />
    <name value="zib TextResult-v4.4(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport">
      <path value="DiagnosticReport" />
      <short value="Report of Palga protocol data" />
    </element>
    <element id="DiagnosticReport.id">
      <path value="DiagnosticReport.id" />
      <short value="Unique ID" />
      <definition value="combination of name clinical registry, labid and report number" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.extension">
      <path value="DiagnosticReport.extension" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.extension:palgaProtocolVersion">
      <path value="DiagnosticReport.extension" />
      <sliceName value="palgaProtocolVersion" />
      <short value="Protocol version" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://logex.com/profiles/fhir/r4/palga/StructureDefinition/extension-protocol-version" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <definition value="The status has been set as a fixed value, final." />
      <fixedCode value="final" />
    </element>
    <element id="DiagnosticReport.code.text">
      <path value="DiagnosticReport.code.text" />
      <short value="Name of the study" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://logex.com/profiles/fhir/r4/palga/StructureDefinition/patient" />
      </type>
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://logex.com/profiles/fhir/r4/palga/StructureDefinition/organization" />
      </type>
    </element>
    <element id="DiagnosticReport.specimen">
      <path value="DiagnosticReport.specimen" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://logex.com/profiles/fhir/r4/palga/StructureDefinition/specimen" />
      </type>
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://logex.com/profiles/fhir/r4/palga/StructureDefinition/sample" />
      </type>
    </element>
  </differential>
</StructureDefinition>