Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Endpoint-example.ttl

Example Endpoint/example (Turtle)

Patient Administration Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification )

Example Endpoint

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

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

<http://hl7.org/fhir/Endpoint/example> a fhir:Endpoint;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			Health Intersections CarePlan Hub<br/>\n			CarePlans can be uploaded to/from this loccation\n		</div>"
  ];
  fhir:Endpoint.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://example.org/enpoint-identifier" ];
     fhir:Identifier.value [ fhir:value "epcp12" ]
  ];
  fhir:Endpoint.status [ fhir:value "active"];
  fhir:Endpoint.connectionType [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/endpoint-connection-type" ];
     fhir:Coding.code [ fhir:value "hl7-fhir-rest" ]
  ];
  fhir:Endpoint.name [ fhir:value "Health Intersections CarePlan Hub"];
  fhir:Endpoint.managingOrganization [
     fhir:link <http://hl7.org/fhir/Organization/hl7>;
     fhir:Reference.reference [ fhir:value "Organization/hl7" ]
  ];
  fhir:Endpoint.contact [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "endpointmanager@example.org" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:Endpoint.period [
     fhir:Period.start [ fhir:value "2014-09-01"^^xsd:date ]
  ];
  fhir:Endpoint.payloadType [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/resource-types" ];
       fhir:Coding.code [ fhir:value "CarePlan" ]
     ]
  ];
  fhir:Endpoint.payloadMimeType [
     fhir:value "application/fhir+xml";
     fhir:index 0
  ];
  fhir:Endpoint.address [ fhir:value "http://fhir3.healthintersections.com.au/open/CarePlan"];
  fhir:Endpoint.header [
     fhir:value "bearer-code BASGS534s4";
     fhir:index 0
  ] .

<http://hl7.org/fhir/Organization/hl7> a fhir:Organization .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Endpoint/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Endpoint/example.ttl> .

[a fhir:Endpoint ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			Health Intersections CarePlan Hub<br/>\n			CarePlans can be uploaded to/from this loccation\n		</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://example.org/enpoint-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "epcp12" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:connectionType ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/endpoint-connection-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "hl7-fhir-rest" ]
     ] )
  ] ) ; # 
  fhir:name [ fhir:v "Health Intersections CarePlan Hub"] ; # 
  fhir:description [ fhir:v "The CarePlan hub provides a test/dev environment for testing submissions"] ; # 
  fhir:environmentType ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/endpoint-environment"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "test" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/endpoint-environment"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "dev" ]
     ] )
  ] ) ; # 
  fhir:managingOrganization [
     fhir:reference [ fhir:v "Organization/hl7" ]
  ] ; # 
  fhir:contact ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "endpointmanager@example.org" ] ;
     fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:period [
     fhir:start [ fhir:v "2014-09-01"^^xsd:date ]
  ] ; # 
  fhir:payload ( [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/fhir-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "CarePlan" ]
       ] )
     ] ) ;
     fhir:mimeType ( [ fhir:v "application/fhir+xml" ] )
  ] ) ; # 
  fhir:address [ fhir:v "http://fhir3.healthintersections.com.au/open/CarePlan"^^xsd:anyURI] ; # 
  fhir:header ( [ fhir:v "bearer-code BASGS534s4"] )] . #   Not a valid bearer token, but is here for demonstration purposes  


# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.