@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 -------------------------------------------------------------------

<http://hl7.org/fhir/uv/fhir-clinical-document/Bundle/clinical-document-bundle-example1> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "clinical-document-bundle-example1"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-07T13:28:17.000+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/clinical-document-bundle"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/clinical-document-bundle>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:identifier [
     fhir:system [
       fhir:v "https://example.com/bundleId"^^xsd:anyURI ;
       fhir:l <https://example.com/bundleId>
     ] ;
     fhir:value [ fhir:v "26d52355-b71b-4992-a34b-a2476983c166" ]
  ] ; # 
  fhir:type [ fhir:v "document"] ; # 
  fhir:timestamp [ fhir:v "2024-05-07T13:28:17.000+00:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "https://example.com/Composition/clinical-document-composition-example1"^^xsd:anyURI ;
       fhir:l <https://example.com/Composition/clinical-document-composition-example1>
     ] ;
     fhir:resource ( <https://example.com/Composition/clinical-document-composition-example1> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Organization/custodianOrganization"^^xsd:anyURI ;
       fhir:l <https://example.com/Organization/custodianOrganization>
     ] ;
     fhir:resource ( <https://example.com/Organization/custodianOrganization> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Practitioner/Doctor1"^^xsd:anyURI ;
       fhir:l <https://example.com/Practitioner/Doctor1>
     ] ;
     fhir:resource ( <https://example.com/Practitioner/Doctor1> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Practitioner/Doctor2"^^xsd:anyURI ;
       fhir:l <https://example.com/Practitioner/Doctor2>
     ] ;
     fhir:resource ( <https://example.com/Practitioner/Doctor2> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Patient/patient-example"^^xsd:anyURI ;
       fhir:l <https://example.com/Patient/patient-example>
     ] ;
     fhir:resource ( <https://example.com/Patient/patient-example> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Encounter/encounter-example"^^xsd:anyURI ;
       fhir:l <https://example.com/Encounter/encounter-example>
     ] ;
     fhir:resource ( <https://example.com/Encounter/encounter-example> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Observation/Observation-541a72a8-df75-4484-ac89-ac4923f03b81"^^xsd:anyURI ;
       fhir:l <https://example.com/Observation/Observation-541a72a8-df75-4484-ac89-ac4923f03b81>
     ] ;
     fhir:resource ( <https://example.com/Observation/Observation-541a72a8-df75-4484-ac89-ac4923f03b81> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/MedicationRequest/MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86"^^xsd:anyURI ;
       fhir:l <https://example.com/MedicationRequest/MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86>
     ] ;
     fhir:resource ( <https://example.com/MedicationRequest/MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/MedicationStatement/MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1"^^xsd:anyURI ;
       fhir:l <https://example.com/MedicationStatement/MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1>
     ] ;
     fhir:resource ( <https://example.com/MedicationStatement/MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/AllergyIntolerance/AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637"^^xsd:anyURI ;
       fhir:l <https://example.com/AllergyIntolerance/AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637>
     ] ;
     fhir:resource ( <https://example.com/AllergyIntolerance/AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/ServiceRequest/service1"^^xsd:anyURI ;
       fhir:l <https://example.com/ServiceRequest/service1>
     ] ;
     fhir:resource ( <https://example.com/ServiceRequest/service1> )
  ] [
     fhir:fullUrl [
       fhir:v "https://example.com/Consent/consent1"^^xsd:anyURI ;
       fhir:l <https://example.com/Consent/consent1>
     ] ;
     fhir:resource ( <https://example.com/Consent/consent1> )
  ] ) . # 

