Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

Example SubstanceDefinition/example (Turtle)

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 -------------------------------------------------------------------

[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: SubstanceDefinition</b><a name=\"example\"> </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 SubstanceDefinition &quot;example&quot; </p></div><p><b>identifier</b>: id: 100000099270</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>classification</b>: Chemical <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (SubstanceType#100000075670)</span></p><p><b>domain</b>: Human use <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Domain#100000000012)</span></p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td></tr><tr><td>*</td><td>SUB99611MIG <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Substance#SUB99611MIG)</span></td></tr></table><blockquote><p><b>name</b></p><p><b>name</b>: PARACETAMOL</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: true</p><p><b>language</b>: English <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Language#100000072147)</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ΠΑΡΑΚΕΤΑΜΌΛΗ</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: false</p><p><b>language</b>: Greek, Modern (1453-) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Language#100000072181)</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ПАРАЦЕТАМОЛ</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: false</p><p><b>language</b>: Bulgarian <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Language#100000072142)</span></p></blockquote><blockquote><p><b>name</b></p><p><b>name</b>: ACETAMINOPHEN</p><p><b>status</b>: Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Status#200000005004)</span></p><p><b>preferred</b>: false</p><p><b>language</b>: English <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Language#100000072147)</span></p></blockquote></div>"
  ];
  fhir:SubstanceDefinition.identifier [
     fhir:index 0;
     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.classification [
     fhir:index 0;
     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 ------------------------------------------------------------

[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.