This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B
Example MedicinalProductDefinition/Acetamin-500-20-generic (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Acetaminophin product, pack and tablet (using contained resources)
@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:id [ fhir:v "Acetamin-500-20-generic"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicinalProductDefinition</b><a name=\"Acetamin-500-20-generic\"> </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 "Acetamin-500-20-generic" </p></div><p><b>identifier</b>: <span title=\" contained>\n <Ingredient>\n <id value="Acetamin-ing-500"/>\n <status value="active"/>\n <for>\n <reference value="ManufacturedItemDefinition/Acetamin-tab-500"/>\n </for>\n <role>\n <coding>\n <code value="active"/>\n </coding>\n </role>\n <substance>\n <code>\n <concept>\n <coding>\n <system value="http://snomed.info/sct"/>\n <code value="387517004"/>\n <display value="Acetaminophen"/>\n </coding>\n </concept>\n </code>\n <strength>\n <presentationRatio>\n <numerator>\n <value value="500"/>\n <unit value="mg"/>\n </numerator>\n <denominator>\n <value value="1"/>\n <unit value="tablet"/>\n </denominator>\n </presentationRatio>\n </strength>\n </substance>\n </Ingredient>\n </contained \">id: 12345</span></p><h3>Names</h3><table class=\"grid\"><tr><td>-</td><td><b>ProductName</b></td></tr><tr><td>*</td><td>Acetaminophen 500 mg tablets [generic]</td></tr></table></div>"
] ; #
fhir:contained ( [
a fhir:PackagedProductDefinition ;
fhir:id [ fhir:v "Acetamin-pack-20" ] ;
fhir:packageFor ( [
fhir:reference [ fhir:v "#" ]
] ) ;
fhir:packaging [
fhir:type [
fhir:coding ( [
fhir:code [ fhir:v "cardboard box" ]
] )
] ;
fhir:containedItem ( [
fhir:item [
fhir:reference [
fhir:reference [ fhir:v "#Acetamin-tab-500" ]
]
] ;
fhir:amount [
fhir:value [ fhir:v "20"^^xsd:decimal ]
]
] ) # the item contained in the pack (note this is a different concept to a \"contained\" resource, above)
]
] [
a fhir:ManufacturedItemDefinition ;
fhir:id [ fhir:v "Acetamin-tab-500" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:manufacturedDoseForm [
fhir:coding ( [
fhir:code [ fhir:v "tablet" ]
] )
]
] ) ; #
fhir:identifier ( [
fhir:system [ fhir:v "http://example.nation.org/drugs"^^xsd:anyURI ] ;
fhir:value [ fhir:v "12345" ]
] ) ; # contained>
# <Ingredient>
# <id value="Acetamin-ing-500"/>
# <status value="active"/>
# <for>
# <reference value="ManufacturedItemDefinition/Acetamin-tab-500"/>
# </for>
# <role>
# <coding>
# <code value="active"/>
# </coding>
# </role>
# <substance>
# <code>
# <concept>
# <coding>
# <system value="http://snomed.info/sct"/>
# <code value="387517004"/>
# <display value="Acetaminophen"/>
# </coding>
# </concept>
# </code>
# <strength>
# <presentationRatio>
# <numerator>
# <value value="500"/>
# <unit value="mg"/>
# </numerator>
# <denominator>
# <value value="1"/>
# <unit value="tablet"/>
# </denominator>
# </presentationRatio>
# </strength>
# </substance>
# </Ingredient>
# </contained
fhir:name ( [
fhir:productName [ fhir:v "Acetaminophen 500 mg tablets [generic]" ]
] )] . #
# -------------------------------------------------------------------------------------
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.