Dr Linda Bird, IHTSDO Implementation Specialist

Slides:



Advertisements
Similar presentations
Copyright © 2001 College of American Pathologists Presentation Objectives By the end of this presentation you should know: –The content of the 3 core SNOMED.
Advertisements

SNOMED Core Structures 2 nd AAHA Software Vendors Summit – April 21, 2009.
Health IT Workforce Curriculum Version 1.0 Fall Networking and Health Information Exchange Unit 4e Basic Health Data Standards Component 9/Unit.
An Introduction to SNOMED CT ® Using Release Format 2 1 Presented by Denise Downs with Ed Cheetham and Chris Morris A Technical Overview 16 th January.
SNOMED CT IHTSDO Query Language Specification & IHTSDO Public Consultation Relevance to analytics Ed Cheetham, Principal Terminology Specialist.
Thomas Beale CTO, Ocean Informatics Copyright 2012 Ocean Informatics Tromso 27 May 2014.
CIMI Modelling Taskforce Progress Report
Introduction to the ABAP Data Dictionary
Introduction to XLink Transparency No. 1 XML Information Set W3C Recommendation 24 October 2001 (1stEdition) 4 February 2004 (2ndEdition) Cheng-Chia Chen.
Introduction to Structured Query Language (SQL)
Introduction to Structured Query Language (SQL)
PRD_codes_KS_ ppx. UK Renal SNOMED CT subset incorporating the new ERA-EDTA PRDs and how we can use them in Rare Disease Groups Keith Simpson.
OHT 4.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
Shell Scripting Awk (part1) Awk Programming Language standard unix language that is geared for text processing and creating formatted reports but it.
Managing SNOMED in your system. 2 nd AAHA Software Vendors Summit – April 21, 2009.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Object Oriented Software Development
Comp 248 Introduction to Programming Chapter 4 - Defining Classes Part A Dr. Aiman Hanna Department of Computer Science & Software Engineering Concordia.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
CSM-Java Programming-I Spring,2005 Introduction to Objects and Classes Lesson - 1.
Karen Gibson.  Significant investment in eHealth is underway  Clinical records: ◦ Not only a record for the author ◦ Essential to inform the next person.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
CHAPTER:14 Simple Queries in SQL Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Overview, Benefits and how to approach Implementing - Robyn Richards (NEHTA)
Structure Query Language SQL. Database Terminology Employee ID 3 3 Last name Small First name Tony 5 5 Smith James
New Perspectives on XML, 2nd Edition
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
Tutorial 13 Validating Documents with Schemas
Summary Report Project Name: IHTSDO Workbench Brief Project Description: Development of a collaborative tool to allow maintenance of terminology, mapping.
Summary Report Project Name: IHTSDO Workbench Brief Project Description: Development of a collaborative tool to allow maintenance of terminology, mapping.
Tool for Ontology Paraphrasing, Querying and Visualization on the Semantic Web Project By Senthil Kumar K III MCA (SS)‏
VTSL Enhancing the AAHA & AAEP Diagnostic Subsets 2013 Talbot Symposium Jeff R. Wilcke DVM, MS, DACVCP; Julie M. Green DVM, MS; Suzanne L. Santamaria DVM,
Programming with Microsoft Visual Basic th Edition
User Guide, 21 May 2009 © Copyright ISAteam 1 ISAconfigurator for ISAcreator User Guide Alpha version: May 2009 Contact:
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 8 HP UCMDB 8.0 Essentials.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
SNOMED Core Structures NAHLN January 2005 Las Vegas, NV.
SNOMED CT A Technologist’s Perspective Gaur Sunder Principal Technical Officer & Incharge, National Release Center VC&BA, C-DAC, Pune.
SNOMED CT Vendor Introduction 27 th October :30 (CET) Implementation Special Interest Group Tom Seabury IHTSDO.
SNOMED CT Family of Languages Dr Linda Bird, IHTSDO Implementation Specialist.
FROM ONE NOMENCLATURES TO ANOTHER… Drs. Sven Van Laere.
0 Copyright 2012 FUJITSU Interstage BOP SQL Query Tutorial Todd Palmer October 2012.
IHTSDO Education & Implementation Update Dr Linda Bird Implementation Specialist.
Canadian SNOMED CT® Extensions Challenges & Lessons learned Presentation to Implementation SIG October 2012 Presented by Linda Parisien and Beverly Knight.
A Proposed Approach to Binding SNOMED CT to HL7 FHIR Dr Linda Bird Senior Implementation Specialist.
SNOMED Core Structures RF2
SNOMED CT E-Learning October 2014 Status & Planning Update (for ELRG)
CHAPTER 7 DATABASE ACCESS THROUGH WEB
UNIFIED MEDICAL LANGUAGE SYSTEMS (UMLS)
The Simple Corpus Tool Martin Weisser Research Center for Linguistics & Applied Linguistics Guangdong University of Foreign Studies
Project Management: Messages
SNOMED CT Computable Languages Project Group
11th HL7 Australia Conference, 13th December 2006
SNOMED CT E-Learning Status & Planning September Update (for ELRG)
ATS Application Programming: Java Programming
Implementation SIG Future Discussion Points and Possible Next Steps
IHTSDO SNOMED CT Tooling
So lets get started, Todays webinar is about SNOMED CT in QOF
Lecture 2 The Relational Model
Building Configurable Forms
STRUCTURED QUERY LANGUAGE
A bit more about Read Codes and SNOMED CT
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Contents Preface I Introduction Lesson Objectives I-2
National Clinical Terminology & Information Service Terminology Update
Summary Report Project Name: IHTSDO Workbench
02 | Mastering Your Data Graeme Malcolm | Data Technology Specialist, Content Master Pete Harris | Learning Product Planner, Microsoft.
Presentation transcript:

