@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 -------------------------------------------------------------------

<http://digitalhealth.gov.au/fhir/hcpd/Endpoint/example-hcpd-endpoint-smd> a fhir:Endpoint ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-hcpd-endpoint-smd"] ; # 
  fhir:meta [
     fhir:source [ fhir:v "http://ns.electronichealth.net.au/id/source/pca"^^xsd:anyURI ] ;
     fhir:profile ( [
       fhir:v "http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint"^^xsd:anyURI ;
       fhir:link <http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Endpoint example-hcpd-endpoint-smd</b></p><a name=\"example-hcpd-endpoint-smd\"> </a><a name=\"hcexample-hcpd-endpoint-smd\"> </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\">Information Source: <a href=\"http://ns.electronichealth.net.au/id/source/pca\">http://ns.electronichealth.net.au/id/source/pca</a></p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-hcpd-endpoint.html\">HCPD Endpoint</a></p></div><p><b>Encryption Certificate PEM X509</b>: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURYVENDQWtXZ0F3SUJBZ0lKQU1mK0R6UjBWV...</p><p><b>identifier</b>: <code>http://ns.electronichealth.net.au/smd/target</code>/SMD001234567890, Organization Identifier/EP001234567890</p><p><b>status</b>: Active</p><p><b>connectionType</b>: endpoint-connection-type: secure-messaging (Secure Messaging)</p><p><b>name</b>: Sydney General Hospital SMD Endpoint</p><p><b>contact</b>: <a href=\"mailto:smd-support@sydneyhospital.org.au\">smd-support@sydneyhospital.org.au</a></p><p><b>payloadType</b>: <span title=\"Codes:{http://hl7.org.au/fhir/pd/CodeSystem/endpoint-payload-type http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706}\">HL7 V2.4 REF message (Level 2)</span></p><p><b>payloadMimeType</b>: application/pdf, application/fhir+xml, application/fhir+json</p><p><b>address</b>: <a href=\"https://smd.sydneyhospital.org.au/secure-messaging/endpoint\">https://smd.sydneyhospital.org.au/secure-messaging/endpoint</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURYVENDQWtXZ0F3SUJBZ0lKQU1mK0R6UjBWV..."
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://ns.electronichealth.net.au/smd/target"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "SMD001234567890" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "XX" ] ;
         fhir:display [ fhir:v "Organization Identifier" ]
       ] )
     ] ;
     fhir:system [ fhir:v "http://digitalhealth.gov.au/fhir/hcpd/id/hcpd-local-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "EP001234567890" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:connectionType [
     fhir:system [ fhir:v "http://terminology.hl7.org.au/CodeSystem/endpoint-connection-type"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "secure-messaging" ] ;
     fhir:display [ fhir:v "Secure Messaging" ]
  ] ; # 
  fhir:name [ fhir:v "Sydney General Hospital SMD Endpoint"] ; # 
  fhir:contact ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "smd-support@sydneyhospital.org.au" ] ;
     fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:payloadType ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org.au/fhir/pd/CodeSystem/endpoint-payload-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706" ] ;
       fhir:display [ fhir:v "HL7 V2.4 REF message (Level 2)" ]
     ] )
  ] ) ; # 
  fhir:payloadMimeType ( [ fhir:v "application/pdf"] [ fhir:v "application/fhir+xml"] [ fhir:v "application/fhir+json"] ) ; # 
  fhir:address [ fhir:v "https://smd.sydneyhospital.org.au/secure-messaging/endpoint"^^xsd:anyURI] . # 

# -------------------------------------------------------------------------------------

