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

# Example: Dermatophagoides farinae allergen — a structurally diverse
#     substance (an allergen derived from a house dust mite). From ISO 11238 IG
#     examples. Demonstrates SubstanceDefinition for a structurally-diverse
#     substance: classification, sourceMaterial (taxonomy), no chemical
#     structure or sequence.

<http://hl7.org/fhir/SubstanceDefinition/dermatophagoides-farinae> a fhir:SubstanceDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "dermatophagoides-farinae"] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.europa.eu/fhir/SMSId"^^xsd:anyURI ;
       fhir:l <http://example.europa.eu/fhir/SMSId>
     ] ;
     fhir:value [ fhir:v "DERMFAR1S" ]
  ] ) ; # 
  fhir:status [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/publication-status"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/publication-status>
       ] ;
       fhir:code [ fhir:v "active" ] ;
       fhir:display [ fhir:v "Active" ]
     ] )
  ] ; # 
  fhir:classification ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://example.europa.eu/fhir/SubstanceType"^^xsd:anyURI ;
         fhir:l <http://example.europa.eu/fhir/SubstanceType>
       ] ;
       fhir:code [ fhir:v "structurally-diverse" ] ;
       fhir:display [ fhir:v "Structurally Diverse" ]
     ] )
  ] ) ; # 
  fhir:domain [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://example.europa.eu/fhir/Domain"^^xsd:anyURI ;
         fhir:l <http://example.europa.eu/fhir/Domain>
       ] ;
       fhir:code [ fhir:v "human" ] ;
       fhir:display [ fhir:v "Human use" ]
     ] )
  ] ; # 
  fhir:description [ fhir:v "Dermatophagoides farinae — American house dust mite allergen extract. A structurally diverse substance defined by its source organism rather than a discrete chemical structure, used in allergen immunotherapy products."] ; # 
  fhir:code ( [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.europa.eu/fhir/Substance"^^xsd:anyURI ;
           fhir:l <http://example.europa.eu/fhir/Substance>
         ] ;
         fhir:code [ fhir:v "DERMFAR1S" ]
       ] )
     ]
  ] ) ; # 
  fhir:name ( [
     fhir:name [ fhir:v "Dermatophagoides farinae" ] ;
     fhir:preferred [ fhir:v true ] ;
     fhir:language ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ;
           fhir:l <urn:ietf:bcp:47>
         ] ;
         fhir:code [ fhir:v "en" ] ;
         fhir:display [ fhir:v "English" ]
       ] )
     ] ) ;
     fhir:official ( [
       fhir:authority [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/substance-name-authority"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/substance-name-authority>
           ] ;
           fhir:code [ fhir:v "USAN" ] ;
           fhir:display [ fhir:v "USAN" ]
         ] )
       ] ;
       fhir:status [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/publication-status"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/publication-status>
           ] ;
           fhir:code [ fhir:v "active" ] ;
           fhir:display [ fhir:v "Active" ]
         ] )
       ]
     ] )
  ] [
     fhir:name [ fhir:v "American house dust mite" ] ;
     fhir:preferred [ fhir:v false ]
  ] ) ; # 
  fhir:sourceMaterial [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://hl7.org/fhir/substance-source-material-type"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/substance-source-material-type>
         ] ;
         fhir:code [ fhir:v "Animal" ] ;
         fhir:display [ fhir:v "Animal" ]
       ] )
     ] ;
     fhir:genus [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.europa.eu/fhir/Genus"^^xsd:anyURI ;
           fhir:l <http://example.europa.eu/fhir/Genus>
         ] ;
         fhir:code [ fhir:v "Dermatophagoides" ] ;
         fhir:display [ fhir:v "Dermatophagoides" ]
       ] )
     ] ;
     fhir:species [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.europa.eu/fhir/Species"^^xsd:anyURI ;
           fhir:l <http://example.europa.eu/fhir/Species>
         ] ;
         fhir:code [ fhir:v "farinae" ] ;
         fhir:display [ fhir:v "D. farinae" ]
       ] )
     ] ;
     fhir:part [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.europa.eu/fhir/Part"^^xsd:anyURI ;
           fhir:l <http://example.europa.eu/fhir/Part>
         ] ;
         fhir:code [ fhir:v "whole-organism" ] ;
         fhir:display [ fhir:v "Whole organism" ]
       ] )
     ]
  ] . # 

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

