Example MedicinalProductDefinition/product-with-contained-package-and-ingredient (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Product with Contained Package and Ingredient
@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:MedicinalProductDefinition;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "product-with-contained-package-and-ingredient"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicinalProductDefinition</b><a name=\"product-with-contained-package-and-ingredient\"> </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 MedicinalProductDefinition "product-with-contained-package-and-ingredient" </p></div><h3>Names</h3><table class=\"grid\"><tr><td>-</td><td><b>ProductName</b></td></tr><tr><td>*</td><td>Exampleocillin</td></tr></table></div>"
]; # Doesn't yet work in main build contained>
<PackagedProductDefinition>
<id value="containedPPD"/>
<packageFor>
<reference value="#"/>
</packageFor>
<description value="A full text description with markup can go here"/>
</PackagedProductDefinition>
</contained , Doesn't yet work in main build <contained>
<Ingredient>
<id value="containedIng"/>
<status value="active"/>
<for>
<reference value="#"/>
</for>
<role>
<coding>
<code value="component"/>
</coding>
</role>
<substance>
<code>
<reference>
<reference value="SubstanceDefinition/componentSubstance"/>
</reference>
</code>
</substance>
</Ingredient>
</contained , rest of the product goes here
fhir:MedicinalProductDefinition.name [
fhir:index 0;
fhir:MedicinalProductDefinition.name.productName [ fhir:value "Exampleocillin" ]
]] . #
# - 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.