Dr Linda Bird, IHTSDO Implementation Specialist SNOMED CT Queries Dr Linda Bird, IHTSDO Implementation Specialist

SNOMED CT Family of Languages We need a consistent ‘family of languages’ that supports SNOMED CT related activities, including: Defining postcoordinated clinical meanings Binding SNOMED CT to information models & coding systems Defining intensional reference sets Querying SNOMED CT Representing the SNOMED CT concept model

SNOMED CT Languages Compositional Grammar To define a SNOMED CT expression Expression Constraint Language To constrain the set of possible concepts or expressions Query Language To query over SNOMED CT RF2 content Template Syntax Incorporating ‘slots’ to be filled at a later time Slots added to expressions, constraints or queries SNOMED CT supports a number of predefined languages, which serve a variety of purposes – these include Compositional Grammar, Expression Constraint Language, Query Language and the Template Language. We briefly touched on this earlier, but now we’re going to explain them in a bit more detail, particularly in terms of their relevance to analytics.

Query Language To query over SNOMED CT RF2 content Use cases: Querying SNOMED CT RF2 content Defining intensional reference sets Querying codes recorded in patient data The SNOMED CT Query Language, is a superset of the expression constraint language, which will also be available for comment shortly. The query language is used for quering SNOMED CT content, defining intensional reference sets, querying patient data and binding SNOMED CT to ICD-11 linearizations. The main difference between the expression constraint language and the query language is the introduction of filters, which allow the results to be further constrained based on various SNOMED CT specific characteristics. In the query language, you can filter on a specific version of SNOMED CT, restrict lexical searches to a specific language reference set, the preferred terms, the fully specified names, or the acceptable terms. You can filter on the effective time, the active status, or the module id. You can filter descriptions on their language, type, case significance, or the term itself. You can filter relationships on their characteristic type, and you can filter the members of a reference set based on specific reference set attribute values.

Filter Keywords Filter Operators Valid Values substrate = URI id = sctId active = “0”, “1”, “any”, “yes”, “no” effectiveTime =, <, >, <=, >= ISO-8601 date (YYYYMMDD) moduleId = conceptReference module = {“core”, “modelComponent”, “preview”} Concept definitionStatusId = conceptReference definitionStatus = “defined”, “primitive” Relationship characteristicTypeId = conceptReference characteristicType = {“inferred”, “stated”, “additional”} The SNOMED CT Query Language, is a superset of the expression constraint language, which will also be available for comment shortly. The query language is used for quering SNOMED CT content, defining intensional reference sets, querying patient data and binding SNOMED CT to ICD-11 linearizations. The main difference between the expression constraint language and the query language is the introduction of filters, which allow the results to be further constrained based on various SNOMED CT specific characteristics. In the query language, you can filter on a specific version of SNOMED CT, restrict lexical searches to a specific language reference set, the preferred terms, the fully specified names, or the acceptable terms. You can filter on the effective time, the active status, or the module id. You can filter descriptions on their language, type, case significance, or the term itself. You can filter relationships on their characteristic type, and you can filter the members of a reference set based on specific reference set attribute values.

