Release 5 Preview #3

This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B

Substancedefinition-example.ttl

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

Example of substancedefinition

@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/SubstanceDefinition/example> a fhir:SubstanceDefinition;
  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\"><p><b>Generated Narrative</b></p><p><b>id</b>: example</p><p><b>identifier</b>: id: 100000099270</p><p><b>status</b>: <span>Current</span></p><p><b>category</b>: <span>Chemical</span></p><p><b>domain</b>: <span>Human use</span></p><h3>Codes</h3><table><tr><td>-</td><td><b>Code</b></td></tr><tr><td>*</td><td><span>SUB99611MIG</span></td></tr></table><blockquote><p><b>name</b></p><p><b>name</b>: PARACETAMOL</p><p><b>status</b>: <span>Current</span></p><p><b>preferred</b>: true</p><p><b>language</b>: <span>English</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ΠΑΡΑΚΕΤΑΜΌΛΗ</p><p><b>status</b>: <span>Current</span></p><p><b>preferred</b>: false</p><p><b>language</b>: <span>Greek, Modern (1453-)</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ПАРАЦЕТАМОЛ</p><p><b>status</b>: <span>Current</span></p><p><b>preferred</b>: false</p><p><b>language</b>: <span>Bulgarian</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ACETAMINOPHEN</p><p><b>status</b>: <span>Current</span></p><p><b>preferred</b>: false</p><p><b>language</b>: <span>English</span></p></blockquote></div>"
  ];
  fhir:SubstanceDefinition.identifier [
     fhir:Identifier.system [ fhir:value "http://example.europa.eu/fhir/SMSId" ];
     fhir:Identifier.value [ fhir:value "100000099270" ]
  ];
  fhir:SubstanceDefinition.status [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Status" ];
       fhir:Coding.code [ fhir:value "200000005004" ];
       fhir:Coding.display [ fhir:value "Current" ]
     ]
  ];
  fhir:SubstanceDefinition.category [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/SubstanceType" ];
       fhir:Coding.code [ fhir:value "100000075670" ];
       fhir:Coding.display [ fhir:value "Chemical" ]
     ]
  ];
  fhir:SubstanceDefinition.domain [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Domain" ];
       fhir:Coding.code [ fhir:value "100000000012" ];
       fhir:Coding.display [ fhir:value "Human use" ]
     ]
  ];
  fhir:SubstanceDefinition.code [
     fhir:index 0;
     fhir:SubstanceDefinition.code.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Substance" ];
         fhir:Coding.code [ fhir:value "SUB99611MIG" ]
       ]
     ]
  ];
  fhir:SubstanceDefinition.name [
     fhir:index 0;
     fhir:SubstanceDefinition.name.name [ fhir:value "PARACETAMOL" ];
     fhir:SubstanceDefinition.name.status [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Status" ];
         fhir:Coding.code [ fhir:value "200000005004" ];
         fhir:Coding.display [ fhir:value "Current" ]
       ]
     ];
     fhir:SubstanceDefinition.name.preferred [ fhir:value "true"^^xsd:boolean ];
     fhir:SubstanceDefinition.name.language [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Language" ];
         fhir:Coding.code [ fhir:value "100000072147" ];
         fhir:Coding.display [ fhir:value "English" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:SubstanceDefinition.name.name [ fhir:value "ΠΑΡΑΚΕΤΑΜΌΛΗ" ];
     fhir:SubstanceDefinition.name.status [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Status" ];
         fhir:Coding.code [ fhir:value "200000005004" ];
         fhir:Coding.display [ fhir:value "Current" ]
       ]
     ];
     fhir:SubstanceDefinition.name.preferred [ fhir:value "false"^^xsd:boolean ];
     fhir:SubstanceDefinition.name.language [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Language" ];
         fhir:Coding.code [ fhir:value "100000072181" ];
         fhir:Coding.display [ fhir:value "Greek, Modern (1453-)" ]
       ]
     ]
  ], [
     fhir:index 2;
     fhir:SubstanceDefinition.name.name [ fhir:value "ПАРАЦЕТАМОЛ" ];
     fhir:SubstanceDefinition.name.status [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Status" ];
         fhir:Coding.code [ fhir:value "200000005004" ];
         fhir:Coding.display [ fhir:value "Current" ]
       ]
     ];
     fhir:SubstanceDefinition.name.preferred [ fhir:value "false"^^xsd:boolean ];
     fhir:SubstanceDefinition.name.language [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Language" ];
         fhir:Coding.code [ fhir:value "100000072142" ];
         fhir:Coding.display [ fhir:value "Bulgarian" ]
       ]
     ]
  ], [
     fhir:index 3;
     fhir:SubstanceDefinition.name.name [ fhir:value "ACETAMINOPHEN" ];
     fhir:SubstanceDefinition.name.status [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Status" ];
         fhir:Coding.code [ fhir:value "200000005004" ];
         fhir:Coding.display [ fhir:value "Current" ]
       ]
     ];
     fhir:SubstanceDefinition.name.preferred [ fhir:value "false"^^xsd:boolean ];
     fhir:SubstanceDefinition.name.language [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.europa.eu/fhir/Language" ];
         fhir:Coding.code [ fhir:value "100000072147" ];
         fhir:Coding.display [ fhir:value "English" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/SubstanceDefinition/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/SubstanceDefinition/example.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.