Repository navigation
Expand file tree
/
Copy pathtemple-health-patient-schema.json
More file actions
51 lines (51 loc) · 1.78 KB
/
Copy pathtemple-health-patient-schema.json
File metadata and controls
51 lines (51 loc) · 1.78 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/temple-health/refs/heads/main/json-schema/temple-health-patient-schema.json",
"title": "Temple Health FHIR R4 Patient (US Core Subset)",
"description": "Subset JSON Schema for the US Core Patient profile as returned by the Temple Health (Epic) FHIR R4 endpoint.",
"type": "object",
"required": ["resourceType", "id", "identifier", "name"],
"properties": {
"resourceType": { "type": "string", "const": "Patient" },
"id": { "type": "string", "description": "FHIR logical id." },
"identifier": {
"type": "array",
"items": {
"type": "object",
"required": ["system", "value"],
"properties": {
"use": { "type": "string", "enum": ["usual","official","temp","secondary","old"] },
"system": { "type": "string", "format": "uri" },
"value": { "type": "string" }
}
}
},
"name": {
"type": "array",
"items": {
"type": "object",
"properties": {
"use": { "type": "string" },
"family": { "type": "string" },
"given": { "type": "array", "items": { "type": "string" } }
}
}
},
"gender": { "type": "string", "enum": ["male","female","other","unknown"] },
"birthDate": { "type": "string", "format": "date" },
"address": {
"type": "array",
"items": {
"type": "object",
"properties": {
"use": { "type": "string" },
"line": { "type": "array", "items": { "type": "string" } },
"city": { "type": "string" },
"state": { "type": "string" },
"postalCode": { "type": "string" },
"country": { "type": "string" }
}
}
}
}
}