<https://example.com/Composition/clinical-document-composition-example1> a fhir:Composition ;
  fhir:id [ fhir:v "clinical-document-composition-example1"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-07T13:28:17.000+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/clinical-document-composition"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/clinical-document-composition>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\"><a name=\"Composition_clinical-document-composition-example1\"> </a><p><b>Discharge Summary</b></p><p><b>CC</b>: Dr. BettaB Careful</p><p><b>status</b>: final</p><p><b>patient</b>: Eve Everiewoman</p><p><b>author</b>: Doctor Dave / Good Health Clinic</p><p><b>encounter</b>: Inpatient encounter, 2024-05-03 - 2024-05-07</p><p><b>confidentiality</b>: N</p><p><b>Contained sections</b>:</p><ul><li>Reason for admission</li><li>Medications on Discharge</li><li>Known allergies</li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "1715088497"
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "type"^^xsd:anyURI ;
         fhir:l fhir:type
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "PRCP" ] ;
           fhir:display [ fhir:v "primary information recipient" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "party"^^xsd:anyURI ;
         fhir:l fhir:party
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor2> ;
         fhir:reference [ fhir:v "Practitioner/Doctor2" ]
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/information-recipient-extension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/information-recipient-extension>
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "type"^^xsd:anyURI ;
         fhir:l fhir:type
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "ENT" ] ;
           fhir:display [ fhir:v "data entry person" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "party"^^xsd:anyURI ;
         fhir:l fhir:party
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor2> ;
         fhir:reference [ fhir:v "Practitioner/Doctor2" ]
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/data-enterer-extension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/data-enterer-extension>
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "type"^^xsd:anyURI ;
         fhir:l fhir:type
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "INF" ] ;
           fhir:display [ fhir:v "informant" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "party"^^xsd:anyURI ;
         fhir:l fhir:party
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor2> ;
         fhir:reference [ fhir:v "Practitioner/Doctor2" ]
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/informant-extension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/informant-extension>
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "type"^^xsd:anyURI ;
         fhir:l fhir:type
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "ESC" ] ;
           fhir:display [ fhir:v "escort" ]
         ] )
       ]
     ] [
       fhir:url [
         fhir:v "party"^^xsd:anyURI ;
         fhir:l fhir:party
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor2> ;
         fhir:reference [ fhir:v "Practitioner/Doctor2" ]
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/ParticipantExtension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/ParticipantExtension>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/event-basedOn"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/event-basedOn>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/ServiceRequest/service1> ;
       fhir:reference [ fhir:v "ServiceRequest/service1" ]
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/consent-extension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/StructureDefinition/consent-extension>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Consent/consent1> ;
       fhir:reference [ fhir:v "Consent/consent1" ]
     ]
  ] ) ; # 
  fhir:identifier [
     fhir:system [
       fhir:v "https://example.com/compId"^^xsd:anyURI ;
       fhir:l <https://example.com/compId>
     ] ;
     fhir:value [ fhir:v "1d6d6eb8-7d08-4ce1-94d4-19cdaa76ad6f" ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:28655-9 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "28655-9" ]
     ] ) ;
     fhir:text [ fhir:v "Attending Discharge summary" ]
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       a loinc:107903-7 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "107903-7" ] ;
       fhir:display [ fhir:v "Clinical note" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Encounter/encounter-example> ;
     fhir:reference [ fhir:v "Encounter/encounter-example" ]
  ] ; # 
  fhir:date [ fhir:v "2024-05-07T13:28:17.000+00:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor1> ;
     fhir:reference [ fhir:v "Practitioner/Doctor1" ] ;
     fhir:display [ fhir:v "Doctor Dave" ]
  ] ) ; # 
  fhir:title [ fhir:v "Discharge Summary"] ; # 
  fhir:confidentiality [ fhir:v "N"] ; # 
  fhir:attester ( [
     fhir:mode [ fhir:v "legal" ] ;
     fhir:time [ fhir:v "2024-05-07"^^xsd:date ] ;
     fhir:party [
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor1> ;
       fhir:reference [ fhir:v "Practitioner/Doctor1" ] ;
       fhir:display [ fhir:v "Doctor Dave" ]
     ]
  ] ) ; # 
  fhir:custodian [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Organization/custodianOrganization> ;
     fhir:reference [ fhir:v "Organization/custodianOrganization" ] ;
     fhir:display [ fhir:v "Good Health Clinic" ]
  ] ; # 
  fhir:section ( [
     fhir:title [ fhir:v "Reason for admission" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:29299-5 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "29299-5" ] ;
         fhir:display [ fhir:v "Reason for visit Narrative" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "additional" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><thead><tr><td>Details</td><td/></tr></thead><tbody><tr><td>Acute Asthmatic attack. Was wheezing for days prior to admission.</td><td/></tr></tbody></table></div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:entry ( [
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Observation/Observation-541a72a8-df75-4484-ac89-ac4923f03b81> ;
       fhir:reference [ fhir:v "Observation/Observation-541a72a8-df75-4484-ac89-ac4923f03b81" ]
     ] )
  ] [
     fhir:title [ fhir:v "Medications on Discharge" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:10183-2 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "10183-2" ] ;
         fhir:display [ fhir:v "Hospital discharge medications Narrative" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "additional" ] ;
       fhir:div [ fhir:v "<div xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\"><table><thead><tr><td>Medication</td><td>Last Change</td><td>Last ChangeReason</td></tr></thead><tbody><tr><td>Theophylline 200mg BD after meals</td><td>continued</td></tr><tr><td>Ventolin Inhaler</td><td>stopped</td><td>Getting side effect of tremor</td></tr></tbody></table></div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:entry ( [
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/MedicationRequest/MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86> ;
       fhir:reference [ fhir:v "MedicationRequest/MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86" ]
     ] [
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/MedicationStatement/MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1> ;
       fhir:reference [ fhir:v "MedicationStatement/MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1" ]
     ] )
  ] [
     fhir:title [ fhir:v "Known allergies" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:48765-2 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "48765-2" ] ;
         fhir:display [ fhir:v "Allergies and adverse reactions Document" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "additional" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table><thead><tr><td>Allergen</td><td>Reaction</td></tr></thead><tbody><tr><td>Doxycycline</td><td>Hives</td></tr></tbody></table></div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:entry ( [
       fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/AllergyIntolerance/AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637> ;
       fhir:reference [ fhir:v "AllergyIntolerance/AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637" ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor2> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/ServiceRequest/service1> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/Consent/consent1> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/Encounter/encounter-example> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor1> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/Organization/custodianOrganization> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/Observation/Observation-541a72a8-df75-4484-ac89-ac4923f03b81> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/MedicationRequest/MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/MedicationStatement/MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1> a fhir:Uv .

<http://hl7.org/fhir/uv/fhir-clinical-document/AllergyIntolerance/AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637> a fhir:Uv .

<https://example.com/Organization/custodianOrganization> a fhir:Organization ;
  fhir:id [ fhir:v "custodianOrganization"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_custodianOrganization\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization custodianOrganization</b></p><a name=\"custodianOrganization\"> </a><a name=\"hccustodianOrganization\"> </a><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/7.1.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt #xD;#xA;#xD;#xA;This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: #xD;#xA;#xD;#xA;Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:2.16.840.1.113883.19.5</p><p><b>name</b>: Good Health Clinic</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:uuid:2.16.840.1.113883.19.5" ]
  ] ) ; # 
  fhir:name [ fhir:v "Good Health Clinic"] . # 

<https://example.com/Practitioner/Doctor1> a fhir:Practitioner ;
  fhir:id [ fhir:v "Doctor1"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2013-05-05T16:13:03Z"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_Doctor1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner Doctor1</b></p><a name=\"Doctor1\"> </a><a name=\"hcDoctor1\"> </a><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\">Last updated: 2013-05-05 16:13:03+0000</p></div><p><b>identifier</b>: <code>http://www.acme.org/practitioners</code>/23</p><p><b>name</b>: Adam Careful </p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://www.acme.org/practitioners"^^xsd:anyURI ;
       fhir:l <http://www.acme.org/practitioners>
     ] ;
     fhir:value [ fhir:v "23" ]
  ] ) ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Careful" ] ;
     fhir:given ( [ fhir:v "Adam" ] ) ;
     fhir:prefix ( [ fhir:v "Dr" ] )
  ] ) . # 

