Example Endpoint/example (Turtle)
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 -------------------------------------------------------------------
[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:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
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.description [ fhir:value "The CarePlan hub provides a test/dev environment for testing submissions"]; #
fhir:Endpoint.environmentType [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/endpoint-environment" ];
fhir:Coding.code [ fhir:value "test" ]
]
], [
fhir:index 1;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/endpoint-environment" ];
fhir:Coding.code [ fhir:value "dev" ]
]
]; #
fhir:Endpoint.managingOrganization [
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/fhir-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
]] . # Not a valid bearer token, but is here for demonstration purposes
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.