@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 -------------------------------------------------------------------

<https://amakomaya.com/DocumentReference/document-reference-anc-visit> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "document-reference-anc-visit"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.amakomaya.com/StructureDefinition/amk-document-reference"^^xsd:anyURI ;
       fhir:link <https://fhir.amakomaya.com/StructureDefinition/amk-document-reference>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference document-reference-anc-visit</b></p><a name=\"document-reference-anc-visit\"> </a><a name=\"hcdocument-reference-anc-visit\"> </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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-amk-document-reference.html\">AMKDocumentReference</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 57057-2}\">Prenatal visit note</span></p><p><b>subject</b>: <a href=\"Patient-patient-pregnant.html\">Sita Sharma Female, DoB: 1998-04-15 ( https://api.amakomaya.com/NamingSystem/nepal-telecom-subscriber#Nepal Telecome Subscriber Identifier Namespace#9851341921 (use: official, ))</a></p><p><b>date</b>: 2025-11-27 10:00:00+0545</p><p><b>description</b>: </p><div><p>ANC Visit Report from 2nd trimester</p>\n</div><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://amakomaya.com\">https://amakomaya.com</a></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:57057-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "57057-2" ] ;
       fhir:display [ fhir:v "Prenatal visit note" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <https://amakomaya.com/Patient/patient-pregnant> ;
     fhir:reference [ fhir:v "Patient/patient-pregnant" ]
  ] ; # 
  fhir:date [ fhir:v "2025-11-27T10:00:00+05:45"^^xsd:dateTime] ; # 
  fhir:description [ fhir:v "ANC Visit Report from 2nd trimester"] ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:url [ fhir:v "https://amakomaya.com"^^xsd:anyURI ]
     ]
  ] ) . # 

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

