{
  "resourceType" : "Parameters",
  "id" : "smp-history-output-parameters-1",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-response"]
  },
  "parameter" : [{
    "name" : "smp-medication-data",
    "resource" : {
      "resourceType" : "Bundle",
      "id" : "smp-parameters-response-1",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle"]
      },
      "type" : "collection",
      "entry" : [{
        "fullUrl" : "urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084",
        "resource" : {
          "resourceType" : "List",
          "id" : "smp-medlist-1",
          "meta" : {
            "profile" : ["http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list"]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">A hospital medication administration list for a patient</div>"
          },
          "status" : "current",
          "mode" : "working",
          "title" : "Hospital Medication Administration List",
          "code" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "104207-6"
            }]
          },
          "subject" : {
            "reference" : "Patient/example",
            "display" : "US Core Example Patient"
          },
          "date" : "2024-07-01",
          "source" : {
            "reference" : "Practitioner/practitioner-1"
          },
          "entry" : [{
            "date" : "2024-07-01",
            "item" : {
              "reference" : "urn:uuid:23ac0bc6-0959-4181-8af0-6db5e2ef8176"
            }
          }]
        }
      },
      {
        "fullUrl" : "urn:uuid:23ac0bc6-0959-4181-8af0-6db5e2ef8176",
        "resource" : {
          "resourceType" : "MedicationStatement",
          "id" : "smp-medstmt-bundle-1",
          "meta" : {
            "profile" : ["http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement"]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">A statement of an individual medication the patient is receiving</div>"
          },
          "status" : "active",
          "medicationCodeableConcept" : {
            "coding" : [{
              "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code" : "428759",
              "display" : "metformin 250 MG Oral Tablet"
            }]
          },
          "subject" : {
            "reference" : "Patient/example",
            "display" : "US Core Example Patient"
          },
          "effectiveDateTime" : "2024-06-01",
          "dateAsserted" : "2024-07-01",
          "reasonCode" : [{
            "coding" : [{
              "system" : "http://snomed.info/sct",
              "code" : "359642000",
              "display" : "Diabetes mellitus type 2 in nonobese (disorder)"
            }]
          }],
          "dosage" : [{
            "sequence" : 1,
            "text" : "po daily"
          }]
        }
      }]
    }
  }]
}