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

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

: SMSCommunicationRequestWithTemplateExample - 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 SMSCommunicationRequestWithTemplateExample</b></p><a name=\"SMSCommunicationRequestWithTemplateExample\"> </a><a name=\"hcSMSCommunicationRequestWithTemplateExample\"> </a><a name=\"SMSCommunicationRequestWithTemplateExample-en-NZ\"> </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: 0221234567</li><li>fromContactPoint: 1234</li></ul></blockquote><blockquote><p><b>For sms reply</b></p><ul><li>replyUrl: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@3.0.0&amp;canonical=https://example.com/webhook\">https://example.com/webhook</a></li><li>replyBoolean: true</li></ul></blockquote><p><b>Callback Url</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@3.0.0&amp;canonical=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>/#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>status</b>: Unknown</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><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>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 "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:extension [
fhir:url [ fhir:v "replyUrl"^^xsd:anyURI ] ;
fhir:value [
a fhir:url ;
fhir:v "https://example.com/webhook"^^xsd:anyURI       ]     ] [
fhir:url [ fhir:v "replyBoolean"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true       ]     ] ) ;
fhir:url [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/hnz-system-reply-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 "#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: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 "SMSWRIT" ]     ] )
  ] ) ; # 
  fhir:payload ( [
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: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" ]
  ] . #