MediRecords FHIR Implementation Guide
1.4.1 - release


: Webhook Bundle for document-reference.created event for DocumentReference In - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "ff5d5bb4-50fb-4e49-bd70-31643b5853e6",
  "meta" : {
    "lastUpdated" : "2022-04-04T01:45:30Z"
  },
  "type" : "collection",
  "entry" : [
    {
      "fullUrl" : "urn:uuid:b3e2c87b-02ec-4ce0-afd0-eede2d0b3204",
      "resource" : {
        "resourceType" : "DocumentReference",
        "id" : "b3e2c87b-02ec-4ce0-afd0-eede2d0b3204",
        "meta" : {
          "profile" : [
            🔗 "https://fhir.medirecords.com/StructureDefinition/mr-documentreference-in"
          ],
          "security" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
              "code" : "U",
              "display" : "Unrestricted"
            }
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_b3e2c87b-02ec-4ce0-afd0-eede2d0b3204\"> </a><p><b>Generated Narrative: DocumentReference</b><a name=\"b3e2c87b-02ec-4ce0-afd0-eede2d0b3204\"> </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 DocumentReference &quot;b3e2c87b-02ec-4ce0-afd0-eede2d0b3204&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-documentreference-in.html\">MR DocumentReference In</a></p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-Confidentiality http://terminology.hl7.org/CodeSystem/v3-Confidentiality}\">http://terminology.hl7.org/CodeSystem/v3-Confidentiality</span></p></div><p><b>MR DocumentReference Recipient Extension</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith)</a></p><p><b>MR DocumentReference Title Extension</b>: Greetings, Test Message</p><p><b>status</b>: current</p><p><b>docStatus</b>: final</p><p><b>type</b>: Referral note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#57133-1)</span></p><p><b>category</b>: Letter <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#51852-2)</span></p><p><b>subject</b>: <a href=\"#Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\">See above (Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c)</a></p><p><b>date</b>: Nov 17, 2021, 2:56:18 PM</p><p><b>author</b>: <span>: Allied Health External Clinic</span></p><p><b>authenticator</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith)</a></p><p><b>custodian</b>: <a href=\"#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9: Healthy Live Clinic)</a></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Size</b></td></tr><tr><td style=\"display: none\">*</td><td>0</td></tr></table></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Encounter</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#Encounter_1e5cae20-85bf-11e8-b401-ffccd711ad9g\">See above (Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g)</a></td></tr></table></div>"
        },
        "extension" : [
          {
            "url" : "https://fhir.medirecords.com/StructureDefinition/mr-document-ref-recipient-extn",
            "valueReference" : {
              🔗 "reference" : "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054",
              "display" : "Dr John Smith"
            }
          },
          {
            "url" : "https://fhir.medirecords.com/StructureDefinition/mr-document-ref-title-extn",
            "valueString" : "Greetings, Test Message"
          }
        ],
        "status" : "current",
        "docStatus" : "final",
        "type" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "57133-1",
              "display" : "Referral note"
            }
          ]
        },
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://loinc.org",
                "code" : "51852-2",
                "display" : "Letter"
              }
            ]
          }
        ],
        "subject" : {
          🔗 "reference" : "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"
        },
        "date" : "2021-11-17T14:56:18Z",
        "author" : [
          {
            "display" : "Allied Health External Clinic"
          }
        ],
        "authenticator" : {
          🔗 "reference" : "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054",
          "display" : "Dr John Smith"
        },
        "custodian" : {
          🔗 "reference" : "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9",
          "display" : "Healthy Live Clinic"
        },
        "content" : [
          {
            "attachment" : {
              "size" : 0
            }
          }
        ],
        "context" : {
          "encounter" : [
            {
              🔗 "reference" : "Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g"
            }
          ]
        }
      }
    },
    {
      "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: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), Patient external identifier/12345678H</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"
            }
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code" : "PT",
                  "display" : "Patient external identifier"
                }
              ]
            },
            "system" : "urn:uuid:88229aa3-20e8-491f-8e5a-3c5918850b93",
            "value" : "12345678H"
          }
        ],
        "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:ade47c8c-9eed-11ea-a6fa-3f7e286deed9",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "ade47c8c-9eed-11ea-a6fa-3f7e286deed9",
        "meta" : {
          "source" : "urn:uuid:736b6dd8-c989-11e5-a45e-9b49d42b14a9",
          "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\">Information Source: urn:uuid:736b6dd8-c989-11e5-a45e-9b49d42b14a9!</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 2000 </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" : "2000"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9g",
      "resource" : {
        "resourceType" : "Encounter",
        "id" : "1e5cae20-85bf-11e8-b401-ffccd711ad9g",
        "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_1e5cae20-85bf-11e8-b401-ffccd711ad9g\"> </a><p><b>Generated Narrative: Encounter</b><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9g\"> </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;1e5cae20-85bf-11e8-b401-ffccd711ad9g&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"
        }
      }
    }
  ]
}