Skip to content

Commit b6a6969

Browse files
JoshLove-msftFredericHeem
authored andcommitted
Update HealthcareApis.json (Azure#18586)
1 parent d708a38 commit b6a6969

File tree

1 file changed

+55
-20
lines changed
  • specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01

1 file changed

+55
-20
lines changed

specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json

Lines changed: 55 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,82 @@
99
"definitions": {
1010
"HealthcareFhirResourceCreatedEventData": {
1111
"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"
1534
}
16-
]
35+
}
1736
},
1837
"HealthcareFhirResourceUpdatedEventData": {
1938
"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"
2361
}
24-
]
62+
}
2563
},
2664
"HealthcareFhirResourceDeletedEventData": {
2765
"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",
3666
"type": "object",
3767
"properties": {
3868
"resourceType": {
3969
"description": "Type of HL7 FHIR resource.",
40-
"$ref": "#/definitions/HealthcareFhirResourceType"
70+
"$ref": "#/definitions/HealthcareFhirResourceType",
71+
"x-ms-client-name": "FhirResourceType"
4172
},
4273
"resourceFhirAccount": {
4374
"description": "Domain name of FHIR account for this resource.",
44-
"type": "string"
75+
"type": "string",
76+
"x-ms-client-name": "FhirServiceHostName"
4577
},
4678
"resourceFhirId": {
4779
"description": "Id of HL7 FHIR resource.",
48-
"type": "string"
80+
"type": "string",
81+
"x-ms-client-name": "FhirResourceId"
4982
},
5083
"resourceVersionId": {
5184
"description": "VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).",
5285
"type": "integer",
53-
"format": "int64"
86+
"format": "int64",
87+
"x-ms-client-name": "FhirResourceVersionId"
5488
}
5589
}
5690
},
@@ -873,3 +907,4 @@
873907
}
874908
}
875909
}
910+

0 commit comments

Comments
 (0)