Advertisement
Guest User

patient schema

a guest
Feb 17th, 2020
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.24 KB | None | 0 0
  1.  
  2.    {
  3.     required: ['name', 'family_name', 'custom:document', 'birthdate', 'gender','email',
  4.        'address', 'profile'],
  5.     properties: {
  6.       Username: { type: 'string' },
  7.       name: { type: 'string' },
  8.       family_name: { type: 'string'},
  9.       'custom:document': { type: 'string' },
  10.       birthdate: { type: 'string', format: 'date' },
  11.       gender: {
  12.         type: 'string',
  13.         enum: ['male','female', 'other'],
  14.       },
  15.       'custom:bloodType': {
  16.         type: 'string',
  17.         enum: ['O-', 'O+', 'A-', 'A+','B-','B+','AB-','AB+'],
  18.       },
  19.       'custom:homeCity': { type: 'string' },
  20.       address: { type: 'string' },
  21.       phone_number: { type: 'string' },
  22.       'custom:secundaryPhone': { type: 'string' },
  23.       email: { type: 'string', format: 'email'},
  24.       'custom:scholarship': {
  25.         type: 'string',
  26.         enum: ['elementary','middle','high','vocational','college','master','doctorate'],
  27.       },
  28.       'custom:currentOcupation': { type: 'string' },
  29.       'custom:civilStatus': {
  30.         type: 'string',
  31.         enum: ['single, 'married', 'separated','divorced','widowed', 'freeUnion'],
  32.      },
  33.      'custom:contactName': { type: 'string' },
  34.      'custom:contactPhone': { type: 'string'},
  35.    },
  36.  };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement