CTS2/doc/Core Model/URIAndEntityName

From HL7Wiki
Jump to navigation Jump to search

The CTS2 construct, URIAndEntityName, carries a reference to entity (aka. class, property, individual, 'concept', 'term' (in some contexts)). While, in its simplest form it is nothing more than a URI, it also contains a number of optional fields that make process and display easier. The basic structure of URIandEntityName is:

  <URIAndEntityName uri="{URI}" [href="{href}"]>
       [<namespace>{namespace}</namespace>
        <name>{name or code}</name>]
       [<designation>{designation}</designation>]
  </URIAndEntityName>

URIAndEntityName is not an element - it is always the type of another attribute, such as the subject of an Association or as an entry in a ResolvedValueSet. As an example, the first few entries in the resolution of the first few entries in the SNOMED CT Template:Sctph:447565001 could be represented as a simple set of URI's:

 <entry uri="http://snomed.info/id/211009"/>
 <entry uri="http://snomed.info/id/302007"/>
 <entry uri="http://snomed.info/id/449005"/>
 <entry uri="http://snomed.info/id/544002"/>
 <entry uri="http://snomed.info/id/669007"/>

A URI/designation combination:

    <entry uri="http://snomed.info/id/211009">
        <core:designation>Norethandrolone preparation (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/302007">
        <core:designation>Spiramycin (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/449005">
        <core:designation>Penicillin G procaine (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/544002">
        <core:designation>Melphalan (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/669007">
        <core:designation>Vaccinia virus vaccine (product)</core:designation>
    </entry>

URI, designation and namespace/name:

   <entry uri="http://snomed.info/id/211009">
        <core:namespace>sctid</core:namespace>
        <core:name>211009</core:name>
        <core:designation>Norethandrolone preparation (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/302007">
        <core:namespace>sctid</core:namespace>
        <core:name>302007</core:name>
        <core:designation>Spiramycin (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/449005">
        <core:namespace>sctid</core:namespace>
        <core:name>449005</core:name>
        <core:designation>Penicillin G procaine (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/544002">
        <core:namespace>sctid</core:namespace>
        <core:name>544002</core:name>
        <core:designation>Melphalan (product)</core:designation>
    </entry>
    <entry uri="http://snomed.info/id/669007">
        <core:namespace>sctid</core:namespace>
        <core:name>669007</core:name>
        <core:designation>Vaccinia virus vaccine (product)</core:designation>
    </entry>

or URI/namespace/name and href for additional information:

    <entry href="http://informatics.mayo.edu/cts2/services/sct/cts2/entity/sctid:211009" uri="http://snomed.info/id/211009">
        <core:namespace>sctid</core:namespace>
        <core:name>211009</core:name>
        <core:designation>Norethandrolone preparation (product)</core:designation>
    </entry>
    <entry href="http://informatics.mayo.edu/cts2/services/sct/cts2/entity/sctid:302007" uri="http://snomed.info/id/302007">
        <core:namespace>sctid</core:namespace>
        <core:name>302007</core:name>
        <core:designation>Spiramycin (product)</core:designation>
    </entry>
    <entry href="http://informatics.mayo.edu/cts2/services/sct/cts2/entity/sctid:449005" uri="http://snomed.info/id/449005">
        <core:namespace>sctid</core:namespace>
        <core:name>449005</core:name>
        <core:designation>Penicillin G procaine (product)</core:designation>
    </entry>
    <entry href="http://informatics.mayo.edu/cts2/services/sct/cts2/entity/sctid:544002" uri="http://snomed.info/id/544002">
        <core:namespace>sctid</core:namespace>
        <core:name>544002</core:name>
        <core:designation>Melphalan (product)</core:designation>
    </entry>
    <entry href="http://informatics.mayo.edu/cts2/services/sct/cts2/entity/sctid:669007" uri="http://snomed.info/id/669007">
        <core:namespace>sctid</core:namespace>
        <core:name>669007</core:name>
        <core:designation>Vaccinia virus vaccine (product)</core:designation>
    </entry>



Navigation – Common Terminology Services (CTS2)

   Home
About CTS2
   Purpose
   CTS2 History
   Business Case
How it works
   Federation
   Functionality
Implementing CTS2
   Architecture
   Development
Resources
   Purpose
   FAQ
   Business Case
   Glossary of Terms
Specification
   REST
   SOAP
   HL7 SFM
Development
   CTS2 Development Framework
   Implementations
  Github Page
Community
   Who is Using CTS2?
   Get Help
   Links