This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). 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
| Pharmacy Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Generic Formulation - Oral Chemotherapy Example - Capecitabine – includes a reference to a substance in the 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/med0321> a fhir:Medication;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "med0321"];
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>: med0321</p><p><b>contained</b>: </p><p><b>code</b>: Capecitabine (product) <span>(Details : {SNOMED CT code '108761006' = 'Capecitabine', given as 'Capecitabine (product)'})</span></p><p><b>doseForm</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</b></td><td><b>Strength[x]</b></td></tr><tr><td>*</td><td/><td>500 mg<span> (Details: UCUM code mg = 'mg')</span>/1 Tablet<span> (Details: SNOMED CT code 385055001 = 'Tablet')</span></td></tr></table></div>"
];
fhir:DomainResource.contained [
a fhir:Substance;
fhir:index 0;
fhir:Resource.id [ fhir:value "sub03" ];
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)" ]
]
]
];
fhir:Medication.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:108761006;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "108761006" ];
fhir:Coding.display [ fhir:value "Capecitabine (product)" ]
]
];
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 "#sub03" ]
]
];
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.unit [ fhir:value "Tablet" ];
fhir:Quantity.system [ fhir:value "http://snomed.info/sct" ];
fhir:Quantity.code [ fhir:value "385055001" ]
]
]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Medication/med0321.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Medication/med0321.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.