MediRecords FHIR Implementation Guide
1.4.1 - release


: Webhook Bundle for encounter.created event - JSON Representation

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "b8ac9c1a-a1f6-4f74-893f-ac6676329398",
  "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" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient 1e5cae20-85bf-11e8-b401-ffccd711ad9c</b></p><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </a><a name=\"hc1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </a><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9c-en-US\"> </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\">Last updated: 2021-10-11 01:43:30+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-patient-core.html\">MR Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Mila Female, DoB: 1990-11-29 ( Medicare Number:\u00a032788511952\u00a0(,\u00a0period:\u00a0(?) --&gt; 2025-02))</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>ph: 0410999999(Mobile)</li><li><a href=\"mailto:mila.grey@xyz.com\">mila.grey@xyz.com</a></li><li>abc lane Sydney NSW 2000 AU (home)</li><li>12 MLK BLVD Tampa FL 33131 US (work)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>General Practitioner: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner John Smith </a></li><li>Managing Organization: <a href=\"Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html\">Organization Healthy Live Clinic</a></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension applies to the Patient resource and is used to represent ethnic identity. This extension is to support the provision of healthcare services to patients with specific cultural identities. This extension provides further information about a person’s cultural values and practices which can be significant in determining service type, support required and possible needs.\"><a href=\"http://hl7.org.au/fhir/4.0.0/StructureDefinition-ethnicity.html\">Ethnicity</a></td><td colspan=\"3\"><span title=\"Codes:{https://fhir.medirecords.com/CodeSystem/mr-patient-ethnicity-code 155}\">Scottish</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extension to record if the patient in context uses English as the second language\"><a href=\"StructureDefinition-mr-eng-secondlang-ind-extn.html\">English As Second Language Indicator Extension</a></td><td colspan=\"3\">false</td></tr></table></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 class=\"res-header-id\"><b>Generated Narrative: Practitioner 6d6d7ce8-65c2-11e6-a20e-7b5deed40054</b></p><a name=\"6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </a><a name=\"hc6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </a><a name=\"6d6d7ce8-65c2-11e6-a20e-7b5deed40054-en-US\"> </a><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>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0360 MD}\">Doctor of Medicine</span></p></blockquote><blockquote><p><b>qualification</b></p><p><b>code</b>: <span title=\"Codes:\">MB chB(Hons)</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 class=\"res-header-id\"><b>Generated Narrative: Organization ade47c8c-9eed-11ea-a6fa-3f7e286deed9</b></p><a name=\"ade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </a><a name=\"hcade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </a><a name=\"ade47c8c-9eed-11ea-a6fa-3f7e286deed9-en-US\"> </a><p><b>identifier</b>: HPI-O/8003627500000328</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type prov}\">Healthcare Provider</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 class=\"res-header-id\"><b>Generated Narrative: Encounter a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d</b></p><a name=\"a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d\"> </a><a name=\"hca01f4a6d-e102-4b1b-b08d-bfd4e1fe585d\"> </a><a name=\"a01f4a6d-e102-4b1b-b08d-bfd4e1fe585d-en-US\"> </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\">Last updated: 2021-10-25 01:43:30+0000</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>: <a href=\"http://terminology.hl7.org/6.2.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode AMB</a>: ambulatory</p><p><b>subject</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Mila Female, DoB: 1990-11-29 ( Medicare Number:\u00a032788511952\u00a0(,\u00a0period:\u00a0(?) --&gt; 2025-02))</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><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}\">primary performer</span></td><td><a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner John Smith </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>: <span title=\"Codes:\">unwellness</span></p><p><b>serviceProvider</b>: <a href=\"Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html\">Organization Healthy Live Clinic</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"
        }
      }
    }
  ]
}