Specialty Medication Enrollment
0.1.0 - STU1 Ballot

This page is part of the Specialty Medication Enrollment (v0.1.0: STU1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Specialty Rx Error 1 - 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 "specialty-rx-error-1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-error";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-error>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2020-03-11T13:10:17-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/MessageHeader/msgheader1" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/MessageHeader/msgheader1>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0z" ];
     fhir:Bundle.entry.resource <urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0z>
  ].

<http://example.org/MyEHR/MessageHeader/msgheader1> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "res1"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>event</b>: <span title=\"{http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type error}\">Error</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>MyEHR</td><td><a href=\"http://example.org/MyEHR\">http://example.org/MyEHR</a></td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td>-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>req1</td><td>transient-error</td></tr></table><p><b>focus</b>: <a href=\"#OperationOutcome_exception-13450456830\">See above (OperationOutcome/exception-13450456830)</a></p></div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type" ];
     fhir:Coding.code [ fhir:value "error" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "MyEHR" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/MyEHR" ]
  ];
  fhir:MessageHeader.response [
     fhir:MessageHeader.response.identifier [ fhir:value "req1" ];
     fhir:MessageHeader.response.code [ fhir:value "transient-error" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0z" ]
  ].

<urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0z> a fhir:OperationOutcome;
  fhir:Resource.id [ fhir:value "exception-13450456830"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><h3>Issues</h3><table class=\"grid\"><tr><td>-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td></tr><tr><td>*</td><td>fatal</td><td>exception</td><td><span title=\"Codes: \">An unexpected exception occurred. Please resubmit</span></td></tr></table></div>"
  ];
  fhir:OperationOutcome.issue [
     fhir:index 0;
     fhir:OperationOutcome.issue.severity [ fhir:value "fatal" ];
     fhir:OperationOutcome.issue.code [ fhir:value "exception" ];
     fhir:OperationOutcome.issue.details [
       fhir:CodeableConcept.text [ fhir:value "An unexpected exception occurred. Please resubmit" ]     ]
  ].

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

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