This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Handle custom Tracked Entity Instance with no Attributes (1.1)
Volker edited this page Apr 24, 2019
·
4 revisions
The following description contains the setup of a DHIS 2 Tracked Entity Type that contains only the National Identifier as Tracked Entity Attribute.
The following example sets the reference to the Tracked Entity Attribute with the name National Identifier
. This Tracked Entity Attribute must have been assigned to the Tracked Entity Type Person
.
curl -XPATCH -i -u admin:district -H 'Content-Type: application/merge-patch+json' http://localhost:8081/api/trackedEntities/4203754d-2177-4a44-86aa-2de31ee4c8ee -d '{
"trackedEntityIdentifierReference": {
"value": "National identifier",
"type": "NAME"
}
}'
The pre-configured Tracked Entity Rule must use transformation scripts that do nothing. This can simply be achieved by resetting the references to these scripts in the corresponding rules.
curl -XDELETE -i -u admin:district -H 'Content-Type: text/uri-list' http://localhost:8081/api/rules/5f9ebdc9-852e-4c83-87ca-795946aabc35/transformImpScript
curl -XDELETE -i -u admin:district -H 'Content-Type: text/uri-list' http://localhost:8081/api/rules/5f9ebdc9-852e-4c83-87ca-795946aabc35/transformExpScript
Copyright (c) 2004-2019, University of Oslo. All rights reserved.
- Default FHIR Patient to DHIS 2 Tracked Entity Instance Mapping
- FHIR Administrative Gender to DHIS 2 Code Set Code
- Initial Setup
- Excel Import of Mappings
- FHIR REST Interfaces
- Connect a new FHIR Server
- Constants
- Coding Systems
- Configure FHIR Resources
- Export and Import
- Limitations
- REST API for Administration and Mapping
- Javascript API for Rules and Transformations to DHIS 2
- Javascript API for Rules and Transformations from DHIS 2
- Connect HAPI FHIR JPA Server
- Connect Jembi HEARTH FHIR Server
- Direct FHIR Import from OpenMRS
- Default FHIR Patient to DHIS 2 Tracked Entity Instance Mapping
- FHIR Administrative Gender to DHIS 2 Code Set Code
- Create Tracker Program with Vital Sign
- Add SNOMED CT Code for Vital Sign
- Export Organizations and Locations to FHIR Server
- Export Patients to FHIR Server
- Handle custom Tracked Entity Instance with no Attributes
- Mapping of Organizations