forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhealthcare-member.schema.json
More file actions
411 lines (411 loc) · 20.4 KB
/
healthcare-member.schema.json
File metadata and controls
411 lines (411 loc) · 20.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
{
"meta:license": [
"Copyright 2022 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/mixins/healthcare-member",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Member Details",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:tags": {
"industry": [
"healthcare_services"
]
},
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/profile"
],
"description": "Details of a person who may be waiting for a care or may be receiving care or may have already received care.",
"definitions": {
"member-details": {
"properties": {
"xdm:member": {
"type": "object",
"properties": {
"xdm:ID": {
"Title": "Member ID",
"type": "string",
"description": "Unique Identifier of the patient/member."
},
"xdm:name": {
"Title": "Member Name",
"description": "Member's full name.",
"$ref": "https://ns.adobe.com/xdm/context/person-name"
},
"xdm:memberAddress": {
"type": "object",
"properties": {
"xdm:addressType": {
"Title": "Member Address type",
"type": "string",
"enum": [
"Home",
"Work",
"Mailing",
"Other"
],
"meta:enum": {
"Home": "Home Address",
"Work": "Work Address",
"Mailing": "Mailing Address",
"Other": "Other Address"
}
},
"xdm:address": {
"Title": "Member Address",
"$ref": "https://ns.adobe.com/xdm/common/address"
},
"xdm:effectiveStartDate": {
"Title": "Effective Start Date",
"type": "string",
"format": "date-time",
"description": "Address start date."
},
"xdm:efectiveEndDate": {
"Title": "Effective End Date",
"type": "string",
"format": "date-time",
"description": "Address end date."
}
},
"xdm:phoneNumber": {
"Title": "Phone Number",
"description": "Member's phone number.",
"$ref": "https://ns.adobe.com/xdm/context/phonenumber"
},
"xdm:memberDetails": {
"Title": "Member Details",
"description": "Member's additional details.",
"type": "object",
"properties": {
"xdm:birthDate": {
"title": "Birth date(YYYY-MM-DD)",
"type": "string",
"format": "date",
"description": "The full date a person was born."
},
"xdm:gender": {
"title": "Gender",
"type": "string",
"enum": [
"male",
"female",
"not_specified",
"non_specific"
],
"meta:enum": {
"male": "Male",
"female": "Female",
"not_specified": "Not Specified",
"non_specific": "Non-specific"
},
"description": "Gender identity of the person.\n",
"default": "not_specified"
},
"xdm:maritalStatus": {
"title": "Marital Status",
"type": "string",
"enum": [
"married",
"single",
"divorced",
"widowed",
"not_specified"
],
"meta:enum": {
"married": "Married",
"single": "Single",
"divorced": "Divorced",
"widowed": "Widowed",
"not_specified": "Not Specified"
},
"description": "Describes a person's relationship with a significant other.",
"default": "not_specified"
},
"xdm:nationality": {
"title": "Nationality",
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "The legal relationship between a person and their state represented using the ISO 3166-1 Alpha-2 code."
},
"xdm:dateAgeCollected": {
"Title": "Date Age Collected",
"type": "string",
"format": "date-time",
"description": "Date when date of birth information collected."
},
"xdm:multipleBirth": {
"type": "object",
"properties": {
"xdm:isMultipleBirth ": {
"Title": "Is Multiple Birth",
"type": "boolean",
"description": "Boolean flag to indicate if the member had a multiple birth."
},
"xdm:multipleBirthNumber": {
"Title": "Multiple Birth Number",
"type": "integer",
"description": "Number of babies born if multiple birth is true."
}
}
}
}
},
"xdm:emailAddress": {
"Title": "Email Address",
"$ref": "https://ns.adobe.com/xdm/context/emailaddress"
},
"xdm:memberOrganization": {
"Title": "Member Organization",
"$ref": "https://ns.adobe.com/xdm/datatypes/b2b-account-organization"
}
}
}
},
"xdm:primaryCarePhysician ": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:ID ": {
"Title": "ID",
"type": "string",
"description": "Primary Care Physician unique identifier."
},
"xdm:name": {
"Title": "Primary Care Physician Name",
"type": "string",
"description": "Primary Care Physician Name."
},
"xdm:startDate": {
"Title": "Start Date",
"type": "string",
"format": "date-time",
"description": "Primary Care Physician start date."
},
"xdm:endDate": {
"Title": "End Date",
"type": "string",
"format": "date-time",
"description": "Primary Care Physician end date."
}
}
}
},
"xdm:emergencyContact": {
"type": "object",
"properties": {
"xdm:name": {
"Title": "Emergency Contact Name",
"type": "string",
"description": "Emergency contact name."
},
"xdm:contactPhone": {
"Title": "Emergency Contact Phone",
"type": "string",
"description": "Emergency contact phone number."
}
}
},
"xdm:prefferedAvaiability": {
"Title": "Preffered Availability",
"type": "string",
"description": "Patient prefered day and time avaiability for an appointment."
},
"xdm:Medication": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:medicationID": {
"Title": "Medication Id",
"type": "string",
"description": "Medication unique identifier."
},
"xdm:medicationDate": {
"Title": "Medication Date",
"type": "string",
"format": "date-time",
"description": "Medication Date."
},
"xdm:isCurrent": {
"Title": "Is Current",
"type": "boolean",
"description": "Boolean flag indicates if this medication is current or previous."
}
}
}
},
"xdm:dependent": {
"Title": "Dependent",
"type": "integer",
"description": "number issued to each beneficiary."
},
"xdm:beneficiaryRelationship": {
"Title": "Beneficiary Relationship",
"type": "string",
"description": "Beneficiary relationship to the Subscriber if the member is a dependent(self,spouse,child..etc)."
},
"xdm:primaryMemeberID": {
"Title": "Primary Member ID",
"type": "string",
"description": "Unique Identifier of the primary subscriber if the member is dependent."
},
"xdm:billingAccountID": {
"Title": "Billing Account ID",
"type": "string",
"description": "Unique Identifier of the billing account."
},
"xdm:specialist": {
"Title": "Specialist",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:name": {
"Title": "Name",
"type": "string",
"description": "Name of the specialist."
},
"xdm:diagnosis": {
"Title": "Diagnosis",
"type": "string",
"description": "Specialization diagnosis."
},
"xdm:providerID": {
"Title": "Providerid",
"type": "string",
"description": "Provider unique identifier."
}
}
}
},
"xdm:isLead": {
"Title": "Is Lead",
"type": "boolean",
"description": "Boolean flag indicates if this member is a lead."
},
"xdm:isOpportunity": {
"Title": "Is Opportunity",
"type": "boolean",
"description": "Boolean flag indicates if this this member is a opportunity."
},
"xdm:plan": {
"Title": "Member Plan",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"xdm:ID": {
"Title": "ID",
"type": "string",
"description": "Plan ID unique identifier."
},
"xdm:coverageType": {
"Title": "Coverage Type",
"type": "string",
"enum": [
"Medical",
"Dental",
"Vision",
"Accident"
],
"meta:enum": {
"Medical": "Medical",
"Dental": "Dental",
"Vision": "Vision",
"Accident": "Accident"
},
"description": "Member plan coverage type."
},
"xdm:payerID": {
"Title": "Payer ID",
"type": "string",
"description": "Payer unique identifier."
},
"xdm:contractID": {
"Title": "Contract ID",
"type": "string",
"description": "Unique identifier of the contract that is signed by the member."
},
"xdm:ownerID": {
"Title": "Owner ID",
"type": "string",
"description": "Unique identifier of the Owner of the policy which could be owned by an individual , group or an organization."
},
"xdm:isActive": {
"Title": "Is Active",
"type": "boolean",
"description": "Boolean flag indicates whether the plan is active."
},
"xdm:network": {
"Title": "Network",
"type": "string",
"description": "The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' term."
},
"xdm:affiliation": {
"Title": "Affiliation",
"type": "string",
"description": "An affiliation to a government service, such as the army or navy.."
},
"xdm:coverageStartDate": {
"Title": "Coverage Start Date",
"type": "string",
"format": "date-time",
"description": "Coverage start date."
},
"xdm:coverageEndDate": {
"Title": "Coverage End Date",
"type": "string",
"format": "date-time",
"description": "Coverage end date."
},
"xdm:lastVerification": {
"Title": "Last Verification Date",
"type": "string",
"format": "date-time",
"description": "The date on which this plan was last verified."
},
"xdm:planType": {
"Title": "Plan Type",
"type": "string",
"enum": [
"primary",
"secondary",
"tertiary"
],
"meta:enum": {
"primary": "primary",
"secondary": "secondary",
"tertiary": "tertiary"
},
"description": "This indicates if the plan is primary,secondary or tertiary plan."
}
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/member-details"
},
{
"$ref": "https://ns.adobe.com/xdm/common/external-source-system-audit-details"
}
],
"meta:status": "experimental",
"meta:createdDate": "2022-05-18",
"examples": [
{}
]
}