Skip to content

24h access expression #18

@henarmartinsantos

Description

@henarmartinsantos

Express 24h access duration as constraint (UC-12 to UC-21)

  • Current approach: "P24H"^^xsd:duration

    odrl:constraint [ 
        odrl:leftOperand odrl:elapsedTime ;
        odrl:operator odrl:lteq ;  
        odrl:rightOperand "P24H"^^xsd:duration 
    ]
    
  • Dynamic refinement approach (UC-16 & UC-21):

odrl:target [
            odrl:source ex:lab-test-results ; 
            odrl:refinement [
                a odrl:Constraint ;
                odrl:leftOperand ex:labTestType ;
                odrl:operator odrl:eq ;
                odrl:rightOperand loinc:2345-7 ], [ # LOINC Glucose test "2345-7" 
                odrl:leftOperand odrl:dateTime ;
                odrl:operator odrl:lteq ;
                odrl:rightOperand "P24H"^^xsd:duration ;
                odrl:rightOperandReference ex:accessToNonHCPEvent] ] ;
  • Original approach:
    [
        odrl:leftOperand odrl:elapsedTime ;
        odrl:operator odrl:lteq ;  
        odrl:rightOperand [
            a time:Duration ;
            time:unitType time:unitHour ;
            time:numericDuration 24 ] 
    ]
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions