-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MHV-56068: Serialize tracking_list as 1-level array (#16056)
* Add serlization for `tracking_list`, tests * Update/fix test for tracking_list and the first tracking item * Add trackingList item to openapi schema * Add separate PrescriptionTrackingItem schema, update PrescriptionDetail to reference
- Loading branch information
Showing
6 changed files
with
149 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
modules/my_health/docs/schemas/PrescriptionTrackingItem.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
type: object | ||
properties: | ||
carrier: | ||
type: string | ||
completeDateTime: | ||
type: string | ||
format: datetime | ||
example: 2023-07-24T15:48:49.000Z | ||
dateLoaded: | ||
type: string | ||
format: datetime | ||
example: 2023-07-24T15:48:49.000Z | ||
dialDivisionPhone: | ||
type: string | ||
divisionPhone: | ||
type: string | ||
id: | ||
type: integer | ||
isLocalTracking: | ||
type: boolean | ||
ndc: | ||
type: string | ||
othersInSamePackage: | ||
type: boolean | ||
rxNumber: | ||
type: integer | ||
stationNumber: | ||
type: integer | ||
trackingNumber: | ||
type: string | ||
viewImageDisplayed: | ||
type: boolean | ||
example: | ||
carrier: 'UPS' | ||
completeDateTime: '2023-03-28T04:39:11-04:00' | ||
dateLoaded: '2023-06-21T13:05:19-04:00' | ||
dialDivisionPhone: '3082719803' | ||
divisionPhone: '(308)271-9803' | ||
id: 3974 | ||
isLocalTracking: false | ||
ndc: '00113002239' | ||
othersInSamePackage: false | ||
rxNumber: 2719799 | ||
stationNumber: 994 | ||
trackingNumber: '772980271979930000002254' | ||
viewImageDisplayed: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters