@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 -------------------------------------------------------------------

<https://www.core.blackpear.com/ig/metadata/Endpoint/NHSPDSDemo> a fhir:Endpoint ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "NHSPDSDemo"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://www.core.blackpear.com/ig/metadata/StructureDefinition/CoreEndpoint" ;
       fhir:index 0 ;
       fhir:link <https://www.core.blackpear.com/ig/metadata/StructureDefinition/CoreEndpoint>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Endpoint NHSPDSDemo</b></p><a name=\"NHSPDSDemo\"> </a><a name=\"hcNHSPDSDemo\"> </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-CoreEndpoint.html\">CoreEndpoint</a></p></div><p><b>identifier</b>: <code>urn:oid:2.16.840.1.113883.4.583</code>/https://726fca1bfbf448a392.develop.eu-west-2.quickfhir.cloud/fhir</p><p><b>status</b>: Test</p><p><b>connectionType</b>: <a href=\"http://terminology.hl7.org/7.4.0/CodeSystem-endpoint-connection-type.html#endpoint-connection-type-hl7-fhir-rest\">Endpoint Connection Type: hl7-fhir-rest</a> (HL7 FHIR)</p><p><b>name</b>: Patient Demographics Service (INT)</p><p><b>managingOrganization</b>: Black Pear Software Limited (Identifier: <code>https://fhir.nhs.uk/Id/ods-organization-code</code>/8HV05)</p><p><b>payloadType</b>: <span title=\"Codes:{https://www.core.blackpear.com/ig/metadata/CodeSystem/CorePayloadTypeCodes mpi}\">Master Patient Index</span></p><p><b>address</b>: <a href=\"https://726fca1bfbf448a392.develop.eu-west-2.quickfhir.cloud/fhir\">https://726fca1bfbf448a392.develop.eu-west-2.quickfhir.cloud/fhir</a></p><p><b>header</b>: x-api-key: qkR6EIRtstQBOoOBWFpo1AKRH5OqRC8y, authorization:, qf-requestor:</p></div>"
  ] ;
  fhir:Endpoint.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.583" ] ;
     fhir:Identifier.value [ fhir:value "https://726fca1bfbf448a392.develop.eu-west-2.quickfhir.cloud/fhir" ]
  ] ;
  fhir:Endpoint.status [ fhir:value "test"] ;
  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 "Patient Demographics Service (INT)"] ;
  fhir:Endpoint.managingOrganization [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "8HV05" ]
     ] ;
     fhir:Reference.display [ fhir:value "Black Pear Software Limited" ]
  ] ;
  fhir:Endpoint.payloadType [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://www.core.blackpear.com/ig/metadata/CodeSystem/CorePayloadTypeCodes" ] ;
       fhir:Coding.code [ fhir:value "mpi" ]
     ]
  ] ;
  fhir:Endpoint.address [ fhir:value "https://726fca1bfbf448a392.develop.eu-west-2.quickfhir.cloud/fhir"] ;
  fhir:Endpoint.header [
     fhir:value "x-api-key: qkR6EIRtstQBOoOBWFpo1AKRH5OqRC8y" ;
     fhir:index 0
  ], [
     fhir:value "authorization:" ;
     fhir:index 1
  ], [
     fhir:value "qf-requestor:" ;
     fhir:index 2
  ] .

# - ontology header ------------------------------------------------------------

<https://www.core.blackpear.com/ig/metadata/Endpoint/NHSPDSDemo.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

