@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "ICRSGradingSystem"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:CodeSystem.url [ fhir:value "https://kip.rkkp.dk/fhir/CodeSystem/ICRSGradingSystem"];
  fhir:CodeSystem.version [ fhir:value "2.9.3"];
  fhir:CodeSystem.name [ fhir:value "ICRSGradingSystem"];
  fhir:CodeSystem.title [ fhir:value "ICRS grading system"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.date [ fhir:value "2022-09-19T00:00:00+02:00"];
  fhir:CodeSystem.publisher [ fhir:value "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://trifork.com" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "rbk@trifork.com" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "ICRS grading system; Link: https://www.researchgate.net/figure/The-International-Cartilage-Repair-Society-ICRS-Cartilage-Lesion-Classification-System_fig2_224847959"];
  fhir:CodeSystem.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [ fhir:index 0 ]
  ];
  fhir:CodeSystem.caseSensitive [ fhir:value "false"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.count [ fhir:value "11"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "grade_0" ];
     fhir:CodeSystem.display [ fhir:value "Grade 0: Normal" ];
     fhir:CodeSystem.definition [ fhir:value "Grade 0: Normal" ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "grade_1" ];
     fhir:CodeSystem.display [ fhir:value "Grade 1: Nearly normal, superficial lesions" ];
     fhir:CodeSystem.definition [ fhir:value "Grade 1: Nearly normal, superficial lesions" ];
     fhir:CodeSystem.concept [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "grade_1a" ];
       fhir:CodeSystem.display [ fhir:value "Grade 1A: Soft indentations" ];
       fhir:CodeSystem.definition [ fhir:value "Grade 1A: Soft indentations" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "grade_1b" ];
       fhir:CodeSystem.display [ fhir:value "Grade 1B: Superficial fissures and cracks" ];
       fhir:CodeSystem.definition [ fhir:value "Grade 1B: Superficial fissures and cracks" ]
     ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "grade_2" ];
     fhir:CodeSystem.display [ fhir:value "Grade 2: Abnormal" ];
     fhir:CodeSystem.definition [ fhir:value "Grade 2: Abnormal, lesiosn extending down to <50% of cartilage depth" ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "grade_3" ];
     fhir:CodeSystem.display [ fhir:value "Grade 3: Severely abnormal" ];
     fhir:CodeSystem.definition [ fhir:value "Grade 3: Severely abnormal, cartilage defects extending down >50% of cartilage depth" ];
     fhir:CodeSystem.concept [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "grade_3a" ];
       fhir:CodeSystem.display [ fhir:value "Grade 3A: Severely abnormal" ];
       fhir:CodeSystem.definition [ fhir:value "Grade 3A: Cartilage defects extending down >50% of cartilage depth..." ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "grade_3b" ];
       fhir:CodeSystem.display [ fhir:value "Grade 3B: Severely abnormal" ];
       fhir:CodeSystem.definition [ fhir:value "Grade 3B: ...as well as down to calcified layer..." ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "grade_3c" ];
       fhir:CodeSystem.display [ fhir:value "Grade 3C: Severely abnormal" ];
       fhir:CodeSystem.definition [ fhir:value "Grade 3C: ...and down to but not through the sunchondral bone." ]
     ], [
       fhir:index 3;
       fhir:CodeSystem.code [ fhir:value "grade_3d" ];
       fhir:CodeSystem.display [ fhir:value "Grade 3D: Severely abnormal" ];
       fhir:CodeSystem.definition [ fhir:value "Grade 3D: Blisters are included in this grade." ]
     ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.code [ fhir:value "grade_4" ];
     fhir:CodeSystem.display [ fhir:value "Grade 4: Severely abnormal" ];
     fhir:CodeSystem.definition [ fhir:value "Grade 4: Severely abnormal" ]
  ] .

# -------------------------------------------------------------------------------------

