Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.5 - release NZ

Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: SMSCommunicationExample - JSON Representation

Raw json | Download

{
  "resourceType" : "Communication",
  "meta" : {
    "profile" : [
      🔗 "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/CMSCommunication"
    ],
    "tag" : [
      {
        "system" : "https://hub.services.digital.health.nz/ns/correlation-id",
        "code" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      }
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Communication SMSCommunicationExample</b></p><a name=\"SMSCommunicationExample\"> </a><a name=\"hcSMSCommunicationExample\"> </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-CMSCommunication.html\">CMS Communication</a></p><p style=\"margin-bottom: 0px\">Tag: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (Details: correlation-id code xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)</p></div><blockquote><p><b>Send to and from communication to contact points</b></p><ul><li>toContactPoint: 0221234567</li><li>fromContactPoint: 1234</li></ul></blockquote><p><b>Status DateTime</b>: 2024-08-20 14:35:00+0000</p><p><b>basedOn</b>: <a href=\"CommunicationRequest-SMSCommunicationRequestWithTemplateExample.html\">CommunicationRequest: extension = ,,,https://example.com/callback; status = unknown; medium = SMS message; authoredOn = 2024-08-20 14:30:00+0000</a></p><p><b>status</b>: Completed</p><p><b>statusReason</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/shared-care/CodeSystem/hnz-communication-delivery-status-codes sent}\">Sent</span></p><p><b>medium</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/shared-care/CodeSystem/hnz-participation-mode-codes SMSWRIT}\">SMS message</span></p><p><b>sent</b>: 2024-08-20 14:30:00+0000</p><p><b>received</b>: 2024-08-20 14:35:00+0000</p><p><b>sender</b>: BSA (Identifier: <code>https://hub.services.digital.health.nz/ns/hip-application-id</code>/56789\u00a0(use:\u00a0official,\u00a0))</p><h3>Payloads</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>Content[x]</b></td></tr><tr><td style=\"display: none\">*</td><td/><td>text/plain: IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4=</td></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "toContactPoint",
          "valueContactPoint" : {
            "system" : "sms",
            "value" : "0221234567"
          }
        },
        {
          "url" : "fromContactPoint",
          "valueContactPoint" : {
            "system" : "sms",
            "value" : "1234"
          }
        }
      ],
      "url" : "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/hnz-contact-point-extension"
    },
    {
      "url" : "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/hnz-status-date-time-extension",
      "valueDateTime" : "2024-08-20T14:35:00Z"
    }
  ],
  "basedOn" : [
    {
      🔗 "reference" : "CommunicationRequest/SMSCommunicationRequestWithTemplateExample"
    }
  ],
  "status" : "completed",
  "statusReason" : {
    "coding" : [
      {
        "system" : "https://fhir-ig.digital.health.nz/shared-care/CodeSystem/hnz-communication-delivery-status-codes",
        "code" : "sent"
      }
    ]
  },
  "medium" : [
    {
      "coding" : [
        {
          "system" : "https://fhir-ig.digital.health.nz/shared-care/CodeSystem/hnz-participation-mode-codes",
          "code" : "SMSWRIT"
        }
      ]
    }
  ],
  "sent" : "2024-08-20T14:30:00Z",
  "received" : "2024-08-20T14:35:00Z",
  "sender" : {
    "type" : "Device",
    "identifier" : {
      "use" : "official",
      "system" : "https://hub.services.digital.health.nz/ns/hip-application-id",
      "value" : "56789"
    },
    "display" : "BSA"
  },
  "payload" : [
    {
      "extension" : [
        {
          "url" : "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/cms-payload-type-extension",
          "valueCode" : "body"
        }
      ],
      "contentAttachment" : {
        "contentType" : "text/plain",
        "language" : "en-nz",
        "data" : "IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4=",
        "title" : "Payload",
        "creation" : "2023-08-01T09:35:00+11:00"
      }
    }
  ]
}