<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="il-diagnostic-report-genetics-survey" />
  <language value="he-IL" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Clinical.Diagnostics" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="patient" />
  </extension>
  <url value="http://fhir.health.gov.il/StructureDefinition/il-diagnostic-report-genetics-survey" />
  <version value="0.1.0" />
  <name value="ILDiagnosticReportGeneticsInheritedDiseaseSurvey" />
  <title value="IL DiagnosticReport Genetics Inherited Disease survey Profile" />
  <status value="draft" />
  <date value="2021-10-04" />
  <publisher value="Israeli Ministry of Health" />
  <description value="Proposed constraints and extensions on the DiagnosticReport Genetics for survey Resource" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://fhir.health.gov.il/StructureDefinition/il-core-diagnostic-report" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport">
      <path value="DiagnosticReport" />
      <short value="IL DiganosticReport Genetics Profile" />
      <definition value="Definitions for Proposed constraints and extensions on the DiganosticReport Genetics for survey Resource." />
    </element>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <patternCode value="final" />
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="coding.code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="DiagnosticReport.category:laboratory">
      <path value="DiagnosticReport.category" />
      <sliceName value="laboratory" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.category:laboratory.coding">
      <path value="DiagnosticReport.category.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.category:laboratory.coding.system">
      <path value="DiagnosticReport.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/ValueSet/diagnostic-service-sections" />
    </element>
    <element id="DiagnosticReport.category:laboratory.coding.code">
      <path value="DiagnosticReport.category.coding.code" />
      <min value="1" />
      <fixedCode value="GE" />
    </element>
    <element id="DiagnosticReport.category:laboratory.coding.display">
      <path value="DiagnosticReport.category.coding.display" />
      <fixedString value="Genetics" />
    </element>
    <element id="DiagnosticReport.code.coding.system">
      <path value="DiagnosticReport.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="DiagnosticReport.code.coding.code">
      <path value="DiagnosticReport.code.coding.code" />
      <min value="1" />
      <fixedCode value="53039-4" />
    </element>
    <element id="DiagnosticReport.code.coding.display">
      <path value="DiagnosticReport.code.coding.display" />
      <fixedString value="Genetic disease analysis overall carrier interpretation" />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-core-patient" />
      </type>
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-encounter-genetics-survey" />
      </type>
    </element>
    <element id="DiagnosticReport.effective[x]">
      <path value="DiagnosticReport.effective[x]" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-core-organization" />
      </type>
    </element>
    <element id="DiagnosticReport.specimen">
      <path value="DiagnosticReport.specimen" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-specimen-genetics-survey" />
      </type>
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-interpretation-genetics-survey" />
        <targetProfile value="http://fhir.health.gov.il/StructureDefinition/il-variant-genetics-survey" />
      </type>
    </element>
    <element id="DiagnosticReport.imagingStudy">
      <path value="DiagnosticReport.imagingStudy" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusion">
      <path value="DiagnosticReport.conclusion" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>