@prefix dce: <http://purl.org/dc/elements/1.1/>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix event: <http://eulersharp.sourceforge.net/2003/03swap/event#>.
@prefix physical: <http://eulersharp.sourceforge.net/2003/03swap/physicalResource#>.
@prefix human: <http://eulersharp.sourceforge.net/2003/03swap/human#>.
@prefix antibio: <http://www.agfa.com/w3c/2009/antibiotics#>.
@prefix clisko: <http://www.agfa.com/w3c/2009/clinicalSKOSSchemes#>.
@prefix humdis: <http://www.agfa.com/w3c/2009/humanDisorder#>.
@prefix drugther: <http://www.agfa.com/w3c/2009/drugTherapy#>.
@prefix hurifa: <http://www.agfa.com/w3c/2009/humanRiskFactors#>.
@prefix analgesic: <http://www.agfa.com/w3c/2009/analgesics#>.
@prefix allergy: <http://www.agfa.com/w3c/2009/allergies#>.

<http://www.agfa.com/w3c/2009/allergies>
	a owl:Ontology;
	dce:title """Allergies"""@en;
	dce:creator """Hans Cools, MD; Agfa Healthcare/Belgium"""@en;
	dce:contributor """Until 2010: Pieterjan De Potter; Ghent University - IBBT/ELIS - Multimedia Lab/Belgium"""@en;
	dce:publisher """Agfa Healthcare/Belgium"""@en;
	dce:description """Formal general description of human allergies."""@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.

#
# CLASSES
#

allergy:Allergy
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """allergy"""@en;
	skos:definition """Hypersensitivity type 1 disorder of the immune system."""@en;
	rdfs:subClassOf humdis:ImmuneSystemDisorder, hurifa:RiskFactor, [
		a owl:Restriction; owl:onProperty event:causedBy; owl:someValuesFrom allergy:Allergen];
	skos:exactMatch [
		a skos:Concept; skos:inScheme clisko:sct20080731; skos:notation "106190000"^^clisko:sct20080731DT], [
		a skos:Concept; skos:inScheme clisko:icpc2; skos:notation "A92"^^clisko:icpc2DT], [
		a skos:Concept; skos:inScheme clisko:icd10; skos:notation "T78.4"^^clisko:icd10DT].

allergy:Allergen
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """allergen"""@en;
	skos:definition """Substance a human is allergic to."""@en;
	rdfs:subClassOf physical:Resource.

allergy:Drug
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """drug allergy"""@en;
	skos:definition """Allergy to a clinical drug."""@en;
	rdfs:subClassOf
		allergy:Allergy, [
		a owl:Restriction; owl:onProperty event:causedBy; owl:someValuesFrom drugther:Substance].

allergy:Penicillin
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """penicillin allergy"""@en;
	skos:definition """Allergy to penicillin."""@en;
	rdfs:subClassOf
		allergy:Drug,
		[a owl:Restriction; owl:onProperty event:causedBy; owl:someValuesFrom antibio:Penicillin];
	skos:exactMatch [
		a skos:Concept; skos:inScheme clisko:icd10; skos:notation "Z88.0"^^clisko:icd10DT], [
		a skos:Concept; skos:inScheme clisko:sct20080731; skos:notation "91936005"^^clisko:sct20080731DT];
	skos:broadMatch [a skos:Concept; skos:inScheme clisko:icpc2; skos:notation "A85"^^clisko:icpc2DT].

allergy:Amoxicillin
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """amoxicillin allergy"""@en;
	skos:definition """Allergy to amoxicillin."""@en;
	rdfs:subClassOf allergy:Drug;
	rdfs:subClassOf [a owl:Restriction; owl:onProperty event:causedBy; owl:someValuesFrom antibio:Amoxicillin];
	skos:broadMatch [
		a skos:Concept; skos:inScheme clisko:icpc2; skos:notation "A85"^^clisko:icpc2DT], [
		a skos:Concept; skos:inScheme clisko:icd10; skos:notation "Z88.0"^^clisko:icd10DT].

allergy:Fosfomycin
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """fosfomycin allergy"""@en;
	skos:definition """Allergy to fosfomycin."""@en;
	rdfs:subClassOf allergy:Drug;
	rdfs:subClassOf [a owl:Restriction; owl:onProperty event:causedBy; owl:someValuesFrom antibio:Fosfomycin];
	skos:broadMatch [
		a skos:Concept; skos:inScheme clisko:icpc2; skos:notation "A85"^^clisko:icpc2DT], [
		a skos:Concept; skos:inScheme clisko:icd10; skos:notation "Z88.1"^^clisko:icd10DT].

allergy:AcetylsalicylicAcid
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """acetylsalicylic acid allergy"""@en;
	skos:definition """Allergy to acetylsalicylic acid."""@en;
	rdfs:subClassOf allergy:Drug;
	rdfs:subClassOf [a owl:Restriction; owl:onProperty event:causedBy; owl:someValuesFrom analgesic:AcetylsalicylicAcid];
	skos:broadMatch [a skos:Concept; skos:inScheme clisko:icd10; skos:notation "Z88.6"^^clisko:icd10DT]. # Personal history of allergy to analgesic agent

#HouseDustMite
#Pollen
#Dander: sct 232347008

allergy:Food
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """food allergy"""@en;
	skos:definition """Allergy to a food protein."""@en;
	rdfs:subClassOf allergy:Allergy;
	skos:exactMatch [
		a skos:Concept; skos:inScheme clisko:sct20080731; skos:notation "414285001"^^clisko:sct20080731DT], [
		a skos:Concept; skos:inScheme clisko:icpc2; skos:notation "A92"^^clisko:icpc2DT], [
		a skos:Concept; skos:inScheme clisko:icd10; skos:notation "T78.1"^^clisko:icd10DT].

#Milk
#Egg
#Peanut
#TreeNut
#SeaFood
#ShellFish
#Soy
#Wheat

allergy:Rubber
	a rdfs:Class;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	rdfs:label """rubber allergy"""@en;
	skos:definition """An adverse response of the immune system to rubber."""@en;
	rdfs:subClassOf allergy:Allergy;
	skos:exactMatch [
		a skos:Concept; skos:inScheme clisko:sct20080731; skos:notation "419412007"^^clisko:sct20080731DT], [
		a skos:Concept; skos:inScheme clisko:icpc2; skos:notation "S88"^^clisko:icpc2DT], [
		a skos:Concept; skos:inScheme clisko:icd10; skos:notation "L23.5"^^clisko:icd10DT].

#
# PROPERTIES
#

allergy:allergicTo
	a owl:ObjectProperty;
	rdfs:isDefinedBy <http://www.agfa.com/w3c/2009/allergies#>;
	skos:definition """Specifying a substance a human is allergic to."""@en;
	rdfs:domain human:Human;
	rdfs:range allergy:Allergen.