This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example CodeSystem/graph-compartment-use (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Definition for Code SystemGraphCompartmentUse
@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 -------------------------------------------------------------------
[a fhir:CodeSystem ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "graph-compartment-use"] ; #
fhir:meta [
fhir:lastUpdated [ fhir:v "2025-02-14T20:47:21.387+00:00"^^xsd:dateTime ] ;
fhir:profile ( [
fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem graph-compartment-use</b></p><a name=\"graph-compartment-use\"> </a><a name=\"hcgraph-compartment-use\"> </a><a name=\"graph-compartment-use-en-US\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/graph-compartment-use</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">where<a name=\"graph-compartment-use-where\"> </a></td><td>Where</td><td>This compartment rule is a condition for whether the rule applies.</td></tr><tr><td style=\"white-space:nowrap\">requires<a name=\"graph-compartment-use-requires\"> </a></td><td>requires</td><td>This compartment rule is enforced on any relationships that meet the conditions.</td></tr></table></div>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "fhir" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [ fhir:v "trial-use" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/graph-compartment-use"^^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.4.283" ]
] ) ; #
fhir:version [ fhir:v "6.0.0-ballot2"] ; #
fhir:name [ fhir:v "GraphCompartmentUse"] ; #
fhir:title [ fhir:v "Graph Compartment Use"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:experimental [ fhir:v "false"^^xsd:boolean] ; #
fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; #
fhir:contact ( [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/fhir" ]
] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "fhir@lists.hl7.org" ]
] )
] ) ; #
fhir:description [ fhir:v "Defines how a compartment rule is used."] ; #
fhir:jurisdiction ( [
fhir:coding ( [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]
] )
] ) ; #
fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; #
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/graph-compartment-use"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/graph-compartment-use>
] ; #
fhir:hierarchyMeaning [] ; #
fhir:content [ fhir:v "complete"] ; #
fhir:concept ( [
fhir:code [ fhir:v "where" ] ;
fhir:display [ fhir:v "Where" ] ;
fhir:definition [ fhir:v "This compartment rule is a condition for whether the rule applies." ]
] [
fhir:code [ fhir:v "requires" ] ;
fhir:display [ fhir:v "requires" ] ;
fhir:definition [ fhir:v "This compartment rule is enforced on any relationships that meet the conditions." ]
] )] . #
# -------------------------------------------------------------------------------------
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.