QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

## : Substance example - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Substance ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Substance example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-substance.html\">QICore Substance</a></p></div><p><b>identifier</b>: <code>http://acme.org/identifiers/substances</code>/1463</p><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/substance-category allergen}\">Allergen</span></p><p><b>code</b>: <span title=\"Codes:\">apitoxin (Honey Bee Venom)</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td><td><b>Substance[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>0.150 mg/1</td><td><a href=\"Substance-example.html\">Substance </a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "http://acme.org/identifiers/substances"^^xsd:anyURI ;
    fhir:l <http://acme.org/identifiers/substances>     ] ;
    fhir:value [ fhir:v "1463" ]
      ] ) ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/substance-category"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/substance-category>       ] ;
    fhir:code [ fhir:v "allergen" ] ;
    fhir:display [ fhir:v "Allergen" ]     ] )
      ] ) ; #
      fhir:code [
    fhir:text [ fhir:v "apitoxin (Honey Bee Venom)" ]
      ] ; #
      fhir:ingredient ( [
    fhir:quantity [
    fhir:numerator [
    fhir:value [ fhir:v 0.150 ] ;
    fhir:unit [ fhir:v "mg" ]       ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ]       ]     ] ;
    fhir:substance [
    a fhir:Reference ;
    fhir:l fhir:Substance/example ;
    fhir:reference [ fhir:v "Substance/example" ]     ]
      ] ) . #