Implementation Guide (Release 2.1.0)

This page is part of the US-Medication FHIR IG (v1.2.0: STU 2) based on FHIR R3. This is the current published version. For a full list of available versions, see the Directory of published versions

JSON Format: Bundle-get-encounter-meds

Download Raw json

{
  "resourceType" : "Bundle",
  "id" : "get-encounter-meds",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2017-04-10T12:49:37.665-04:00"
  },
  "type" : "searchset",
  "total" : 6,
  "link" : [
    {
      "relation" : "self",
      "url" : "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement?patient=test2&context=A"
    }
  ],
  "entry" : [
    {
      "fullUrl" : "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-1",
      "resource" : {
        "resourceType" : "MedicationStatement",
        "id" : "derivedfrom-mr-enca-1",
        "meta" : {
          "versionId" : "3",
          "lastUpdated" : "2017-04-10T12:47:22.409-04:00"
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>id</b>: derivedfrom-mr-enca-1</p><p><b>meta</b>: </p><p><b>status</b>: completed</p><p><b>medication</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1656313}\">cefotaxime 1 GM Injection</span></p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span>; period: 2016-09-10 --&gt; 2016-09-12</a></p><p><b>effective</b>: 2016-09-10 --&gt; 2016-09-12</p><p><b>dateAsserted</b>: Apr 10, 2017 3:52:20 PM</p><p><b>informationSource</b>: <span>Provider B</span></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-1.html\">Generated Summary: id: enca-1; status: completed; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1656313}\">cefotaxime 1 GM Injection</span>; authoredOn: 2016-09-10; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>reasonCode</b>: <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span></p><p><b>dosage</b>: </p></div>"
        },
        "status" : "completed",
        "medicationCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code" : "1656313",
              "display" : "cefotaxime 1 GM Injection"
            }
          ],
          "text" : "cefotaxime 1 GM Injection"
        },
        "subject" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "context" : {
          "reference" : "Encounter/A",
          "display" : "Inpatient Encounter A"
        },
        "effectivePeriod" : {
          "start" : "2016-09-10",
          "end" : "2016-09-12"
        },
        "dateAsserted" : "2017-04-10T08:52:20.325-07:00",
        "informationSource" : {
          "display" : "Provider B"
        },
        "derivedFrom" : [
          {
            "reference" : "MedicationRequest/enca-1"
          }
        ],
        "reasonCode" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "233604007",
                "display" : "Pneumonia (disorder)"
              }
            ]
          }
        ],
        "dosage" : [
          {
            "sequence" : 1,
            "text" : "Cefatoxime 1gm intravenously every 6 hours",
            "timing" : {
              "event" : [
                "2016-09-10T08:52:20-07:00",
                "2016-09-10T08:52:20-07:00",
                "2016-09-10T14:52:20-07:00",
                "2016-09-10T20:20:20-07:00",
                "2016-09-11T02:02:20-07:00",
                "2016-09-11T08:45:20-07:00",
                "2016-09-11T14:15:20-07:00",
                "2016-09-11T20:15:20-07:00",
                "2016-09-12T02:15:20-07:00"
              ]
            },
            "asNeededBoolean" : false,
            "route" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "47625008",
                  "display" : "INTRAVENOUS use",
                  "userSelected" : false
                }
              ]
            },
            "method" : {
              "text" : "Slow Push"
            },
            "doseAndRate" : [
              {
                "doseQuantity" : {
                  "value" : 1000,
                  "unit" : "mg",
                  "system" : "http://unitsofmeasure.org",
                  "code" : "mg"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-2",
      "resource" : {
        "resourceType" : "MedicationStatement",
        "id" : "derivedfrom-mr-enca-2",
        "meta" : {
          "versionId" : "2",
          "lastUpdated" : "2017-04-10T12:47:42.113-04:00"
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>id</b>: derivedfrom-mr-enca-2</p><p><b>meta</b>: </p><p><b>status</b>: completed</p><p><b>medication</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 860092}\">ketorolac tromethamine 15 MG in 1 ML Injection</span></p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span>; period: 2016-09-10 --&gt; 2016-09-12</a></p><p><b>effective</b>: 2016-09-10 --&gt; 2016-09-12</p><p><b>dateAsserted</b>: Apr 10, 2017 3:54:15 PM</p><p><b>informationSource</b>: <span>Provider B</span></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-2.html\">Generated Summary: id: enca-2; status: completed; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 860092}\">ketorolac tromethamine 15 MG in 1 ML Injection</span>; authoredOn: 2016-09-10; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>reasonCode</b>: <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span></p><p><b>dosage</b>: </p></div>"
        },
        "status" : "completed",
        "medicationCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code" : "860092",
              "display" : "ketorolac tromethamine 15 MG in 1 ML Injection"
            }
          ],
          "text" : "ketorolac tromethamine 15 MG in 1 ML Injection"
        },
        "subject" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "context" : {
          "reference" : "Encounter/A",
          "display" : "Inpatient Encounter A"
        },
        "effectivePeriod" : {
          "start" : "2016-09-10",
          "end" : "2016-09-12"
        },
        "dateAsserted" : "2017-04-10T08:54:15.585-07:00",
        "informationSource" : {
          "display" : "Provider B"
        },
        "derivedFrom" : [
          {
            "reference" : "MedicationRequest/enca-2"
          }
        ],
        "reasonCode" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "233604007",
                "display" : "Pneumonia (disorder)"
              }
            ]
          }
        ],
        "dosage" : [
          {
            "sequence" : 1,
            "text" : "Cefatoxime 1gm intravenously every 6 hours",
            "timing" : {
              "event" : [
                "2016-09-10T08:52:20-07:00",
                "2016-09-10T08:52:20-07:00",
                "2016-09-10T14:52:20-07:00",
                "2016-09-10T20:20:20-07:00",
                "2016-09-11T02:02:20-07:00",
                "2016-09-11T08:45:20-07:00",
                "2016-09-11T14:15:20-07:00",
                "2016-09-11T20:15:20-07:00",
                "2016-09-12T02:15:20-07:00"
              ]
            },
            "asNeededBoolean" : false,
            "route" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "47625008",
                  "display" : "INTRAVENOUS use",
                  "userSelected" : false
                }
              ]
            },
            "method" : {
              "text" : "Slow Push"
            },
            "doseAndRate" : [
              {
                "doseQuantity" : {
                  "value" : 15,
                  "unit" : "mg",
                  "system" : "http://unitsofmeasure.org",
                  "code" : "mg"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-3",
      "resource" : {
        "resourceType" : "MedicationStatement",
        "id" : "derivedfrom-mr-enca-3",
        "meta" : {
          "versionId" : "2",
          "lastUpdated" : "2017-04-10T12:47:54.316-04:00"
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>id</b>: derivedfrom-mr-enca-3</p><p><b>meta</b>: </p><p><b>status</b>: completed</p><p><b>medication</b>: <a name=\"med-1\"> </a></p><blockquote><p><b>id</b>: med-1</p><p><b>meta</b>: </p><p><b>code</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1668240}\">Zithromax 500 MG Injection</span></p><blockquote><p><b>ingredient</b></p><p><b>item</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1668240}\">Zithromax (azithromycin) 500 MG Injection</span></p><p><b>isActive</b>: true</p><p><b>strength</b>: 500 mg/1 vial</p></blockquote><blockquote><p><b>ingredient</b></p><p><b>item</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 313002}\">Sodium Chloride 9 MG/ML Injectable Solution</span></p><p><b>isActive</b>: true</p><p><b>strength</b>: 250 mL/1 IV Bag</p></blockquote></blockquote><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span>; period: 2016-09-10 --&gt; 2016-09-12</a></p><p><b>effective</b>: 2016-09-10 --&gt; 2016-09-12</p><p><b>dateAsserted</b>: Apr 10, 2017 3:55:28 PM</p><p><b>informationSource</b>: <span>Provider B</span></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-3.html\">Generated Summary: id: enca-3; status: completed; intent: order; ?ngen-3; authoredOn: 2016-09-10; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>reasonCode</b>: <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span></p><p><b>dosage</b>: </p></div>"
        },
        "contained" : [
          {
            "resourceType" : "Medication",
            "id" : "med-1",
            "meta" : {
              "profile" : [
                "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"
              ]
            },
            "code" : {
              "coding" : [
                {
                  "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
                  "code" : "1668240",
                  "display" : "Zithromax 500 MG Injection"
                }
              ],
              "text" : "Zithromax 500 MG Injection"
            },
            "ingredient" : [
              {
                "itemCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
                      "code" : "1668240",
                      "display" : "Zithromax 500 MG Injection"
                    }
                  ],
                  "text" : "Zithromax (azithromycin) 500 MG Injection"
                },
                "isActive" : true,
                "strength" : {
                  "numerator" : {
                    "value" : 500,
                    "unit" : "mg",
                    "system" : "http://unitsofmeasure.org",
                    "code" : "mg"
                  },
                  "denominator" : {
                    "value" : 1,
                    "unit" : "vial",
                    "system" : "http://unitsofmeasure.org",
                    "code" : "{vial}"
                  }
                }
              },
              {
                "itemCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
                      "code" : "313002",
                      "display" : "Sodium Chloride 9 MG/ML Injectable Solution"
                    }
                  ],
                  "text" : "Sodium Chloride 9 MG/ML Injectable Solution"
                },
                "isActive" : true,
                "strength" : {
                  "numerator" : {
                    "value" : 250,
                    "unit" : "mL",
                    "system" : "http://unitsofmeasure.org",
                    "code" : "mL"
                  },
                  "denominator" : {
                    "value" : 1,
                    "unit" : "IV Bag",
                    "system" : "http://unitsofmeasure.org",
                    "code" : "{IV Bag}"
                  }
                }
              }
            ]
          }
        ],
        "status" : "completed",
        "medicationReference" : {
          "reference" : "#med-1"
        },
        "subject" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "context" : {
          "reference" : "Encounter/A",
          "display" : "Inpatient Encounter A"
        },
        "effectivePeriod" : {
          "start" : "2016-09-10",
          "end" : "2016-09-12"
        },
        "dateAsserted" : "2017-04-10T08:55:28.557-07:00",
        "informationSource" : {
          "display" : "Provider B"
        },
        "derivedFrom" : [
          {
            "reference" : "MedicationRequest/enca-3"
          }
        ],
        "reasonCode" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "233604007",
                "display" : "Pneumonia (disorder)"
              }
            ]
          }
        ],
        "dosage" : [
          {
            "sequence" : 1,
            "text" : "Azithromycin 500mg in 250 ml Normal Saline intravenously over 1hour every 24 hours",
            "timing" : {
              "event" : [
                "2016-09-10T08:52:20-07:00",
                "2016-09-11T08:52:20-07:00"
              ]
            },
            "asNeededBoolean" : false,
            "route" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "47625008",
                  "display" : "INTRAVENOUS use",
                  "userSelected" : false
                }
              ]
            },
            "method" : {
              "text" : "I hr infusion"
            },
            "doseAndRate" : [
              {
                "doseQuantity" : {
                  "value" : 500,
                  "unit" : "mg",
                  "system" : "http://unitsofmeasure.org",
                  "code" : "mg"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-4",
      "resource" : {
        "resourceType" : "MedicationStatement",
        "id" : "derivedfrom-mr-enca-4",
        "meta" : {
          "versionId" : "2",
          "lastUpdated" : "2017-04-10T12:48:03.114-04:00"
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>id</b>: derivedfrom-mr-enca-4</p><p><b>meta</b>: </p><p><b>status</b>: completed</p><p><b>medication</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 847626}\">Potassium Chloride 20 MEQ/L in Lactated Ringers Solution with Dextrose 5 % Injectable Solution</span></p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span>; period: 2016-09-10 --&gt; 2016-09-12</a></p><p><b>effective</b>: 2016-09-10 --&gt; 2016-09-12</p><p><b>dateAsserted</b>: Apr 10, 2017 3:56:13 PM</p><p><b>informationSource</b>: <span>Provider B</span></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-4.html\">Generated Summary: id: enca-4; status: completed; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 847626}\">Potassium Chloride 20 MEQ/L in Lactated Ringers Solution with Dextrose 5 % Injectable Solution</span>; authoredOn: 2016-09-10; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>reasonCode</b>: <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span></p><p><b>dosage</b>: </p></div>"
        },
        "status" : "completed",
        "medicationCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code" : "847626",
              "display" : "Potassium Chloride 20 MEQ/L in Lactated Ringers Solution with Dextrose 5 % Injectable Solution"
            }
          ],
          "text" : "Potassium Chloride 20 MEQ/L in Lactated Ringers Solution with Dextrose 5 % Injectable Solution"
        },
        "subject" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "context" : {
          "reference" : "Encounter/A",
          "display" : "Inpatient Encounter A"
        },
        "effectivePeriod" : {
          "start" : "2016-09-10",
          "end" : "2016-09-12"
        },
        "dateAsserted" : "2017-04-10T08:56:13.229-07:00",
        "informationSource" : {
          "display" : "Provider B"
        },
        "derivedFrom" : [
          {
            "reference" : "MedicationRequest/enca-4"
          }
        ],
        "reasonCode" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "233604007",
                "display" : "Pneumonia (disorder)"
              }
            ]
          }
        ],
        "dosage" : [
          {
            "sequence" : 1,
            "text" : "LRS IV at 250 ml/hr",
            "asNeededBoolean" : false,
            "route" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "47625008",
                  "display" : "INTRAVENOUS use",
                  "userSelected" : false
                }
              ]
            },
            "method" : {
              "text" : "Constant Rate Infusion"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-5",
      "resource" : {
        "resourceType" : "MedicationStatement",
        "id" : "derivedfrom-mr-enca-5",
        "meta" : {
          "versionId" : "2",
          "lastUpdated" : "2017-04-10T12:48:11.192-04:00"
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>id</b>: derivedfrom-mr-enca-5</p><p><b>meta</b>: </p><p><b>status</b>: active</p><p><b>medication</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 212446}\">Zithromax 500 MG Oral Tablet</span></p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span>; period: 2016-09-10 --&gt; 2016-09-12</a></p><p><b>effective</b>: 2016-09-12 --&gt; 2016-09-22</p><p><b>dateAsserted</b>: Apr 10, 2017 3:56:49 PM</p><p><b>informationSource</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-5.html\">Generated Summary: id: enca-5; status: active; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 212446}\">Zithromax 500 MG Oral Tablet</span>; authoredOn: 2016-09-12; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>reasonCode</b>: <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span></p><p><b>dosage</b>: </p></div>"
        },
        "status" : "active",
        "medicationCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code" : "212446",
              "display" : "Zithromax 250 MG Oral Tablet"
            }
          ],
          "text" : "Zithromax 500 MG Oral Tablet"
        },
        "subject" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "context" : {
          "reference" : "Encounter/A",
          "display" : "Inpatient Encounter A"
        },
        "effectivePeriod" : {
          "start" : "2016-09-12",
          "end" : "2016-09-22"
        },
        "dateAsserted" : "2017-04-10T08:56:49.038-07:00",
        "informationSource" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "derivedFrom" : [
          {
            "reference" : "MedicationRequest/enca-5"
          }
        ],
        "reasonCode" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "233604007",
                "display" : "Pneumonia (disorder)"
              }
            ]
          }
        ],
        "dosage" : [
          {
            "sequence" : 1,
            "text" : "Zithromax (azithromycin) 250mg by mouth every 12 hours for 10 days",
            "additionalInstruction" : [
              {
                "coding" : [
                  {
                    "system" : "http://snomed.info/sct",
                    "code" : "311504000",
                    "display" : "With or after food"
                  }
                ]
              }
            ],
            "timing" : {
              "repeat" : {
                "frequency" : 1,
                "period" : 12,
                "periodUnit" : "h"
              }
            },
            "route" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "26643006",
                  "display" : "Oral use",
                  "userSelected" : false
                }
              ]
            },
            "doseAndRate" : [
              {
                "doseQuantity" : {
                  "value" : 1,
                  "unit" : "TAB",
                  "system" : "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
                  "code" : "TAB"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-6",
      "resource" : {
        "resourceType" : "MedicationStatement",
        "id" : "derivedfrom-mr-enca-6",
        "meta" : {
          "versionId" : "2",
          "lastUpdated" : "2017-04-10T12:48:18.411-04:00"
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>id</b>: derivedfrom-mr-enca-6</p><p><b>meta</b>: </p><p><b>status</b>: active</p><p><b>medication</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 308191}\">Amoxicillin 500 MG</span></p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span>; period: 2016-09-10 --&gt; 2016-09-12</a></p><p><b>effective</b>: 2016-09-12 --&gt; (ongoing)</p><p><b>dateAsserted</b>: Apr 10, 2017 3:57:19 PM</p><p><b>informationSource</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number: 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 1964-01-05</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-6.html\">Generated Summary: id: enca-6; status: active; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 308191}\">Amoxicillin 500 MG</span>; authoredOn: 2016-09-12; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>reasonCode</b>: <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span></p><p><b>dosage</b>: </p></div>"
        },
        "status" : "active",
        "medicationCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code" : "308191",
              "display" : "Amoxicillin 500 MG Oral Capsule"
            }
          ],
          "text" : "Amoxicillin 500 MG"
        },
        "subject" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "context" : {
          "reference" : "Encounter/A",
          "display" : "Inpatient Encounter A"
        },
        "effectivePeriod" : {
          "start" : "2016-09-12"
        },
        "dateAsserted" : "2017-04-10T08:57:19.412-07:00",
        "informationSource" : {
          "reference" : "Patient/test2",
          "display" : "Brian Z"
        },
        "derivedFrom" : [
          {
            "reference" : "MedicationRequest/enca-6"
          }
        ],
        "reasonCode" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "233604007",
                "display" : "Pneumonia (disorder)"
              }
            ]
          }
        ],
        "dosage" : [
          {
            "sequence" : 1,
            "text" : "Amoxicillin 500mg by mouth every 6 hours for 10 days",
            "additionalInstruction" : [
              {
                "coding" : [
                  {
                    "system" : "http://snomed.info/sct",
                    "code" : "311504000",
                    "display" : "With or after food"
                  }
                ]
              }
            ],
            "timing" : {
              "repeat" : {
                "frequency" : 1,
                "period" : 6,
                "periodUnit" : "h"
              }
            },
            "route" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "26643006",
                  "display" : "Oral use",
                  "userSelected" : false
                }
              ]
            },
            "doseAndRate" : [
              {
                "doseQuantity" : {
                  "value" : 1,
                  "unit" : "Oral Capsule",
                  "system" : "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
                  "code" : "ORCAP"
                }
              }
            ]
          }
        ]
      }
    }
  ]
}