@prefix fhir: .
@prefix owl: .
@prefix rdfs: .
@prefix xsd: .
# - resource -------------------------------------------------------------------
a fhir:OperationOutcome;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "validate-error-example"];
fhir:Resource.meta [
fhir:Meta.versionId [ fhir:value "2" ];
fhir:Meta.lastUpdated [ fhir:value "2020-07-23T15:22:16.559+00:00"^^xsd:dateTime ]
];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "\n
Operation Outcome
\n
\n \n error | \n [] | \n \n #Error issue here \n | \n
\n
\n
"
];
fhir:OperationOutcome.issue [
fhir:index 0;
fhir:OperationOutcome.issue.severity [ fhir:value "error" ];
fhir:OperationOutcome.issue.code [ fhir:value "processing" ];
fhir:OperationOutcome.issue.diagnostics [ fhir:value "Error issue here" ]
] .
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl .
# -------------------------------------------------------------------------------------