Filter Keywords and Valid Values Filter Operators Valid Values Description languageCode = 2 char (ISO 639-1 lang code) typeId = conceptReference type = {“synonym”, “fullySpecifiedName”, “definition”} term = [lexicalSearchType ":"] String preferredTerm = [lexicalSearchType ":"] String fullySpecifiedName = [lexicalSearchType ":"] String acceptableTerm = [lexicalSearchType ":"] String caseSignificanceId = conceptReference caseSignificance = {“sensitive”, “insensitive”, “initialCharInsensitive”} languageRefSetId = conceptReference languageRefSet = {“en-gb”, “en-us”, “es”} The SNOMED CT Query Language, is a superset of the expression constraint language, which will also be available for comment shortly. The query language is used for quering SNOMED CT content, defining intensional reference sets, querying patient data and binding SNOMED CT to ICD-11 linearizations. The main difference between the expression constraint language and the query language is the introduction of filters, which allow the results to be further constrained based on various SNOMED CT specific characteristics. In the query language, you can filter on a specific version of SNOMED CT, restrict lexical searches to a specific language reference set, the preferred terms, the fully specified names, or the acceptable terms. You can filter on the effective time, the active status, or the module id. You can filter descriptions on their language, type, case significance, or the term itself. You can filter relationships on their characteristic type, and you can filter the members of a reference set based on specific reference set attribute values.

Lexical Search Types Perl Regex term = regex:".*heart.*" Word Prefix Any Order term = match:“hear att" Wild Card Match term = wild:"*heart*“ Default (wild card match) term = "*heart*“ The SNOMED CT Query Language, is a superset of the expression constraint language, which will also be available for comment shortly. The query language is used for quering SNOMED CT content, defining intensional reference sets, querying patient data and binding SNOMED CT to ICD-11 linearizations. The main difference between the expression constraint language and the query language is the introduction of filters, which allow the results to be further constrained based on various SNOMED CT specific characteristics. In the query language, you can filter on a specific version of SNOMED CT, restrict lexical searches to a specific language reference set, the preferred terms, the fully specified names, or the acceptable terms. You can filter on the effective time, the active status, or the module id. You can filter descriptions on their language, type, case significance, or the term itself. You can filter relationships on their characteristic type, and you can filter the members of a reference set based on specific reference set attribute values.

Filter Prefixes concept id, active, effectiveTime, moduleId, module definitionStatusId, definitionStatus description id, active, effectiveTime, moduleId, module languageCode, typeId, term, caseSignificanceId, caseSignificance relationship id, active, effectiveTime, moduleId, module characteristicTypeId, characteristicType member id, active, effectiveTime, moduleId, module <reference set attributes> The SNOMED CT Query Language, is a superset of the expression constraint language, which will also be available for comment shortly. The query language is used for quering SNOMED CT content, defining intensional reference sets, querying patient data and binding SNOMED CT to ICD-11 linearizations. The main difference between the expression constraint language and the query language is the introduction of filters, which allow the results to be further constrained based on various SNOMED CT specific characteristics. In the query language, you can filter on a specific version of SNOMED CT, restrict lexical searches to a specific language reference set, the preferred terms, the fully specified names, or the acceptable terms. You can filter on the effective time, the active status, or the module id. You can filter descriptions on their language, type, case significance, or the term itself. You can filter relationships on their characteristic type, and you can filter the members of a reference set based on specific reference set attribute values.

Filter Conjunction and Disjunction Filter Conjuction {{active = 1, moduleId = 449081005}} {{active = 1 AND moduleId = 449081005}} {{term = "*heart*" AND caseSignificance = initalCharInsensitive }} {{term = "*heart*" }} {{ term = "*cardiac*" }} {{term = ("*heart*" AND "*cardiac*") }} Filter Disjunction {{active = 1 OR moduleId = 449081005}} {{term = "*heart*" OR caseSignificance = initalCharInsensitive }} {{term = "*heart*" OR term = "*cardiac*"}} {{term = ("*heart*" OR "*cardiac*") }} {{term = ("*heart*", "*cardiac*") }}

