Ontology Version: 2.2.0

cacontology-street:FollowUpTimingValidationShape leaf node


URI

https://cacontology.projectvic.org/street#FollowUpTimingValidationShape

Label

Follow Up Timing Validation Shape

Description

Validates follow-up timing consistency.

Shape Properties

Instances of cacontology-street:PostContactReinforcement can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-street:PostContactReinforcement
cacontology-street:followUpDelay 0 1 xsd:decimal
cacontology-street:followUpMethod 0 1 xsd:string

Implementation

@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-street:FollowUpTimingValidationShape a sh:NodeShape ;
    rdfs:label "Follow Up Timing Validation Shape"@en ;
    rdfs:comment "Validates follow-up timing consistency."@en ;
    sh:sparql [ sh:message "Follow-up delay should be reasonable (less than 30 days)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-street:PostContactReinforcement ;
                      cacontology-street:followUpDelay ?delay .
                FILTER (?delay >= 720.0)
            }
        """ ] ;
    sh:targetClass cacontology-street:PostContactReinforcement .