@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/dental-data-exchange/Condition/Pulpitis-example-4> a fhir:Condition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "Pulpitis-example-4"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "9" ];
     fhir:Meta.lastUpdated [ fhir:value "2021-04-27T16:41:00.055+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#dszHkr7PJmfibr7t" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/dental-data-exchange/StructureDefinition/dental-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/dental-data-exchange/StructureDefinition/dental-condition>
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>clinicalStatus</b>: <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/condition-ver-status confirmed}\">Confirmed</span></p><p><b>category</b>: <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}\">Problem</span>, <span title=\"Codes: {http://hl7.org/fhir/us/dental-data-exchange/CodeSystem/dental-category dental}\">Dental</span></p><p><b>code</b>: <span title=\"Codes: {http://www.ada.org/snodent 125784D}\">Irreversible pulpitis (disorder)</span></p><p><b>subject</b>: <a href=\"Patient-example-dental.html\">Patient A. Generated Summary: Medical Record Number: 5152020 (USUAL); active: true; Patient A ; Phone: 123-456-7890, testA@email.com; gender: male; birthDate: 1990-01-01</a></p><p><b>onset</b>: 2020-03-15</p></div>"
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "problem-list-item" ];
       fhir:Coding.display [ fhir:value "Problem List Item" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ], [
     fhir:index 1;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/dental-data-exchange/CodeSystem/dental-category" ];
       fhir:Coding.code [ fhir:value "dental" ];
       fhir:Coding.display [ fhir:value "Dental" ]
     ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ada.org/snodent" ];
       fhir:Coding.code [ fhir:value "125784D" ];
       fhir:Coding.display [ fhir:value "Irreversible pulpitis (disorder)" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Irreversible pulpitis (disorder)" ]
  ];
  fhir:Condition.subject [
     fhir:link <http://hl7.org/fhir/us/dental-data-exchange/Patient/example-dental>;
     fhir:Reference.reference [ fhir:value "Patient/example-dental" ];
     fhir:Reference.display [ fhir:value "Patient A" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2020-03-15"^^xsd:date] .

<http://hl7.org/fhir/us/dental-data-exchange/Patient/example-dental> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/dental-data-exchange/Condition/Pulpitis-example-4.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/us/dental-data-exchange/Condition/Pulpitis-example-4.ttl> .

# -------------------------------------------------------------------------------------

