@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://ips.saude.gov.br/fhir/MedicationRequest/f858d09c-4902-433f-92a7-45cca29c6fc9> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "f858d09c-4902-433f-92a7-45cca29c6fc9"] ;
  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>Narrativa gerada: MedicationRequest f858d09c-4902-433f-92a7-45cca29c6fc9</b></p><a name=\"f858d09c-4902-433f-92a7-45cca29c6fc9\"> </a><a name=\"hcf858d09c-4902-433f-92a7-45cca29c6fc9\"> </a><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Códigos:{http://www.whocc.no/atc A10BA02}\">Metformina 850mg</span></p><p><b>subject</b>: <a href=\"Patient-b1997888-85fd-41b6-bf94-6242cf3c8265.html\">Ana Beatriz Oliveira</a></p><p><b>authoredOn</b>: 2024-04-01</p><p><b>requester</b>: <a href=\"Practitioner-d3b61455-f432-48f0-b83b-ba825922d735.html\">Maria Clara</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Tomar 1 comprimido por via oral duas vezes ao dia</p><p><b>timing</b>: 2 por 1 day</p><p><b>route</b>: <span title=\"Códigos:{http://standardterms.edqm.eu 20053000}\">Oral use</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>850 mg<span style=\"background: LightGoldenRodYellow\"> (Detalhes: UCUM códigomg = 'mg')</span></td></tr></table></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>2024-04-01 --&gt; 2024-10-01</td><td>5</td><td>180 comprimidos</td></tr></table></div>"
  ] ;
  fhir:MedicationRequest.status [ fhir:value "active"] ;
  fhir:MedicationRequest.intent [ fhir:value "order"] ;
  fhir:MedicationRequest.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
       fhir:Coding.code [ fhir:value "A10BA02" ] ;
       fhir:Coding.display [ fhir:value "metformin; oral" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Metformina 850mg" ]
  ] ;
  fhir:MedicationRequest.subject [
     fhir:link <https://ips.saude.gov.br/fhir/Patient/b1997888-85fd-41b6-bf94-6242cf3c8265> ;
     fhir:Reference.reference [ fhir:value "Patient/b1997888-85fd-41b6-bf94-6242cf3c8265" ] ;
     fhir:Reference.display [ fhir:value "Ana Beatriz Oliveira" ]
  ] ;
  fhir:MedicationRequest.authoredOn [ fhir:value "2024-04-01"^^xsd:date] ;
  fhir:MedicationRequest.requester [
     fhir:link <https://ips.saude.gov.br/fhir/Practitioner/d3b61455-f432-48f0-b83b-ba825922d735> ;
     fhir:Reference.reference [ fhir:value "Practitioner/d3b61455-f432-48f0-b83b-ba825922d735" ] ;
     fhir:Reference.display [ fhir:value "Maria Clara" ]
  ] ;
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Tomar 1 comprimido por via oral duas vezes ao dia" ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "2"^^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 0 ;
         fhir:Coding.system [ fhir:value "http://standardterms.edqm.eu" ] ;
         fhir:Coding.code [ fhir:value "20053000" ] ;
         fhir:Coding.display [ fhir:value "Oral use" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "850"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "mg" ]
       ]
     ]
  ] ;
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.validityPeriod [
       fhir:Period.start [ fhir:value "2024-04-01"^^xsd:date ] ;
       fhir:Period.end [ fhir:value "2024-10-01"^^xsd:date ]
     ] ;
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "5"^^xsd:nonNegativeInteger ] ;
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "180"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "comprimidos" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://ips.saude.gov.br/fhir/MedicationRequest/f858d09c-4902-433f-92a7-45cca29c6fc9.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

