Snow Owl Authoring Platform User Guide
9.5
9.5
  • Table of Content
  • 🦉Introduction
    • Getting Started
      • Features
      • How can I run it?
      • Login
        • Repositories
        • SNOMED CT Code Systems Configuration
        • Included SNOMED CT Version
    • User Interface
      • Editors
        • Introduction
        • Vertical Display
        • Horizontal Display
      • Views
        • Bookmarks View
          • Bookmarking
          • Delete
        • Remote Jobs View
      • Perspectives
      • Notification Center
    • Preferences
      • SNOMED CT Settings
      • Editor Tables
      • Reasoners
      • Keyboard Preferences
      • Avatars
  • 🔎Browsing and Searching
    • SNOMED CT View
      • Hierarchy
      • Sub-hierarchy
      • Link with Editor
      • Context Menu
      • Authoring Mode
      • Icons
      • Extension Modules
      • Parents View
    • Searching
      • Filter Search
        • Features
      • Quick Search
        • Features
      • Advanced Search
        • Search Dialog
          • SNOMED CT Concept Search
          • SNOMED CT Description Search
          • Searching for Reference Sets
        • Search View
          • Sorting Results
          • Toolbar
          • Preferences
    • Semantic Queries
      • ECL Operators
      • ECL Editor
      • Project Explorer View
        • Create
        • Expression File
          • Content Assist
          • Concept to Expression
          • Executing a Query
          • Validation
        • Template Preferences
    • Scripting
      • Create
      • Executing Scripts
    • Copying Content
  • 📝Editing and Authoring
    • Authoring Mode Selection
      • OWL Axiom Support
    • SNOMED CT Concept Editor
      • Preferences
      • Navigation
      • Features
      • Overview Page
        • Descriptions Section
        • Properties Section
        • SNOMED CT Properties Section
      • Descriptions Page
      • Relationship Pages
        • Source relationships Page
        • Destination relationships Page
      • Memberships Page
      • SNOMED CT Mappings Page
      • References Page
      • Visualization Page
    • SNOMED CT Editing
      • Concept Creation
        • Creating a Child Concept
        • Creating Sibling Concept
      • Concept Editing
        • Adding a Synonym
        • Changing the Preferred Term
        • Adding a Relationship
        • Editing Relationships
        • Adding Descriptions
        • Concept Reactivation
      • Removing Components
        • Concept Deleting
        • Concept Inactivation
        • Description Inactivation
    • Evaluating Changes
      • Concept History
      • Validation
      • Classification
  • 🧠Description Logic
    • Running the Classification
    • Classification Results
      • Relationship Changes Page
      • Equivalent Concepts Changes Page
      • Concept Changes Page
    • Reasoners
      • ELK
  • 🧱Concept model
    • Machine Readable Concept Model
      • MRCM domain members
      • MRCM attribute domain members
      • MRCM attribute range members
    • Editing MRCM
      • Module scope
      • Domain
      • Attribute
      • Range
  • 📄Reference Sets
    • Reference Set Types
      • Content type Reference Sets
        • Simple type Reference Sets
        • Query type Reference Sets
        • Attribute Value type Reference Sets
        • OWL Expression type Reference Sets
      • Language type Reference Sets
      • Map type Reference Sets
        • Simple Map type Reference Sets
        • Complex Map Type Reference Sets
        • Complex Map Extended with Map Block type Reference Sets
        • Extended Map type Reference Sets
      • Metadata type Reference Sets
        • MRCM Domain Reference Sets
        • MRCM Attribute Domain Reference Sets
        • MRCM Attribute Range Reference Sets
        • MRCM Module Scope Reference Set
        • Module Dependency Reference Set
        • Description Format type Reference Set
    • Reference Set View
      • Link Reference Set Editor with SNOMED CT View
      • Context Menu
      • Tooltips
    • Reference Set Editor
      • Toolbar
      • Context Menu
      • Preferences
    • Authoring
      • Creating Reference Sets
      • Removing/Inactivating Reference Sets
      • Adding Reference Set Members
      • Removing Reference Set Members
    • Combining Reference Sets
    • Compare Reference Sets
  • 🏥Local Code Systems
    • Import
      • Custom Spreadsheet
    • Searching
    • Authoring
      • Creating Local Code Systems
        • Additional Property Definitions
        • Property Validation
      • Deleting Local Code Systems
      • Adding Local Codes
      • Reparenting Local Codes
      • Inactivating Local Codes
      • Deleting Local Codes
    • Validation
    • Export
  • 📅Versioning
    • Introduction
    • Creating a New Version
    • Switching Between Versions
    • Version Compare
      • Browse Changes
      • Export Results
  • 🔁Content Management
    • Code Systems
    • Code Systems View
    • SNOMED CT Importing
    • SNOMED CT Publishing
      • SNOMED CT Reference Set Export
    • SNOMED CT Extensions
    • SNOMED CT Upgrade
      • Perform Upgrade
      • Complete Upgrade Process
  • 👩‍⚕️👨‍⚕️ Collaborative authoring
    • Task Life Cycle
    • The Task List View
    • Task Editor
      • Overview Page
      • Task Changes Page
      • Review Changes Page
    • Authoring
      • Creating a Task
      • Assigning Tasks
      • Activating Tasks
      • Synchronizing Tasks
      • Module-based Editing
      • Promoting and Closing Tasks
      • Commenting on Tasks
      • Review Tasks
        • Approve Changes
        • Reject Changes
        • Request Changes
    • Task Query
  • ✅Validation
    • Run Validation
    • Validation Issues View
      • Filters
      • Validation Result & Export
    • Whitelisting
      • Import
      • Export
  • 📓SNOMED CT Templates
    • SNOMED CT Templates
    • Import
    • Templates View
    • Authoring
      • Creating Templates
      • Deleting Templates
    • Concept Creation by Templates
      • Single Concept Creation
      • Bulk Concept Creation
    • Export
  • 🩺UMLS Code Systems
    • Import
    • Manage Code Systems
    • Searching and Browsing
  • 🛑Error Handling
    • Troubleshooting
      • Error Log View
    • Error Messages
