Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 27 additions & 12 deletions specification/summary-care-record.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,11 @@ paths:
application/fhir+json:
schema:
$ref: components/schemas/UploadBundle.yaml
example:
$ref: components/examples/UploadScrBundle.json
examples:
Example JSON SCR Bundle:
summary: Example JSON SCR Bundle
value:
$ref: components/examples/UploadScrBundle.json
responses:
"201":
description: SCR successfully uploaded
Expand Down Expand Up @@ -413,8 +416,11 @@ paths:
application/fhir+json:
schema:
$ref: components/schemas/GetScrBundle.yaml
example:
$ref: components/examples/GetScrBundle.json
examples:
Example JSON SCR Bundle:
summary: Example SCR Bundle
value:
$ref: components/examples/GetScrBundle.json
"4XX":
description: |
An error occurred as follows:
Expand Down Expand Up @@ -536,8 +542,11 @@ paths:
application/fhir+json:
schema:
$ref: components/schemas/DocumentReferenceBundle.yaml
example:
$ref: components/examples/DocumentReferenceBundle.json
examples:
Example JSON SCR DocumentReference Bundle:
summary: Example SCR DocumentReference Bundle
value:
$ref: components/examples/DocumentReferenceBundle.json
"4XX":
description: |
An error occurred as follows:
Expand Down Expand Up @@ -618,10 +627,13 @@ paths:
application/fhir+json:
schema:
$ref: components/schemas/Parameters.yaml
example:
$ref: components/examples/SetPermission.json
responses:
"201":
examples:
Example SetPermission Bundle:
summary: Example SetPermission Bundle
value:
$ref: components/examples/SetPermission.json
responses:
"201":
description: Permission successfully updated
"4XX":
description: |
Expand Down Expand Up @@ -707,8 +719,11 @@ paths:
application/fhir+json:
schema:
$ref: components/schemas/AuditEvent.yaml
example:
$ref: components/examples/AuditEvent.json
examples:
Example JSON of AuditEvent:
summary: Example JSON of AuditEvent
value:
$ref: components/examples/AuditEvent.json
responses:
"201":
description: Success response
Expand Down
1 change: 1 addition & 0 deletions tests/non_prod/test_data/audit_event.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"display": "Access made in the public interest"
}
],
"outcomeDesc": "a test alert",
"recorded": "2020-11-13T00:00:00+00:00",
"agent": [
{
Expand Down
Loading