@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix dce: <http://purl.org/dc/elements/1.1/>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix event: <http://eulersharp.sourceforge.net/2003/03swap/event#>.
@prefix agent: <http://eulersharp.sourceforge.net/2003/03swap/agent#>.
@prefix env: <http://eulersharp.sourceforge.net/2003/03swap/environment#>.
@prefix clisko: <http://www.agfa.com/w3c/2009/clinicalSKOSSchemes#>.
@prefix heca: <http://www.agfa.com/w3c/2009/healthCare#>.
@prefix clinproc: <http://www.agfa.com/w3c/2009/clinicalProcedure#>.
@prefix ther: <http://www.agfa.com/w3c/2009/therapy#>.
@prefix clintrial: <http://www.agfa.com/w3c/2009/clinicalTrial#>.

<http://www.agfa.com/w3c/2009/clinicalTrial>
	a owl:Ontology;
	dce:title """Clinical Trial"""@en;
	dce:creator """Hans Cools, MD; Agfa Healthcare/Belgium"""@en;
	dce:publisher """Agfa Healthcare/Belgium"""@en;
	dce:description """Formal general description of clinical trial."""@en;
	dce:format """OWL-Full"""@en;
	rdfs:comment """Copyright (c) 2009 Agfa-Gevaert Group / Ghent University - IBBT/ELIS - Multimedia Lab All Rights Reserved THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Agfa-Gevaert Group/ Ghent University - IBBT/ELIS - Multimedia Lab The copyright notice above does not evidence any actual or intended publication of such source code."""@en;
	skos:note """There are properties with a list as range. A list keeps things together in a better way than a blank node and improves reasoning performance. List content is tripled when needed, e.g. to permit SPARQL querying."""@en.

#
# CLASSES
#

clintrial:Trial
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	rdfs:label """clinical trial"""@en;
	skos:definition """Clinical procedure performed to allow safety and efficacy data to be collected for health care interventions."""@en;
	rdfs:subClassOf ther:Therapy; # clinproc:Procedure
	skos:exactMatch [
		a skos:Concept; skos:inScheme clisko:sct20080731; skos:notation "110465008"^^clisko:sct20080731DT].

clintrial:Environment
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	rdfs:label """clinical trial environment"""@en;
	skos:definition """Health care environment wherein a clinical trial is performed."""@en;
	rdfs:subClassOf heca:Environment.

clintrial:Patient
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	rdfs:label """clinical trial patient"""@en;
	skos:definition """Role of patient in a clinical trial."""@en;
	rdfs:subClassOf heca:Patient.

# TO DO:
# types:
# Prevention trial: look for better ways to prevent disease in people who have never had the disease or to prevent a disease from returning. These approaches may include medicines, vitamins, vaccines, minerals, or lifestyle changes.
# Screening trial: test the best way to detect certain diseases or health conditions.
# Diagnostic trial: conducted to find better tests or procedures for diagnosing a particular disease or condition.
# Treatment trial: test experimental treatments, new combinations of drugs, or new approaches to surgery or radiation therapy.
# Quality of life trial: explore ways to improve comfort and the quality of life for individuals with a chronic illness (a.k.a. Supportive Care trials).
# Compassionate use trials or expanded access: provide partially tested, unapproved therapeutics prior to a small number of patients that have no other realistic options. Usually, this involves a disease for which no effective therapy exists, or a patient that has already attempted and failed all other standard treatments and whose health is so poor that he does not qualify for participation in randomized clinical trials.
# Clinical trials involving new drugs are commonly classified into four phases.

clintrial:Investigator
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	rdfs:label """clinical trial investigator"""@en;
	skos:definition """Role of performing research in a clinical trial."""@en;
	rdfs:subClassOf heca:Professional.

clintrial:CoordinatingInvestigator # to lift up to (clinical) research?
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	rdfs:label """clinical trial coordinating investigator"""@en;
	skos:definition """Role of coordinating a clinical trial in a health care environment using good clinical practice, and reporting data to a funding organization."""@en;
	rdfs:subClassOf clintrial:Investigator.

clintrial:PrincipalInvestigator # to lift up to (clinical) research?
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	rdfs:label """clinical trial principal investigator"""@en;
	skos:definition """Role being responsible for completion of a clinical trial in 1 site, directing it and reporting to a coordinating investigator."""@en;
	rdfs:subClassOf clintrial:Investigator.

clintrial:Subinvestigator # to lift up to (clinical) research?
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	rdfs:label """clinical trial sub-investigator"""@en;
	skos:definition """Role of performing research in a clinical trial, reporting to principal investigator."""@en;
	rdfs:subClassOf clintrial:Investigator.

