R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Substance/f204 (Turtle)

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Silver Nitrate Product Example

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:Substance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "f204"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Substance</b><a name=\"f204\"> </a></p><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\">Resource Substance &quot;f204&quot; </p></div><p><b>identifier</b>: id: AB94687</p><p><b>instance</b>: true</p><p><b>category</b>: Chemical <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-substance-category.html\">Substance Category Codes</a>#chemical)</span></p><h3>Codes</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td>Silver nitrate 20% solution (product) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#333346007)</span></td></tr></table><p><b>description</b>: Solution for silver nitrate stain</p><p><b>expiry</b>: 2018-01-01</p><p><b>quantity</b>: 100 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></p></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://acme.org/identifiers/substances/lot"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "AB94687" ]
  ] ) ; # 
  fhir:instance [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/substance-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "chemical" ] ;
       fhir:display [ fhir:v "Chemical" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a sct:333346007 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "333346007" ] ;
         fhir:display [ fhir:v "Silver nitrate 20% solution (product)" ]
       ] )
     ]
  ] ; # 
  fhir:description [ fhir:v "Solution for silver nitrate stain"] ; # 
  fhir:expiry [ fhir:v "2018-01-01"^^xsd:date] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "100"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "mL" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "mL" ]
  ]] . # 

# -------------------------------------------------------------------------------------


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.