Example
NutritionProduct/example
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Example
of
nutritionproduct
@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/NutritionProduct/example> a fhir:NutritionProduct;
[a fhir:NutritionProduct;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"];
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\">[Put rendering here]</div>"
];
fhir:NutritionProduct.status [ fhir:value "active"] .
]; #
fhir:NutritionProduct.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:227507002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "227507002" ]
]
]; #
fhir:NutritionProduct.status [ fhir:value "active"]; #
fhir:NutritionProduct.category [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:227313005;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "227313005" ]
]
]; #
fhir:NutritionProduct.instance [
fhir:index 0;
fhir:NutritionProduct.instance.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://example.org/foodserials" ];
fhir:Identifier.value [ fhir:value "77239487" ]
]
]] . #
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/NutritionProduct/example.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/NutritionProduct/example.ttl> .
[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.