R6 Ballot (2nd Draft)

Publish-box (todo)

Example PackagedProductDefinition/package-with-liquid-and-syringe (Turtle)

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

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

Basic example of a co-packaged liquid and a syringe, contents only, no packaging described

@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:PackagedProductDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "package-with-liquid-and-syringe"] ; # 
  fhir:contained ( [
     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:packageFor ( [
     fhir:reference [ fhir:v "MedicinalProductDefinition/ProductThatHasThisPackType" ]
  ] ) ; #   the product for which this is one available package type (possibly one package type of several for this product)  
  fhir:packaging [
     fhir:containedItem ( [
       fhir:item [
         fhir:reference [
           fhir:reference [ fhir:v "#liquidItem" ] #   reference an item defined above  
         ]
       ] ;
       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" ] #   reference an item defined above  
         ]
       ]
     ] ) #   here we can describe the packaging, but in this case we just want to talk about the contents  ,   Note that containedItem here is a completely different meaning to \"contained\" above\n	         This refers to items physically contained in the package.  
  ]] . #   package contents start here, consists of a liquid and a syringe  

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


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.