{
  "resourceType": "StructureDefinition",
  "id": "il-specimen-genetics",
  "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-specimen-genetics-survey",
  "version": "0.1.0",
  "name": "ILSpecimenGeneticsInheritedDiseaseSurvey",
  "title": "IL Specimen Genetics Inherited Disease Survey Profile",
  "status": "draft",
  "date": "2021-10-04",
  "publisher": "Israeli Ministry of Health",
  "description": "Proposed constraints and extensions on the Specimen-Genetics for survey Resource",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Specimen",
  "baseDefinition": "http://fhir.health.gov.il/StructureDefinition/il-core-specimen",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Specimen",
        "path": "Specimen",
        "short": "IL Specimen Genetics Profile",
        "definition": "Definitions for Proposed constraints and extensions on the Specimen-Genetics for survey Resource."
      },
      {
        "id": "Specimen.identifier",
        "path": "Specimen.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Specimen.status",
        "path": "Specimen.status",
        "min": 1,
        "fixedCode": "available"
      },
      {
        "id": "Specimen.type",
        "path": "Specimen.type",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.health.gov.il/ValueSet/specimen-type-genetics"
        }
      },
      {
        "id": "Specimen.subject",
        "path": "Specimen.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-patient"
            ]
          }
        ]
      },
      {
        "id": "Specimen.collection.collector",
        "path": "Specimen.collection.collector",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner"
            ]
          }
        ]
      },
      {
        "id": "Specimen.collection.collected[x]",
        "path": "Specimen.collection.collected[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Specimen.collection.collectedDateTime",
        "path": "Specimen.collection.collectedDateTime",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Specimen.collection.method",
        "path": "Specimen.collection.method",
        "max": "0"
      },
      {
        "id": "Specimen.container.identifier",
        "path": "Specimen.container.identifier",
        "min": 1
      }
    ]
  }
}