{
  "resourceType": "StructureDefinition",
  "id": "ee-tis-claim-for-discount",
  "url": "https://fhir.ee/StructureDefinition/ee-tis-claim-for-discount",
  "version": "1.0.0",
  "name": "EETISClaimForDiscount",
  "status": "retired",
  "experimental": true,
  "date": "2024-02-01T11:50:21.649163+00:00",
  "description": "This resource is used for asking the National Health Insurance Fund discount for prescription medication. The percent of the discount depends on the medication, age, diagnose etc.",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Claim",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Claim",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Claim.contained",
        "path": "Claim.contained",
        "max": "0"
      },
      {
        "id": "Claim.subType",
        "path": "Claim.subType",
        "short": "Soodustuse määr. Loend.",
        "min": 1,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://fhir.ee/CodeSystem/retsepti-soodustuse-maar"
        }
      },
      {
        "id": "Claim.patient",
        "path": "Claim.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.ee/StructureDefinition/ee-tis-patient"
            ]
          }
        ]
      },
      {
        "id": "Claim.enterer",
        "path": "Claim.enterer",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.ee/StructureDefinition/ee-tis-practitioner",
              "https://fhir.ee/StructureDefinition/ee-tis-practitioner-role"
            ]
          }
        ]
      },
      {
        "id": "Claim.insurer",
        "path": "Claim.insurer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.ee/StructureDefinition/ee-tis-organization"
            ]
          }
        ]
      },
      {
        "id": "Claim.priority",
        "path": "Claim.priority",
        "max": "0"
      },
      {
        "id": "Claim.fundsReserve",
        "path": "Claim.fundsReserve",
        "max": "0"
      },
      {
        "id": "Claim.prescription",
        "path": "Claim.prescription",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.ee/StructureDefinition/ee-tis-medication-request"
            ]
          }
        ]
      },
      {
        "id": "Claim.originalPrescription",
        "path": "Claim.originalPrescription",
        "max": "0"
      },
      {
        "id": "Claim.payee",
        "path": "Claim.payee",
        "max": "0"
      },
      {
        "id": "Claim.referral",
        "path": "Claim.referral",
        "max": "0"
      },
      {
        "id": "Claim.encounter",
        "path": "Claim.encounter",
        "max": "0"
      },
      {
        "id": "Claim.facility",
        "path": "Claim.facility",
        "max": "0"
      },
      {
        "id": "Claim.diagnosisRelatedGroup",
        "path": "Claim.diagnosisRelatedGroup",
        "max": "0"
      },
      {
        "id": "Claim.event",
        "path": "Claim.event",
        "max": "0"
      },
      {
        "id": "Claim.careTeam",
        "path": "Claim.careTeam",
        "max": "0"
      },
      {
        "id": "Claim.diagnosis",
        "path": "Claim.diagnosis",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Claim.diagnosis.diagnosis[x]",
        "path": "Claim.diagnosis.diagnosis[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "RHK-10",
          "valueSet": "http://hir.ee/CodeSystem/rhk-10"
        }
      },
      {
        "id": "Claim.procedure",
        "path": "Claim.procedure",
        "max": "0"
      },
      {
        "id": "Claim.accident",
        "path": "Claim.accident",
        "max": "0"
      }
    ]
  }
}