cascade:valueAbsentForReason value absent for a reason
https://ns.cascadeprotocol.org/cascade#valueAbsentForReason
Of a version, the node saying why it holds no value for one property, one for each such property.
- Type
owl:ObjectProperty- Domain
- [ a
owl:Class; owl:unionOf (cascade:PatientProfilecascade:AllergyOrIntolerancecascade:ProblemOrDiagnosiscascade:Vaccinationcascade:MedicalProcedurecascade:PrescribedOrReportedMedicationcascade:StructuredDosagecascade:MedicationDispensecascade:LaboratoryTestResultcascade:DiagnosticReportcascade:ClinicalNoteOrDocument) ] - Range
cascade:ValueAbsentForReason- Shapes
cascade:VersionWithValueAbsentForReasonShape: nodeKindsh:IRIA version's value absent for a reason is a node of the version.
cascade:VersionWithValueAbsentForReasonShapechecks the subject of anycascade:valueAbsentForReason.On the whole node: sparql [ a
sh:SPARQLConstraint; message"A value absent for a reason is the node <version>#absent- and its property's local name, or, of a node whose IRI has a fragment already, such as a structured dosage, <node>-absent- and the local name; and stands only where its subject holds no value for that property: {?node} is not."; severitysh:Violation; select
]SELECT $this ?node WHERE { $this <https://ns.cascadeprotocol.org/cascade#valueAbsentForReason> ?node . OPTIONAL { ?node <https://ns.cascadeprotocol.org/cascade#absentValueProperty> ?property } FILTER (!BOUND(?property) || STR(?node) != CONCAT(STR($this), IF(CONTAINS(STR($this), "#"), "-absent-", "#absent-"), REPLACE(STR(?property), "^.*[#/]", "")) || EXISTS { $this ?property ?value }) }cascade:valueAbsentForReason: nodeKindsh:IRIA version's value absent for a reason is a node of the version.