{
  "resourceType" : "Bundle",
  "id" : "TRxHubTransactionBundleExample",
  "meta" : {
    "profile" : ["https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-transaction-bundle"]
  },
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "urn:uuid:8f1c2f7a-0d2b-4a3e-9f5a-2b6c1d0e7a41",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "TRxHubPatientExample",
      "meta" : {
        "profile" : ["https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-patient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_TRxHubPatientExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient TRxHubPatientExample</b></p><a name=\"TRxHubPatientExample\"> </a><a name=\"hcTRxHubPatientExample\"> </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-trxhub-patient.html\">TRxHub Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Max Muster (official) Male, DoB: 1985-06-15</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"mailto:max.muster@example.ch\">max.muster@example.ch</a></li><li><a href=\"tel:+41791234567\">+41791234567</a></li><li>Musterstrasse 1 Zürich 8000 CH (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{urn:ietf:bcp:47 de}\">German</span> (preferred)</td></tr></table></div>"
      },
      "name" : [{
        "use" : "official",
        "family" : "Muster",
        "given" : ["Max"]
      }],
      "telecom" : [{
        "system" : "email",
        "value" : "max.muster@example.ch",
        "use" : "home"
      },
      {
        "system" : "phone",
        "value" : "+41791234567",
        "use" : "mobile"
      }],
      "gender" : "male",
      "birthDate" : "1985-06-15",
      "address" : [{
        "use" : "home",
        "line" : ["Musterstrasse 1"],
        "city" : "Zürich",
        "postalCode" : "8000",
        "country" : "CH"
      }],
      "communication" : [{
        "language" : {
          "coding" : [{
            "system" : "urn:ietf:bcp:47",
            "code" : "de"
          }]
        },
        "preferred" : true
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Patient"
    }
  },
  {
    "fullUrl" : "urn:uuid:3c9e2a41-6b8d-4f2a-9d3e-1a2b3c4d5e6f",
    "resource" : {
      "resourceType" : "Coverage",
      "id" : "TRxHubTransactionBundleExampleCoverage",
      "meta" : {
        "profile" : ["https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-coverage"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Coverage_TRxHubTransactionBundleExampleCoverage\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Coverage TRxHubTransactionBundleExampleCoverage</b></p><a name=\"TRxHubTransactionBundleExampleCoverage\"> </a><a name=\"hcTRxHubTransactionBundleExampleCoverage\"> </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-trxhub-coverage.html\">TRxHub Coverage</a></p></div><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-coverage-type self-pay}\">Self Pay</span></p><p><b>beneficiary</b>: <a href=\"Bundle-TRxHubTransactionBundleExample.html#urn-uuid-8f1c2f7a-0d2b-4a3e-9f5a-2b6c1d0e7a41\">Max Muster (official) Male, DoB: 1985-06-15</a></p><p><b>payor</b>: <a href=\"Bundle-TRxHubTransactionBundleExample.html#urn-uuid-8f1c2f7a-0d2b-4a3e-9f5a-2b6c1d0e7a41\">Max Muster (official) Male, DoB: 1985-06-15</a></p></div>"
      },
      "status" : "active",
      "type" : {
        "coding" : [{
          "system" : "https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-coverage-type",
          "code" : "self-pay"
        }]
      },
      "beneficiary" : {
        "reference" : "urn:uuid:8f1c2f7a-0d2b-4a3e-9f5a-2b6c1d0e7a41"
      },
      "payor" : [{
        "extension" : [{
          "url" : "https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-coverage-payor-role-extension",
          "valueCoding" : {
            "system" : "https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-coverage-payor-role",
            "code" : "self-pay"
          }
        }],
        "reference" : "urn:uuid:8f1c2f7a-0d2b-4a3e-9f5a-2b6c1d0e7a41"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Coverage"
    }
  }]
}