@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/MedicationDispense/negation-with-code-example> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "negation-with-code-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-medicationdispensedeclined" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-medicationdispensedeclined>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense negation-with-code-example</b></p><a name=\"negation-with-code-example\"> </a><a name=\"hcnegation-with-code-example\"> </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-medicationdispensedeclined.html\">US Quality Core MedicationDispense Declined</a></p></div><p><b>R5: When the recording of the dispense started (new)</b>: 2017-01-17</p><p><b>status</b>: Declined</p><p><b>statusReason</b>: <span title=\"Codes:{http://snomed.info/sct 183966005}\">Drug treatment not indicated (situation)</span></p><p><b>medication</b>: <span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 1000085}\">alcaftadine 2.5 MG/ML Ophthalmic Solution</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Example Patient  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication 1.2 ML alemtuzumab 10 MG/ML Injection [Lemtrada]; authoredOn = 2026-08-01 19:32:52-0400</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: 3 per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/dose-rate-type ordered}\">Ordered</span></td><td>5 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemL = 'mL')</span></td></tr></table></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded" ] ;
     fhir:Extension.valueDateTime [ fhir:value "2017-01-17"^^xsd:date ]
  ] ;
  fhir:MedicationDispense.status [ fhir:value "declined"] ;
  fhir:MedicationDispense.statusReasonCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:183966005 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "183966005" ] ;
       fhir:Coding.display [ fhir:value "Drug treatment not indicated (situation)" ]
     ]
  ] ;
  fhir:MedicationDispense.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ] ;
       fhir:Coding.code [ fhir:value "1000085" ] ;
       fhir:Coding.display [ fhir:value "alcaftadine 2.5 MG/ML Ophthalmic Solution" ]
     ]
  ] ;
  fhir:MedicationDispense.subject [
     fhir:link <http://hl7.org/fhir/us/quality-core/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] ;
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index -1 ;
     fhir:link <http://hl7.org/fhir/us/quality-core/MedicationRequest/example> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/example" ]
  ] ;
  fhir:MedicationDispense.dosageInstruction [
     fhir:index -1 ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ] ;
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a sct:26643006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "26643006" ] ;
         fhir:Coding.display [ fhir:value "Oral route" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index -1 ;
       fhir:Dosage.doseAndRate.type [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ] ;
           fhir:Coding.code [ fhir:value "ordered" ] ;
           fhir:Coding.display [ fhir:value "Ordered" ]
         ]
       ] ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mL" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "mL" ]
       ]
     ]
  ] .

<http://hl7.org/fhir/us/quality-core/Patient/example> a fhir:us .

<http://hl7.org/fhir/us/quality-core/MedicationRequest/example> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/MedicationDispense/negation-with-code-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/quality-core/MedicationDispense/negation-with-code-example.ttl> .

# -------------------------------------------------------------------------------------

