HSAAP Special Authority FHIR Implementation Guide
0.1.1 - draft New Zealand flag

HSAAP Special Authority FHIR Implementation Guide - Local Development build (v0.1.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Example Outcome OperationOutcome - Declined - 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 -------------------------------------------------------------------

<http://hl7.org/fhir/OperationOutcome/sa-example-outcome-declined> a fhir:OperationOutcome ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "sa-example-outcome-declined"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-outcome-operationoutcome" ;
       fhir:index 0 ;
       fhir:link <https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-outcome-operationoutcome>
     ]
  ] ;
  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: OperationOutcome sa-example-outcome-declined</b></p><a name=\"sa-example-outcome-declined\"> </a><a name=\"hcsa-example-outcome-declined\"> </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-sa-outcome-operationoutcome.html\">SA Outcome OperationOutcome</a></p></div><h3>Issues</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td><td><b>Diagnostics</b></td></tr><tr><td style=\"display: none\">*</td><td>Error</td><td>Business Rule Violation</td><td><span title=\"Codes:{https://fhir-ig.digital.health.nz/special-authority/CodeSystem/sa-outcome-code URNSA011}\">URNSA011</span></td><td>An approval already exists for this patient and form.</td></tr></table></div>"
  ] ;
  fhir:OperationOutcome.issue [
     fhir:index 0 ;
     fhir:OperationOutcome.issue.severity [ fhir:value "error" ] ;
     fhir:OperationOutcome.issue.code [ fhir:value "business-rule" ] ;
     fhir:OperationOutcome.issue.details [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://fhir-ig.digital.health.nz/special-authority/CodeSystem/sa-outcome-code" ] ;
         fhir:Coding.code [ fhir:value "URNSA011" ]
       ]
     ] ;
     fhir:OperationOutcome.issue.diagnostics [ fhir:value "An approval already exists for this patient and form." ]
  ] .

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

<http://hl7.org/fhir/OperationOutcome/sa-example-outcome-declined.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/OperationOutcome/sa-example-outcome-declined.ttl> .