Simple HIV IG
0.1.0 - CI Build

Simple HIV IG - Local Development build (v0.1.0). See the Directory of published versions

: Bundle/Example-HIVSimple2 - TTL Representation

Raw ttl | Download


@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:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "Example-HIVSimple2"];
  fhir:Bundle.type [ fhir:value "transaction"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Patient/Patient-HIVSimple2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Patient/Patient-HIVSimple2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Patient" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Organization/Organization-HIVSimple2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Organization/Organization-HIVSimple2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Organization" ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Location/Location-HIVSimple2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Location/Location-HIVSimple2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Location" ]     ]
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Condition/Condition-HIVSimple2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Condition/Condition-HIVSimple2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Condition" ]     ]
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Condition/Condition-Pregnancy2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Condition/Condition-Pregnancy2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Condition" ]     ]
  ], [
     fhir:index 5;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Encounter/Encounter-HIVSimple2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Encounter/Encounter-HIVSimple2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Encounter" ]     ]
  ], [
     fhir:index 6;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/DiagnosticReport/DiagnosticReport-HIVSimple2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/DiagnosticReport/DiagnosticReport-HIVSimple2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "DiagnosticReport" ]     ]
  ], [
     fhir:index 7;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Observation/Observation-HIVSimple2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Observation/Observation-HIVSimple2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Observation" ]     ]
  ], [
     fhir:index 8;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Encounter/Encounter-ViralLoad2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Encounter/Encounter-ViralLoad2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Encounter" ]     ]
  ], [
     fhir:index 9;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/DiagnosticReport/DiagnosticReport-ViralLoad2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/DiagnosticReport/DiagnosticReport-ViralLoad2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "DiagnosticReport" ]     ]
  ], [
     fhir:index 10;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/Observation/Observation-ViralLoad2" ];
     fhir:Bundle.entry.resource <https://intrahealth.github.io/simple-hiv-ig/Observation/Observation-ViralLoad2>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Observation" ]     ]
  ].

<https://intrahealth.github.io/simple-hiv-ig/Patient/Patient-HIVSimple2> a fhir:Patient;
  fhir:Resource.id [ fhir:value "Patient-HIVSimple2"];
  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><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 \"Patient-HIVSimple2\" </p></div><p><b>identifier</b>: id: 1234</p><p><b>name</b>: Mittens Cat</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1985-01-01</p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "https://intrahealth.github.io/simple-hiv-ig/CodeSystem/OpenCR" ];
     fhir:Identifier.value [ fhir:value "1234" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.text [ fhir:value "Mittens Cat" ];
     fhir:HumanName.family [ fhir:value "Cat" ];
     fhir:HumanName.given [
       fhir:value "Mittens";
       fhir:index 0     ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1985-01-01"^^xsd:date].

<https://intrahealth.github.io/simple-hiv-ig/Organization/Organization-HIVSimple2> a fhir:Organization;
  fhir:Resource.id [ fhir:value "Organization-HIVSimple2"];
  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><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 \"Organization-HIVSimple2\" </p></div><p><b>identifier</b>: id: Organization-HIVSimple2</p><p><b>name</b>: Organization-HIVSimple2 Government Hospital</p></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "https://github.com/synthetichealth/synthea" ];
     fhir:Identifier.value [ fhir:value "Organization-HIVSimple2" ]
  ];
  fhir:Organization.name [ fhir:value "Organization-HIVSimple2 Government Hospital"].

<https://intrahealth.github.io/simple-hiv-ig/Location/Location-HIVSimple2> a fhir:Location;
  fhir:Resource.id [ fhir:value "Location-HIVSimple2"];
  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><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 \"Location-HIVSimple2\" </p></div><p><b>identifier</b>: id: Location-HIVSimple2</p><p><b>managingOrganization</b>: <span></span></p></div>"
  ];
  fhir:Location.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "https://github.com/synthetichealth/synthea" ];
     fhir:Identifier.value [ fhir:value "Location-HIVSimple2" ]
  ];
  fhir:Location.managingOrganization [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://github.com/synthetichealth/synthea" ];
       fhir:Identifier.value [ fhir:value "Organization-HIVSimple2" ]     ]
  ].

