@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/us/quality-core/Medication/example> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-medication" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-medication>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Medication example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-quality-core-medication.html\">US Quality Core Medication</a></p></div><p><b>code</b>: <span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 1594663}\">1.2 ML alemtuzumab 10 MG/ML Injection [Lemtrada]</span></p><p><b>manufacturer</b>: <a href=\"#hcexample/org-6\">Organization Example Manufacturer</a></p><p><b>form</b>: <span title=\"Codes:{http://snomed.info/sct 385219001}\">Conventional release solution for injection (dose form)</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><span title=\"Codes:{http://snomed.info/sct 129472003}\">Alemtuzumab (substance)</span></td><td>12 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1.2 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemL = 'mL')</span></td></tr></table><h3>Batches</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>LotNumber</b></td><td><b>ExpirationDate</b></td></tr><tr><td style=\"display: none\">*</td><td>9494788</td><td>2027-05-22</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization #org-6</b></p><a name=\"example/org-6\"> </a><a name=\"hcexample/org-6\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-quality-core-organization.html\">US Quality Core Organization</a></p></div><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/5.5.0/NamingSystem-npi.html\" title=\"National Provider Identifier\">United States National Provider Identifier</a>/8635143786 (use: temp, )</p><p><b>active</b>: true</p><p><b>name</b>: Example Manufacturer</p><p><b>telecom</b>: <a href=\"https://example.org/manufacturer\">https://example.org/manufacturer</a></p><p><b>address</b>: 900 Example Industrial Road Example City VA 99999 US (work)</p></blockquote></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Organization ;
     fhir:index -1 ;
     fhir:Resource.id [ fhir:value "org-6" ] ;
     fhir:Resource.meta [
       fhir:Meta.profile [
         fhir:value "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-organization" ;
         fhir:index -1 ;
         fhir:link <http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-organization>
       ]
     ] ;
     fhir:Organization.identifier [
       fhir:index -1 ;
       fhir:Identifier.use [ fhir:value "temp" ] ;
       fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
       fhir:Identifier.value [ fhir:value "8635143786" ]
     ] ;
     fhir:Organization.active [ fhir:value "true"^^xsd:boolean ] ;
     fhir:Organization.name [ fhir:value "Example Manufacturer" ] ;
     fhir:Organization.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://example.org/manufacturer" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ] ;
     fhir:Organization.address [
       fhir:index -1 ;
       fhir:Address.use [ fhir:value "work" ] ;
       fhir:Address.line [
         fhir:value "900 Example Industrial Road" ;
         fhir:index -1
       ] ;
       fhir:Address.city [ fhir:value "Example City" ] ;
       fhir:Address.state [ fhir:value "VA" ] ;
       fhir:Address.postalCode [ fhir:value "99999" ] ;
       fhir:Address.country [ fhir:value "US" ]
     ]
  ] ;
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ] ;
       fhir:Coding.code [ fhir:value "1594663" ] ;
       fhir:Coding.display [ fhir:value "1.2 ML alemtuzumab 10 MG/ML Injection [Lemtrada]" ]
     ]
  ] ;
  fhir:Medication.manufacturer [
     fhir:Reference.reference [ fhir:value "#org-6" ]
  ] ;
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:385219001 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "385219001" ] ;
       fhir:Coding.display [ fhir:value "Conventional release solution for injection (dose form)" ]
     ]
  ] ;
  fhir:Medication.ingredient [
     fhir:index -1 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a sct:129472003 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "129472003" ] ;
         fhir:Coding.display [ fhir:value "Alemtuzumab (substance)" ]
       ]
     ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "12"^^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.2"^^xsd:decimal ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "mL" ]
       ]
     ]
  ] ;
  fhir:Medication.batch [
     fhir:Medication.batch.lotNumber [ fhir:value "9494788" ] ;
     fhir:Medication.batch.expirationDate [ fhir:value "2027-05-22"^^xsd:date ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/Medication/example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/quality-core/Medication/example.ttl> .

# -------------------------------------------------------------------------------------

