Skip to main content

Create Person in OpenMRS

This job was provided by an OpenFn.org user via the job library API.

Metadata

Key Functions

dataValue, field, fields

Expression

person(
fields(
field("gender", "M"),
field("names", function(state) {
return [{
"givenName": dataValue("form.first_name")(state),
"familyName": "Sports_Music_Field_Day"
}]
})
)
)