-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
W-14105863: clone and set id after look for cached element when resol…
…ving new inheritance after compute min shape
- Loading branch information
Showing
7 changed files
with
172 additions
and
2 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
.../src/test/resources/production/ce-platform-gateway-api-v1/ce-platform-gateway-api-v1.raml
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,23 @@ | ||
#%RAML 1.0 | ||
title: 'ce-platform-gateway-api-v1' | ||
description: 'An Api gateway for symplr' | ||
version: 'v1' | ||
mediaType: | ||
- application/json | ||
uses: | ||
FHIR_bundles: fragments/types/fhir/fhir_bundle_types.raml | ||
FHIR_commons: fragments/types/fhir/fhir_commons.raml | ||
|
||
types: | ||
|
||
Practitioner: | ||
type: FHIR_commons.DomainResource | ||
|
||
/practitioner: | ||
get: | ||
responses: | ||
200: | ||
body: | ||
application/json: | ||
type: Practitioner | ||
|
13 changes: 13 additions & 0 deletions
13
...sources/production/ce-platform-gateway-api-v1/fragments/types/fhir/MedicationRequest.raml
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,13 @@ | ||
#%RAML 1.0 DataType | ||
displayName: 'MedicationRequest' | ||
|
||
uses: | ||
FHIR_commons: fhir_commons.raml | ||
|
||
description: This resource contains a list of a patient’s current prescribed medications, as documented by one organization. | ||
type: FHIR_commons.DomainResource | ||
properties: | ||
id: | ||
identifier?: | ||
description: External Ids for this item | ||
type: FHIR_commons.Identifier[] |
22 changes: 22 additions & 0 deletions
22
...sources/production/ce-platform-gateway-api-v1/fragments/types/fhir/fhir_bundle_types.raml
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,22 @@ | ||
#%RAML 1.0 Library | ||
|
||
uses: | ||
FHIR_entry_types: ./fhir_entry_types.raml | ||
FHIR_commons: ./fhir_commons.raml | ||
|
||
types: | ||
Resource: FHIR_commons.Resource | ||
|
||
Bundle: | ||
type: Resource | ||
properties: | ||
resourceType: string | ||
|
||
link?: | ||
type: array | ||
items: | ||
properties: | ||
relation: string | ||
url: string | ||
|
||
|
75 changes: 75 additions & 0 deletions
75
...st/resources/production/ce-platform-gateway-api-v1/fragments/types/fhir/fhir_commons.raml
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,75 @@ | ||
#%RAML 1.0 Library | ||
|
||
types: | ||
|
||
code: | ||
type: string | ||
description: | | ||
Indicates that the value is taken from a set of controlled strings defined elsewhere (see Using codes for further discussion). | ||
Technically, a code is restricted to a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace other than single spaces in the contents. | ||
pattern: ^[^\s]+([\s]+[^\s]+)* | ||
|
||
id: | ||
type: string | ||
pattern: ^[A-Za-z0-9\-\.]{1,64}$ | ||
description: | | ||
Any combination of upper or lower case ASCII letters ('A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.', with a length limit of 64 characters. | ||
(This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.) | ||
Identifier: | ||
description: | | ||
A numeric or alphanumeric string that is associated with a single object or entity within a given system. | ||
Typically, identifiers are used to connect content in resources to external content available in other frameworks or protocols. | ||
Identifiers are associated with objects, and may be changed or retired due to human or system process and errors. | ||
properties: | ||
use?: | ||
description: usual | official | temp | secondary (If known) | ||
type: string | ||
enum: [usual, official, temp, secondary] | ||
|
||
Element: | ||
type: object | ||
properties: | ||
id?: | ||
description: Internal id | ||
type: id | ||
extension?: | ||
description: | | ||
Additional Content defined by implementations - from Element: extension (recursive) | ||
type: array | ||
items: Extension | ||
|
||
Extension: | ||
properties: | ||
url: | ||
description: Value of extension. | ||
type: string | ||
|
||
BackboneElement: | ||
type: Element | ||
properties: | ||
modifierExtension?: | ||
description: Modifier Extensions | ||
type: Extension | ||
|
||
Reference: | ||
type: Element | ||
description: Many of the defined elements in a resource are references to other resources. | ||
Using these references, the resources combine to build a web of information about healthcare. | ||
properties: | ||
reference?: | ||
description: Literal reference, Relative, internal or absolute URL | ||
type: string | ||
display?: | ||
description: Text alternative for the resource | ||
type: string | ||
|
||
DomainResource: | ||
type: Resource | ||
|
||
Resource: | ||
description: Base Resource | ||
properties: | ||
id?: | ||
description: Logical id of this artifact | ||
type: id |
16 changes: 16 additions & 0 deletions
16
...esources/production/ce-platform-gateway-api-v1/fragments/types/fhir/fhir_entry_types.raml
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,16 @@ | ||
#%RAML 1.0 Library | ||
uses: | ||
FHIR_commons: fhir_commons.raml | ||
|
||
types: | ||
Entry: | ||
properties: | ||
resource?: | ||
type: FHIR_commons.DomainResource | ||
|
||
MedicationRequestEntry: | ||
type: Entry | ||
properties: | ||
resource?: !include MedicationRequest.raml | ||
|
||
|
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