Amakomaya Nepal FHIR Implementation Guide
1.0.1 - ci-build
Amakomaya Nepal FHIR Implementation Guide - Local Development build (v1.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page provides a concise, developer-focused guide for working with the AMK FHIR API. It complements the formal conformance artifacts (Profiles, ValueSets, and CapabilityStatement) with practical usage patterns, conventions, and examples.
https://api.amakomaya.comapplication/fhir+jsonAll examples in this guide assume JSON encoding.
All API requests MUST be authenticated.
Unauthorized or forbidden requests return an OperationOutcome with HTTP status:
401 Unauthorized403 ForbiddenClients SHOULD be prepared to parse and display OperationOutcome.issue details.
Each resource has:
Resource.id)Resource.identifier)Business identifiers:
AMK uses phone number as the primary business identifier for person-level identity.
https://api.amakomaya.com/NamingSystem/nepal-telecom-subscriber
identifier={system}|{value}
identifier=https://api.amakomaya.com/NamingSystem/nepal-telecom-subscriber|9851341921
This identifier is consistently used across Person search and conditional create operations.
The Person resource represents a real-world individual and acts as the identity anchor for clinical, programmatic, and observational data.
To prevent duplicate Person records, clients SHOULD use conditional create.
POST /Person?identifier={system}|{value}
Behavior:
This pattern is the preferred way to register or resolve a Person.
GET /Person?identifier={system}|{value}
Person.id for future operationsGET /Person/{id}
Retrieves a single Person resource by logical id.
PUT /Person/{id}
DELETE /Person/{id}
Deletes the Person resource identified by the logical id.
The Observation resource is used to capture measurements, findings, or events associated with a Person (for example: body weight or menstruation status).
All Observations MUST reference a Person:
Observation.subject.reference = "Person/{person-id}"
The referenced Person MUST exist on the server.
POST /Observation
Observation.subject is mandatoryPerson/{id}GET /Observation?subject=Person/{person-id}
Returns all Observations linked to the specified Person.
FHIR does not support server-side joins across resources.
To retrieve Observations when only a Person identifier is known, clients MUST follow this pattern:
Person.id** from the BundleThis two-step workflow is REQUIRED and is the standard FHIR approach.
A typical client interaction SHOULD follow this sequence:
Person.id locallyPerson/{id} as the subjectThis approach ensures data consistency and prevents duplicate identity records.
2025-12-17T06:30:00+05:45
Clients SHOULD NOT assume server-side timezone normalization.
Clients MUST rely on the server’s CapabilityStatement as the authoritative source for:
This guide provides usage conventions but does not replace the CapabilityStatement.
This document focuses on:
Additional resources, profiles, and workflows may be introduced in future versions of the AMK FHIR Implementation Guide.