|
9 | 9 | "definitions": { |
10 | 10 | "HealthcareFhirResourceCreatedEventData": { |
11 | 11 | "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event.", |
12 | | - "allOf": [ |
13 | | - { |
14 | | - "$ref": "#/definitions/HealthcareFhirResourceEventBaseProperties" |
| 12 | + "type": "object", |
| 13 | + "properties": { |
| 14 | + "resourceType": { |
| 15 | + "description": "Type of HL7 FHIR resource.", |
| 16 | + "$ref": "#/definitions/HealthcareFhirResourceType", |
| 17 | + "x-ms-client-name": "FhirResourceType" |
| 18 | + }, |
| 19 | + "resourceFhirAccount": { |
| 20 | + "description": "Domain name of FHIR account for this resource.", |
| 21 | + "type": "string", |
| 22 | + "x-ms-client-name": "FhirServiceHostName" |
| 23 | + }, |
| 24 | + "resourceFhirId": { |
| 25 | + "description": "Id of HL7 FHIR resource.", |
| 26 | + "type": "string", |
| 27 | + "x-ms-client-name": "FhirResourceId" |
| 28 | + }, |
| 29 | + "resourceVersionId": { |
| 30 | + "description": "VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).", |
| 31 | + "type": "integer", |
| 32 | + "format": "int64", |
| 33 | + "x-ms-client-name": "FhirResourceVersionId" |
15 | 34 | } |
16 | | - ] |
| 35 | + } |
17 | 36 | }, |
18 | 37 | "HealthcareFhirResourceUpdatedEventData": { |
19 | 38 | "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceUpdated event.", |
20 | | - "allOf": [ |
21 | | - { |
22 | | - "$ref": "#/definitions/HealthcareFhirResourceEventBaseProperties" |
| 39 | + "type": "object", |
| 40 | + "properties": { |
| 41 | + "resourceType": { |
| 42 | + "description": "Type of HL7 FHIR resource.", |
| 43 | + "$ref": "#/definitions/HealthcareFhirResourceType", |
| 44 | + "x-ms-client-name": "FhirResourceType" |
| 45 | + }, |
| 46 | + "resourceFhirAccount": { |
| 47 | + "description": "Domain name of FHIR account for this resource.", |
| 48 | + "type": "string", |
| 49 | + "x-ms-client-name": "FhirServiceHostName" |
| 50 | + }, |
| 51 | + "resourceFhirId": { |
| 52 | + "description": "Id of HL7 FHIR resource.", |
| 53 | + "type": "string", |
| 54 | + "x-ms-client-name": "FhirResourceId" |
| 55 | + }, |
| 56 | + "resourceVersionId": { |
| 57 | + "description": "VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).", |
| 58 | + "type": "integer", |
| 59 | + "format": "int64", |
| 60 | + "x-ms-client-name": "FhirResourceVersionId" |
23 | 61 | } |
24 | | - ] |
| 62 | + } |
25 | 63 | }, |
26 | 64 | "HealthcareFhirResourceDeletedEventData": { |
27 | 65 | "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceDeleted event.", |
28 | | - "allOf": [ |
29 | | - { |
30 | | - "$ref": "#/definitions/HealthcareFhirResourceEventBaseProperties" |
31 | | - } |
32 | | - ] |
33 | | - }, |
34 | | - "HealthcareFhirResourceEventBaseProperties": { |
35 | | - "description": "Schema of common properties of all FhirResource events", |
36 | 66 | "type": "object", |
37 | 67 | "properties": { |
38 | 68 | "resourceType": { |
39 | 69 | "description": "Type of HL7 FHIR resource.", |
40 | | - "$ref": "#/definitions/HealthcareFhirResourceType" |
| 70 | + "$ref": "#/definitions/HealthcareFhirResourceType", |
| 71 | + "x-ms-client-name": "FhirResourceType" |
41 | 72 | }, |
42 | 73 | "resourceFhirAccount": { |
43 | 74 | "description": "Domain name of FHIR account for this resource.", |
44 | | - "type": "string" |
| 75 | + "type": "string", |
| 76 | + "x-ms-client-name": "FhirServiceHostName" |
45 | 77 | }, |
46 | 78 | "resourceFhirId": { |
47 | 79 | "description": "Id of HL7 FHIR resource.", |
48 | | - "type": "string" |
| 80 | + "type": "string", |
| 81 | + "x-ms-client-name": "FhirResourceId" |
49 | 82 | }, |
50 | 83 | "resourceVersionId": { |
51 | 84 | "description": "VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).", |
52 | 85 | "type": "integer", |
53 | | - "format": "int64" |
| 86 | + "format": "int64", |
| 87 | + "x-ms-client-name": "FhirResourceVersionId" |
54 | 88 | } |
55 | 89 | } |
56 | 90 | }, |
|
873 | 907 | } |
874 | 908 | } |
875 | 909 | } |
| 910 | + |
0 commit comments