Skip to content

eRegister/openmrs-module-cag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAG

Description

The CAG module is ICAP Lesotho's effort, working with NUL to extend eRegister to have better support for Community ART Groups

Building from Source

You will need to have Java 1.6+ and Maven 2.x+ installed. Use the command 'mvn package' to compile and package the module. The .omod file will be in the omod/target folder.

Alternatively you can add the snippet provided in the Creating Modules page to your omod/pom.xml and use the mvn command:

mvn package -P deploy-web -D deploy.path="../../openmrs-1.8.x/webapp/src/main/webapp"

It will allow you to deploy any changes to your web resources such as jsp or js files without re-installing the module. The deploy path says where OpenMRS is deployed.

Installation

  1. Build the module to produce the .omod file.
  2. Use the OpenMRS Administration > Manage Modules screen to upload and install the .omod file.

If uploads are not allowed from the web (changable via a runtime property), you can drop the omod into the ~/.OpenMRS/modules folder. (Where ~/.OpenMRS is assumed to be the Application Data Directory that the running openmrs is currently using.) After putting the file in there simply restart OpenMRS/tomcat and the module will be loaded and started.

Release Notes

  • Added search cag by member(patient) endpoint to CAG.

CAG Module endpoints

1. CAG

Adding CAG:

POST http://localhost:8081/openmrs/ws/rest/v1/cag

{
    "name": "Ratanang Matebele",
    "description": "Youngsters from Thaba-Ts'oeu",
    "constituency": "Thaba-Ts'oeu",
    "village": "Mafika-Lisiu",
    "district": "Mafeteng",
    "cagPatientList": []
}

OR

{
    "name": "Ratanang Matebele",
    "description": "Youngsters from Thaba-Ts'oeu",
    "constituency": "Thaba-Ts'oeu",
    "village": "Mafika-Lisiu",
    "district": "Mafeteng",
    "cagPatientList": [
        {
            "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
        },
        {
            "uuid": "86ed2240-e6e9-42ca-a167-69ff0e4781de"
        },
        {
            "uuid": "532a3698-de39-41c4-87d0-002b5b608e48"
        },
        {
            "uuid": "7d570d92-8e78-4aa6-bd1b-72a4e20ceb3b"
        },
        {
            "uuid":"4e963c81-8f69-4458-930b-651666f8616b"
        }
    ]
}

Updating a CAG:

POST http://localhost:8081/openmrs/ws/rest/v1/cag/{UUID}

{
    "name": "Ratanang Matebele",
    "description": "Younger stars from Thaba-Ts'oeu",
    "constituency": "Thaba-Ts'oeu",
    "village": "Mafika-Lisiu",
    "district": "Mafeteng"
}

Retrieve specific CAG:

GET http://localhost:8081/openmrs/ws/rest/v1/cag/{UUID}

Retrieve CAG By any Member:

GET http://localhost:8081/openmrs/ws/rest/v1/cag?patientuuid={UUID}&v={representation[full/ref/default]}

Retrieve All CAGs:

GET http://localhost:8081/openmrs/ws/rest/v1/cag

Delete CAG:

DELETE http://localhost:8081/openmrs/ws/rest/v1/cag/{UUID}

3. Members of a CAG (CAG Patients)

Adding CAG Member:

POST http://localhost:8081/openmrs/ws/rest/v1/cagPatient

{
    "cag": {
        "uuid": "94edc0ce-d96b-493d-9e2b-13fa2a659eaf"
    },
    "patient": {
        "uuid": "0934ab1b-07ca-4ebe-bd34-c7afbb89d3aa"
    }
}

Deactivate a member from any cag where they are active:

DELETE http://localhost:8081/openmrs/ws/rest/v1/cagPatient/{UUID}

4. CAG visit

Get All CAG Visits:

GET http://localhost:8081/openmrs/ws/rest/v1/cagVisit/

Get Specific CAG Visits:

GET http://localhost:8081/openmrs/ws/rest/v1/cagVisit/{UUID}

Get CAG Visit by attender(patient):

GET http://localhost:8081/openmrs/ws/rest/v1/cagVisit?attenderuuid={UUID}&isactive={true/false}

Close CAG Visit:

POST http://localhost:8081/openmrs/ws/rest/v1/cagVisit/{UUID}