<https://intrahealth.github.io/simple-hiv-ig/Condition/Condition-HIVSimple2> a fhir:Condition;
  fhir:Resource.id [ fhir:value "Condition-HIVSimple2"];
  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><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 \"Condition-HIVSimple2\" </p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>code</b>: HIV - Human immunodeficiency virus infection <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#86406008)</span></p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>onset</b>: 2010-01-01</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: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:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:86406008;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "86406008" ];
       fhir:Coding.display [ fhir:value "HIV - Human immunodeficiency virus infection" ]     ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2010-01-01"^^xsd:date].

<https://intrahealth.github.io/simple-hiv-ig/Condition/Condition-Pregnancy2> a fhir:Condition;
  fhir:Resource.id [ fhir:value "Condition-Pregnancy2"];
  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><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 \"Condition-Pregnancy2\" </p></div><p><b>clinicalStatus</b>: Inactive <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#inactive)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>code</b>: Pregnant (finding) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#77386006)</span></p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>onset</b>: 2020-01-01</p><p><b>abatement</b>: 2020-09-30</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 "inactive" ]     ]
  ];
  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:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:77386006;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "77386006" ];
       fhir:Coding.display [ fhir:value "Pregnant (finding)" ]     ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2020-01-01"^^xsd:date];
  fhir:Condition.abatementDateTime [ fhir:value "2020-09-30"^^xsd:date].

<https://intrahealth.github.io/simple-hiv-ig/Encounter/Encounter-HIVSimple2> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "Encounter-HIVSimple2"];
  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><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 \"Encounter-HIVSimple2\" </p></div><p><b>status</b>: finished</p><p><b>class</b>: inpatient acute (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code ACUTE = 'inpatient acute', stated as 'null')</p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>period</b>: 2011-01-01 --&gt; 2011-01-01</p><h3>Locations</h3><table class=\"grid\"><tr><td>-</td><td><b>Location</b></td></tr><tr><td>*</td><td><span></span></td></tr></table><p><b>serviceProvider</b>: <span></span></p></div>"
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "ACUTE" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2011-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2011-01-01"^^xsd:date ]
  ];
  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://github.com/synthetichealth/synthea" ];
         fhir:Identifier.value [ fhir:value "Location-HIVSimple2" ]       ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://github.com/synthetichealth/synthea" ];
       fhir:Identifier.value [ fhir:value "Organization-HIVSimple2" ]     ]
  ].

<https://intrahealth.github.io/simple-hiv-ig/DiagnosticReport/DiagnosticReport-HIVSimple2> a fhir:DiagnosticReport;
  fhir:Resource.id [ fhir:value "DiagnosticReport-HIVSimple2"];
  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><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 \"DiagnosticReport-HIVSimple2\" </p></div><p><b>status</b>: final</p><p><b>code</b>: HIV 1 and 2 tests - Meaningful Use set <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#75622-1)</span></p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>encounter</b>: <a href=\"#Encounter_Encounter-HIVSimple2\">See above (Encounter/Encounter-HIVSimple2)</a></p><p><b>result</b>: <a href=\"#Observation_Observation-HIVSimple2\">See above (Observation/Observation-HIVSimple2)</a></p></div>"
  ];
  fhir:DiagnosticReport.status [ fhir:value "final"];
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:75622-1;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "75622-1" ];
       fhir:Coding.display [ fhir:value "HIV 1 and 2 tests - Meaningful Use set" ]     ]
  ];
  fhir:DiagnosticReport.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:DiagnosticReport.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/Encounter-HIVSimple2" ]
  ];
  fhir:DiagnosticReport.result [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Observation/Observation-HIVSimple2" ]
  ].