<https://example.com/Practitioner/Doctor2> a fhir:Practitioner ;
  fhir:id [ fhir:v "Doctor2"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2013-05-05T16:13:03Z"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_Doctor2\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner Doctor2</b></p><a name=\"Doctor2\"> </a><a name=\"hcDoctor2\"> </a><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\">Last updated: 2013-05-05 16:13:03+0000</p></div><p><b>identifier</b>: <code>http://www.acme.org/practitioners</code>/27</p><p><b>name</b>: BettaB Careful </p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://www.acme.org/practitioners"^^xsd:anyURI ;
       fhir:l <http://www.acme.org/practitioners>
     ] ;
     fhir:value [ fhir:v "27" ]
  ] ) ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Careful" ] ;
     fhir:given ( [ fhir:v "BettaB" ] ) ;
     fhir:prefix ( [ fhir:v "Dr" ] )
  ] ) . # 

<https://example.com/Patient/patient-example> a fhir:Patient ;
  fhir:id [ fhir:v "patient-example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_patient-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-example</b></p><a name=\"patient-example\"> </a><a name=\"hcpatient-example\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Eve Everiewoman Female, DoB: 1955-01-06</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 555-555-2003(Work)</li><li>2222 Home Street (home)</li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:text [ fhir:v "Eve Everiewoman" ] ;
     fhir:family [ fhir:v "Everiewoman1" ] ;
     fhir:given ( [ fhir:v "Eve" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "555-555-2003" ] ;
     fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1955-01-06"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "2222 Home Street" ] )
  ] ) . # 

