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