{
  "resourceType" : "MedicationRequest",
  "id" : "ie-rx-sean-at-atorvastatin80",
  "meta" : {
    "profile" : ["https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medicationrequest-eprescription"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest ie-rx-sean-at-atorvastatin80</b></p><a name=\"ie-rx-sean-at-atorvastatin80\"> </a><a name=\"hcie-rx-sean-at-atorvastatin80\"> </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-ie-mpd-medicationrequest-eprescription.html\">IE MPD MedicationRequest (ePrescription)</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-ie-mpd-ns-neps.html\" title=\"PLACEHOLDER URI, pending a URI published by the issuing authority (Requires Clarification, IE Core OI-003). HIQA EP 3.1: the NePS electronic prescription (group) identifier used throughout the prescription and dispensation life cycle.\">IEMpdNamingSystemNePSPrescription</a>/PCRS-RX-2025-IE-AT-001, <code>http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier</code>/IE/AT/1234567T</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category community}\">Community</span></p><p><b>medication</b>: <a href=\"Medication-ie-medication-atorvastatin-80.html\">Medication Atorvastatin 80 mg oral tablet</a></p><p><b>subject</b>: <a href=\"Patient-ie-mpd-patient-sean-murphy.html\">Seán Murphy</a></p><p><b>authoredOn</b>: 2025-07-10</p><p><b>requester</b>: <a href=\"Practitioner-ie-mpd-practitioner-aoife-obrien.html\">Dr. Aoife O'Brien</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 13644009}\">Hypercholesterolemia</span></p><p><b>groupIdentifier</b>: <a href=\"NamingSystem-ie-mpd-ns-neps.html\" title=\"PLACEHOLDER URI, pending a URI published by the issuing authority (Requires Clarification, IE Core OI-003). HIQA EP 3.1: the NePS electronic prescription (group) identifier used throughout the prescription and dispensation life cycle.\">IEMpdNamingSystemNePSPrescription</a>/IE-GP-RX-GROUP-20250715-AT</p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td><td><b>Timing</b></td><td><b>Route</b></td></tr><tr><td style=\"display: none\">*</td><td>Take one 80mg tablet once daily at night</td><td>at dinner, Once per 1 day</td><td><span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></td></tr></table><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ValidityPeriod</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>2025-07-10 --&gt; 2025-10-10</td><td>28 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: SNOMED CT  code732936001 = 'Tablet')</span></td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>true</td></tr></table></div>"
  },
  "identifier" : [{
    "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps",
    "value" : "PCRS-RX-2025-IE-AT-001"
  },
  {
    "system" : "http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier",
    "value" : "IE/AT/1234567T"
  }],
  "status" : "active",
  "intent" : "order",
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
      "code" : "community",
      "display" : "Community"
    }]
  }],
  "medicationReference" : {
    "reference" : "Medication/ie-medication-atorvastatin-80"
  },
  "subject" : {
    "reference" : "Patient/ie-mpd-patient-sean-murphy",
    "display" : "Seán Murphy"
  },
  "authoredOn" : "2025-07-10",
  "requester" : {
    "reference" : "Practitioner/ie-mpd-practitioner-aoife-obrien",
    "display" : "Dr. Aoife O'Brien"
  },
  "reasonCode" : [{
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "version" : "http://snomed.info/sct/1601000220105",
      "code" : "13644009",
      "display" : "Hypercholesterolemia"
    }]
  }],
  "groupIdentifier" : {
    "system" : "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/neps",
    "value" : "IE-GP-RX-GROUP-20250715-AT"
  },
  "dosageInstruction" : [{
    "text" : "Take one 80mg tablet once daily at night",
    "timing" : {
      "repeat" : {
        "frequency" : 1,
        "period" : 1,
        "periodUnit" : "d",
        "when" : ["CV"]
      }
    },
    "route" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "version" : "http://snomed.info/sct/1601000220105",
        "code" : "26643006",
        "display" : "Oral route"
      }]
    }
  }],
  "dispenseRequest" : {
    "validityPeriod" : {
      "start" : "2025-07-10",
      "end" : "2025-10-10"
    },
    "quantity" : {
      "value" : 28,
      "unit" : "Tablet",
      "system" : "http://snomed.info/sct",
      "code" : "732936001"
    }
  },
  "substitution" : {
    "allowedBoolean" : true
  }
}