<https://example.com/Encounter/encounter-example> a fhir:Encounter ;
  fhir:id [ fhir:v "encounter-example"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-07T11:28:17.000+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_encounter-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Encounter encounter-example</b></p><a name=\"encounter-example\"> </a><a name=\"hcencounter-example\"> </a><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\">Last updated: 2024-05-07 11:28:17+0000</p></div><p><b>identifier</b>: S100</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://hl7.org/fhir/R4/v3/ActCode/cs.html#v3-ActCode-IMP\">v3 Code System ActCode: IMP</a> (inpatient encounter)</p><p><b>type</b>: <span title=\"Codes:\">Orthopedic Admission</span></p><p><b>subject</b>: <a href=\"Patient-patient-example.html\">Eve Everiewoman</a></p><p><b>period</b>: 2024-05-03 13:28:17+0000 --&gt; 2024-05-07 11:28:17+0000</p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>DischargeDisposition</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Discharged to care of GP</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "S100" ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
     ] ;
     fhir:code [ fhir:v "IMP" ] ;
     fhir:display [ fhir:v "inpatient encounter" ]
  ] ; # 
  fhir:type ( [
     fhir:text [ fhir:v "Orthopedic Admission" ]
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2024-05-03T13:28:17.000+00:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2024-05-07T11:28:17.000+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:hospitalization [
     fhir:dischargeDisposition [
       fhir:text [ fhir:v "Discharged to care of GP" ]
     ]
  ] . # 

<https://example.com/Observation/Observation-541a72a8-df75-4484-ac89-ac4923f03b81> a fhir:Observation ;
  fhir:id [ fhir:v "Observation-541a72a8-df75-4484-ac89-ac4923f03b81"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-03T14:28:17.000+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\"><a name=\"Observation_Observation-541a72a8-df75-4484-ac89-ac4923f03b81\"> </a>Acute Asthmatic attack. Was wheezing for days prior to admission.</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:46241-6 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "46241-6" ]
     ] ) ;
     fhir:text [ fhir:v "Reason for admission" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] ; # 
  fhir:encounter [
     fhir:display [ fhir:v "http://fhir.healthintersections.com.au/open/Encounter/encounter-example" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2023-08-03"^^xsd:date
  ] ; # 
  fhir:performer ( [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor2> ;
     fhir:reference [ fhir:v "Practitioner/Doctor2" ] ;
     fhir:display [ fhir:v "Dr Careful" ]
  ] ) ; # 
  fhir:value [
     a fhir:String ;
     fhir:v "Acute Asthmatic attack. Was wheezing for days prior to admission."
  ] . # 

<https://example.com/MedicationRequest/MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86> a fhir:MedicationRequest ;
  fhir:id [ fhir:v "MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-07T11:28:17.000+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86</b></p><a name=\"MedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86\"> </a><a name=\"hcMedRequest-124a6916-5d84-4b8c-b250-10cefb8e6e86\"> </a><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\">Last updated: 2024-05-07 11:28:17+0000</p></div><p><b>status</b>: Unknown</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 66493003}\">Theophylline 200mg</span></p><p><b>subject</b>: <a href=\"Patient-patient-example.html\">Eve Everiewoman</a></p><p><b>requester</b>: <a href=\"Practitioner-Doctor1.html\">Peter Practitioner</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Management of Asthma</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>additionalInstruction</b>: <span title=\"Codes:\">Take with Food</span></p><p><b>timing</b>: 2 per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 394899003}\">oral administration of treatment</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/dose-rate-type ordered}\">Ordered</span></td><td>1 tablet<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{tablet} = '{tablet}')</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "unknown"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:66493003 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "66493003" ]
     ] ) ;
     fhir:text [ fhir:v "Theophylline 200mg" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] ; # 
  fhir:requester [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Practitioner/Doctor1> ;
     fhir:reference [ fhir:v "Practitioner/Doctor1" ] ;
     fhir:display [ fhir:v "Peter Practitioner" ]
  ] ; # 
  fhir:reasonCode ( [
     fhir:text [ fhir:v "Management of Asthma" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:additionalInstruction ( [
       fhir:text [ fhir:v "Take with Food" ]
     ] ) ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "2"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         a sct:394899003 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "394899003" ] ;
         fhir:display [ fhir:v "oral administration of treatment" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>
           ] ;
           fhir:code [ fhir:v "ordered" ] ;
           fhir:display [ fhir:v "Ordered" ]
         ] )
       ] ;
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "tablet" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "{tablet}" ]
       ]
     ] )
  ] ) . # 

