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

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

## : SMSCommunicationExample - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Communication ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/CMSCommunication"^^xsd:anyURI ;
    fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/CMSCommunication>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir: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></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>identifier</b>: <code>https://api.messaging.digital.health.nz/SourceId</code>/#ebdb8d66-1390-42c7-89a6-a9a75d65d0e6 (use: usual, ), <code>https://api.messaging.digital.health.nz/CorrelationId</code>/#bdb8d66-1390-42c7-89a6-a9a75d65d0e6-001 (use: secondary, ), <code>https://api.messaging.digital.health.nz/MessageId</code>/#cb8d66-1390-42c7-89a6-a9a75d65d344 (use: secondary, ), <code>https://api.messaging.digital.health.nz/ProviderMessageId</code>/#cb8d66-1390-42c7-89a6-a9a75d65d333 (use: secondary, ), <code>https://api.messaging.digital.health.nz/ConsumerId</code>/#lb8d66-1390-42c7-89a6-a9a75d65d333 (use: secondary, )</p><p><b>basedOn</b>: <a href=\"CommunicationRequest-SMSCommunicationRequestWithTemplateExample.html\">CommunicationRequest: extension = ,,,https://example.com/callback; identifier = https://api.messaging.digital.health.nz/SourceId##ebdb8d66-1390-42c7-89a6-a9a75d65d0e6 (use: usual, ),https://api.messaging.digital.health.nz/CorrelationId##bdb8d66-1390-42c7-89a6-a9a75d65d0e6-001 (use: secondary, ),https://api.messaging.digital.health.nz/MessageId##cb8d66-1390-42c7-89a6-a9a75d65d344 (use: secondary, ),https://api.messaging.digital.health.nz/ProviderMessageId##cb8d66-1390-42c7-89a6-a9a75d65d333 (use: secondary, ),https://api.messaging.digital.health.nz/ConsumerId##lb8d66-1390-42c7-89a6-a9a75d65d333 (use: secondary, ); 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 (use: official, ))</p><h3>Payloads</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Content[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain: IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4=</td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [ fhir:v "toContactPoint"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:ContactPoint ;
    fhir:system [ fhir:v "sms" ] ;
    fhir:value [ fhir:v "0221234567" ]       ]     ] [
    fhir:url [ fhir:v "fromContactPoint"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:ContactPoint ;
    fhir:system [ fhir:v "sms" ] ;
    fhir:value [ fhir:v "1234" ]       ]     ] ) ;
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/hnz-contact-point-extension"^^xsd:anyURI ]
      ] [
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/hnz-status-date-time-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:dateTime ;
    fhir:v "2024-08-20T14:35:00Z"^^xsd:dateTime     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:use [ fhir:v "usual" ] ;
    fhir:system [ fhir:v "https://api.messaging.digital.health.nz/SourceId"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "#ebdb8d66-1390-42c7-89a6-a9a75d65d0e6" ]
      ] [
    fhir:use [ fhir:v "secondary" ] ;
    fhir:system [ fhir:v "https://api.messaging.digital.health.nz/CorrelationId"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "#bdb8d66-1390-42c7-89a6-a9a75d65d0e6-001" ]
      ] [
    fhir:use [ fhir:v "secondary" ] ;
    fhir:system [ fhir:v "https://api.messaging.digital.health.nz/MessageId"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "#cb8d66-1390-42c7-89a6-a9a75d65d344" ]
      ] [
    fhir:use [ fhir:v "secondary" ] ;
    fhir:system [ fhir:v "https://api.messaging.digital.health.nz/ProviderMessageId"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "#cb8d66-1390-42c7-89a6-a9a75d65d333" ]
      ] [
    fhir:use [ fhir:v "secondary" ] ;
    fhir:system [ fhir:v "https://api.messaging.digital.health.nz/ConsumerId"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "#lb8d66-1390-42c7-89a6-a9a75d65d333" ]
      ] ) ; #
      fhir:basedOn ( [
    fhir:reference [ fhir:v "CommunicationRequest/SMSCommunicationRequestWithTemplateExample" ]
      ] ) ; #
      fhir:status [ fhir:v "completed"] ; #
      fhir:statusReason [
        ( fhir:coding [
    fhir:system [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/CodeSystem/hnz-communication-delivery-status-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "sent" ]     ] )
      ] ; #
      fhir:medium ( [
        ( fhir:coding [
    fhir:system [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/CodeSystem/hnz-participation-mode-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "SMSWRIT" ]     ] )
      ] ) ; #
      fhir:sent [ fhir:v "2024-08-20T14:30:00Z"^^xsd:dateTime] ; #
      fhir:received [ fhir:v "2024-08-20T14:35:00Z"^^xsd:dateTime] ; #
      fhir:sender [
    fhir:type [ fhir:v "Device"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:use [ fhir:v "official" ] ;
    fhir:system [ fhir:v "https://hub.services.digital.health.nz/ns/hip-application-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "56789" ]     ] ;
    fhir:display [ fhir:v "BSA" ]
      ] ; #
      fhir:payload ( [
    fhir:content [
    a fhir:Attachment ;
    fhir:id [ fhir:v "message-body" ] ;
    fhir:contentType [ fhir:v "text/plain" ] ;
    fhir:language [ fhir:v "en-nz" ] ;
    fhir:data [ fhir:v "IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4="^^xsd:base64Binary ] ;
    fhir:title [ fhir:v "Payload" ] ;
    fhir:creation [ fhir:v "2023-08-01T09:35:00+11:00"^^xsd:dateTime ]     ]
      ] ) . #