Universal API Implementation Guide
1.1.19 - ci-build

Universal API Implementation Guide - Local Development build (v1.1.19). See the Directory of published versions

: Internal - UAPI Query 2 - TTL Representation

Raw ttl | Download


@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:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "uapi-query-3"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-query";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-bundle-query>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2020-03-11T08:10:13-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:98921ed8-1003-4aae-9371-409f012979b1" ];
     fhir:Bundle.entry.resource <urn:uuid:98921ed8-1003-4aae-9371-409f012979b1>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b" ];
     fhir:Bundle.entry.resource <urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164" ];
     fhir:Bundle.entry.resource <urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:47aaa05f-33fe-4672-b0bf-0168bdd81630" ];
     fhir:Bundle.entry.resource <urn:uuid:47aaa05f-33fe-4672-b0bf-0168bdd81630>
  ].

<urn:uuid:98921ed8-1003-4aae-9371-409f012979b1> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "98921ed8-1003-4aae-9371-409f012979b1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-messageheader";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-messageheader>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b><a name=\"98921ed8-1003-4aae-9371-409f012979b1\"> </a></p><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\">Resource MessageHeader \"98921ed8-1003-4aae-9371-409f012979b1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-messageheader.html\">UAPI MessageHeader</a></p></div><p><b>event</b>: query-message (Details: http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type code query-message = 'query-message', stated as 'null')</p><p><b>sender</b>: <span></span></p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>Vendor_AB</td><td><a href=\"http://vendor.com/ab\">http://vendor.com/ab</a></td></tr></table><p><b>focus</b>: <a href=\"#Parameters_61ebe359-bfdc-4613-8bf2-c5e300945f0b\">See above (urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b)</a></p></div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://terminology.gene.com/fhir/usix/uapi/CodeSystem/uapi-event-type" ];
     fhir:Coding.code [ fhir:value "query-message" ]
  ];
  fhir:MessageHeader.sender [
     fhir:Reference.type [ fhir:value "Organization" ];
     fhir:Reference.identifier [
       fhir:Identifier.use [ fhir:value "official" ];
       fhir:Identifier.system [ fhir:value "http://fhir.developer.gene.com/mulesoft" ];
       fhir:Identifier.value [ fhir:value "Vendor_AB_HOSP-12345" ];
       fhir:Identifier.assigner [
         fhir:Reference.display [ fhir:value "UAPI Process API Mulesoft" ]       ]     ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "Vendor_AB" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://vendor.com/ab" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b" ]
  ].

<urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b> a fhir:Parameters;
  fhir:Resource.id [ fhir:value "61ebe359-bfdc-4613-8bf2-c5e300945f0b"];
  fhir:Parameters.parameter [
     fhir:index 0;
     fhir:Parameters.parameter.name [ fhir:value "requester-patient" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.type [ fhir:value "Patient" ];
       fhir:Reference.identifier [
         fhir:Identifier.use [ fhir:value "official" ];
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
             fhir:Coding.code [ fhir:value "PI" ];
             fhir:Coding.display [ fhir:value "Patient internal identifier" ]           ]         ];
         fhir:Identifier.system [ fhir:value "http://vendor.com/ab" ];
         fhir:Identifier.value [ fhir:value "6bcd8467-0473-4836-9128-2e7972f23177" ];
         fhir:Identifier.assigner [
           fhir:Reference.display [ fhir:value "AB Vendor" ]         ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Parameters.parameter.name [ fhir:value "requester-servicerequest" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164" ]     ]
  ], [
     fhir:index 2;
     fhir:Parameters.parameter.name [ fhir:value "requester-servicerequest" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "urn:uuid:47aaa05f-33fe-4672-b0bf-0168bdd81630" ]     ]
  ], [
     fhir:index 3;
     fhir:Parameters.parameter.name [ fhir:value "requester-bundle-enrollment-id" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.type [ fhir:value "Bundle" ];
       fhir:Reference.identifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
             fhir:Coding.code [ fhir:value "RI" ];
             fhir:Coding.display [ fhir:value "Resource identifier" ]           ]         ];
         fhir:Identifier.system [ fhir:value "https://fhir.developer.gene.com/enrollment/bundle-enrollment-id" ];
         fhir:Identifier.value [ fhir:value "30eec1b3-d067-40ee-8af5-9e7c37130b14" ]       ]     ]
  ], [
     fhir:index 4;
     fhir:Parameters.parameter.name [ fhir:value "query-string" ];
     fhir:Parameters.parameter.valueString [ fhir:value "CoverageEligibilityResponse?status=active" ]
  ].

<urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164> a fhir:ServiceRequest;
  fhir:Resource.id [ fhir:value "aecbb129-9a73-4b59-9d66-ff5cdb3f3164"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-servicerequest";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-servicerequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"aecbb129-9a73-4b59-9d66-ff5cdb3f3164\"> </a></p><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\">Resource ServiceRequest \"aecbb129-9a73-4b59-9d66-ff5cdb3f3164\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-servicerequest.html\">UAPI ServiceRequest</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: Patient Foundation <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-uapi-sr-type.html\">UAPI Code System - Service Request Type</a>#gpf)</span></p><p><b>subject</b>: <a href=\"Bundle-caf568e0-21b6-40e4-b0b8-1fdddef30fd2.html#urn-uuid-fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c</a></p></div>"
  ];
  fhir:ServiceRequest.status [ fhir:value "active"];
  fhir:ServiceRequest.intent [ fhir:value "order"];
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://fhir.developer.gene.com/CodeSystem/uapi-sr-type" ];
       fhir:Coding.code [ fhir:value "gpf" ]     ]
  ];
  fhir:ServiceRequest.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ].

<urn:uuid:47aaa05f-33fe-4672-b0bf-0168bdd81630> a fhir:ServiceRequest;
  fhir:Resource.id [ fhir:value "212c57ad-45cd-4882-87e7-8415ded3db05"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.developer.gene.com/StructureDefinition/uapi-servicerequest";
       fhir:index 0;
       fhir:link <https://fhir.developer.gene.com/StructureDefinition/uapi-servicerequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"212c57ad-45cd-4882-87e7-8415ded3db05\"> </a></p><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\">Resource ServiceRequest \"212c57ad-45cd-4882-87e7-8415ded3db05\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-uapi-servicerequest.html\">UAPI ServiceRequest</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>code</b>: Benefit Investigation / Prior Authorization <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-uapi-sr-type.html\">UAPI Code System - Service Request Type</a>#bipa)</span></p><p><b>subject</b>: <a href=\"Bundle-caf568e0-21b6-40e4-b0b8-1fdddef30fd2.html#urn-uuid-fc2e5a72-c363-4616-ae00-4ad25cbcb45c\">urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c</a></p></div>"
  ];
  fhir:ServiceRequest.status [ fhir:value "active"];
  fhir:ServiceRequest.intent [ fhir:value "order"];
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://fhir.developer.gene.com/CodeSystem/uapi-sr-type" ];
       fhir:Coding.code [ fhir:value "bipa" ]     ]
  ];
  fhir:ServiceRequest.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:fc2e5a72-c363-4616-ae00-4ad25cbcb45c" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.