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
version: '2' | |
volumes: | |
app-drive: | |
name: ${APP_VOLUME_NAME} | |
services: | |
app: | |
container_name: ${APP_CONTAINER_NAME} | |
build: . |
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
trigger: | |
- main | |
variables: | |
- name: CONDA_ENV_NAME | |
value: test-env-$(Build.BuildNumber) | |
jobs: | |
- job: Test |
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
namespace PMVProxy.API.Middleware | |
{ | |
using Hl7.Fhir.Model; | |
... | |
internal class OwnerAccess : IAccessByRole | |
{ | |
... | |
public async System.Threading.Tasks.Task Access<TResource>(TResource resource, |
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
namespace PMVProxy.API.Middleware | |
{ | |
using Hl7.Fhir.Model; | |
... | |
internal class OwnerAccess : IAccessByRole | |
{ | |
... | |
public async System.Threading.Tasks.Task Access<TResource>(TResource resource, |
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
[HttpPost] | |
[Authorize(Policy = "OwnerOrAdmin")] | |
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(Patient))] | |
[ProducesResponseType(StatusCodes.Status500InternalServerError, Type = typeof(Error))] | |
[ProducesResponseType(StatusCodes.Status422UnprocessableEntity, Type = typeof(UnprocessableInputException))] | |
public async Task<IActionResult> CreatePatient([FromBody] dynamic value) | |
{ | |
Patient patient = _fhirParser.Parse<Patient>(value.ToString()); | |
var user = ((User)HttpContext.Items["User"]); | |
patient = await _authorizedFhirService.CreateAsync(user, patient); |
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
using Hl7.Fhir.Model; | |
... | |
namespace Hl7.Fhir.Rest | |
{ | |
public abstract partial class BaseFhirClient : IDisposable | |
{ | |
... | |
public Task<Resource> GetAsync(string url) |
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
<RelyingParty> | |
<DefaultUserJourney ReferenceId="SignUpWithHintOrSignIn" /> | |
<UserJourneyBehaviors> | |
<JourneyInsights TelemetryEngine="ApplicationInsights" InstrumentationKey="[YOUR INSTRUMENTATION KEY]" DeveloperMode="true" ClientEnabled="false" ServerEnabled="true" TelemetryVersion="1.0.0" /> | |
</UserJourneyBehaviors> | |
<TechnicalProfile Id="PolicyProfile"> | |
<DisplayName>PolicyProfile</DisplayName> | |
<Protocol Name="OpenIdConnect" /> | |
<OutputClaims> | |
<OutputClaim ClaimTypeReferenceId="displayName" /> |
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
<OrchestrationStep Order="5" Type="SendClaims" CpimIssuerTechnicalProfileReferenceId="JwtIssuer"> | |
</OrchestrationStep> |
NewerOlder