diff --git a/docs/conventions.html b/docs/conventions.html index 184f3df..156da4c 100644 --- a/docs/conventions.html +++ b/docs/conventions.html @@ -756,8 +756,8 @@
--Under Construction
++Complete
@@ -765,17 +765,61 @@
Grading
Abcdefg
+Map directly to the concepts in the Cancer Modifier vocabulary. The +standard concepts for grade are broken down into 1-4 as well as High, +Intermediate, and Low.
+A few specific grading systems (e.g. Nottingham, FIGO) are +represented as standard concepts in the Cancer Modifier vocabulary. Map +to these concepts if they match the granularity of your data. If you +have a specific need for a different grading system, you can request +that it be standardized by creating +an issue.
HIJKLM
+For example: Grade 1
+Above: Any tumor that has been assigned a Grade 1 in any grading +system
+To find the correct standard concept, you need to join to the concept +code, as shown here:
+SELECT concept_id
+FROM concept
+WHERE vocabulary_id = 'Cancer Modifier'
+AND concept_class_id = 'Staging/Grading'
+AND standard_concept = 'S'
+AND concept_code = 'Grade-1'
+Another example: Gleason Score 8
+Above: A tumor assigned a Gleason Score of 8 using the Gleason +grading system
+To find the correct standard concept, you need to join to the concept +code, as shown here:
+SELECT concept_id
+FROM concept
+WHERE vocabulary_id = 'Cancer Modifier'
+AND concept_class_id = 'Staging/Grading'
+AND standard_concept = 'S'
+AND concept_code = 'Gleason-Score-8'
NOPQ
+To find all standard Grade concepts in the Cancer Modifier +vocabulary:
+SELECT b.concept_id, b.concept_code, b.concept_name
+FROM (
+ SELECT *
+ FROM concept c
+ INNER JOIN concept_ancestor ca
+ ON c.concept_id = ca.ancestor_concept_id
+ WHERE vocabulary_id = 'Cancer Modifier'
+ AND concept_class_id = 'Staging/Grading'
+ AND standard_concept = 'S'
+ AND lower(concept_code) LIKE '%grade%'
+) a
+INNER JOIN concept b
+ON a.descendant_concept_id = b.concept_id