@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://hl7.org.au/fhir/pd/Endpoint/example1> a fhir:Endpoint ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.au/fhir/pd/StructureDefinition/au-pd-sm-endpoint"^^xsd:anyURI ;
       fhir:link <http://hl7.org.au/fhir/pd/StructureDefinition/au-pd-sm-endpoint>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <b>Medical Objects Test Secure Messaging Endpoint</b>\n      <hr/>\n      <span style=\"color: gray;\">Work - Email:</span> jared@example.org\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility"^^xsd:anyURI ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "namespace-id"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "Buderim Medical Center"
       ]
     ] [
       fhir:url [ fhir:v "universal-id"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "877F9695-1298-4E6A-B432-0FDD46AD80B8"
       ]
     ] [
       fhir:url [ fhir:v "universal-id-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "GUID"
       ]
     ] )
  ] [
     fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication"^^xsd:anyURI ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "namespace-id"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "Equator"
       ]
     ] [
       fhir:url [ fhir:v "universal-id"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "Equator:3.1.4"
       ]
     ] [
       fhir:url [ fhir:v "universal-id-type"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "L"
       ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://ns.electronichealth.net.au/smd/target"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "http://ns.medicalobjects.com.au/smd/id/hostname/999999999XYZ" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:connectionType [
     fhir:system [ fhir:v "http://hl7.org.au/fhir/CodeSystem/smd-interfaces"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "http://ns.electronichealth.net.au/smd/intf/SealedMessageDelivery/TLS/2010" ]
  ] ; # 
  fhir:name [ fhir:v "Medical Objects Test Secure Messaging Endpoint"] ; # 
  fhir:managingOrganization [
     fhir:display [ fhir:v "Medical Objects" ]
  ] ; # 
  fhir:contact ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "jared@example.org" ] ;
     fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:period [
     fhir:start [ fhir:v "2017-08-18"^^xsd:date ]
  ] ; # 
  fhir:payloadType ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org.au/fhir/CodeSystem/endpoint-payload-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org.au/fhir/CodeSystem/endpoint-payload-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "http://ns.electronichealth.net.au/ds/sc/deliver/hl7Mdm/2012" ]
     ] )
  ] ) ; # 
  fhir:payloadMimeType ( [ fhir:v "application/hl7-v2"] ) ; # 
  fhir:address [ fhir:v "https://smd-ep.test.medical-objects.com.au/smd/2010"^^xsd:anyURI] . # 

# -------------------------------------------------------------------------------------

