AU Base Implementation Guide
7.0.0-ballot1 - Ballot

AU Base Implementation Guide - Downloaded Version 7.0.0-ballot1 See the Directory of published versions

## : Substance - peanuts as an allergen - 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

    <http://hl7.org/fhir/Substance/example1> a fhir:Substance ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "example1"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-substance" ;
           fhir:index 0 ;
           fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-substance>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Substance example1</b></p><a name=\"example1\"> </a><a name=\"hcexample1\"> </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-au-substance.html\">AU Base Substance</a></p></div><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:{http://snomed.info/sct 762952008}\">Peanuts</span></p></div>"
      ] ;
      fhir:Substance.category [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/substance-category" ] ;
           fhir:Coding.code [ fhir:value "allergen" ] ;
           fhir:Coding.display [ fhir:value "Allergen" ]
         ]
      ] ;
      fhir:Substance.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:762952008 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "762952008" ] ;
           fhir:Coding.display [ fhir:value "Peanut" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "Peanuts" ]
      ] .

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

    <http://hl7.org/fhir/Substance/example1.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Substance/example1.ttl> .