Example Library/library-quick-model-definition (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
QUICK Model Definition
@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:Library;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "library-quick-model-definition"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Id: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">Library/library-quick-model-definition</td>\n </tr>\n </table>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Identifier: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">\n <b>value: </b>\n <span>QUICK</span>\n </td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Version: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">1.0.0</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Title: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">QUICK Model Definition</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Type: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-right: 25px;\">\n <span>\n <span>\n <span style=\"padding-left: 25px;\">\n <b>code: </b>\n <span>model-definition</span>\n </span>\n </span>\n </span>\n </td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Status: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">draft</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Description: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">Model definition for the QUICK Logical Model</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Topic: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-right: 25px;\">\n <span style=\"padding-left: 25px;\">\n <b>text: </b>\n <span>QUICK</span>\n </span>\n </td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Content: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">\n <p style=\"margin-bottom: 5px;\">\n <b>type: </b>\n <span>application/xml</span>\n </p>\n <p style=\"margin-bottom: 5px;\">\n <b>url: </b>\n <span>http://cqlrepository.org/quick-modelinfo.xml</span>\n </p>\n </td>\n </tr>\n </table>\n </div>"
];
fhir:Library.identifier [
fhir:index 0;
fhir:Identifier.use [ fhir:value "official" ];
fhir:Identifier.value [ fhir:value "QUICK" ]
];
fhir:Library.version [ fhir:value "1.0.0"];
fhir:Library.title [ fhir:value "QUICK Model Definition"];
fhir:Library.status [ fhir:value "draft"];
fhir:Library.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "model-definition" ]
]
];
fhir:Library.date [ fhir:value "2016-07-08"^^xsd:date];
fhir:Library.description [ fhir:value "Model definition for the QUICK Logical Model"];
fhir:Library.topic [
fhir:index 0;
fhir:CodeableConcept.text [ fhir:value "QUICK" ]
];
fhir:Library.content [
fhir:index 0;
fhir:Attachment.contentType [ fhir:value "application/xml" ];
fhir:Attachment.url [ fhir:value "http://cqlrepository.org/quick-modelinfo.xml" ]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.