-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcontextual-mapping.schema.json
59 lines (59 loc) · 1.18 KB
/
contextual-mapping.schema.json
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "http://schema.better.care/fhirconnect/contextual/0.2.0/contextual-mapping-schema",
"description": "Contextual Mapping schema for file format v0.2.0",
"title": "Contextual Mapping",
"type": "object",
"properties": {
"format": {
"type": "string"
},
"openEHR": {
"$ref": "#/$defs/openEHR"
},
"fhir": {
"$ref": "#/$defs/fhir"
}
},
"required": [
"fhir",
"format",
"openEHR"
],
"additionalProperties": false,
"$defs": {
"fhir": {
"type": "object",
"additionalProperties": false,
"properties": {
"resourceType": {
"type": "string"
}
},
"required": [
"resourceType"
],
"title": "FHIR"
},
"openEHR": {
"type": "object",
"additionalProperties": false,
"properties": {
"templateId": {
"type": "string"
},
"archetypes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"archetypes",
"templateId"
],
"title": "openEHR"
}
}
}