#
# PROPERTIES
#

clintrial:hasSubject
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a patient subject in a clinical trial."""@en;
	rdfs:domain clintrial:Trial;
	rdfs:range	[a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient].

clintrial:subjectIn
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a clinical trial a patient is subject in."""@en;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient];
	rdfs:range clintrial:Trial.

clintrial:entersDuring
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a period wherein a patient enters a clinical trial as subject."""@en;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient];
	rdfs:range event:Event.

clintrial:hasEnteringPeriodMargin
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Linking a clinical trial patient to a list with beginning and end date time typed literals of a period wherein the patient enters the trial as subject."""@en;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient];
	rdfs:range rdf:List.

clintrial:leavesDuring
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a period wherein a patient leaves a clinical trial as subject."""@en;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient];
	rdfs:range event:Event.

clintrial:hasLeavingPeriodMargin
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Linking a clinical trial patient to a list with beginning and end date time typed literals of a period wherein the patient leaves the trial as subject."""@en;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient];
	rdfs:range rdf:List.

clintrial:participatesDuring
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a period wherein a patient participates in a clinical trial as subject."""@en;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient];
	rdfs:range event:Event.

clintrial:hasParticipatingPeriodMargin
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Linking a clinical trial patient to a list with beginning and end date time typed literals of a period wherein the patient participates in the trial as subject."""@en;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Patient];
	rdfs:range rdf:List.

clintrial:hasSubjectEnteringDuring
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a period wherein a clinical trial has a patient entering as subject."""@en;
	rdfs:domain clintrial:Trial;
	rdfs:range event:Event.

clintrial:hasSubjectEnteringPeriodMargin
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Linking a clinical trial to a list with beginning and end date time typed literals of a period wherein a patient enters the trial as subject."""@en;
	rdfs:domain clintrial:Trial;
	rdfs:range rdf:List.

clintrial:hasSubjectLeavingDuring
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a period wherein a clinical trial has a patient leaving as subject."""@en;
	rdfs:domain clintrial:Trial;
	rdfs:range event:Event.

clintrial:hasSubjectLeavingPeriodMargin
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Linking a clinical trial to a list with beginning and end date time typed literals of a period wherein a patient leaves the trial as subject."""@en;
	rdfs:domain clintrial:Trial;
	rdfs:range rdf:List.

clintrial:hasEnvironment
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying an environment wherein a clinical trial is performed."""@en;
	rdfs:subPropertyOf env:hasEnvironment;
	rdfs:domain clintrial:Trial;
	rdfs:range clintrial:Environment.

clintrial:environmentOf
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a clinical trial performed in an environment."""@en;
	rdfs:subPropertyOf env:environmentOf;
	owl:inverseOf clintrial:hasEnvironment;
	rdfs:domain clintrial:Environment;
	rdfs:range clintrial:Trial.

clintrial:investigatesIn
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a clinical trial a person investigates in."""@en;
	rdfs:subPropertyOf agent:actsIn;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Investigator];
	rdfs:range clintrial:Trial.

clintrial:hasInvestigator
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a person investigating in a clinical trial."""@en;
	rdfs:subPropertyOf agent:hasAgent;
	owl:inverseOf clintrial:investigatesIn;
	rdfs:domain clintrial:Trial;
	rdfs:range [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:Investigator].

clintrial:coordinates
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a clinical trial coordinated by a person."""@en;
	rdfs:subPropertyOf agent:actsIn;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:CoordinatingInvestigator];
	rdfs:range clintrial:Trial.

clintrial:coordinatedBy
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a person coordinating a clinical trial."""@en;
	rdfs:subPropertyOf agent:hasAgent;
	owl:inverseOf clintrial:coordinates;
	rdfs:domain clintrial:Trial;
	rdfs:range [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:CoordinatingInvestigator].

clintrial:responsibleFor
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a clinical trial a person is principal investigator of."""@en;
	rdfs:subPropertyOf agent:actsIn;
	rdfs:domain [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:PrincipalInvestigator];
	rdfs:range clintrial:Trial.

clintrial:hasResponsible
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/clinicalTrial#>;
	skos:definition """Specifying a person being principal investigator of a clinical trial."""@en;
	rdfs:subPropertyOf agent:hasAgent;
	owl:inverseOf clintrial:responsibleFor;
	rdfs:domain clintrial:Trial;
	rdfs:range [a owl:Restriction; owl:onProperty agent:playsRole; owl:someValuesFrom clintrial:PrincipalInvestigator].