๐Ÿš€ New OpenCRVS Adaptor Released

Dear Community,

Weโ€™re thrilled to announce the release of the new OpenCRVS Adaptor v1.0.0, designed to enable you conduct civil registration faster.

You can read the full details of the new Adaptor here.

:wrench: Features

  1. Create a birth notification
  • Make a POST request to OpenCRVS to create a birth notification.
createBirthNotification([
  {
    fullUrl: 'urn:uuid:abcde',
    resource: {
      resourceType: 'Composition',
     section:[
           {
          title: "Mother's details",
          code: {
            coding: [
              {
                system: 'http://opencrvs.org/specs/sections',
                code: 'mother-details',
              },
            ],
            text: "Mother's details",
          },
          entry: [
            {
              reference: 'urn:uuid:wxyz',
            },
          ],
        }
         // ... other section details  
        ]
      
      // ... other resource details
    },
  },
  {
    fullUrl: 'urn:uuid:wxyz',
    resource: {
      resourceType: 'Patient',
      // ... other resource details
    },
  },
]);
  • Make a request to OpenCRVS to query an event
queryEvents(
  {
    event: 'birth',
    registrationStatuses: ['REGISTERED'],
    childGender: 'male',
    dateOfRegistrationEnd: '2022-12-31T23:59:59.999Z',
    dateOfRegistrationStart: '2021-11-01T00:00:00.000Z',
    declarationJurisdictionId: '',
    eventLocationId: 'abcde-efg',
    fatherFirstNames: 'Dad',
    motherFirstNames: 'Mom',
  },
);

:puzzle_piece: Example Workflow

Hereโ€™s a real-world example from our Solutions Engineer โ€” a workflow that fetches new birth data from dhis2 and creates a birth record in OpenCRVS.

:white_check_mark: Try It Out

Explore the adaptor now at app.openfn.org

Need help? Book a free demo

Youโ€™re entitled to a 2-hour free session with our Solutions Engineer to help build your first integration.

Happy automating!

โ€” The OpenFn Team

2 Likes