MediRecords FHIR Implementation Guide
1.4.1 - release


: Webhook Bundle for medicationrequest.created event - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "cf42da8e-edf5-49c4-bb1e-313b023bb616",
  "meta" : {
    "lastUpdated" : "2022-03-04T01:43:30Z"
  },
  "type" : "collection",
  "entry" : [
    {
      "fullUrl" : "urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "1e5cae20-85bf-11e8-b401-ffccd711ad9c",
        "meta" : {
          "lastUpdated" : "2021-10-11T01:43:30Z",
          "profile" : [
            🔗 "https://fhir.medirecords.com/StructureDefinition/mr-patient-core"
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </a><p><b>Generated Narrative: Patient</b><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </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\">Resource Patient &quot;1e5cae20-85bf-11e8-b401-ffccd711ad9c&quot; Updated &quot;2021-10-11 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-patient-core.html\">MR Patient</a></p></div><p><b>English As Second Language Indicator Extension</b>: false</p><p><b>Ethnicity</b>: Scottish <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-mr-patient-ethnicity-code.html\">MediRecords Patient Ethnicity CodeSystem</a>#155)</span></p><p><b>identifier</b>: Medicare Number/32788511952\u00a0(period:\u00a0(?) --&gt; 2025-02)</p><p><b>name</b>: Mila Grey (OFFICIAL), Mila, Don Mila(OLD)</p><p><b>telecom</b>: ph: 0410999999(MOBILE), <a href=\"mailto:mila.grey@xyz.com\">mila.grey@xyz.com</a></p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1990-11-29</p><p><b>address</b>: </p><ul><li>abc lane Sydney NSW 2000 AU (HOME)</li><li>12 MLK BLVD Tampa FL 33131 US (WORK)</li></ul><p><b>generalPractitioner</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></p><p><b>managingOrganization</b>: <a href=\"#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9)</a></p></div>"
        },
        "extension" : [
          {
            "url" : "https://fhir.medirecords.com/StructureDefinition/mr-eng-secondlang-ind-extn",
            "valueBoolean" : false
          },
          {
            "url" : "http://hl7.org.au/fhir/StructureDefinition/ethnicity",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "https://fhir.medirecords.com/CodeSystem/mr-patient-ethnicity-code",
                  "code" : "155",
                  "display" : "Scottish"
                }
              ]
            }
          }
        ],
        "identifier" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code" : "MC",
                  "display" : "Patient's Medicare Number"
                }
              ],
              "text" : "Medicare Number"
            },
            "system" : "http://ns.electronichealth.net.au/id/medicare-number",
            "value" : "32788511952",
            "period" : {
              "end" : "2025-02"
            }
          }
        ],
        "name" : [
          {
            "use" : "official",
            "family" : "Grey",
            "given" : [
              "Mila"
            ],
            "prefix" : [
              "Mrs"
            ]
          },
          {
            "use" : "usual",
            "text" : "Mila"
          },
          {
            "use" : "old",
            "text" : "Don Mila"
          }
        ],
        "telecom" : [
          {
            "system" : "phone",
            "value" : "0410999999",
            "use" : "mobile",
            "rank" : 1
          },
          {
            "system" : "email",
            "value" : "mila.grey@xyz.com",
            "use" : "home"
          }
        ],
        "gender" : "female",
        "birthDate" : "1990-11-29",
        "_birthDate" : {
          "extension" : [
            {
              "url" : "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator",
              "valueCoding" : {
                "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/date-accuracy-indicator-1",
                "code" : "AAA",
                "display" : "Day, month and year are accurate"
              }
            }
          ]
        },
        "address" : [
          {
            "extension" : [
              {
                "url" : "https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn",
                "valueBoolean" : true
              }
            ],
            "use" : "home",
            "type" : "physical",
            "line" : [
              "abc lane"
            ],
            "city" : "Sydney",
            "state" : "NSW",
            "postalCode" : "2000",
            "country" : "AU"
          },
          {
            "extension" : [
              {
                "url" : "https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn",
                "valueBoolean" : false
              }
            ],
            "use" : "work",
            "type" : "physical",
            "line" : [
              "12 MLK BLVD"
            ],
            "city" : "Tampa",
            "state" : "FL",
            "postalCode" : "33131",
            "country" : "US"
          }
        ],
        "generalPractitioner" : [
          {
            🔗 "reference" : "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"
          }
        ],
        "managingOrganization" : {
          🔗 "reference" : "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9"
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054",
      "resource" : {
        "resourceType" : "Practitioner",
        "id" : "6d6d7ce8-65c2-11e6-a20e-7b5deed40054",
        "meta" : {
          "profile" : [
            🔗 "https://fhir.medirecords.com/StructureDefinition/mr-practitioner-core"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </a><p><b>Generated Narrative: Practitioner</b><a name=\"6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </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\">Resource Practitioner &quot;6d6d7ce8-65c2-11e6-a20e-7b5deed40054&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-practitioner-core.html\">MR Practitioner</a></p></div><p><b>identifier</b>: HPI-I/8003610833334085</p><p><b>active</b>: true</p><p><b>name</b>: John Smith </p><p><b>telecom</b>: ph: 0410999888(MOBILE), <a href=\"mailto:john.smith@gpexample.com\">john.smith@gpexample.com</a>, ph: 0212450987(WORK)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1978-04-08</p><blockquote><p><b>qualification</b></p><p><b>code</b>: Doctor of Medicine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v2-0360.html\">degreeLicenseCertificate</a>#MD)</span></p></blockquote><blockquote><p><b>qualification</b></p><p><b>code</b>: MB chB(Hons) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote></div>"
        },
        "identifier" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code" : "NPI"
                }
              ],
              "text" : "HPI-I"
            },
            "system" : "http://ns.electronichealth.net.au/id/hi/hpii/1.0",
            "value" : "8003610833334085"
          }
        ],
        "active" : true,
        "name" : [
          {
            "use" : "usual",
            "family" : "Smith",
            "given" : [
              "John"
            ]
          }
        ],
        "telecom" : [
          {
            "system" : "phone",
            "value" : "0410999888",
            "use" : "mobile"
          },
          {
            "system" : "email",
            "value" : "john.smith@gpexample.com",
            "use" : "work"
          },
          {
            "system" : "phone",
            "value" : "0212450987",
            "use" : "work"
          }
        ],
        "gender" : "male",
        "birthDate" : "1978-04-08",
        "qualification" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v2-0360",
                  "code" : "MD",
                  "display" : "Doctor of Medicine"
                }
              ]
            }
          },
          {
            "code" : {
              "text" : "MB chB(Hons)"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "ade47c8c-9eed-11ea-a6fa-3f7e286deed9",
        "meta" : {
          "profile" : [
            🔗 "https://fhir.medirecords.com/StructureDefinition/mr-organisation-core"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </a><p><b>Generated Narrative: Organization</b><a name=\"ade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </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\">Resource Organization &quot;ade47c8c-9eed-11ea-a6fa-3f7e286deed9&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-organisation-core.html\">MR Organisation</a></p></div><p><b>identifier</b>: HPI-O/8003627500000328</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-organization-type.html\">Organization type</a>#prov)</span></p><p><b>name</b>: Healthy Live Clinic</p><p><b>telecom</b>: ph: 1234567890(WORK), <a href=\"mailto:sarahstone@c.com\">sarahstone@c.com</a></p><p><b>address</b>: Johnson Street Sydney NSW 1200 </p></div>"
        },
        "identifier" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                  "code" : "NOI",
                  "display" : "National Organisation Identifier"
                }
              ],
              "text" : "HPI-O"
            },
            "system" : "http://ns.electronichealth.net.au/id/hi/hpio/1.0",
            "value" : "8003627500000328"
          }
        ],
        "active" : true,
        "type" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
                "code" : "prov",
                "display" : "Healthcare Provider"
              }
            ]
          }
        ],
        "name" : "Healthy Live Clinic",
        "telecom" : [
          {
            "system" : "phone",
            "value" : "1234567890",
            "use" : "work"
          },
          {
            "system" : "email",
            "value" : "sarahstone@c.com",
            "use" : "work"
          }
        ],
        "address" : [
          {
            "type" : "physical",
            "line" : [
              "Johnson Street"
            ],
            "city" : "Sydney",
            "state" : "NSW",
            "postalCode" : "1200"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d",
      "resource" : {
        "resourceType" : "Encounter",
        "id" : "a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d",
        "meta" : {
          "lastUpdated" : "2021-10-25T01:43:30Z",
          "profile" : [
            🔗 "https://fhir.medirecords.com/StructureDefinition/mr-encounter-core"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d\"> </a><p><b>Generated Narrative: Encounter</b><a name=\"a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d\"> </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\">Resource Encounter &quot;a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d&quot; Updated &quot;2021-10-25 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-encounter-core.html\">MR Encounter</a></p></div><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')</p><p><b>subject</b>: <a href=\"#Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\">See above (Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c)</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td>primary performer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PPRF)</span></td><td><a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></td></tr></table><p><b>period</b>: 2021-10-25 01:43:30+0000 --&gt; 2021-10-25 02:21:30+0000</p><p><b>reasonCode</b>: unwellness <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>serviceProvider</b>: <a href=\"#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9)</a></p></div>"
        },
        "status" : "finished",
        "class" : {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "AMB",
          "display" : "ambulatory"
        },
        "subject" : {
          🔗 "reference" : "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"
        },
        "participant" : [
          {
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code" : "PPRF",
                    "display" : "primary performer"
                  }
                ]
              }
            ],
            "individual" : {
              🔗 "reference" : "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"
            }
          }
        ],
        "period" : {
          "start" : "2021-10-25T01:43:30Z",
          "end" : "2021-10-25T02:21:30Z"
        },
        "reasonCode" : [
          {
            "text" : "unwellness"
          }
        ],
        "serviceProvider" : {
          🔗 "reference" : "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9"
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:404b8a60-eb5d-425e-9f85-1e65e37e7e46",
      "resource" : {
        "resourceType" : "MedicationRequest",
        "id" : "404b8a60-eb5d-425e-9f85-1e65e37e7e46",
        "meta" : {
          "lastUpdated" : "2021-12-17T01:43:30Z",
          "profile" : [
            🔗 "https://fhir.medirecords.com/StructureDefinition/mr-medication-request"
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_404b8a60-eb5d-425e-9f85-1e65e37e7e46\"> </a><p><b>Generated Narrative: MedicationRequest</b><a name=\"404b8a60-eb5d-425e-9f85-1e65e37e7e46\"> </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\">Resource MedicationRequest &quot;404b8a60-eb5d-425e-9f85-1e65e37e7e46&quot; Updated &quot;2021-12-17 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-medication-request.html\">MR MedicationRequest</a></p></div><p><b>Prescription Approval Status Extension</b>: Approval Required (Details: https://fhir.medirecords.com/CodeSystem/mr-prescription-approval-status code pending = 'Approval Required', stated as 'Approval Required')</p><p><b>Prescription Type Extension</b>: Manual (Details: https://fhir.medirecords.com/CodeSystem/mr-prescription-type code 1 = 'Manual', stated as 'Manual')</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <a name=\"1\"> </a></p><blockquote><p/><p><a name=\"1\"> </a></p><p><b>Medication Strength</b>: 250 mg</p><p><b>Medication Generic Drug Name</b>: Clarithromycin</p><p><b>Medication Brand Name</b>: Klacid</p><p><b>MediRecords Medication Pack Size</b>: 100</p><p><b>code</b>: Klacid 250 mg Tablet, 100 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#13738011000036100)</span></p><p><b>form</b>: Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote><p><b>subject</b>: <a href=\"#Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\">See above (Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c)</a></p><p><b>encounter</b>: <a href=\"#Encounter_a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d\">See above (Encounter/a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d)</a></p><p><b>authoredOn</b>: 2021-12-17 01:43:30+0000</p><p><b>requester</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td><td><b>AdditionalInstruction</b></td><td><b>Timing</b></td><td><b>AsNeeded[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 Before Bed\nAfter meals\nAs directed</td><td>After meals <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#311504000 &quot;With or after food&quot;)</span></td><td>, before sleeping</td><td>false</td></tr></table><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>0</td><td>100</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>false</td></tr></table><hr/><blockquote><p><b>Generated Narrative: Medication #1</b><a name=\"1\"> </a></p><p><b>Medication Strength</b>: 250 mg</p><p><b>Medication Generic Drug Name</b>: Clarithromycin</p><p><b>Medication Brand Name</b>: Klacid</p><p><b>MediRecords Medication Pack Size</b>: 100</p><p><b>code</b>: Klacid 250 mg Tablet, 100 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#13738011000036100)</span></p><p><b>form</b>: Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote></div>"
        },
        "contained" : [
          {
            "resourceType" : "Medication",
            "id" : "1",
            "meta" : {
              "profile" : [
                🔗 "https://fhir.medirecords.com/StructureDefinition/mr-medication"
              ]
            },
            "extension" : [
              {
                "url" : "http://hl7.org.au/fhir/StructureDefinition/medication-strength",
                "valueString" : "250 mg"
              },
              {
                "url" : "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name",
                "valueString" : "Clarithromycin"
              },
              {
                "url" : "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name",
                "valueString" : "Klacid"
              },
              {
                "url" : "https://fhir.medirecords.com/StructureDefinition/mr-medication-pack-size",
                "valueString" : "100"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "13738011000036100",
                  "display" : "Klacid 250 mg Tablet, 100"
                }
              ]
            },
            "form" : {
              "text" : "Tablet"
            }
          }
        ],
        "extension" : [
          {
            "url" : "https://fhir.medirecords.com/StructureDefinition/mr-prescription-approval-status",
            "valueCoding" : {
              "system" : "https://fhir.medirecords.com/CodeSystem/mr-prescription-approval-status",
              "code" : "pending",
              "display" : "Approval Required"
            }
          },
          {
            "url" : "https://fhir.medirecords.com/StructureDefinition/mr-prescription-type",
            "valueCoding" : {
              "system" : "https://fhir.medirecords.com/CodeSystem/mr-prescription-type",
              "code" : "1",
              "display" : "Manual"
            }
          }
        ],
        "status" : "active",
        "intent" : "order",
        "medicationReference" : {
          "reference" : "#1"
        },
        "subject" : {
          🔗 "reference" : "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"
        },
        "encounter" : {
          🔗 "reference" : "Encounter/a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d"
        },
        "authoredOn" : "2021-12-17T01:43:30Z",
        "requester" : {
          🔗 "reference" : "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"
        },
        "dosageInstruction" : [
          {
            "text" : "1 Before Bed\nAfter meals\nAs directed",
            "additionalInstruction" : [
              {
                "coding" : [
                  {
                    "system" : "http://snomed.info/sct",
                    "code" : "311504000",
                    "display" : "With or after food"
                  }
                ],
                "text" : "After meals"
              }
            ],
            "timing" : {
              "repeat" : {
                "frequency" : 1,
                "period" : 1,
                "periodUnit" : "d",
                "when" : [
                  "HS"
                ]
              }
            },
            "asNeededBoolean" : false
          }
        ],
        "dispenseRequest" : {
          "numberOfRepeatsAllowed" : 0,
          "quantity" : {
            "value" : 100
          }
        },
        "substitution" : {
          "allowedBoolean" : false
        }
      }
    }
  ]
}