<https://intrahealth.github.io/simple-hiv-ig/Observation/Observation-HIVSimple2> a fhir:Observation;
  fhir:Resource.id [ fhir:value "Observation-HIVSimple2"];
  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><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 \"Observation-HIVSimple2\" </p></div><p><b>status</b>: final</p><p><b>code</b>: HIV 1 and 2 tests - Meaningful Use set <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#75622-1)</span></p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>encounter</b>: <a href=\"#Encounter_Encounter-HIVSimple2\">See above (Encounter/Encounter-HIVSimple2)</a></p><p><b>value</b>: HIV Positive <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#165816005)</span></p></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:75622-1;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "75622-1" ];
       fhir:Coding.display [ fhir:value "HIV 1 and 2 tests - Meaningful Use set" ]     ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:Observation.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/Encounter-HIVSimple2" ]
  ];
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:165816005;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "165816005" ];
       fhir:Coding.display [ fhir:value "HIV Positive" ]     ]
  ].

<https://intrahealth.github.io/simple-hiv-ig/Encounter/Encounter-ViralLoad2> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "Encounter-ViralLoad2"];
  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><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 \"Encounter-ViralLoad2\" </p></div><p><b>status</b>: finished</p><p><b>class</b>: inpatient acute (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code ACUTE = 'inpatient acute', stated as 'null')</p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>period</b>: 2020-06-01 --&gt; 2020-06-01</p><h3>Locations</h3><table class=\"grid\"><tr><td>-</td><td><b>Location</b></td></tr><tr><td>*</td><td><span></span></td></tr></table><p><b>serviceProvider</b>: <span></span></p></div>"
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "ACUTE" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2020-06-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2020-06-01"^^xsd:date ]
  ];
  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://github.com/synthetichealth/synthea" ];
         fhir:Identifier.value [ fhir:value "Location-HIVSimple2" ]       ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://github.com/synthetichealth/synthea" ];
       fhir:Identifier.value [ fhir:value "Organization-HIVSimple2" ]     ]
  ].

<https://intrahealth.github.io/simple-hiv-ig/DiagnosticReport/DiagnosticReport-ViralLoad2> a fhir:DiagnosticReport;
  fhir:Resource.id [ fhir:value "DiagnosticReport-ViralLoad2"];
  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><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 \"DiagnosticReport-ViralLoad2\" </p></div><p><b>status</b>: final</p><p><b>code</b>: HIV 1 RNA [#/volume] (viral load) in Specimen by NAA with probe detection <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#25836-8)</span></p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>encounter</b>: <a href=\"#Encounter_Encounter-ViralLoad2\">See above (Encounter/Encounter-ViralLoad2)</a></p><p><b>result</b>: <a href=\"#Observation_Observation-ViralLoad2\">See above (Observation/Observation-ViralLoad2)</a></p></div>"
  ];
  fhir:DiagnosticReport.status [ fhir:value "final"];
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:25836-8;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "25836-8" ];
       fhir:Coding.display [ fhir:value "HIV 1 RNA [#/volume] (viral load) in Specimen by NAA with probe detection" ]     ]
  ];
  fhir:DiagnosticReport.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:DiagnosticReport.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/Encounter-ViralLoad2" ]
  ];
  fhir:DiagnosticReport.result [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Observation/Observation-ViralLoad2" ]
  ].

<https://intrahealth.github.io/simple-hiv-ig/Observation/Observation-ViralLoad2> a fhir:Observation;
  fhir:Resource.id [ fhir:value "Observation-ViralLoad2"];
  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><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 \"Observation-ViralLoad2\" </p></div><p><b>status</b>: final</p><p><b>code</b>: HIV 1 RNA [#/volume] (viral load) in Specimen by NAA with probe detection <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#25836-8)</span></p><p><b>subject</b>: <a href=\"#Patient_Patient-HIVSimple2\">See above (Patient/Patient-HIVSimple2)</a></p><p><b>encounter</b>: <a href=\"#Encounter_Encounter-ViralLoad2\">See above (Encounter/Encounter-ViralLoad2)</a></p><p><b>value</b>: 741660 copies/mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {copies}/mL = '{copies}/mL')</span></p></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:25836-8;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "25836-8" ];
       fhir:Coding.display [ fhir:value "HIV 1 RNA [#/volume] (viral load) in Specimen by NAA with probe detection" ]     ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/Patient-HIVSimple2" ]
  ];
  fhir:Observation.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/Encounter-ViralLoad2" ]
  ];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "741660"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "copies/mL" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "{copies}/mL" ]
  ].

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

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