Specialty Medication Enrollment
2.0.0-ballot - STU 2 Ballot US

This page is part of the Specialty Medication Enrollment (v2.0.0-ballot: STU2 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-12-08T23:06: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:cbeff8fb-bc06-432e-bdff-6db167d6214e" ];
     fhir:Bundle.entry.resource <urn:uuid:cbeff8fb-bc06-432e-bdff-6db167d6214e>
  ].

<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: MessageHeader</b></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 \"res1\" </p></div><p><b>event</b>: Error (Details: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type code error = 'Error', stated as 'null')</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 (urn:uuid:cbeff8fb-bc06-432e-bdff-6db167d6214e)</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:cbeff8fb-bc06-432e-bdff-6db167d6214e" ]
  ].

<urn:uuid:cbeff8fb-bc06-432e-bdff-6db167d6214e> 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: OperationOutcome</b></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 OperationOutcome \"exception-13450456830\" </p></div><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>An unexpected exception occurred. Please resubmit <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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.