@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/uv/crmi/Medication/definition-example> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "definition-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-medicationdefinition"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-medicationdefinition>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication </b><a name=\"definition-example\"> </a><a name=\"hcdefinition-example\"> </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\">ResourceMedication &quot;definition-example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-crmi-medicationdefinition.html\">CRMI MedicationDefinition</a></p></div><p><b>Artifact URL</b>: <a href=\"http://example.org/Medication/definition-example\">http://example.org/Medication/definition-example</a></p><p><b>ArtifactVersion</b>: 1.0.0</p><p><b>code</b>: alprazolam 0.25 MG Oral Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#308047)</span></p><p><b>form</b>: Tablet (basic dose form) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385055001)</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td>Alprazolam (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#386983007)</span></td><td>0.25 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: SNOMED CT  code385055001 = 'Tablet')</span></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/artifact-url"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "http://example.org/Medication/definition-example"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/artifact-version"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "1.0.0" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "308047" ] ;
       fhir:display [ fhir:v "alprazolam 0.25 MG Oral Tablet" ]
     ] )
  ] ; # 
  fhir:form [
     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 (basic dose form)" ]
     ] )
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:386983007 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "386983007" ] ;
         fhir:display [ fhir:v "Alprazolam (substance)" ]
       ] )
     ] ;
     fhir:strength [
       fhir:numerator [
         fhir:value [ fhir:v "0.25"^^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:unit [ fhir:v "Tablet" ] ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "385055001" ]
       ]
     ]
  ] ) . # 

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