{
    "dateStopped": "2023-10-12 03:38:23"
}

Delete CAG Visit:

DELETE http://localhost:8081/openmrs/ws/rest/v1/cagVisit/{UUID}

Open/Create CAG Visit:

POST http://localhost:8081/openmrs/ws/rest/v1/cagVisit

{
    "cag": {
        "uuid": "0ca300bc-02d0-4f47-a06f-4f5ffa9b6b86"
    },
    "dateStarted": "2023-11-12 18:07:14",
    "locationName": "ART/TB Clinic",
    "attender": {
        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
    },
    "absentees": {
        "c8e31d37-c5d6-4b5c-9a59-5a3df1c04198": "Went to Durban"
    },
    "visits": [
        {
            "patient": {
                "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
            },
            "visitType": "33e15d3c-54b7-4e8e-9527-b828c1cb24d0",
            "location": {
                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
            },
            "startDatetime": "2023-11-12 18:07:14",
            "encounters": [
                {
                    "encounterDatetime": "2023-11-12 18:07:14",
                    "encounterType": "81888515-3f10-11e4-adec-0800271c1b75",
                    "patient": "af4726dd-ba5b-456c-b30e-d30ef3893242",
                    "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f", 
                    "obs":[
                        {
                            "concept": {
                                "conceptId": 55,
                                "uuid": "84f626d0-3f10-11e4-adec-0800271c1b75"
                            },
                            "obsDatetime": "2023-11-12 18:07:14",
                            "person": {
                                "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                            },
                            "location":{
                                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 4964,
                                        "uuid": "9b1fa8e6-8209-4fcd-abd2-142887fc83e0"
                                    },
                                    "valueCoded": "a3e3fdfe-e03c-401d-a3fd-1c2553fefe53",
                                    "valueCodedName": "HTC, Patient",
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 118,
                                        "uuid": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAA"
                                    },
                                    "valueNumeric": 140,
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 119,
                                        "uuid": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAA"
                                    },
                                    "valueNumeric": 60,
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3710,
                                        "uuid": "4a2cec08-4512-4635-b1de-b3b698f56346"
                                    },
                                    "valueCoded": "562fee67-96c5-4b80-ba02-ba8805a28693",
                                    "valueCodedName": "No signs",
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 128,
                                        "uuid": "c36e9c8b-3f10-11e4-adec-0800271c1b75"
                                    },
                                    "valueNumeric": 120,
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 131,
                                        "uuid": "c379aa1d-3f10-11e4-adec-0800271c1b75"
                                    },
                                    "valueNumeric": 73,
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2086,
                                        "uuid": "90f53912-95d5-4b5c-a9eb-81f3f937225e"
                                    },
                                    "valueNumeric": 24,
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "patient": "797f2646-08b8-4653-82af-0eb6ab7fb532",
            "visitType": "33e15d3c-54b7-4e8e-9527-b828c1cb24d0",
            "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
            "startDatetime": "2023-11-12 18:07:14",
            "encounters": [
                {

                    "encounterDatetime": "2023-11-12 18:07:14",
                    "encounterType": "81888515-3f10-11e4-adec-0800271c1b75",
                    "patient": "797f2646-08b8-4653-82af-0eb6ab7fb532",
                    "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
                    "obs": [
                        {
                            "concept": {
                                "conceptId": 55,
                                "uuid": "84f626d0-3f10-11e4-adec-0800271c1b75"
                            },
                            "obsDatetime": "2023-11-12 18:07:14",
                            "person": {
                                "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                            },
                            "location":{
                                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 4964,
                                        "uuid": "9b1fa8e6-8209-4fcd-abd2-142887fc83e0"
                                    },
                                    "valueCoded": "60c86ea4-5a2d-4d72-8190-32e47d06e0fa",
                                    "valueCodedName": "HTC, Buddy",
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "patient": "2ee9bf0f-1a71-4344-b786-d924b3a2b266",
            "visitType": "33e15d3c-54b7-4e8e-9527-b828c1cb24d0",
            "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
            "startDatetime": "2023-11-12 18:07:14",
            "encounters": [
                {
                    "encounterDatetime": "2023-11-12 18:07:14",
                    "encounterType": "81888515-3f10-11e4-adec-0800271c1b75",
                    "patient": "2ee9bf0f-1a71-4344-b786-d924b3a2b266",
                    "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
                    "obs": [
                        {
                            "concept": {
                                "conceptId": 55,
                                "uuid": "84f626d0-3f10-11e4-adec-0800271c1b75"
                            },
                            "obsDatetime": "2023-11-12 18:07:14",
                            "person": {
                                "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                            },
                            "location":{
                                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 4964,
                                        "uuid": "9b1fa8e6-8209-4fcd-abd2-142887fc83e0"
                                    },
                                    "valueCoded": "60c86ea4-5a2d-4d72-8190-32e47d06e0fa",
                                    "valueCodedName": "HTC, Buddy",
                                    "obsDatetime": "2023-11-12 18:07:14",
                                    "person": {
                                        "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

5. CAG ENCOUNTER

Retrieve a Specific CAG Encounter:

GET http://localhost:8081/openmrs/ws/rest/v1/cagEncounter/{UUID}

Retrieve All CAG Encounters of a specific CAG:

GET http://localhost:8081/openmrs/ws/rest/v1/cagEncounter?caguuid={UUID}

Delete a CAG Encounter:

Delete http://localhost:8081/openmrs/ws/rest/v1/cagEncounter/{UUID}

Update a CAG Encounter:

POST http://localhost:8081/openmrs/ws/rest/v1/cagEncounter/{UUID}

{
    "location" : "907bcca9-1fe1-4ac1-9ff6-76ee210f677a",
    "nextEncounterDate" : "2024-03-13 08:30:00"
}

Create CAG Encounter (Point-of-Care Consultatiom):

POST http://localhost:8081/openmrs/ws/rest/v1/cagEncounter

{
    "cag": {
        "uuid": "0ca300bc-02d0-4f47-a06f-4f5ffa9b6b86"
    },
    "cagVisit": {
        "uuid": "b117db5c-637c-4f5a-aa80-b32cae94ff8d"
    },
    "cagEncounterDateTime" : "2023-11-12 18:40:16",
    "nextEncounterDate": "2023-12-12 23:59:59",
    "location":{
        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
    },
    "attender":{
        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
    },
    "encounters": [
        {
            "encounterDatetime": "2023-11-12 18:40:16",
            "encounterType":{
                "uuid": "81852aee-3f10-11e4-adec-0800271c1b75"
            },
            "patient": {
                "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
            },
            "visit": {
                "uuid": "f3298305-1848-4610-9f9a-296c9a278750"
            },
            "location":{
                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
            },
            "orders":[
                {
                    "type": "drugorder",
                    "patient": "af4726dd-ba5b-456c-b30e-d30ef3893242",
                    "orderType": "131168f4-15f5-102d-96e4-000c29c2a5d7",
                    "concept": "9d155660-c16e-42d8-bff1-76cebe867e56",
                    "dateActivated" : "2023-11-12 18:40:16",
                    "autoExpireDate" : "2023-11-18 20:00:08",
                    "orderer" : "c1c26908-3f10-11e4-adec-0800271c1b75",
                    "urgency": "ON_SCHEDULED_DATE",
                    "careSetting": "6f0c9a92-6f24-11e3-af88-005056821db0",
                    "scheduledDate": "2023-11-12 18:40:16",
                    "dose": 1,
                    "doseUnits": "86239663-7b04-4563-b877-d7efc4fe6c46",
                    "frequency": "9d7c32a2-3f10-11e4-adec-0800271c1b75",
                    "quantity": 30.0,
                    "quantityUnits": "86239663-7b04-4563-b877-d7efc4fe6c46",
                    "drug": "189a5fc2-d29b-4ce5-b3ca-dc5405228bfc",
                    "numRefills": 0,
                    "dosingInstructions": "As directed",
                    "duration": 30,
                    "durationUnits": "9d7437a9-3f10-11e4-adec-0800271c1b75",
                    "route": "9d6bc13f-3f10-11e4-adec-0800271c1b75",
                    "action": "NEW"
                }
            ],
            "obs":[
                {
                    "concept": {
                        "conceptId": 2403,
                        "uuid": "746818ac-65a0-4d74-9609-ddb2c330a31b"
                    },
                    "obsDatetime": "2023-11-12 18:40:16",
                    "person": "af4726dd-ba5b-456c-b30e-d30ef3893242",
                    "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
                    "groupMembers": [
                        {
                            "concept": {
                                "conceptId": 3753,
                                "uuid": "65aa58be-3957-4c82-ad63-422637c8dd18"
                            },
                            "obsDatetime": "2023-11-12 18:40:16",
                            "person": {
                                "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                            },
                            "location":{
                                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 3843,
                                        "uuid": "e0bc761d-ac3b-4033-92c7-476304b9c5e8"
                                    },
                                    "valueCoded": "0f880c52-3ced-43ac-a79b-07a2740ae428",
                                    "valueCodedName": "ART patient",
                                    "valueText": "ART patient",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    } 
                                },
                                {
                                    "concept": {
                                        "conceptId": 3751,
                                        "uuid": "ed064424-0331-47f6-9532-77156f40a014"
                                    },
                                    "valueCoded": "a2065636-5326-40f5-aed6-0cc2cca81ccc",
                                    "valueCodedName": "Yes",
                                    "valueText": "Yes",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3752,
                                        "uuid": "88489023-783b-4021-b7a9-05ca9877bf67"
                                    },
                                    "valueDatetime": "2023-12-12 23:59:59",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2250,
                                        "uuid": "13382e01-9f18-488b-b2d2-58ab54c82d82"
                                    },
                                    "valueCoded": "225b0d93-d4b9-46b0-bbb2-1bce82c9107c",
                                    "valueCodedName": "1j=TDF-3TC-DTG",
                                    "valueDrug": "1j=TDF-3TC-DTG",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 4174,
                                        "uuid": "9eb00622-1078-4f7b-aa69-61e6c36db347"
                                    },
                                    "valueCoded": "e5e0461a-35c9-42f9-9a2b-7a66122d9d9d",
                                    "valueCodedName": "HIVTC, One month supply",
                                    "valueText": "1 month",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3730,
                                        "uuid": "27d55083-5e66-4b5a-91d3-2c9a42cc9996"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2224,
                                        "uuid": "95e1fc28-84ab-4971-8bb1-d8ee68ef5739"
                                    },
                                    "valueCoded": "480042e0-3011-4652-b989-2e22b5a725f2",
                                    "valueCodedName": "Stage II",
                                    "valueText": "Stage II",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3726,
                                        "uuid": "e8d05f4a-9c3f-4f99-941c-596f238f095f"
                                    },
                                    "valueCoded": "0621a9a2-7a26-4e93-8e38-3732d242ab28",
                                    "valueCodedName": "Good adherence",
                                    "valueText": "Good adherence",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3728,
                                        "uuid": "3485a002-f72f-43fd-8ba7-0288273489da"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "af4726dd-ba5b-456c-b30e-d30ef3893242"
                                    }
                                }
                            ]
                        }
                    ]
                }            
            ]
        },
        {
            "encounterDatetime": "2023-11-12 18:40:16",
            "encounterType":{
                "uuid": "81852aee-3f10-11e4-adec-0800271c1b75"
            },
            "patient": {
                "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
            },
            "visit": {
                "uuid": "e967a97c-7919-4a6a-8f72-d101763bddb8"
            },
            "location":{
                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
            },
            "orders":[
                {
                    "type": "drugorder",
                    "patient": "797f2646-08b8-4653-82af-0eb6ab7fb532",
                    "orderType": "131168f4-15f5-102d-96e4-000c29c2a5d7",
                    "concept": "9d155660-c16e-42d8-bff1-76cebe867e56",
                    "dateActivated" : "2023-11-12 18:40:16",
                    "autoExpireDate" : "2023-11-18 20:00:08",
                    "orderer" : "c1c26908-3f10-11e4-adec-0800271c1b75",
                    "urgency": "ON_SCHEDULED_DATE",
                    "careSetting": "6f0c9a92-6f24-11e3-af88-005056821db0",
                    "scheduledDate": "2023-11-12 18:40:16",
                    "dose": 1,
                    "doseUnits": "86239663-7b04-4563-b877-d7efc4fe6c46",
                    "frequency": "9d7c32a2-3f10-11e4-adec-0800271c1b75",
                    "quantity": 30.0,
                    "quantityUnits": "86239663-7b04-4563-b877-d7efc4fe6c46",
                    "drug": "189a5fc2-d29b-4ce5-b3ca-dc5405228bfc",
                    "numRefills": 0,
                    "dosingInstructions": "As directed",
                    "duration": 30,
                    "durationUnits": "9d7437a9-3f10-11e4-adec-0800271c1b75",
                    "route": "9d6bc13f-3f10-11e4-adec-0800271c1b75",
                    "action": "NEW"
                }
            ],
            "obs":[
                {
                    "concept": {
                        "conceptId": 2403,
                        "uuid": "746818ac-65a0-4d74-9609-ddb2c330a31b"
                    },
                    "obsDatetime": "2023-11-12 18:40:16",
                    "person": "797f2646-08b8-4653-82af-0eb6ab7fb532",
                    "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
                    "groupMembers": [
                        {
                            "concept": {
                                "conceptId": 3753,
                                "uuid": "65aa58be-3957-4c82-ad63-422637c8dd18"
                            },
                            "obsDatetime": "2023-11-12 18:40:16",
                            "person": {
                                "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                            },
                            "location":{
                                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 3843,
                                        "uuid": "e0bc761d-ac3b-4033-92c7-476304b9c5e8"
                                    },
                                    "valueCoded": "0f880c52-3ced-43ac-a79b-07a2740ae428",
                                    "valueCodedName": "ART patient",
                                    "valueText": "ART patient",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    } 
                                },
                                {
                                    "concept": {
                                        "conceptId": 3751,
                                        "uuid": "ed064424-0331-47f6-9532-77156f40a014"
                                    },
                                    "valueCoded": "a2065636-5326-40f5-aed6-0cc2cca81ccc",
                                    "valueCodedName": "Yes",
                                    "valueText": "Yes",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3752,
                                        "uuid": "88489023-783b-4021-b7a9-05ca9877bf67"
                                    },
                                    "valueDatetime": "2023-12-12 23:59:59",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2250,
                                        "uuid": "13382e01-9f18-488b-b2d2-58ab54c82d82"
                                    },
                                    "valueCoded": "225b0d93-d4b9-46b0-bbb2-1bce82c9107c",
                                    "valueCodedName": "1j=TDF-3TC-DTG",
                                    "valueDrug": "1j=TDF-3TC-DTG",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 4174,
                                        "uuid": "9eb00622-1078-4f7b-aa69-61e6c36db347"
                                    },
                                    "valueCoded": "e5e0461a-35c9-42f9-9a2b-7a66122d9d9d",
                                    "valueCodedName": "HIVTC, One month supply",
                                    "valueText": "1 month",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3730,
                                        "uuid": "27d55083-5e66-4b5a-91d3-2c9a42cc9996"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "797f2646-08b8-4653-82af-0eb6ab7fb532"
                                    }
                                }
                            ]
                        }
                    ]
                }            
            ]
        },
        {
            "encounterDatetime": "2023-11-12 18:40:16",
            "encounterType":{
                "uuid": "81852aee-3f10-11e4-adec-0800271c1b75"
            },
            "patient": {
                "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
            },
            "visit": {
                "uuid": "420808f7-3a8d-4de0-97b9-617a2de9e2f3"
            },
            "location":{
                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
            },
            "orders":[
                {
                    "type": "drugorder",
                    "patient": "2ee9bf0f-1a71-4344-b786-d924b3a2b266",
                    "orderType": "131168f4-15f5-102d-96e4-000c29c2a5d7",
                    "concept": "9d155660-c16e-42d8-bff1-76cebe867e56",
                    "dateActivated" : "2023-11-12 18:40:16",
                    "autoExpireDate" : "2023-11-18 20:00:08",
                    "orderer" : "c1c26908-3f10-11e4-adec-0800271c1b75",
                    "urgency": "ON_SCHEDULED_DATE",
                    "careSetting": "6f0c9a92-6f24-11e3-af88-005056821db0",
                    "scheduledDate": "2023-11-12 18:40:16",
                    "dose": 1,
                    "doseUnits": "86239663-7b04-4563-b877-d7efc4fe6c46",
                    "frequency": "9d7c32a2-3f10-11e4-adec-0800271c1b75",
                    "quantity": 30.0,
                    "quantityUnits": "86239663-7b04-4563-b877-d7efc4fe6c46",
                    "drug": "189a5fc2-d29b-4ce5-b3ca-dc5405228bfc",
                    "numRefills": 0,
                    "dosingInstructions": "As directed",
                    "duration": 30,
                    "durationUnits": "9d7437a9-3f10-11e4-adec-0800271c1b75",
                    "route": "9d6bc13f-3f10-11e4-adec-0800271c1b75",
                    "action": "NEW"
                }
            ],
            "obs":[
                {
                    "concept": {
                        "conceptId": 2403,
                        "uuid": "746818ac-65a0-4d74-9609-ddb2c330a31b"
                    },
                    "obsDatetime": "2023-11-12 18:40:16",
                    "person": "2ee9bf0f-1a71-4344-b786-d924b3a2b266",
                    "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",
                    "groupMembers": [
                        {
                            "concept": {
                                "conceptId": 3753,
                                "uuid": "65aa58be-3957-4c82-ad63-422637c8dd18"
                            },
                            "obsDatetime": "2023-11-12 18:40:16",
                            "person": {
                                "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                            },
                            "location":{
                                "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 3843,
                                        "uuid": "e0bc761d-ac3b-4033-92c7-476304b9c5e8"
                                    },
                                    "valueCoded": "0f880c52-3ced-43ac-a79b-07a2740ae428",
                                    "valueCodedName": "ART patient",
                                    "valueText": "ART patient",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                                    },
                                    "location":{
                                        "uuid": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f"
                                    } 
                                },
                                {
                                    "concept": {
                                        "conceptId": 3751,
                                        "uuid": "ed064424-0331-47f6-9532-77156f40a014"
                                    },
                                    "valueCoded": "a2065636-5326-40f5-aed6-0cc2cca81ccc",
                                    "valueCodedName": "Yes",
                                    "valueText": "Yes",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3752,
                                        "uuid": "88489023-783b-4021-b7a9-05ca9877bf67"
                                    },
                                    "valueDatetime": "2023-12-12 23:59:59",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2250,
                                        "uuid": "13382e01-9f18-488b-b2d2-58ab54c82d82"
                                    },
                                    "valueCoded": "225b0d93-d4b9-46b0-bbb2-1bce82c9107c",
                                    "valueCodedName": "1j=TDF-3TC-DTG",
                                    "valueDrug": "1j=TDF-3TC-DTG",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 4174,
                                        "uuid": "9eb00622-1078-4f7b-aa69-61e6c36db347"
                                    },
                                    "valueCoded": "e5e0461a-35c9-42f9-9a2b-7a66122d9d9d",
                                    "valueCodedName": "HIVTC, One month supply",
                                    "valueText": "1 month",
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3730,
                                        "uuid": "27d55083-5e66-4b5a-91d3-2c9a42cc9996"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2023-11-12 18:40:16",
                                    "person": {
                                        "uuid": "2ee9bf0f-1a71-4344-b786-d924b3a2b266"
                                    }
                                }
                            ]
                        }
                    ]
                }            
            ]
        }
    ]    
}