<https://example.com/MedicationStatement/MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1> a fhir:MedicationStatement ;
  fhir:id [ fhir:v "MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationStatement MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1</b></p><a name=\"MedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1\"> </a><a name=\"hcMedStatement-673f8db5-0ffd-4395-9657-6da00420bbc1\"> </a><p><b>status</b>: Active</p><p><b>statusReason</b>: <span title=\"Codes:\">Management of Asthma</span></p><p><b>medication</b>: <span title=\"Codes:\">Ventolin Inhaler</span></p><p><b>subject</b>: <a href=\"Patient-patient-example.html\">Eve Everiewoman</a></p><p><b>dateAsserted</b>: 2024-05-07 11:28:17+0000</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:statusReason ( [
     fhir:text [ fhir:v "Management of Asthma" ]
  ] ) ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:text [ fhir:v "Ventolin Inhaler" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] ; # 
  fhir:dateAsserted [ fhir:v "2024-05-07T11:28:17.000+00:00"^^xsd:dateTime] . # 

<https://example.com/AllergyIntolerance/AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637> a fhir:AllergyIntolerance ;
  fhir:id [ fhir:v "AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-07T11:28:17.000+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"AllergyIntolerance_AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637\"> </a><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637</b></p><a name=\"AllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637\"> </a><a name=\"hcAllergyIntolerance-47600e0f-b6b5-4308-84b5-5dec157f7637\"> </a><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\">Last updated: 2024-05-07 11:28:17+0000</p></div><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification confirmed}\">Confirmed</span></p><p><b>type</b>: Allergy</p><p><b>criticality</b>: High Risk</p><p><b>code</b>: <span title=\"Codes:\">Doxycycline</span></p><p><b>patient</b>: <a href=\"Patient-patient-example.html\">Eve Everiewoman</a></p><p><b>recordedDate</b>: 2012-09-17</p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Hives</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:clinicalStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical>
       ] ;
       fhir:code [ fhir:v "active" ] ;
       fhir:display [ fhir:v "Active" ]
     ] )
  ] ; # 
  fhir:verificationStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/allergyintolerance-verification>
       ] ;
       fhir:code [ fhir:v "confirmed" ] ;
       fhir:display [ fhir:v "Confirmed" ]
     ] )
  ] ; # 
  fhir:type [ fhir:v "allergy"] ; # 
  fhir:criticality [ fhir:v "high"] ; # 
  fhir:code [
     fhir:text [ fhir:v "Doxycycline" ]
  ] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] ; # 
  fhir:recordedDate [ fhir:v "2012-09-17"^^xsd:date] ; # 
  fhir:reaction ( [
     fhir:manifestation ( [
       fhir:text [ fhir:v "Hives" ]
     ] )
  ] ) . # 

<https://example.com/ServiceRequest/service1> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "service1"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-07T11:28:17.000+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_service1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest service1</b></p><a name=\"service1\"> </a><a name=\"hcservice1\"> </a><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\">Last updated: 2024-05-07 11:28:17+0000</p></div><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:\">Discharge to home</span></p><p><b>subject</b>: <a href=\"Patient-patient-example.html\">Eve Everiewoman</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:text [ fhir:v "Discharge to home" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] . # 

<https://example.com/Consent/consent1> a fhir:Consent ;
  fhir:id [ fhir:v "consent1"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-05-07T11:28:17.000+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Consent_consent1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Consent consent1</b></p><a name=\"consent1\"> </a><a name=\"hcconsent1\"> </a><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\">Last updated: 2024-05-07 11:28:17+0000</p></div><h2>Participants</h2><table class=\"grid\"><tr><td><b>Role</b></td><td><b>Details</b></td></tr><tr><td title=\"Who the consent applies to\">Patient</td><td><a href=\"Patient-patient-example.html\">Eve Everiewoman</a></td></tr></table><p>This consent is made under the regulation <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode OPTIN}\">opt-in</span> .</p><p>The subject has given their consent.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:scope [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/consentscope>
       ] ;
       fhir:code [ fhir:v "patient-privacy" ]
     ] )
  ] ; # 
  fhir:category ( [
     fhir:coding ( [
       a loinc:59284-0 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "59284-0" ]
     ] )
  ] ) ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/uv/fhir-clinical-document/Patient/patient-example> ;
     fhir:reference [ fhir:v "Patient/patient-example" ] ;
     fhir:display [ fhir:v "Eve Everiewoman" ]
  ] ; # 
  fhir:policyRule [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "OPTIN" ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

