@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Composition/ExampleCompositionIPSNguyenVanAn> a fhir:Composition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleCompositionIPSNguyenVanAn"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-composition-ips"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-composition-ips>
     ] )
  ] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>International Patient Summary</h1><p>Patient: Nguyễn Văn An. Allergies: Penicillin. Problems: Essential hypertension. Medications: Amlodipine 5mg daily.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:60591-5 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "60591-5" ] ;
       fhir:display [ fhir:v "Patient summary Document" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:display [ fhir:v "Nguyễn Văn An" ]
  ] ; # 
  fhir:date [ fhir:v "2026-06-02T08:00:00+07:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationHealthCheckupFacility> ;
     fhir:reference [ fhir:v "Organization/ExampleOrganizationHealthCheckupFacility" ]
  ] ) ; # 
  fhir:title [ fhir:v "International Patient Summary — Nguyễn Văn An"] ; # 
  fhir:attester ( [
     fhir:mode [ fhir:v "legal" ] ;
     fhir:time [ fhir:v "2026-06-02T08:00:00+07:00"^^xsd:dateTime ] ;
     fhir:party [
       fhir:l <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationHealthCheckupFacility> ;
       fhir:reference [ fhir:v "Organization/ExampleOrganizationHealthCheckupFacility" ]
     ]
  ] ) ; # 
  fhir:custodian [
     fhir:l <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationHealthCheckupFacility> ;
     fhir:reference [ fhir:v "Organization/ExampleOrganizationHealthCheckupFacility" ]
  ] ; # 
  fhir:section ( [
     fhir:title [ fhir:v "Active Problems" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:11450-4 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "11450-4" ] ;
         fhir:display [ fhir:v "Problem list - Reported" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Essential (primary) hypertension (ICD-10 I10), active.</div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:entry ( [
       fhir:l <http://fhir.hl7.org.vn/core/Condition/ExampleConditionProblemHypertension> ;
       fhir:reference [ fhir:v "Condition/ExampleConditionProblemHypertension" ]
     ] )
  ] [
     fhir:title [ fhir:v "Allergies and Intolerances" ] ;
     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 "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Allergy to penicillin (SNOMED CT 91936005), high criticality.</div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:entry ( [
       fhir:l <http://fhir.hl7.org.vn/core/AllergyIntolerance/ExampleAllergyPenicillin> ;
       fhir:reference [ fhir:v "AllergyIntolerance/ExampleAllergyPenicillin" ]
     ] )
  ] [
     fhir:title [ fhir:v "Medication Summary" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:10160-0 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "10160-0" ] ;
         fhir:display [ fhir:v "History of Medication use Narrative" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Amlodipine 5 mg once daily (current), for hypertension.</div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:entry ( [
       fhir:l <http://fhir.hl7.org.vn/core/MedicationStatement/ExampleMedicationStatementAmlodipine> ;
       fhir:reference [ fhir:v "MedicationStatement/ExampleMedicationStatementAmlodipine" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