Create CAG Encounter (Retrospective Consultatiom):

POST http://localhost:8081/openmrs/ws/rest/v1/cagEncounter

{
    "cag": {
        "uuid": "f5980940-3385-4ad0-9117-e7ddcc371738"
    },
    "cagEncounterDateTime" : "2024-01-01 08:30:00",
    "nextEncounterDate": "2024-06-30 23:59:59",
    "location":{
        "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
    },
    "attender":{
        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
    },
    "encounters": [
        {
            "encounterDatetime": "2024-01-01 08:30:00",
            "encounterType":{
                "uuid": "81852aee-3f10-11e4-adec-0800271c1b75"
            },
            "patient": {
                "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
            },
            "location":{
                "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
            },
            "obs":[
                {
                    "concept": {
                        "conceptId": 2403,
                        "uuid": "746818ac-65a0-4d74-9609-ddb2c330a31b"
                    },
                    "obsDatetime": "2024-01-01 08:30:00",
                    "person": "fb1ea4fd-888a-43aa-bca4-6507db48f314",
                    "location": "bb4074a6-5eae-4797-a2d3-033d2fa74eed",
                    "groupMembers": [
                        {
                            "concept": {
                                "conceptId": 3753,
                                "uuid": "65aa58be-3957-4c82-ad63-422637c8dd18"
                            },
                            "obsDatetime": "2024-01-01 08:30:00",
                            "person": {
                                "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                            },
                            "location":{
                                "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 3843,
                                        "uuid": "e0bc761d-ac3b-4033-92c7-476304b9c5e8"
                                    },
                                    "valueCoded": "0f880c52-3ced-43ac-a79b-07a2740ae428",
                                    "valueCodedName": "ART patient",
                                    "valueText": "ART patient",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    },
                                    "location":{
                                        "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
                                    } 
                                },
                                {
                                    "concept": {
                                        "conceptId": 3751,
                                        "uuid": "ed064424-0331-47f6-9532-77156f40a014"
                                    },
                                    "valueCoded": "a2065636-5326-40f5-aed6-0cc2cca81ccc",
                                    "valueCodedName": "Yes",
                                    "valueText": "Yes",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3752,
                                        "uuid": "88489023-783b-4021-b7a9-05ca9877bf67"
                                    },
                                    "valueDatetime": "2024-06-30 23:59:59",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2250,
                                        "uuid": "13382e01-9f18-488b-b2d2-58ab54c82d82"
                                    },
                                    "valueCoded": "225b0d93-d4b9-46b0-bbb2-1bce82c9107c",
                                    "valueCodedName": "1j=TDF-3TC-DTG",
                                    "valueDrug": "1j=TDF-3TC-DTG",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 4174,
                                        "uuid": "9eb00622-1078-4f7b-aa69-61e6c36db347"
                                    },
                                    "valueCoded": "e5e0461a-35c9-42f9-9a2b-7a66122d9d9d",
                                    "valueCodedName": "HIVTC, One month supply",
                                    "valueText": "1 month",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3730,
                                        "uuid": "27d55083-5e66-4b5a-91d3-2c9a42cc9996"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2224,
                                        "uuid": "95e1fc28-84ab-4971-8bb1-d8ee68ef5739"
                                    },
                                    "valueCoded": "480042e0-3011-4652-b989-2e22b5a725f2",
                                    "valueCodedName": "Stage II",
                                    "valueText": "Stage II",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3726,
                                        "uuid": "e8d05f4a-9c3f-4f99-941c-596f238f095f"
                                    },
                                    "valueCoded": "0621a9a2-7a26-4e93-8e38-3732d242ab28",
                                    "valueCodedName": "Good adherence",
                                    "valueText": "Good adherence",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3728,
                                        "uuid": "3485a002-f72f-43fd-8ba7-0288273489da"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "fb1ea4fd-888a-43aa-bca4-6507db48f314"
                                    }
                                }
                            ]
                        }
                    ]
                }            
            ]
        },
        {
            "encounterDatetime": "2024-01-01 08:30:00",
            "encounterType":{
                "uuid": "81852aee-3f10-11e4-adec-0800271c1b75"
            },
            "patient": {
                "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
            },
            "location":{
                "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
            },
            "obs":[
                {
                    "concept": {
                        "conceptId": 2403,
                        "uuid": "746818ac-65a0-4d74-9609-ddb2c330a31b"
                    },
                    "obsDatetime": "2024-01-01 08:30:00",
                    "person": "512812d6-ccae-4739-8572-418ba3a55b62",
                    "location": "bb4074a6-5eae-4797-a2d3-033d2fa74eed",
                    "groupMembers": [
                        {
                            "concept": {
                                "conceptId": 3753,
                                "uuid": "65aa58be-3957-4c82-ad63-422637c8dd18"
                            },
                            "obsDatetime": "2024-01-01 08:30:00",
                            "person": {
                                "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
                            },
                            "location":{
                                "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 3843,
                                        "uuid": "e0bc761d-ac3b-4033-92c7-476304b9c5e8"
                                    },
                                    "valueCoded": "0f880c52-3ced-43ac-a79b-07a2740ae428",
                                    "valueCodedName": "ART patient",
                                    "valueText": "ART patient",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
                                    },
                                    "location":{
                                        "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
                                    } 
                                },
                                {
                                    "concept": {
                                        "conceptId": 3751,
                                        "uuid": "ed064424-0331-47f6-9532-77156f40a014"
                                    },
                                    "valueCoded": "a2065636-5326-40f5-aed6-0cc2cca81ccc",
                                    "valueCodedName": "Yes",
                                    "valueText": "Yes",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3752,
                                        "uuid": "88489023-783b-4021-b7a9-05ca9877bf67"
                                    },
                                    "valueDatetime": "2024-06-30 23:59:59",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2250,
                                        "uuid": "13382e01-9f18-488b-b2d2-58ab54c82d82"
                                    },
                                    "valueCoded": "225b0d93-d4b9-46b0-bbb2-1bce82c9107c",
                                    "valueCodedName": "1j=TDF-3TC-DTG",
                                    "valueDrug": "1j=TDF-3TC-DTG",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 4174,
                                        "uuid": "9eb00622-1078-4f7b-aa69-61e6c36db347"
                                    },
                                    "valueCoded": "e5e0461a-35c9-42f9-9a2b-7a66122d9d9d",
                                    "valueCodedName": "HIVTC, One month supply",
                                    "valueText": "1 month",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3730,
                                        "uuid": "27d55083-5e66-4b5a-91d3-2c9a42cc9996"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "512812d6-ccae-4739-8572-418ba3a55b62"
                                    }
                                }
                            ]
                        }
                    ]
                }            
            ]
        },
        {
            "encounterDatetime": "2024-01-01 08:30:00",
            "encounterType":{
                "uuid": "81852aee-3f10-11e4-adec-0800271c1b75"
            },
            "patient": {
                "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
            },
            "location":{
                "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
            },
            "obs":[
                {
                    "concept": {
                        "conceptId": 2403,
                        "uuid": "746818ac-65a0-4d74-9609-ddb2c330a31b"
                    },
                    "obsDatetime": "2024-01-01 08:30:00",
                    "person": "90ad98e3-967e-486e-81be-7341b5e708b3",
                    "location": "bb4074a6-5eae-4797-a2d3-033d2fa74eed",
                    "groupMembers": [
                        {
                            "concept": {
                                "conceptId": 3753,
                                "uuid": "65aa58be-3957-4c82-ad63-422637c8dd18"
                            },
                            "obsDatetime": "2024-01-01 08:30:00",
                            "person": {
                                "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
                            },
                            "location":{
                                "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
                            },
                            "groupMembers": [
                                {
                                    "concept": {
                                        "conceptId": 3843,
                                        "uuid": "e0bc761d-ac3b-4033-92c7-476304b9c5e8"
                                    },
                                    "valueCoded": "0f880c52-3ced-43ac-a79b-07a2740ae428",
                                    "valueCodedName": "ART patient",
                                    "valueText": "ART patient",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
                                    },
                                    "location":{
                                        "uuid": "bb4074a6-5eae-4797-a2d3-033d2fa74eed"
                                    } 
                                },
                                {
                                    "concept": {
                                        "conceptId": 3751,
                                        "uuid": "ed064424-0331-47f6-9532-77156f40a014"
                                    },
                                    "valueCoded": "a2065636-5326-40f5-aed6-0cc2cca81ccc",
                                    "valueCodedName": "Yes",
                                    "valueText": "Yes",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3752,
                                        "uuid": "88489023-783b-4021-b7a9-05ca9877bf67"
                                    },
                                    "valueDatetime": "2024-06-30 23:59:59",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 2250,
                                        "uuid": "13382e01-9f18-488b-b2d2-58ab54c82d82"
                                    },
                                    "valueCoded": "225b0d93-d4b9-46b0-bbb2-1bce82c9107c",
                                    "valueCodedName": "1j=TDF-3TC-DTG",
                                    "valueDrug": "1j=TDF-3TC-DTG",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 4174,
                                        "uuid": "9eb00622-1078-4f7b-aa69-61e6c36db347"
                                    },
                                    "valueCoded": "e5e0461a-35c9-42f9-9a2b-7a66122d9d9d",
                                    "valueCodedName": "HIVTC, One month supply",
                                    "valueText": "1 month",
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
                                    }
                                },
                                {
                                    "concept": {
                                        "conceptId": 3730,
                                        "uuid": "27d55083-5e66-4b5a-91d3-2c9a42cc9996"
                                    },
                                    "valueNumeric": 30,
                                    "obsDatetime": "2024-01-01 08:30:00",
                                    "person": {
                                        "uuid": "90ad98e3-967e-486e-81be-7341b5e708b3"
                                    }
                                }
                            ]
                        }
                    ]
                }            
            ]
        }
    ]    
}

About

Community ART Groups Management module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages