Skip to content

Commit

Permalink
Merge pull request #324 from jembi/CU-86bzf9c4p_Update-Platform-JeMPI…
Browse files Browse the repository at this point in the history
…-images

Cu 86bzf9c4p update platform je mpi images
  • Loading branch information
rcrichton authored Sep 12, 2024
2 parents e3f30d1 + 92c7601 commit e3c8f06
Show file tree
Hide file tree
Showing 14 changed files with 717 additions and 99 deletions.
239 changes: 239 additions & 0 deletions client-registry-jempi/config/config-api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
{
"fields": [
{
"fieldName": "aux_id",
"fieldType": "String",
"fieldLabel": "AUX ID",
"groups": ["identifiers", "record_details"],
"scope": [
"/patient-record/:uid",
"/golden-record/:uid",
"/record-details/:uid",
"/search/custom"
],
"readOnly": true,
"accessLevel": []
},
{
"fieldName": "givenName",
"fieldType": "String",
"fieldLabel": "First Name",
"groups": [
"name",
"demographics",
"filter",
"linked_records",
"record_details"
],
"scope": [
"/notifications/match-details",
"/record-details/:uid/relink",
"/search/simple",
"/search/custom",
"/search-results/golden",
"/search-results/patient",
"/record-details/:uid",
"/browse-records"
],
"validation": {
"required": true,
"onErrorMessage": "The family name cannot be empty"
},
"accessLevel": []
},
{
"fieldName": "familyName",
"fieldType": "String",
"fieldLabel": "Last Name",
"groups": [
"name",
"demographics",
"filter",
"linked_records",
"record_details"
],
"scope": [
"/record-details/:uid",
"/notifications/match-details",
"/record-details/:uid/relink",
"/search/simple",
"/search/custom",
"/search-results/golden",
"/search-results/patient",
"/browse-records"
],
"validation": {
"required": true,
"onErrorMessage": "The family name cannot be empty"
},
"accessLevel": []
},
{
"fieldName": "gender",
"fieldType": "String",
"fieldLabel": "Gender",
"groups": [
"demographics",
"filter",
"sub_heading",
"linked_records",
"record_details"
],
"scope": [
"/record-details/:uid",
"/notifications/match-details",
"/record-details/:uid/relink",
"/search/custom",
"/browse-records"
],
"validation": {
"required": true,
"regex": "^(male|female)$",
"onErrorMessage": "The Gender cannot be empty and should either be male, female or neutral"
},
"accessLevel": []
},
{
"fieldName": "dob",
"fieldType": "Date",
"fieldLabel": "Date of Birth",
"groups": [
"demographics",
"filter",
"sub_heading",
"linked_records",
"record_details"
],
"scope": [
"/record-details/:uid",
"/notifications/match-details",
"/record-details/:uid/relink",
"/search/simple",
"/search/custom",
"/search-results/golden",
"/search-results/patient",
"/browse-records"
],
"accessLevel": [],
"validation": {
"required": true,
"onErrorMessage": "Date of birth cannot be empty"
}
},
{
"fieldName": "city",
"fieldType": "String",
"fieldLabel": "City",
"groups": ["demographics", "filter", "linked_records", "record_details"],
"scope": [
"/record-details/:uid",
"/notifications/match-details",
"/record-details/:uid/relink",
"/search/custom",
"/browse-records"
],
"accessLevel": [],
"validation": {
"required": true,
"onErrorMessage": "Date of birth cannot be empty"
}
},
{
"fieldName": "phoneNumber",
"fieldType": "String",
"fieldLabel": "Phone No",
"groups": ["demographics", "filter", "linked_records", "record_details"],
"scope": [
"/record-details/:uid",
"/notifications/match-details",
"/record-details/:uid/relink",
"/search/custom",
"/browse-records"
],
"accessLevel": []
},
{
"fieldName": "nationalId",
"fieldType": "String",
"fieldLabel": "National ID",
"groups": ["identifiers", "linked_records", "record_details"],
"scope": [
"/record-details/:uid",
"/notifications/match-details",
"/record-details/:uid/relink",
"/search/simple",
"/search/custom",
"/search-results/golden",
"/search-results/patient",
"/browse-records"
],
"accessLevel": [],
"validation": {
"required": true,
"regex": "",
"onErrorMessage": "The national Id cannot be empty"
}
}
],
"systemFields": [
{
"fieldName": "recordType",
"fieldType": "String",
"fieldLabel": "Record Type",
"groups": ["none"],
"scope": ["/notifications/match-details", "/record-details/:uid/relink"],
"accessLevel": []
},
{
"fieldName": "uid",
"fieldType": "String",
"fieldLabel": "UID",
"groups": [
"identifiers",
"sub_heading",
"linked_records",
"record_details",
"filter"
],
"scope": [
"/notifications/match-details",
"/record-details/:uid/relink",
"/search-results/golden",
"/search-results/patient",
"/record-details/:uid",
"/browse-records"
],
"accessLevel": []
},
{
"fieldName": "createdAt",
"fieldType": "String",
"fieldLabel": "Created At",
"groups": ["linked_records", "record_details", "audit_trail"],
"scope": ["/record-details/:uid", "/browse-records"],
"accessLevel": []
},
{
"fieldName": "sourceId",
"fieldType": "SourceId",
"fieldLabel": "Source Id",
"groups": ["registering_facility", "linked_records", "record_details"],
"scope": ["/record-details/:uid", "/browse-records"],
"accessLevel": []
},
{
"fieldName": "score",
"fieldType": "Number",
"fieldLabel": "Score",
"groups": ["none", "record_details"],
"scope": [
"/patient-record/:uid",
"/golden-record/:uid",
"/record-details/:uid",
"/notifications/match-details",
"/record-details/:uid/relink"
],
"accessLevel": []
}
]
}
Loading

0 comments on commit e3c8f06

Please sign in to comment.