Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ConditionDefinition/example (Turtle)

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of conditiondefinition

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:ConditionDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ConditionDefinition</b><a name=\"example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource ConditionDefinition &quot;example&quot; </p></div><p><b>url</b>: <code>http://hl7.org/fhir/ConditionDefinition/example</code></p><p><b>identifier</b>: id: urn:oid:2.16.840.1.113883.4.642.25.1</p><p><b>name</b>: Hyperlipidemia</p><p><b>title</b>: Hyperlipidemia Status</p><p><b>status</b>: draft</p><p><b>date</b>: 2019-05-26T10:44:00+10:00</p><p><b>code</b>: Hyperlipidemia (disorder) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#55822004)</span></p><p><b>hasSeverity</b>: false</p><p><b>hasBodySite</b>: false</p><p><b>hasStage</b>: false</p><p><b>definition</b>: <a href=\"https://med.stanford.edu/content/dam/sm/cerc/documents/Hyperlipidemia%20Management%20Protocol.pdf\">https://med.stanford.edu/content/dam/sm/cerc/documents/Hyperlipidemia%20Management%20Protocol.pdf</a></p><blockquote><p><b>observation</b></p><p><b>code</b>: Lipid Panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#24331-1 &quot;Lipid 1996 panel - Serum or Plasma&quot;)</span></p></blockquote><blockquote><p><b>observation</b></p><p><b>code</b>: Cholesterol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#35200-5 &quot;Cholesterol [Moles/​volume] in Serum or Plasma&quot;)</span></p></blockquote><blockquote><p><b>observation</b></p><p><b>code</b>: Triglyceride <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#35217-9 &quot;Triglyceride [Moles/​volume] in Serum or Plasma&quot;)</span></p></blockquote><blockquote><p><b>observation</b></p><p><b>code</b>: Cholesterol in HDL <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#2085-9 &quot;HDL Cholesterol&quot;)</span></p></blockquote><blockquote><p><b>observation</b></p><p><b>code</b>: LDL Chol. (Calc) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#13457-7 &quot;Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation&quot;)</span></p></blockquote><h3>Medications</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td></tr><tr><td>*</td><td>Gemfibrozil <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#203151)</span></td></tr></table><h3>Plans</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a href=\"todo.html\">http://acme.com/fhir/PlanDefinition/fd0e32d8-2ebd-4211-9e50-8983efddc2c6</a></td></tr></table></div>"
  ];
  fhir:ConditionDefinition.url [ fhir:value "http://hl7.org/fhir/ConditionDefinition/example"];
  fhir:ConditionDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.25.1" ]
  ];
  fhir:ConditionDefinition.name [ fhir:value "Hyperlipidemia"];
  fhir:ConditionDefinition.title [ fhir:value "Hyperlipidemia Status"];
  fhir:ConditionDefinition.status [ fhir:value "draft"];
  fhir:ConditionDefinition.date [ fhir:value "2019-05-26T10:44:00+10:00"^^xsd:dateTime];
  fhir:ConditionDefinition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:55822004;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "55822004" ];
       fhir:Coding.display [ fhir:value "Hyperlipidemia (disorder)" ]
     ]
  ];
  fhir:ConditionDefinition.hasSeverity [ fhir:value "false"^^xsd:boolean];
  fhir:ConditionDefinition.hasBodySite [ fhir:value "false"^^xsd:boolean];
  fhir:ConditionDefinition.hasStage [ fhir:value "false"^^xsd:boolean];
  fhir:ConditionDefinition.definition [
     fhir:value "https://med.stanford.edu/content/dam/sm/cerc/documents/Hyperlipidemia%20Management%20Protocol.pdf";
     fhir:index 0
  ];
  fhir:ConditionDefinition.observation [
     fhir:index 0;
     fhir:ConditionDefinition.observation.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:24331-1;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "24331-1" ];
         fhir:Coding.display [ fhir:value "Lipid 1996 panel - Serum or Plasma" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Lipid Panel" ]
     ]
  ], [
     fhir:index 1;
     fhir:ConditionDefinition.observation.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:35200-5;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "35200-5" ];
         fhir:Coding.display [ fhir:value "Cholesterol [Moles/​volume] in Serum or Plasma" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Cholesterol" ]
     ]
  ], [
     fhir:index 2;
     fhir:ConditionDefinition.observation.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:35217-9;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "35217-9" ];
         fhir:Coding.display [ fhir:value "Triglyceride [Moles/​volume] in Serum or Plasma" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Triglyceride" ]
     ]
  ], [
     fhir:index 3;
     fhir:ConditionDefinition.observation.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:2085-9;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "2085-9" ];
         fhir:Coding.display [ fhir:value "HDL Cholesterol" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Cholesterol in HDL" ]
     ]
  ], [
     fhir:index 4;
     fhir:ConditionDefinition.observation.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:13457-7;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "13457-7" ];
         fhir:Coding.display [ fhir:value "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "LDL Chol. (Calc)" ]
     ]
  ];
  fhir:ConditionDefinition.medication [
     fhir:index 0;
     fhir:ConditionDefinition.medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
         fhir:Coding.code [ fhir:value "203151" ];
         fhir:Coding.display [ fhir:value "Gemfibrozil" ]
       ]
     ]
  ];
  fhir:ConditionDefinition.plan [
     fhir:index 0;
     fhir:ConditionDefinition.plan.reference [
       fhir:link <http://acme.com/fhir/PlanDefinition/fd0e32d8-2ebd-4211-9e50-8983efddc2c6>;
       fhir:Reference.reference [ fhir:value "http://acme.com/fhir/PlanDefinition/fd0e32d8-2ebd-4211-9e50-8983efddc2c6" ]
     ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.