-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates package 'Hl7.Fhir.STU3' to version '1.1.3' (#291)
* Updates package 'Hl7.Fhir.STU3' to version '1.1.3' * Fixes test GivenAFhirObjectAndXmlContentType_WhenSerializing_ThenTheObjectIsSerializedToTheResponseStream * Keeps PermissiveParsing = true behavior * ResourceDeserializer is no longer static
- Loading branch information
1 parent
36e6a4c
commit 689eec8
Showing
20 changed files
with
122 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,10 +234,10 @@ This file is based on or incorporates material from the projects listed below (T | |
> | ||
> END OF TERMS AND CONDITIONS | ||
## Hl7.Fhir.STU3 0.96.0 | ||
## Hl7.Fhir.STU3 1.1.3 | ||
* Component Source: https://github.com/ewoutkramer/fhir-net-api/ | ||
* Component Copyright and License: | ||
> Copyright (c) 2018, HL7, Firely ([email protected]), Microsoft Open Technologies | ||
> Copyright (c) 2013-2019, HL7, Firely ([email protected]), Microsoft Open Technologies | ||
> and contributors. See the file CONTRIBUTORS for details | ||
> | ||
> All rights reserved. | ||
|
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
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
14 changes: 14 additions & 0 deletions
14
src/Microsoft.Health.Fhir.Core/Features/DefaultParserSettings.cs
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,14 @@ | ||
// ------------------------------------------------------------------------------------------------- | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. | ||
// ------------------------------------------------------------------------------------------------- | ||
|
||
using Hl7.Fhir.Serialization; | ||
|
||
namespace Microsoft.Health.Fhir.Core.Features | ||
{ | ||
internal class DefaultParserSettings | ||
{ | ||
public static readonly ParserSettings Settings = new ParserSettings { PermissiveParsing = 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// ------------------------------------------------------------------------------------------------- | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. | ||
// ------------------------------------------------------------------------------------------------- | ||
|
||
using Hl7.Fhir.Model; | ||
using Hl7.Fhir.Rest; | ||
using Hl7.Fhir.Serialization; | ||
using Microsoft.Health.Fhir.Core.Features; | ||
using Microsoft.Health.Fhir.Core.Features.Persistence; | ||
|
||
namespace Microsoft.Health.Fhir.Tests.Common | ||
{ | ||
public static class Deserializers | ||
{ | ||
private static readonly FhirJsonParser JsonParser = new FhirJsonParser(DefaultParserSettings.Settings); | ||
|
||
public static ResourceDeserializer ResourceDeserializer => new ResourceDeserializer( | ||
(ResourceFormat.Json, str => JsonParser.Parse<Resource>(str))); | ||
} | ||
} |
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
Oops, something went wrong.