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

## : EmailCommunicationRequestWithTemplateExample - 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:CommunicationRequest ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/CMSCommunicationRequest"^^xsd:anyURI ;
    fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/CMSCommunicationRequest>     ] )
      ] ; #
      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: CommunicationRequest EmailCommunicationRequestWithTemplateExample</b></p><a name=\"EmailCommunicationRequestWithTemplateExample\"> </a><a name=\"hcEmailCommunicationRequestWithTemplateExample\"> </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-CMSCommunicationRequest.html\">CMS Communication Request</a></p></div><blockquote><p><b>Campaign details</b></p><ul><li>campaignCode: 2141acc05fdf4bc79070e472e69b17f6</li><li>campaignName: Measles_HealthCheck_Email_Journey_Sit_24_Feb</li></ul></blockquote><blockquote><p><b>Send to and from communication to contact points</b></p><ul><li>toContactPoint: <a href=\"mailto:totest@gmail.com\">totest@gmail.com</a></li><li>fromContactPoint: <a href=\"mailto:fromtest@gmail.com\">fromtest@gmail.com</a></li></ul></blockquote><p><b>Callback Url</b>: <a href=\"https://example.com/callback\">https://example.com/callback</a></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>/#jb8d66-1390-42c7-89a6-a9a75d65d344 (use: secondary, ), <code>https://api.messaging.digital.health.nz/ProviderMessageId</code>/#kb8d66-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>status</b>: Unknown</p><p><b>medium</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/shared-care/CodeSystem/hnz-participation-mode-codes EMAILWRIT}\">email</span></p><blockquote><p><b>payload</b></p><p><b>content</b>: </p></blockquote><blockquote><p><b>payload</b></p><p><b>content</b>: application/pdf: IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4=</p></blockquote><blockquote><p><b>payload</b></p><p><b>content</b>: application/pdf: IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4=</p></blockquote><blockquote><p><b>payload</b></p><p><b>content</b>: <a href=\"DocumentReference-EmailCommunicationTemplateExample.html\">Vaccination Appointment Reminder</a></p></blockquote><blockquote><p><b>payload</b></p><p><b>content</b>: application/json: eyAiUGF0aWVudE5hbWUiOiAiSm9obiBEb2UiLCAiQXBwb2ludG1lbnREYXRlIjogIjIwMjQtMTItMTMiLCAiQXBwb2ludG1lbnRUaW1lIjogIjEwOjAwIEFNIiwgIkNvbmZpcm1hdGlvbkRlYWRsaW5lIjogIjIwMjQtMTItMTAiIH0=</p></blockquote><p><b>occurrence</b>: 2024-08-20 14:30:00+0000</p><p><b>authoredOn</b>: 2024-08-20 14:30: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></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [ fhir:v "campaignCode"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "2141acc05fdf4bc79070e472e69b17f6"       ]     ] [
    fhir:url [ fhir:v "campaignName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Measles_HealthCheck_Email_Journey_Sit_24_Feb"       ]     ] ) ;
    fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/hnz-campaign-extension"^^xsd:anyURI ]
      ] [
        ( fhir:extension [
    fhir:url [ fhir:v "toContactPoint"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:ContactPoint ;
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "totest@gmail.com" ]       ]     ] [
    fhir:url [ fhir:v "fromContactPoint"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:ContactPoint ;
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "fromtest@gmail.com" ]       ]     ] ) ;
    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-system-callback-url-extension"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "https://example.com/callback"^^xsd:anyURI     ]
      ] ) ; #
      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 "#jb8d66-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 "#kb8d66-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:status [ fhir:v "unknown"] ; #
      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 "EMAILWRIT" ]     ] )
      ] ) ; #
      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:title [ fhir:v "Appointment Reminder" ] ;
    fhir:creation [ fhir:v "2023-08-01T09:35:00+11:00"^^xsd:dateTime ]     ]
      ] [
    fhir:content [
    a fhir:Attachment ;
    fhir:id [ fhir:v "attachment-file1" ] ;
    fhir:contentType [ fhir:v "application/pdf" ] ;
    fhir:data [ fhir:v "IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4="^^xsd:base64Binary ] ;
    fhir:title [ fhir:v "File1.pdf" ] ;
    fhir:creation [ fhir:v "2023-08-01T09:35:00+11:00"^^xsd:dateTime ]     ]
      ] [
    fhir:content [
    a fhir:Attachment ;
    fhir:id [ fhir:v "attachment-file2" ] ;
    fhir:contentType [ fhir:v "application/pdf" ] ;
    fhir:data [ fhir:v "IyBQYXRpZW50IEVuY291bnRlciBOb3RlcwoKIyMgMjAyMy0wOC0wMgoKLSBEaXNjdXNzZWQgY29uZGl0aW9uCi0gT3RhaW5lZCBjb25zZW50IAotIGV0Yy4="^^xsd:base64Binary ] ;
    fhir:title [ fhir:v "File2.pdf" ] ;
    fhir:creation [ fhir:v "2023-08-01T09:35:00+11:00"^^xsd:dateTime ]     ]
      ] [
    fhir:content [
    a fhir:Reference ;
    fhir:id [ fhir:v "message-template" ] ;
    fhir:reference [ fhir:v "DocumentReference/EmailCommunicationTemplateExample" ] ;
    fhir:display [ fhir:v "Vaccination Appointment Reminder" ]     ]
      ] [
    fhir:content [
    a fhir:Attachment ;
    fhir:id [ fhir:v "message-parameters" ] ;
    fhir:contentType [ fhir:v "application/json" ] ;
    fhir:data [ fhir:v "eyAiUGF0aWVudE5hbWUiOiAiSm9obiBEb2UiLCAiQXBwb2ludG1lbnREYXRlIjogIjIwMjQtMTItMTMiLCAiQXBwb2ludG1lbnRUaW1lIjogIjEwOjAwIEFNIiwgIkNvbmZpcm1hdGlvbkRlYWRsaW5lIjogIjIwMjQtMTItMTAiIH0="^^xsd:base64Binary ] ;
    fhir:creation [ fhir:v "2023-08-01T09:35:00+11:00"^^xsd:dateTime ]     ]
      ] ) ; #
      fhir:occurrence [
    a fhir:dateTime ;
    fhir:v "2024-08-20T14:30:00Z"^^xsd:dateTime
      ] ; #
      fhir:authoredOn [ fhir:v "2024-08-20T14:30: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" ]
      ] . #