Powered by GitBook
On this page
  1. Local Code Systems
  2. Authoring
  3. Creating Local Code Systems

Property Validation

PreviousAdditional Property DefinitionsNextDeleting Local Code Systems

Property values entered are validated against their type. Optional validation expressions need to be specified in JavaScript where the property value is referred as _this.value. The expressions need to be evaluated to a boolean value (true|false). Examples:

  • Only uppercase values are valid for strings: _this.value == _this.value.toUpperCase()

  • Only numbers larger than 10 are valid: _this.value > 10

  • Date value needs to be after 2016-12-04 12:45:30: _this.value.isAfter(java.time.LocalDateTime.parse(\"2016-12-04T12:45:30\")

  • Valid email string: /\S+@\S+/.test("_this.value")

In case the validation fails for the value entered in the Local Code Editor, the defined validation message is presented to the user. The value entered can be referenced using the %s specifier. For example, typing the value MyString for a string type Local Code property where the property definition's validation expression and message are

  • _this.value == _this.value.toUpperCase()

  • Only upper case letters are allowed. '%s' has lowercase letters,

will result in the message Only upper case letters are allowed. 'MyString' has lowercase letters.

String type property validation

Editing property definitions

Schema changes will not automatically update concepts.

Existing property definitions can be modified using the Local Code System editor. This is also where new properties can be added using thebutton, and existing ones can be removed using the button. To persist the changes, press save.

To keep concepts in sync, save the editor and then press the dedicatedUpdate Concept Properties button in the Additional Properties section toolbar. Newly added properties will also be available on the concepts, while deleted properties will be removed from the concepts.

User-defined properties in the Local Code editor are presented in the order of the corresponding property definitions configured on the Local Code System editor. The order of the definitions can be rearranged using the arrow buttons located on the property definition section headers. The detailed definition of a property can be collapsed and expanded individually or by pressing thebutton in the section toolbar.

🏥
Schema change warning