This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0:
R5
-
STU
).
The
This
is
the
current
published
version
which
supercedes
in
it's
permanent
home
(it
will
always
be
available
at
this
version
is
5.0.0
.
URL).
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R5
R4B
R4
R3
Namingsystem-example.ttl
Example
NamingSystem/example
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Example
of
how
to
use
Naming
System
for
a
code
system
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/NamingSystem/example> a fhir:NamingSystem;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>\n <b>SNOMED CT</b>\n </p>\n \n <p> oid: 2.16.840.1.113883.6.96</p>\n \n <p> uri: http://snomed.info/sct</p>\n \n </div>"
];
fhir:NamingSystem.name [ fhir:value "SNOMED CT"];
fhir:NamingSystem.status [ fhir:value "active"];
fhir:NamingSystem.kind [ fhir:value "codesystem"];
fhir:NamingSystem.date [ fhir:value "2014-12-13"^^xsd:date];
fhir:NamingSystem.publisher [ fhir:value "HL7 International on behalf of IHTSDO"];
fhir:NamingSystem.contact [
fhir:index 0;
fhir:ContactDetail.name [ fhir:value "FHIR project team" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
]
];
fhir:NamingSystem.responsible [ fhir:value "IHTSDO & affiliates"];
fhir:NamingSystem.description [ fhir:value "SNOMED CT is a concept-based, scientifically validated terminology that provides a unique and permanent concept identifier that can be included in multiple HL7 data types including CD and CE. The concepts are managed to avoid \"semantic drift\" so the meaning remains constant. If the concept is found to be ambiguous or the meaning changes, the concept is inactivated but still retained and the identifier is never reused. SNOMED CT's concepts are interrelated hierarchically and using description logic. SNOMED CT concepts have a unique \"fully-specified name\", a preferred term, and, optionally, synonyms. The description languages include English and Spanish."];
fhir:NamingSystem.uniqueId [
fhir:index 0;
fhir:NamingSystem.uniqueId.type [ fhir:value "oid" ];
fhir:NamingSystem.uniqueId.value [ fhir:value "2.16.840.1.113883.6.96" ]
], [
fhir:index 1;
fhir:NamingSystem.uniqueId.type [ fhir:value "uri" ];
fhir:NamingSystem.uniqueId.value [ fhir:value "http://snomed.info/sct" ];
fhir:NamingSystem.uniqueId.preferred [ fhir:value "true"^^xsd:boolean ]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/NamingSystem/example.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/NamingSystem/example.ttl> .
[a fhir:NamingSystem ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n \n <p>\n \n <b>SNOMED CT</b>\n \n </p>\n \n \n <p> oid: 2.16.840.1.113883.6.96</p>\n \n \n <p> uri: http://snomed.info/sct</p>\n \n \n </div>"
] ; #
fhir:url [ fhir:v "http://hl7.org/fhir/NamingSystem/example"^^xsd:anyURI] ; #
fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.22.1" ]
] ) ; #
fhir:name [ fhir:v "SNOMEDCT"] ; #
fhir:title [ fhir:v "SNOMED CT"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:kind [ fhir:v "codesystem"] ; #
fhir:date [ fhir:v "2014-12-13"^^xsd:date] ; #
fhir:publisher [ fhir:v "HL7 International on behalf of IHTSDO"] ; #
fhir:contact ( [
fhir:name [ fhir:v "FHIR project team" ] ;
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/fhir" ]
] )
] ) ; #
fhir:responsible [ fhir:v "IHTSDO & affiliates"] ; #
fhir:description [ fhir:v "SNOMED CT is a concept-based, scientifically validated terminology that provides a unique and permanent concept identifier that can be included in multiple HL7 data types including CD and CE. The concepts are managed to avoid \"semantic drift\" so the meaning remains constant. If the concept is found to be ambiguous or the meaning changes, the concept is inactivated but still retained and the identifier is never reused. SNOMED CT's concepts are interrelated hierarchically and using description logic. SNOMED CT concepts have a unique \"fully-specified name\", a preferred term, and, optionally, synonyms. The description languages include English and Spanish."] ; #
fhir:uniqueId ( [
fhir:type [ fhir:v "oid" ] ;
fhir:value [ fhir:v "2.16.840.1.113883.6.96" ]
] [
fhir:type [ fhir:v "uri" ] ;
fhir:value [ fhir:v "http://snomed.info/sct" ] ;
fhir:preferred [ fhir:v "true"^^xsd:boolean ]
] )] . #
# -------------------------------------------------------------------------------------
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
a
normative
part
of
the
specification.