Belgian Cancer Registry on FHIR - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
: Example Validation Outcome — failed - TTL Representation
Raw ttl | Download
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:OperationOutcome ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "ExampleBCRValidationOutcomeFailed"] ; #
fhir:meta [
( fhir:profile [
fhir:v "https://www.ehealth.fgov.be/standards/fhir/registries/bcr/StructureDefinition/bcr-validation-outcome"^^xsd:anyURI ;
fhir:l <https://www.ehealth.fgov.be/standards/fhir/registries/bcr/StructureDefinition/bcr-validation-outcome> ] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationOutcome ExampleBCRValidationOutcomeFailed</b></p><a name=\"ExampleBCRValidationOutcomeFailed\"> </a><a name=\"hcExampleBCRValidationOutcomeFailed\"> </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-bcr-validation-outcome.html\">BCR Validation Outcome</a></p></div><blockquote><p><b>issue</b></p><p><b>severity</b>: Error</p><p><b>code</b>: Required element missing</p><p><b>details</b>: <span title=\"Codes:\">Primary tumour topography (section 7) is mandatory when the behaviour code indicates a malignant tumour.</span></p><p><b>expression</b>: QuestionnaireResponse.item.where(linkId='tumour').item.where(linkId='tumour.primaryTumourLocation')</p></blockquote><blockquote><p><b>issue</b></p><p><b>severity</b>: Warning</p><p><b>code</b>: Business Rule Violation</p><p><b>details</b>: <span title=\"Codes:\">Incidence date is more than 6 months before the submission date; please confirm the incidence date is correct.</span></p><p><b>expression</b>: QuestionnaireResponse.item.where(linkId='tumour').item.where(linkId='tumour.incidenceDate')</p></blockquote></div>"^^rdf:XMLLiteral ]
] ; #
fhir:issue ( [
fhir:severity [ fhir:v "error" ] ;
fhir:code [ fhir:v "required" ] ;
fhir:details [
fhir:text [ fhir:v "Primary tumour topography (section 7) is mandatory when the behaviour code indicates a malignant tumour." ] ] ;
( fhir:expression [ fhir:v "QuestionnaireResponse.item.where(linkId='tumour').item.where(linkId='tumour.primaryTumourLocation')" ] )
] [
fhir:severity [ fhir:v "warning" ] ;
fhir:code [ fhir:v "business-rule" ] ;
fhir:details [
fhir:text [ fhir:v "Incidence date is more than 6 months before the submission date; please confirm the incidence date is correct." ] ] ;
( fhir:expression [ fhir:v "QuestionnaireResponse.item.where(linkId='tumour').item.where(linkId='tumour.incidenceDate')" ] )
] ) . #