@prefix fhir: <http://hl7.org/fhir/> .
@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/Person/AMKPersonMasterPersonIndex> a fhir:Person ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "AMKPersonMasterPersonIndex"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.amakomaya.com/StructureDefinition/amk-core-person"^^xsd:anyURI ;
       fhir:link <https://fhir.amakomaya.com/StructureDefinition/amk-core-person>
     ] )
  ] ; # 
  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: Person AMKPersonMasterPersonIndex</b></p><a name=\"AMKPersonMasterPersonIndex\"> </a><a name=\"hcAMKPersonMasterPersonIndex\"> </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-core-person.html\">AMK Core Person Profile</a></p></div><p><b>identifier</b>: PHONE/+9779812345678 (use: official, period: 2026-01-07 12:30:00+0000 --&gt; (ongoing)), Passport number/PA1234567 (use: official, ), HFID/HAMS-0008942 (use: usual, ), KCUID/3f8d1c42-9b9c-4e0b-a94c-6b34fdb01eab (use: secondary, )</p><p><b>active</b>: true</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PHONE" ]
       ] )
     ] ;
     fhir:system [ fhir:v "https://api.amakomaya.com/NamingSystem/nepal-telecom-subscriber"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "+9779812345678" ] ;
     fhir:period [
       fhir:start [ fhir:v "2026-01-07T12:30:00Z"^^xsd:dateTime ]
     ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PPN" ]
       ] )
     ] ;
     fhir:system [ fhir:v "https://immigration.gov.np/passport"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "PA1234567" ] ;
     fhir:assigner [
       fhir:display [ fhir:v "Department of Immigration, Nepal" ]
     ]
  ] [
     fhir:use [ fhir:v "usual" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "https://api.amakomaya.com/CodeSystem/identifier-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "HFID" ]
       ] )
     ] ;
     fhir:system [ fhir:v "https://api.amakomaya.com/NamingSystem/health-facility"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "HAMS-0008942" ] ;
     fhir:assigner [
       fhir:link <https://amakomaya.com/Organization/hams-hospital> ;
       fhir:reference [ fhir:v "Organization/hams-hospital" ]
     ]
  ] [
     fhir:use [ fhir:v "secondary" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "https://api.amakomaya.com/CodeSystem/identifier-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "KCUID" ]
       ] )
     ] ;
     fhir:system [ fhir:v "https://keycloak.amakomaya.com"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "3f8d1c42-9b9c-4e0b-a94c-6b34fdb01eab" ]
  ] ) ; # 
  fhir:active [ fhir:v true] . # 

# -------------------------------------------------------------------------------------

