Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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 R4 R3

Medicationexample15.ttl

Pharmacy Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

Oral Chemotherapy Example - Manufactured Product - Xeloda - includes a reference to a substance in ingredient element

@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/Medication/medexample015> a fhir:Medication;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "medexample015"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>code</b>: <span>Capecitabine 500mg oral tablet (Xeloda)</span></p><p><b>sponsor</b>: <a> </a></p><blockquote><p><b>name</b>: Gene Inc</p></blockquote><p><b>doseForm</b>: <span>Tablet dose form (qualifier value)</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>strength</b>: 500 mg/1 TAB</p></blockquote><h3>Batches</h3><table><tr><td>-</td><td><b>LotNumber</b></td><td><b>ExpirationDate</b></td></tr><tr><td>*</td><td>9494788</td><td>2017-05-22</td></tr></table></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Organization;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "org2" ];
     fhir:Organization.name [ fhir:value "Gene Inc" ]
  ], [
     a fhir:Substance;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "sub04" ];
     fhir:Substance.instance [ fhir:value "false"^^xsd:boolean ];
     fhir:Substance.code [
       fhir:CodeableReference.concept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:386906001;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "386906001" ];
           fhir:Coding.display [ fhir:value "Capecitabine (substance)" ]
         ]
       ]
     ]
  ];
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "213293" ];
       fhir:Coding.display [ fhir:value "Capecitabine 500mg oral tablet (Xeloda)" ]
     ]
  ];
  fhir:Medication.sponsor [
     fhir:Reference.reference [ fhir:value "#org2" ]
  ];
  fhir:Medication.doseForm [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:385055001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "385055001" ];
       fhir:Coding.display [ fhir:value "Tablet dose form (qualifier value)" ]
     ]
  ];
  fhir:Medication.ingredient [
     fhir:index 0;
     fhir:Medication.ingredient.item [
       fhir:CodeableReference.reference [
         fhir:Reference.reference [ fhir:value "#sub04" ]
       ]
     ];
     fhir:Medication.ingredient.strengthRatio [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mg" ]
       ];
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
         fhir:Quantity.code [ fhir:value "TAB" ]
       ]
     ]
  ];
  fhir:Medication.batch [
     fhir:Medication.batch.lotNumber [ fhir:value "9494788" ];
     fhir:Medication.batch.expirationDate [ fhir:value "2017-05-22"^^xsd:date ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Medication/medexample015.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Medication/medexample015.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.