@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/uv/crmi/Substance/artifact-reference-example> a fhir:Substance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "artifact-reference-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Substance </b><a name=\"artifact-reference-example\"> </a><a name=\"hcartifact-reference-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\">ResourceSubstance &quot;artifact-reference-example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-crmi-substancedefinition.html\">CRMI SubstanceDefinition</a></p></div><p><b>Artifact URL</b>: <a href=\"http://example.org/Substance/substance-definition-example\">http://example.org/Substance/substance-definition-example</a></p><p><b>ArtifactVersion</b>: 1.0.0</p><p><b>identifier</b>: <code>http://acme.org/identifiers/substances</code>/1463</p><p><b>status</b>: active</p><p><b>category</b>: Allergen <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-substance-category.html\">Substance Category Codes</a>#allergen)</span></p><p><b>code</b>: apitoxin (Honey Bee Venom) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>description</b>: Example substance definition. This example uses artifact-url and artifact-version as business identifiers, as well as artifact-uriReference to refer to an ingredient using these identifiers.</p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Substance[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span>: apitoxin (Honey Bee Venom)</span></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/artifact-url"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "http://example.org/Substance/substance-definition-example"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/artifact-version"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "1.0.0" ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://acme.org/identifiers/substances"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "1463" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/substance-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "allergen" ] ;
       fhir:display [ fhir:v "Allergen" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:text [ fhir:v "apitoxin (Honey Bee Venom)" ]
  ] ; # 
  fhir:description [ fhir:v "Example substance definition. This example uses artifact-url and artifact-version as business identifiers, as well as artifact-uriReference to refer to an ingredient using these identifiers."] ; # 
  fhir:ingredient ( [
     fhir:substance [
       a fhir:Reference ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/artifact-uriReference"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "http://example.org/Substance/substance-definition-example|1.0.0"^^xsd:anyURI ]
       ] ) ;
       fhir:display [ fhir:v "apitoxin (Honey Bee Venom)" ]
     ]
  ] ) . # 

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