Filter Exclusion Filter Exclusion {{active = 1, term != “*heart*” }} No term on the concept = “*heart*” (i.e. Any term != …) {{ (active = 1 AND term= “*hear*”) MINUS term = “*card*”}} {{term = "*heart*" MINUS caseSignificance = initalCharInsensitive }} * {{term = "*heart*" }} MINUS * {{ term = "*cardiac*" }} * {{term = "*heart*" }} AND * {{ term = "*cardiac*" }} * {{term = "*heart*" }} OR * {{ term = "*cardiac*" }}

Query Examples substrate active effectiveTime moduleId ^ 700043003 |example problem list subset| {{active = 1}} ^ 700043003 |example problem list subset| {{active = yes}} ^ 700043003 |example problem list subset| {{active = 0}} ^ 700043003 |example problem list subset| {{active = no}} ^ 700043003 |example problem list subset| {{active = any}} effectiveTime * {{ effectiveTime = 20140131 }} moduleId * {{ moduleId = 449081005 }} * {{ module = core }} Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Examples definitionStatusId (concept) definitionStatus (concept) << 404684003 |clinical finding| {{ definitionStatusId = 900000000000073002 |defined|}} definitionStatus (concept) << 404684003 |clinical finding| {{ definitionStatus = defined}} << 404684003 |clinical finding| {{ definitionStatus = primitive}} << 404684003 |clinical finding| {{ definitionStatus = defined}} : 363698007 |finding site| = << 80891009 |heart structure| << 404684003 |clinical finding|: 363698007 |finding site| = (<< 80891009 |heart structure| {{ definitionStatus = defined}}) (<< 404684003 |clinical finding|: 363698007 |finding site| = << 80891009 |heart structure|) {{ definitionStatus = defined}}) << 404684003 |clinical finding| OR ^ 700043003 |example problem list subset| {{ definitionStatus = defined}} OR ^ 700043003 |example problem list subset| (<< 404684003 |clinical finding| OR ^ 700043003 |example problem list subset|) Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Examples characteristicTypeId, characteristicType (relationship) << 404684003 |clinical finding| : * = * {{ characteristicType = additional }} << 404684003 |clinical finding|: (363698007 |finding site| = 80891009 |heart structure| {{ characteristicType = stated }}), 116676008 |associated morphology| = 55641003 |infarct| << 404684003 |clinical finding| {{ characteristicType = stated }}: 363698007 |finding site| = 80891009 |heart structure| << 404684003 |clinical finding|: 363698007 |finding site| = (< 80891009 |heart structure| {{ term = “*heart*” }} ) {{ characteristicType = stated}} << 404684003 |clinical finding|: 363698007 |finding site| = < 80891009 |heart structure| {{ term = “*heart*”, characteristicType = stated }} << 404684003 |clinical finding|: 363698007 |finding site| = 80891009 |heart structure|, 116676008 |associated morphology| = 55641003 |infarct| {{ characteristicTypeId = 900000000000010007  |stated relationship| }} << 404684003 |clinical finding|: (363698007 |finding site| = 80891009 |heart structure|, 116676008 |associated morphology| = 55641003 |infarct| ) ( << 404684003 |clinical finding|: 363698007 |finding site| = 80891009 |heart structure|, 116676008 |associated morphology| = 55641003 |infarct| ) Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Examples term (description) << 64572001 | disease | {{ term = “*heart*” }} << 64572001 | disease | {{ term = regex:“.*heart.*” }} << 64572001 | disease | {{ term = match:“heart” }} << 404684003 |clinical finding| {{term = “*heart*” }} AND ^ 700043003 |example problem list subset| {{ term = “*cardio*”}} (<< 404684003 |clinical finding| AND ^ 700043003 |example problem list subset|) {{ term = “*heart*”}} type, typeId (description) << 64572001 | disease | {{term = “*heart*”, typeId = 900000000000013009 |synonym|}} {{term = “*heart*”, type = synonym}} Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Examples languageCode (description) << 64572001 | disease | {{term = “.* heart .*”, typeId = 900000000000013009|synonym|, languageCode = “en”}} caseSignificanceId (description) << 64572001 | disease | {{term = “.* HEART .*”, caseSignificanceId = 900000000000017005 |case sensitive|}} caseSignificance (description) << 64572001 | disease | {{term = “* HEART*”, caseSignificance = sensitive}} Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Examples id Filter Prefixes * {{ Description.active = 1, Concept.active = 0}} * {{ Concept.id = 404684003 }} NOTE: Please come back to this * {{ Description.id = 2156578010 }} * {{ Relationship.id = 2156578010 }} *: * {{ Relationship.id = 2156578010 }} = * *: R (* {{ Relationship.id = 2156578010 }}) = * definitionStatus (concept) << 404684003 |clinical finding| {{ definitionStatusId = 900000000000073002 |defined|}} << 404684003 |clinical finding| {{ definitionStatus = defined}} Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Language languageRefSetId (description) << 64572001 | disease | {{term = “*heart*”, type = synonym, languageRefSetId = 900000000000508004 | GB English|}} languageRefSet (description) LET en-gb = 900000000000508004 | GB English| IN << 64572001 | disease | {{term = “*heart*”, type = synonym, languageRefSet = en-gb }} member (reference set) ^ 700043003 |example problem list subset| {{member.active = 1}} ^ 700043003 |example problem list subset| {{member.referencedComponentId.active = 1}} ^ 723916301000154101 |procedure frequency refset| {{ member.900000000000519001 |frequency| > #100 }} {{ member.xxxxx |order| > #100 }} Reference set attribute value – count and cardinality Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Language preferredTerm (description) is a short form of . . . << 64572001 | disease | {{preferredTerm = “*heart*”, languageRefSet = en-gb }} is a short form of . . . << 64572001 | disease | {{term = “*heart*”, typeId = 900000000000013009 |synonym|, languageRefSet = en-gb, languageRefSet.member.900000000000511003 |acceptability| = 900000000000548007 |preferred| }} languageRefSet = en-gb {{ member.900000000000511003 |acceptability| = 900000000000548007 |preferred| }} }} Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Language fullySpecifiedName (description) << 64572001 | disease | {{fullySpecifiedName = “.* heart .*”, languageRefSet = en-gb }} is a short form of . . . << 64572001 | disease | {{term = “*heart*”, typeId = 900000000000003001 |fully specified name|, languageRefSet = en-gb, languageRefSet.member.900000000000511003 |acceptability| = 900000000000548007 |preferred| }} languageRefSet = en-gb {{ member.900000000000511003 |acceptability| Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.

Query Language acceptableTerm (description) is a short form of . . . << 64572001 | disease | {{acceptableTerm = “*heart*”, languageRefSet = en-gb }} is a short form of . . . << 64572001 | disease | {{term = “*heart*”, typeId = 900000000000013009 |synonym|, languageRefSet = en-GB, (languageRefSet.member.900000000000511003 |acceptability| = 900000000000549004 |acceptable| OR languageRefSet.member.900000000000511003 |acceptability| = 900000000000548007 |preferred| }} Let’s look at some examples. The first query returns those diseases that have a term with the string “heart” somewhere inside. Notice that the filter condition is placed inside double braces and that the value uses a Regex expression. The second query returns only those diseases whose preferred term contains the string “heart”. In this case, the language reference set which the preferred term belongs to is assumed. If we want to make it explicit as to which language reference set we’re using, then we can use the ‘languageRefSet’ filter. In this case we have selected the Great Britain English language reference set – however we could have selected the Singapore language reference set, the Spanish language reference set, the Danish language reference set, or any other language reference set. In the next query, we actually define the substrate of the query – that is, the specific SNOMED CT edition over which the query should be executed. Often the substrate is assumed by using whichever edition is currently loaded in the tool. However, in some cases (for example, where there is more than one Edition that is available in a given country) it is important to be specific about which Edition is intended to be used. The value for version uses the SNOMED CT URI standard, in which the Edition is identified using the most dependent module and the effective time of the specific version of that edition. In the last example, the query uses a customized reference set called ‘procedure frequency refset’ which has an additional attribute column added called ‘frequency’. The query then selects those members of the reference set with a ‘frequency’ greater than 100.