R6 Ballot (2nd Draft)

Publish-box (todo)

Example MedicinalProductDefinition/drug-and-device (Turtle)

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

A liquid that comes with a syringe in the pack, basic details only

@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 "drug-and-device"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>\n				<b>\n					Generated Narrative\n				</b>\n			</p>\n			<p>\n				<b>\n					Id\n				</b>\n				: drug-and-device\n			</p>\n			<p>\n				<b>\n					Identifier\n				</b>\n				: Wonderdrug+\n			</p>\n			<p>\n				<b>\n					Combined Pharmaceutical Dose Form\n				</b>\n				:\n				<span title=\"Codes: {http://example.org.uk/fhir/doseform solution for injection}\">\n					solution for injection\n				</span>\n			</p>\n			<p>\n				<b>\n					Packaged Product\n				</b>\n				:\n				<a name=\"package\"/>\n			</p>\n			<blockquote>\n				<p>\n					<b>\n						Package\n					</b>\n				</p>\n				<blockquote>\n					<p>\n						<b>\n							Contained Item\n						</b>\n					</p>\n					<p>\n						<b>\n							Item\n						</b>\n						:\n						<a href=\"#liquidItem\">\n							Solution for Injection\n						</a>\n					</p>\n					<p>\n						<b>\n							Amount\n						</b>\n						: 20 ml\n					</p>\n					<p>\n						<b>\n							Ingredient\n						</b>\n						: Wondersubstance BP\n					</p>\n				</blockquote>\n				<blockquote>\n					<p>\n						<b>\n							Contained Item\n						</b>\n					</p>\n					<p>\n						<b>\n							Device\n						</b>\n						:\n						<a href=\"#syringeDevice\">\n							Syringe\n						</a>\n					</p>\n					<p>\n						<b>\n							Amount\n						</b>\n						: 1\n					</p>\n				</blockquote>\n			</blockquote>\n			<h3>\n				Names\n			</h3>\n			<table class=\"grid\">\n				<tr>\n					<td>\n						-\n					</td>\n					<td>\n						<b>\n							Product Name\n						</b>\n					</td>\n				</tr>\n				<tr>\n					<td>\n						*\n					</td>\n					<td>\n						Wonderdrug+ liquid 20ml\n					</td>\n				</tr>\n			</table>\n		</div>"
  ] ; # 
  fhir:contained ( [
     a fhir:PackagedProductDefinition ;
     fhir:id [ fhir:v "package" ] ;
     fhir:packageFor ( [
       fhir:reference [ fhir:v "#" ]
     ] ) ;
     fhir:packaging [
       fhir:containedItem ( [
         fhir:item [
           fhir:reference [
             fhir:reference [ fhir:v "#liquidItem" ]
           ]
         ] ;
         fhir:amount [
           fhir:value [ fhir:v "20"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "ml" ] ;
           fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "mL" ]
         ]
       ] [
         fhir:item [
           fhir:reference [
             fhir:reference [ fhir:v "#syringeDevice" ]
           ]
         ]
       ] ) #   can be more details of the package here, but not necessary for this use case  
     ]
  ] [
     a fhir:DeviceDefinition ;
     fhir:id [ fhir:v "syringeDevice" ] ;
     fhir:classification ( [
       fhir:type [
         fhir:text [ fhir:v "syringe" ]
       ]
     ] )
  ] [
     a fhir:ManufacturedItemDefinition ;
     fhir:id [ fhir:v "liquidItem" ] ;
     fhir:status [ fhir:v "active" ] ;
     fhir:manufacturedDoseForm [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.org.uk/fhir/doseform"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "solution for injection" ]
       ] )
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://example.org.uk/fhir/product"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "Wonderdrug+" ]
  ] ) ; #  contained>
#		<Ingredient>
#			<id value="ingredient"/>
#			<status value="active"/>
#			<for>
#				<reference value="ManufacturedItemDefinition/liquidItem"/>
#			</for>
#			<role>
#				<coding>
#					<system value="http://example.org.uk/fhir/ingredientRole"/>
#					<code value="active"/>
#				</coding>
#			</role>
#			<substance>
#				<code>
#					<concept>
#						<coding>
#							<system value="http://example.org.uk/fhir/ingredients"/>
#							<code value="12345"/>
#							<display value="Wondersubstance BP"/>
#						</coding>
#					</concept>
#				</code>
#			</substance>
#		</Ingredient>
#	</contained 
  fhir:combinedPharmaceuticalDoseForm [
     fhir:coding ( [
       fhir:system [ fhir:v "http://example.org.uk/fhir/doseform"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "solution for injection" ]
     ] )
  ] ; # 
  fhir:name ( [
     fhir:productName [ fhir:v "Wonderdrug+ liquid 20ml" ]
  ] )] . # 

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


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.