Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Example Medication/medexample015 (Turtle)

Pharmacy Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any No 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 with Details</b></p><p><b>id</b>: medexample015</p><p><b>contained</b>: , </p><p><b>code</b>: Capecitabine 500mg oral tablet (Xeloda) <span>(Details : {RxNorm code '213293' = 'Xeloda 500 MG Oral Tablet', given as 'Capecitabine 500mg oral tablet (Xeloda)'})</span></p><p><b>manufacturer</b>: id: org2; name: Gene Inc</p><p><b>form</b>: Tablet dose form (qualifier value) <span>(Details : {SNOMED CT code '385055001' = 'Tablet', given as 'Tablet dose form (qualifier value)'})</span></p><h3>Ingredients</h3><table><tr><td>-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td>*</td><td>id: sub04; Capecitabine (substance) <span>(Details : {SNOMED CT code '386906001' = 'Capecitabine', given as 'Capecitabine (substance)'})</span></td><td>500 mg<span> (Details: UCUM code mg = 'mg')</span>/1 TAB<span> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')</span></td></tr></table><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>22/05/2017</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.code [
       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)" ]

[a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medexample015"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication</b><a name=\"medexample015\"> </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 Medication &quot;medexample015&quot; </p></div><p><b>code</b>: Capecitabine 500mg oral tablet (Xeloda) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#213293)</span></p><p><b>marketingAuthorizationHolder</b>: <a name=\"mmanu\"> </a></p><blockquote><p/><p><a name=\"mmanu\"> </a></p><p><b>name</b>: Medication Manufacturer</p></blockquote><p><b>doseForm</b>: Tablet dose form (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385055001)</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"sub04\"> </a><blockquote><p/><p><a name=\"sub04\"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Capecitabine (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#386906001)</span></td></tr></table></blockquote></td></tr></table><p><b>strength</b>: 500 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span>/1(unit TAB from http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm)<span style=\"background: LightGoldenRodYellow\"> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')</span></p></blockquote><h3>Batches</h3><table class=\"grid\"><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:contained ( [
     a fhir:Organization ;
     fhir:id [ fhir:v "mmanu" ] ;
     fhir:name [ fhir:v "Medication Manufacturer" ]
  ] [
     a fhir:Substance ;
     fhir:id [ fhir:v "sub04" ] ;
     fhir:instance [ fhir:v "false"^^xsd:boolean ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           a sct:386906001 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "386906001" ] ;
           fhir:display [ fhir:v "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.manufacturer [
     fhir:Reference.reference [ fhir:value "#org2" ]
  ];
  fhir:Medication.form [
     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.itemReference [
       fhir:Reference.reference [ fhir:value "#sub04" ]
     ];
     fhir:Medication.ingredient.strength [
       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:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "213293" ] ;
       fhir:display [ fhir:v "Capecitabine 500mg oral tablet (Xeloda)" ]
     ] )
  ] ; # 
  fhir:marketingAuthorizationHolder [
     fhir:reference [ fhir:v "#mmanu" ]
  ] ; # 
  fhir:doseForm [
     fhir:coding ( [
       a sct:385055001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "385055001" ] ;
       fhir:display [ fhir:v "Tablet dose form (qualifier value)" ]
     ] )
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       fhir:reference [
         fhir:reference [ fhir:v "#sub04" ]
       ]
     ] ;
     fhir:strength [
       a fhir:Ratio ;
       fhir:numerator [
         fhir:value [ fhir:v "500"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "mg" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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> .

  ] ) ; # 
  fhir:batch [
     fhir:lotNumber [ fhir:v "9494788" ] ;
     fhir:expirationDate [ fhir:v "2017-05-22"^^xsd:date ]
  ]] . # 


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


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.