DavidStables (talk | contribs) No edit summary |
DavidStables (talk | contribs) No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
The information model's meta model is a small set of relatively simple classes capable of holding huge sophisticated ontologies, an extensible data model, as well as set and query definitions. | The information model's meta model is a small set of relatively simple classes capable of holding huge sophisticated ontologies, an extensible data model, as well as set and query definitions. | ||
The main classes are illustrated here on the right, and the class definitions and subclasses are specified in text, the text being auto generated from the IM SHACL shapes.<br /> | The main classes are illustrated here on the right, and the class definitions and subclasses are specified in text, the tables and text being auto generated from the IM SHACL shapes.<br /> | ||
[[File: | [[File:IM_meta_model.png|alt=|frameless|900x900px]] | ||
== Basic shapes == | == Basic shapes == | ||
These shapes are the meta classes of the named entities within the information model. | These shapes are the meta classes of the named entities within the information model. | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23IriRef/ IrirRef] === | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23IriRef/ IrirRef] === | ||
Is a subtype of [[#Data model/Node shape |Data model/Node shape ]] | |||
A reference to resource with an iri and optional name to enable readability | A reference to resource with an iri and optional name to enable readability | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 28: | ||
|} | |} | ||
{{Note| Example <br>{"@id" : "sn:29857009", "name" : "Chest pain (finding)"} }} | {{Note| Example <br>{"@id" : "sn:29857009", "name" : "Chest pain (finding)"} }} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Entity/ Entity] === | ||
The super class and data model for all named | Is a subtype of [[#Data model/Node shape |Data model/Node shape ]] | ||
The abstract super class and data model for all named entities in the model i.e. the data model of the entities that are labelled with iri label and status | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 59: | Line 62: | ||
|colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23scheme/ <span style="color:green">scheme ]</span></span> | |colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23scheme/ <span style="color:green">scheme ]</span></span> | ||
|1..1 | |1..1 | ||
|<span title="Core graphs for core ontologies such as the health information model, Discovery and Snomed">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Graph/ im:Graph]</span> | |<span title="Core graphs for core ontologies and taxonomies such as the health information model, Discovery and Snomed">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Graph/ im:Graph]</span> | ||
|The code scheme or graph which the entity belongs to | |The code scheme or graph which the entity belongs to | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23isContainedIn/ <span style="color:green">isContainedIn ]</span></span> | ||
|0.. | |0..1 | ||
|<span title=" | |<span title="Folder containing subfolders or entities">[[#Folder|Folder]]</span> | ||
|An entity that this entity inherits from, both semantically and structurally, this is also used for sub properties as properties are classes of properties | |An entity that this entity inherits from, both semantically and structurally, this is also used for sub properties as properties are classes of properties | ||
|- | |||
|colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fsnomed.info%2Fsct%23370124000/ <span style="color:green">370124000 ]</span></span> | |||
|0..1 | |||
|<span title="The abstract super class and data model for all named entities in the model i.e. the data model of the entities that are labelled with iri label and status">[[#Entity|Entity]]</span> | |||
|When a status is inactive, the entity that replaces this entity (if any) | |||
|- | |||
|} | |||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Folder/ Folder] === | |||
Is a subtype of [[#Entity|Entity]] | |||
Folder containing subfolders or entities | |||
{| class="wikitable" | |||
|+ | |||
|colspan="2"|Property | |||
|Card. | |||
|Value type | |||
|Description | |||
|- | |- | ||
Line 86: | Line 108: | ||
|The column name in a select clause for this property, or a variable used to reference the result set of the values matched | |The column name in a select clause for this property, or a variable used to reference the result set of the values matched | ||
|- | |- | ||
|colspan="2"|<span title="The name of a variable, passed as an argument to | |colspan="2"|<span title="The name of a variable, passed as an argument to a function. Assumed to be a collection">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23variable/ <span style="color:green">variable ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
Line 107: | Line 129: | ||
|- | |- | ||
|rowspan="2"|or<br>0..1 | |rowspan="2"|or<br>0..1 | ||
|<span title=" | |<span title="In cases where it is ambiguous whether an iri refers to an instance or type, then set this to true if a type">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23isType/ <span style="color:green">isType ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title="boolean true or false">[https://www.w3.org/TR/xmlschema-2/#boolean xsd:boolean]</span> | |<span title="boolean true or false">[https://www.w3.org/TR/xmlschema-2/#boolean xsd:boolean]</span> | ||
Line 121: | Line 143: | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Function/ Function] === | ||
Is a subtype of [[#Entity | Is a subtype of [[#Entity|Entity]] | ||
Data model of a function i.e. models the parameters. A query that calls a function uses a function clause that uses this function definition to name each argument passed in | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 134: | Line 155: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title="The | |colspan="2"|<span title="The parameters of a function or constraint component.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23parameter/ <span style="color:green">parameter ]</span></span> | ||
|0..* | |0..* | ||
|<span title=" | |<span title="Models a named parameter used in function or other clauses. The parameter name and data type of the parameter (if literal) or class (if on object) ">[[#Parameter|Parameter]]</span> | ||
|A list of parameters and data types used in this function | |||
| | |||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Parameter/ Parameter] === | |||
Models a named parameter used in function or other clauses. The parameter name and data type of the parameter (if literal) or class (if on object) | |||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 167: | Line 171: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2" | |colspan="2"|<span title="A human-readable name for the subject.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label/ <span style="color:green">label ]</span></span> | ||
|1..1 | |||
|<span title="A | |||
| | |||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
| | |The name of the parameter | ||
|- | |- | ||
| | |rowspan="2"|or<br>1..1 | ||
| | |<span title="Specifies an RDF datatype that all value nodes must have.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23datatype/ <span style="color:green">datatype ]</span></span> | ||
|<span title=" | |1..1 | ||
|The | |<span title="The class resource, everything in RDF/OWL/SHACL/RDFS.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23Resource/ rdfs:Resource]</span> | ||
|The iri of The data type of the parameter when the data type is a literal | |||
|- | |- | ||
| | |||
| | |||
<span title="The type that all value nodes must have.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23class/ <span style="color:green">class ]</span></span> | |||
|1..1 | |1..1 | ||
|<span title=" | |<span title="The class resource, everything in RDF/OWL/SHACL/RDFS.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23Resource/ rdfs:Resource]</span> | ||
|The iri of the class of the parameter when the argument is an object | |||
| | |||
|- | |- | ||
|colspan="2" | |colspan="2"|<span title="The iri of the query used to generate the value of the parameter passed as an argument">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23query/ <span style="color:green">query ]</span></span> | ||
|<span title="The | |||
|0..1 | |0..1 | ||
|<span title=" | |<span title="A query that is stored as an entity in a query library">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Query/ im:Query]</span> | ||
|The iri of the query used to generate the value of the parameter passed as an argument | |||
| | |||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23IriVariable/ IriVariable] === | ||
A | |||
Is a subtype of [[#IrirRef|IrirRef]] | |||
A variable, usually passed in as a parameter to a function, with an optional IRI and whether the iri is an instance or type iri (if ambiguous) | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 257: | Line 208: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title="The | |colspan="2"|<span title="The name of a variable, passed as an argument to a function. Assumed to be a collection">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23variable/ <span style="color:green">variable ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
| | |The name of a variable, passed as an argument to a function. Assumed to be a collection | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="In cases where it is ambiguous whether an iri refers to an instance or type, then set this to true if a type">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23isType/ <span style="color:green">isType ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title="boolean true or false">[https://www.w3.org/TR/xmlschema-2/#boolean xsd:boolean]</span> | |<span title="boolean true or false">[https://www.w3.org/TR/xmlschema-2/#boolean xsd:boolean]</span> | ||
| | |In cases where it is ambiguous whether an iri refers to an instance or type, then set this to true if a type | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Property/ Property] === | ||
Is a subtype of [[#Entity|Entity]] | |||
A property data model | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 368: | Line 232: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="The property that determines that two given properties are inverse.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23inverseOf/ <span style="color:green">inverseOf ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="The class of properties">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23Property/ rdf:Property]</span> | ||
| | |A property that this property is an inverse of | ||
|- | |- | ||
|colspan="2"|<span title="A | |colspan="2"|<span title="A domain of the subject property.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23domain/ <span style="color:green">domain ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title="The class | |<span title="The class of classes.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23Class/ rdfs:Class]</span> | ||
| | |The classes or concepts that may have this property as a property, or a role, or a role within a role group | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="A range of the subject property.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23range/ <span style="color:green">range ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="The class of classes.">[[#Class|Class]]</span> | ||
| | |the type of value for this property. | ||
|- | |- | ||
| | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23EntitySelector/ Entity selector] === | |||
Is a subtype of [[#Entity|Entity]] | |||
A list of entities to select at particular points in a business process. | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 434: | Line 261: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23list/ <span style="color:green">list ]</span></span> | ||
| | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
| | |The list of entities by iri to select from | ||
|- | |- | ||
|} | |} | ||
== Data Model shapes == | |||
These shapes are the meta classes of the data modelling entities within the information model. | |||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23NodeShape/ Data model/Node shape ] === | |||
Is a subtype of [[#Entity|Entity]] | |||
The meta class for shapes, those shapes defining a type i.e the shape of a shape | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 474: | Line 283: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23isContainedIn/ <span style="color:green">isContainedIn ]</span></span> | ||
| | |0..1 | ||
|<span title=" | |<span title="Folder containing subfolders or entities">[[#Folder|Folder]]</span> | ||
| | | | ||
|- | |- | ||
| | |colspan="2"|<span title="The subject is a subclass of a class.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23subClassOf/ <span style="color:green">subClassOf ]</span></span> | ||
|<span title=" | |0..1 | ||
| | |<span title="The meta class for shapes, those shapes defining a type i.e the shape of a shape">[[#NodeShape|NodeShape]]</span> | ||
|<span title=" | |||
| | | | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="Links a shape to its property shapes.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23property/ <span style="color:green">property ]</span></span> | ||
| | |0..1 | ||
|<span title=" | |<span title="A meta class defining the shape of a property definition in a node shape. Not to be confused with a property concept">[[#PropertyShape|PropertyShape]]</span> | ||
| | |The list of properties for this shape | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | |||
== Concept shapes == | |||
These shapes are the meta classes of the terminology concepts used within the information model. | |||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Concept/ Terminology concept] === | |||
Is a subtype of [[#Entity|Entity]] | |||
data model for terminology concepts | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 508: | Line 315: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="The subject is a subclass of a class.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23subClassOf/ <span style="color:green">subClassOf ]</span></span> | ||
| | |0..1 | ||
|<span title=" | |<span title="data model for terminology concepts">[[#Concept|Concept]]</span> | ||
| | |The concept this concept is a sub type of | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="a code for a concept">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23code/ <span style="color:green">code ]</span></span> | ||
|1..1 | |1..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
|The | |The code for this concept, which may be a local code if local concept, or a core code such as a snomed identifier | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="links a an alternative term code to a concept">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23hasTermCode/ <span style="color:green">hasTermCode ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title="">[[# | |<span title="data model for a term code">[[#TermCodeShape|TermCodeShape]]</span> | ||
| | |Alternative terms or synonyms for this concept. A term may also have a description id. | ||
|- | |- | ||
|colspan="2"|<span title="weighting to help in search retrieval">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23weighting/ <span style="color:green">weighting ]</span></span> | |||
| | |0..1 | ||
|<span title="whole number">[https://www.w3.org/TR/xmlschema-2/#integer xsd:integer]</span> | |||
|A number indicating a weighting for this concept which can be used in free text search | |||
| | |||
| | |||
| | |||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="Points to the definitional status of this entity e.g. full defined as an equivalent class">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23definitionalStatus/ <span style="color:green">definitionalStatus ]</span></span> | ||
| | |0..1 | ||
|<span title=" | |<span title="Value set for Concept shape / definitional status">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23VSET_Definitionalstatus/ im:VSET_Definitionalstatus]</span> | ||
| | |Indicates the authoring status of this concept, whether necessary only, or both necessary and sufficient. OWL would use Equivalent class axiom to indicate this. | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="points to one or more maps that matches this concept to another concept">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23hasMap/ <span style="color:green">hasMap ]</span></span> | ||
| | |0..1 | ||
|<span title=" | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
| | |Any backward maps from core to legacy. This is limited to complex maps rather than simple matches and are 'backward' matches not suitable for automatic inclusion in subsumption queries | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="usage total for a stats report">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23usageTotal/ <span style="color:green">usageTotal ]</span></span> | ||
| | |0..1 | ||
|<span title="">[ | |<span title="whole number">[https://www.w3.org/TR/xmlschema-2/#integer xsd:integer]</span> | ||
| | |The approximate number of times this concept has been used in around 1 million primary care and acute care records | ||
|- | |- | ||
|colspan="2"|<span title="the old identifier from im1">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23im1Id/ <span style="color:green">im1Id ]</span></span> | |||
| | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |||
|pointer the original identifer in IM1 | |||
| | |||
| | |||
| | |||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="Points to a match between the concept and a legacy concept as part of a map">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23matchedTo/ <span style="color:green">matchedTo ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="Value set place holder for unmodelled property value sets">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23VSET_Unspecified/ im:VSET_Unspecified]</span> | ||
| | |For a legacy concept, one or more concept this concept matches to. A query for the matched to concepts would entail this concept normally, but NOT the children of this concept | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fsnomed.info%2Fsct%23370124000/ <span style="color:green">370124000 ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="data model for terminology concepts">[[#Concept|Concept]]</span> | ||
| | |Indicates the concepts that this concept has been replaced by | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23isChildOf/ <span style="color:green">isChildOf ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="data model for terminology concepts">[[#Concept|Concept]]</span> | ||
| | |points to the parent legacy concept that this concept is in. Note that it may or may not be a true subtype. Reflects the original taxonomy | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23TermCodeShape/ Term code shape] === | ||
Is a subtype of [[# | Is a subtype of [[#Data model/Node shape |Data model/Node shape ]] | ||
data model for a term code | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 607: | Line 385: | ||
|- | |- | ||
|colspan="2"|<span title="A human-readable name for the subject.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label/ <span style="color:green">label ]</span></span> | |colspan="2"|<span title="A human-readable name for the subject.">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label/ <span style="color:green">label ]</span></span> | ||
| | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
|The | |The term or synonym for the concept | ||
|- | |- | ||
| | |colspan="2"|<span title="a code for a concept">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23code/ <span style="color:green">code ]</span></span> | ||
|<span title=" | |0..1 | ||
| | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
|<span title=" | |Descriptionid or code for this particular term | ||
| | |||
|- | |- | ||
|colspan="2"|<span title="Status of relationship">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23status/ <span style="color:green">status ]</span></span> | |||
|colspan="2"|<span title=" | |||
|0..1 | |0..1 | ||
|<span title=" | |<span title="A status that is in active or active">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Status/ im:Status]</span> | ||
| | |The status of this particular term code, may be active or inactive | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23RefinedConcept/ Refined concep] === | ||
Is a subtype of [[# | Is a subtype of [[#Terminology concept|Terminology concept]] | ||
A concept with role groups with roles | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 666: | Line 413: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="An anonymous property connecting to an anonymous class that has an intersection of sub roles">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23roleGroup/ <span style="color:green">roleGroup ]</span></span> | ||
|0.. | |0..1 | ||
|<span title=" | |<span title="data model for a role group">[[#RoleGroupShape|RoleGroupShape]]</span> | ||
| | |Zero or many role groups, each group containing one or more roles. These represent constraints on the super types i.e. more specific. Generated by inference making sure to remove duplicate properties or super properties. | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23RoleGroupShape/ Role group shape] === | |||
Is a subtype of [[#Data model/Node shape |Data model/Node shape ]] | |||
data model for a role group | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 689: | Line 432: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="The class of properties">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23Property/ <span style="color:green">Property ]</span></span> | ||
|0.. | |0..1 | ||
|<span title=" | |<span title="data model for terminology concepts">[[#Concept|Concept]]</span> | ||
|The | |The concept identifier of the concept that is the role. Role Groups are unique in that their properties are any properties from an ontology,usually concepts | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23CodeableConcept/ Codeable concept] === | ||
Is a subtype of [[# | Is a subtype of [[#IrirRef|IrirRef]] | ||
A coded concept used in a health record system that may or may not be a defined concept in the ontology. It represents the local definition of a code and is of the form used in HL7 messaging | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 708: | Line 451: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="the common model concept to which an original code has been matched to, used within a codeable concept when preserving original code">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23matchedConcept/ <span style="color:green">matchedConcept ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="A reference to resource with an iri and optional name to enable readability">[[#IriRef|IriRef]]</span> | ||
| | |The core concept iri that this codeable concept has been matched to in this instance | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="a code as originally entered in the system">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23originalCode/ <span style="color:green">originalCode ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
|The original code entered in the publication system which may be mapped to a code concept | |||
| | |||
|- | |- | ||
|colspan="2"|<span title="the scheme of a code as originally entered in the system, may be a url or OID">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23originalScheme/ <span style="color:green">originalScheme ]</span></span> | |||
|colspan="2"|<span title=" | |||
|0..1 | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
| | |The original code scheme identifier, may be a url or a OID or informal identifier | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="a code term usually from a look up from the original entered system. This may or may not be the same as the text displayed to the user">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23originalCodeTerm/ <span style="color:green">originalCodeTerm ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
|The | |The original display term for this code usually as a reference. Should not be confused with original text as seen by the user, which may be different depending on the context | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="Where original codes have been qualified as a result of text e.g a text result such as negative">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23originalQualifierTerm/ <span style="color:green">originalQualifierTerm ]</span></span> | ||
|0..1 | |0..1 | ||
|<span title=" | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
| | |A qualifier term in the original system which may result in a different concept map. For Example 'negative' or 'positive' or a block of text | ||
|- | |- | ||
|} | |} | ||
== | == Query Model and Set definition shapes == | ||
These shapes | These shapes form the model for defining sets (also known as query definitions) for retrieving data from the IM or health records. | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23DataSet/ Data set] === | ||
Is a subtype of [[# | Is a subtype of [[#Query|Query]] | ||
data | A query that produces a data set as an output is stored as an entity in a query library | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 780: | Line 492: | ||
|Value type | |Value type | ||
|Description | |Description | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Query/ Query] === | ||
Is a subtype of [[#Entity|Entity]] | |||
A query that is stored as an entity in a query library | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 847: | Line 507: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="The query definition itself">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23definition/ <span style="color:green">definition ]</span></span> | ||
|0.. | |0..1 | ||
|<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
|The | |The query definition itself | ||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23PathQuery/ Path Query] === | ||
Is a subtype of [[# | Is a subtype of [[#Data model/Node shape |Data model/Node shape ]] | ||
A query that returns a set pf paths between a source and target entity, traversing to a certain level | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 876: | Line 526: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="Input parameter representing one or more source objects. Usually a variable name from an outer group or map, and may or may not be typed">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23source/ <span style="color:green">source ]</span></span> | ||
|1.. | |1..1 | ||
|<span title="A | |<span title="A reference to resource with an iri and optional name to enable readability">[[#IriRef|IriRef]]</span> | ||
|the | |the source entity at the start of the path. | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="Input parameter representing one or more target objects. Usually a variable name from an outer group or map, and may or may not be typed. The net result of a group is the population of the target objects with data. Targets are not modelled as return values and therefore should be pre-created unless the rule creates an instance as a property value of a group object">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23target/ <span style="color:green">target ]</span></span> | ||
|1.. | |1..1 | ||
|<span title="A | |<span title="A reference to resource with an iri and optional name to enable readability">[[#IriRef|IriRef]]</span> | ||
| | |the target entity at the end of the path. | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="How many hops to be taken in the graph between source and target">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23depth/ <span style="color:green">depth ]</span></span> | ||
|0..1 | |||
|<span title="whole number">[https://www.w3.org/TR/xmlschema-2/#integer xsd:integer]</span> | |||
|How many hops to be taken in the graph between source and target | |||
| | |||
|<span title=" | |||
| | |||
|- | |- | ||
|} | |} | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim% | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Set/ Set] === | ||
Is a subtype of [[# | Is a subtype of [[#Entity|Entity]] | ||
data model for concept sets and value sets | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 935: | Line 555: | ||
|Description | |Description | ||
|- | |- | ||
|colspan="2"|<span title=" | |colspan="2"|<span title="The query definition itself">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23definition/ <span style="color:green">definition ]</span></span> | ||
|0.. | |0..1 | ||
|<span title="data model for | |<span title="any valid json value characters with json escapes">[https://www.w3.org/TR/xmlschema-2/#string xsd:string]</span> | ||
| | |The query definition itself | ||
|- | |||
|colspan="2"|<span title="points to a member of the set">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23hasMember/ <span style="color:green">hasMember ]</span></span> | |||
|0..1 | |||
|<span title="data model for terminology concepts">[[#Concept|Concept]]</span> | |||
|The flat list of leaf concepts when generated from the definition, or for many national sets, simple list of concepts | |||
|- | |- | ||
|} | |} | ||
== Transform map shapes == | |||
These shapes form the model for transformation maps used by a engine to transform from a source to destination data model. Based on FHIR mapping language | |||
== Transactional shapes == | == Transactional shapes == | ||
Line 963: | Line 575: | ||
=== [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23EntityFileTransaction/ EntityFileTransaction] === | === [https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23EntityFileTransaction/ EntityFileTransaction] === | ||
Is a subtype of [[#Entity | Is a subtype of [[#Entity|Entity]] | ||
An entity with the additional CRUD indicators to enable deletes updates, adding quads etc | An entity with the additional CRUD indicators to enable deletes updates, adding quads etc | ||
Line 980: | Line 592: | ||
|colspan="2"|<span title="The graph to which these entities apply by default. This may be overridden by the entitiesThis means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23graph/ <span style="color:green">graph ]</span></span> | |colspan="2"|<span title="The graph to which these entities apply by default. This may be overridden by the entitiesThis means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23graph/ <span style="color:green">graph ]</span></span> | ||
|1..1 | |1..1 | ||
|<span title="Core graphs for core ontologies such as the health information model, Discovery and Snomed">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Graph/ im:Graph]</span> | |<span title="Core graphs for core ontologies and taxonomies such as the health information model, Discovery and Snomed">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Graph/ im:Graph]</span> | ||
|The graph to which these triples apply. <br>This means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph | |The graph to which these triples apply. <br>This means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph | ||
|- | |- | ||
Line 1,001: | Line 613: | ||
|colspan="2"|<span title="The graph to which these entities apply by default. This may be overridden by the entitiesThis means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23graph/ <span style="color:green">graph ]</span></span> | |colspan="2"|<span title="The graph to which these entities apply by default. This may be overridden by the entitiesThis means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23graph/ <span style="color:green">graph ]</span></span> | ||
|1..1 | |1..1 | ||
|<span title="Core graphs for core ontologies such as the health information model, Discovery and Snomed">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Graph/ im:Graph]</span> | |<span title="Core graphs for core ontologies and taxonomies such as the health information model, Discovery and Snomed">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23Graph/ im:Graph]</span> | ||
|The graph to which these entities apply by default. <br>This may be overridden by the entities<br>This means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph | |The graph to which these entities apply by default. <br>This may be overridden by the entities<br>This means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph | ||
|- | |- | ||
|colspan="2"|<span title="Set of entities to file. If the entities do not have crud or graphs oftheir own then the default from the document are used">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23entities/ <span style="color:green">entities ]</span></span> | |colspan="2"|<span title="Set of entities to file. If the entities do not have crud or graphs oftheir own then the default from the document are used">[https://im.endeavourhealth.net/viewer/#/concept/http%3A%2F%2Fendhealth.info%2Fim%23entities/ <span style="color:green">entities ]</span></span> | ||
|1..* | |1..* | ||
|<span title="The super class and data model for all named | |<span title="The abstract super class and data model for all named entities in the model i.e. the data model of the entities that are labelled with iri label and status">[[#Entity|Entity]]</span> | ||
|Set of entities to file. If the entities do not have crud or graphs oftheir own then the default from the document are used | |Set of entities to file. If the entities do not have crud or graphs oftheir own then the default from the document are used | ||
|- | |- | ||
|} | |} |
Latest revision as of 10:07, 6 July 2023
The information model's meta model is a small set of relatively simple classes capable of holding huge sophisticated ontologies, an extensible data model, as well as set and query definitions.
The main classes are illustrated here on the right, and the class definitions and subclasses are specified in text, the tables and text being auto generated from the IM SHACL shapes.
Basic shapes
These shapes are the meta classes of the named entities within the information model.
IrirRef
Is a subtype of Data model/Node shape
A reference to resource with an iri and optional name to enable readability
Property | Card. | Value type | Description | |
name | 1..1 | xsd:string | The name of the entity |
Example {"@id" : "sn:29857009", "name" : "Chest pain (finding)"} |
Entity
Is a subtype of Data model/Node shape
The abstract super class and data model for all named entities in the model i.e. the data model of the entities that are labelled with iri label and status
Property | Card. | Value type | Description | |
label | 1..1 | xsd:string | The preferred full name of the entity | |
type | 1..1 | rdfs:Resource | The base type of the entity i.e. one of the high level entity types | |
comment | 0..1 | xsd:string | The description of the entity | |
status | 1..1 | im:Status | The status of the entity being active, inactive, draft or unassigned | |
scheme | 1..1 | im:Graph | The code scheme or graph which the entity belongs to | |
isContainedIn | 0..1 | Folder | An entity that this entity inherits from, both semantically and structurally, this is also used for sub properties as properties are classes of properties | |
370124000 | 0..1 | Entity | When a status is inactive, the entity that replaces this entity (if any) |
Folder
Is a subtype of Entity
Folder containing subfolders or entities
Property | Card. | Value type | Description |
IriAlias
Is a subtype of IrirRef
An IRI with a name and an optional alias and a variable name when the iri is passed in as an argument (e.g. $this
Property | Card. | Value type | Description | |
alias | 0..1 | xsd:string | The column name in a select clause for this property, or a variable used to reference the result set of the values matched | |
variable | 0..1 | xsd:string | The name of a variable, passed as an argument to the query, which is resolved to the IRI | |
inverse | 0..1 | xsd:boolean | When used as a property, whether this is an inverse object property i.e. an inbound connection to this entity | |
includeSubtypes | 0..1 | xsd:boolean | When used in a with or where clause, whether to include the subtypes of this entity | |
includeSupertypes | 0..1 | xsd:boolean | When used in a with or where clause, whether to include the supertypes of this entity e.g. when ascending a hierrchy to look for a property | |
or 0..1 |
isType | 0..1 | xsd:boolean | If the query results are derived from instances of certain type (or types) then set this flag to true. |
0..1 | xsd:boolean | If the query results derived the result set of a concept set, value set or query result then set this flag to true. |
Function
Is a subtype of Entity
Data model of a function i.e. models the parameters. A query that calls a function uses a function clause that uses this function definition to name each argument passed in
Property | Card. | Value type | Description | |
parameter | 0..* | Parameter | A list of parameters and data types used in this function |
Parameter
Models a named parameter used in function or other clauses. The parameter name and data type of the parameter (if literal) or class (if on object)
Property | Card. | Value type | Description | |
label | 1..1 | xsd:string | The name of the parameter | |
or 1..1 |
datatype | 1..1 | rdfs:Resource | The iri of The data type of the parameter when the data type is a literal |
1..1 | rdfs:Resource | The iri of the class of the parameter when the argument is an object | ||
query | 0..1 | im:Query | The iri of the query used to generate the value of the parameter passed as an argument |
IriVariable
Is a subtype of IrirRef
A variable, usually passed in as a parameter to a function, with an optional IRI and whether the iri is an instance or type iri (if ambiguous)
Property | Card. | Value type | Description | |
variable | 0..1 | xsd:string | The name of a variable, passed as an argument to a function. Assumed to be a collection | |
isType | 0..1 | xsd:boolean | In cases where it is ambiguous whether an iri refers to an instance or type, then set this to true if a type |
Property
Is a subtype of Entity
A property data model
Property | Card. | Value type | Description | |
inverseOf | 0..1 | rdf:Property | A property that this property is an inverse of | |
domain | 0..1 | rdfs:Class | The classes or concepts that may have this property as a property, or a role, or a role within a role group | |
range | 0..1 | Class | the type of value for this property. |
Entity selector
Is a subtype of Entity
A list of entities to select at particular points in a business process.
Property | Card. | Value type | Description | |
list | 0..1 | xsd:string | The list of entities by iri to select from |
Data Model shapes
These shapes are the meta classes of the data modelling entities within the information model.
Data model/Node shape
Is a subtype of Entity
The meta class for shapes, those shapes defining a type i.e the shape of a shape
Property | Card. | Value type | Description | |
isContainedIn | 0..1 | Folder | ||
subClassOf | 0..1 | NodeShape | ||
property | 0..1 | PropertyShape | The list of properties for this shape |
Concept shapes
These shapes are the meta classes of the terminology concepts used within the information model.
Terminology concept
Is a subtype of Entity
data model for terminology concepts
Property | Card. | Value type | Description | |
subClassOf | 0..1 | Concept | The concept this concept is a sub type of | |
code | 1..1 | xsd:string | The code for this concept, which may be a local code if local concept, or a core code such as a snomed identifier | |
hasTermCode | 0..1 | TermCodeShape | Alternative terms or synonyms for this concept. A term may also have a description id. | |
weighting | 0..1 | xsd:integer | A number indicating a weighting for this concept which can be used in free text search | |
definitionalStatus | 0..1 | im:VSET_Definitionalstatus | Indicates the authoring status of this concept, whether necessary only, or both necessary and sufficient. OWL would use Equivalent class axiom to indicate this. | |
hasMap | 0..1 | xsd:string | Any backward maps from core to legacy. This is limited to complex maps rather than simple matches and are 'backward' matches not suitable for automatic inclusion in subsumption queries | |
usageTotal | 0..1 | xsd:integer | The approximate number of times this concept has been used in around 1 million primary care and acute care records | |
im1Id | 0..1 | xsd:string | pointer the original identifer in IM1 | |
matchedTo | 0..1 | im:VSET_Unspecified | For a legacy concept, one or more concept this concept matches to. A query for the matched to concepts would entail this concept normally, but NOT the children of this concept | |
370124000 | 0..1 | Concept | Indicates the concepts that this concept has been replaced by | |
isChildOf | 0..1 | Concept | points to the parent legacy concept that this concept is in. Note that it may or may not be a true subtype. Reflects the original taxonomy |
Term code shape
Is a subtype of Data model/Node shape
data model for a term code
Property | Card. | Value type | Description | |
label | 0..1 | xsd:string | The term or synonym for the concept | |
code | 0..1 | xsd:string | Descriptionid or code for this particular term | |
status | 0..1 | im:Status | The status of this particular term code, may be active or inactive |
Refined concep
Is a subtype of Terminology concept
A concept with role groups with roles
Property | Card. | Value type | Description | |
roleGroup | 0..1 | RoleGroupShape | Zero or many role groups, each group containing one or more roles. These represent constraints on the super types i.e. more specific. Generated by inference making sure to remove duplicate properties or super properties. |
Role group shape
Is a subtype of Data model/Node shape
data model for a role group
Property | Card. | Value type | Description | |
Property | 0..1 | Concept | The concept identifier of the concept that is the role. Role Groups are unique in that their properties are any properties from an ontology,usually concepts |
Codeable concept
Is a subtype of IrirRef
A coded concept used in a health record system that may or may not be a defined concept in the ontology. It represents the local definition of a code and is of the form used in HL7 messaging
Property | Card. | Value type | Description | |
matchedConcept | 0..1 | IriRef | The core concept iri that this codeable concept has been matched to in this instance | |
originalCode | 0..1 | xsd:string | The original code entered in the publication system which may be mapped to a code concept | |
originalScheme | 0..1 | xsd:string | The original code scheme identifier, may be a url or a OID or informal identifier | |
originalCodeTerm | 0..1 | xsd:string | The original display term for this code usually as a reference. Should not be confused with original text as seen by the user, which may be different depending on the context | |
originalQualifierTerm | 0..1 | xsd:string | A qualifier term in the original system which may result in a different concept map. For Example 'negative' or 'positive' or a block of text |
Query Model and Set definition shapes
These shapes form the model for defining sets (also known as query definitions) for retrieving data from the IM or health records.
Data set
Is a subtype of Query
A query that produces a data set as an output is stored as an entity in a query library
Property | Card. | Value type | Description |
Query
Is a subtype of Entity
A query that is stored as an entity in a query library
Property | Card. | Value type | Description | |
definition | 0..1 | xsd:string | The query definition itself |
Path Query
Is a subtype of Data model/Node shape
A query that returns a set pf paths between a source and target entity, traversing to a certain level
Property | Card. | Value type | Description | |
source | 1..1 | IriRef | the source entity at the start of the path. | |
target | 1..1 | IriRef | the target entity at the end of the path. | |
depth | 0..1 | xsd:integer | How many hops to be taken in the graph between source and target |
Set
Is a subtype of Entity
data model for concept sets and value sets
Property | Card. | Value type | Description | |
definition | 0..1 | xsd:string | The query definition itself | |
hasMember | 0..1 | Concept | The flat list of leaf concepts when generated from the definition, or for many national sets, simple list of concepts |
Transform map shapes
These shapes form the model for transformation maps used by a engine to transform from a source to destination data model. Based on FHIR mapping language
Transactional shapes
These shapes form the meta classes for structures pass into APIs for query of, or filing into, the model or health records.
EntityFileTransaction
Is a subtype of Entity
An entity with the additional CRUD indicators to enable deletes updates, adding quads etc
Property | Card. | Value type | Description | |
crud | 1..1 | im:CrudOperation | Indicates the nature of the CRUD transaction which must be one of im:DeleteAll, im:AddQuads (adds in additional triples), im:UpdateAll (replaces all the predicates for this entity in the graph with te ones submitted), im:UpdatePredicates ( replaces all the objects of these submitted predicates for this graph | |
graph | 1..1 | im:Graph | The graph to which these triples apply. This means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph |
EntityDocument
A document containing any number of triples to file as a batch.
Note that if the document is sent as Json-LD with prefixed iris, a @context object will be required
Property | Card. | Value type | Description | |
crud | 1..1 | im:CrudOperation | Indicates the nature of the default CRUD transaction for entities in thisdocument. Thes can be overridden in each entity. Must be one of: im:DeleteAll, im:AddQuads (adds in additional triples), im:UpdateAll (replaces all the predicates for this entity in the graph with te ones submitted), im:UpdatePredicates ( replaces all the objects of these submitted predicates for this graph | |
graph | 1..1 | im:Graph | The graph to which these entities apply by default. This may be overridden by the entities This means you can add predicates to any entity without affecting the original authored entity, those predicates belonging only to this module or graph | |
entities | 1..* | Entity | Set of entities to file. If the entities do not have crud or graphs oftheir own then the default from the document are used |