# CKM search for scores/scales doesn't return expected results **Category:** [Clinical](https://discourse.openehr.org/c/clinical/5) **Created:** 2023-07-03 04:37 UTC **Views:** 397 **Replies:** 7 **URL:** https://discourse.openehr.org/t/ckm-search-for-scores-scales-doesnt-return-expected-results/4174 --- ## Post #1 by @thomas.beale I ran a CKM search for scores / scales, using the archetype search form. The result consisted of 17 archetypes, including things like blood pressure and BMI, but not most of the scores, e.g. ABCD, Barthel etc. Is there a reliable query to get just the score archetypes? Ping @sebastian.garde ;) --- ## Post #2 by @joostholslag There is a project. But probably will not be 100%, since it’s manually curated and somewhat arbitrary what a score is. Also check out the Nedap ‘basis archetypes’ Repo with many scores and scales at archetype-editor.Nedap.healthcare --- ## Post #3 by @sebastian.garde You can - search for *scale score* as free text input and set the search type to "Or". This will give you 149 archetypes, but likely some false positives (re your intent). This search also returns a hint to the the project that @joostholslag has mentioned already). - In the ontology in the Purpose tab tick Scale or score. This is probably what you have done as it returns 17 archetypes. We should probably go through the 149 archetypes and tag the relevant ones as *scale or score* in the ontology and/or add them to the project (if there are some missing in the project). --- ## Post #4 by @joostholslag Could we use snomed for this? --- ## Post #5 by @thomas.beale [quote="sebastian.garde, post:3, topic:4174"] In the ontology in the Purpose tab tick Scale or score. This is probably what you have done as it returns 17 archetypes. [/quote] yes that's what I did. [quote="sebastian.garde, post:3, topic:4174"] We should probably go through the 149 archetypes and tag the relevant ones as *scale or score* in the ontology and/or add them to the project (if there are some missing in the project). [/quote] Ideally we need ontology markers on the archetypes... but tagging real scales & scores would be a good start. If I were to do a search for 'vital signs' I wonder what I would get... :slight_smile: --- ## Post #6 by @sebastian.garde [quote="thomas.beale, post:5, topic:4174"] Ideally we need ontology markers on the archetypes… but tagging real scales & scores would be a good start. If I were to do a search for ‘vital signs’ I wonder what I would get… :slight_smile: [/quote] Agree, but whereever they are, some kind of maintenance is required. CKM guides you to tag any new archetype [quote="joostholslag, post:4, topic:4174, full:true"] Could we use snomed for this? [/quote] You mean we either say the concept is an Assessment Scale https://browser.ihtsdotools.org/?perspective=full&conceptId1=273249006&edition=MAIN&release=&languages=en like e.g. the Borg Scale and many others? Or - assuming there is a Snomed code for any relevant scale - we could bind it to the exact Snomed code. This bit is easy to do now technically (finding the exact code may of course be a challenge occasionally). However, we'd still need to infer what is what (probably a bit more generically than just *xyz IS-A scale*) and somehow come up with a meaningful GUI for this. This second part requires a bit more of a machinery. --- ## Post #7 by @joostholslag [quote="sebastian.garde, post:6, topic:4174"] You mean we either say the concept is an Assessment Scale https://browser.ihtsdotools.org/?perspective=full&conceptId1=273249006&edition=MAIN&release=&languages=en like e.g. the Borg Scale and many others? Or - assuming there is a Snomed code for any relevant scale - we could bind it to the exact Snomed code. [/quote] Sorry for being brief, I meant to bind the concept of the Borg archetype to snomed code: https://browser.ihtsdotools.org/?perspective=full&conceptId1=263487004&edition=MAIN/2023-06-30&release=&languages=en Which is expressed as being a child of https://browser.ihtsdotools.org/?perspective=full&conceptId1=273249006&edition=MAIN/2023-06-30&release=&languages=en So you would do a query using snomed terminology server, for 273249006 and it will return all scales (and children of that, including Borg scale). Probably complex to build, but is a more reliable, maintainable and less labour intensive solution than tagging all archetypes with a ‘scale’ tag. --- ## Post #8 by @ian.mcnicoll The major problem is that coverage of scales and scores is pretty patchy in SNOMED CT, and does require a fair bit of work to add codes to current archetypes. As you said the definition of a score is pretty arbitrary and will be just as much the case in SNOMED I'd still use the inbuilt CKM ontology and 'add' any current scores to the [Scales and Scores](https://ckm.openehr.org/ckm/projects/1013.30.74) project. They can be added as references even if they are already 'owned' by another project. --- **Canonical:** https://discourse.openehr.org/t/ckm-search-for-scores-scales-doesnt-return-expected-results/4174 **Original content:** https://discourse.openehr.org/t/ckm-search-for-scores-scales-doesnt-return-expected-results/4174