- Check the canonical versioning algorithm and version don't contradict each other
- Add a warning that the canonical URL is highly recommended
- if status = published, ensure that has a canonical URL
- information/warning if derivedFRom isn't a versioned canonical URL
- Should subjectType and launch context be the same?
- Check the copyright label is from the set of approved licenses?
- Should there be some date checks on the approved, review and date etc?
- definitionBased flag
- anything needed for the replaces extension?
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; | |
using Hl7.Fhir.Utility; | |
using Hl7.FhirPath; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Hl7.Fhir.FhirPath; | |
using Hl7.Fhir.ElementModel; |
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; | |
using Hl7.Fhir.Specification; | |
using Hl7.Fhir.Specification.Navigation; | |
using Hl7.Fhir.Specification.Snapshot; | |
using Hl7.Fhir.Specification.Source; | |
using Hl7.Fhir.Utility; | |
using Hl7.Fhir.WebApi; | |
using Hl7.FhirPath; | |
using System; | |
using System.Collections; |
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
import type { CodeableConcept, Coding, OperationOutcome, OperationOutcomeIssue, Reference, Resource, Parameters } from "fhir/r4b"; | |
import fhirpath from "fhirpath"; | |
import { logMessage, CreateOperationOutcome } from "~/utils/create-outcome"; | |
// -------------------------------------------------------------------------- | |
// The concept of this POC is to demonstrate an approach to perform some | |
// async based methods as functions inside the fhirpath engine without | |
// converting the entire engine to process things asynchronously. | |
// e.g. Terminology functions such as memberOf, subsumes, or resolve() | |
// |
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.Introspection; | |
using Hl7.Fhir.Support; | |
using Hl7.Fhir.Utility; | |
using Hl7.FhirPath.Expressions; | |
using System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; |
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 System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; | |
using Hl7.Fhir.Model; | |
using Hl7.Fhir.Rest; | |
using Hl7.Fhir.Serialization; | |
using Hl7.Fhir.Utility; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using Newtonsoft.Json; |
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; | |
using Hl7.FhirPath; | |
using Hl7.FhirPath.Expressions; | |
using NaturalSort.Extension; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
// Requires these 2 nuget packages | |
// <PackageReference Include="NaturalSort.Extension" Version="3.2.0" /> |
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
if (operation == "fhirpath") | |
{ | |
Resource resource = operationParameters.GetResource("resource"); | |
string resourceId = operationParameters.GetString("resource"); | |
string terminologyServerUrl = operationParameters.GetString("terminologyserver"); | |
if (resource == null && !string.IsNullOrEmpty(resourceId)) | |
{ | |
// load the resource from another server | |
ResourceIdentity ri = new ResourceIdentity(resourceId); | |
if (!string.IsNullOrEmpty(ri.BaseUri?.OriginalString)) |
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
public class QuestionnaireResponse_Validator | |
{ | |
public QuestionnaireResponse_Validator(ValidationSettings settings = null) | |
{ | |
_settings = settings ?? new ValidationSettings() | |
{ | |
TerminologyServerAddress = "https://sqlonfhir-r4.azurewebsites.net/fhir", | |
TerminologyServerFhirClientSettings = new FhirClientSettings() | |
{ | |
VerifyFhirVersion = false, |
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
// <auto-generated/> | |
// Contents of: hl7.fhir.au.base version: 2.2.0 | |
using System; | |
using System.Buffers; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
using System.Linq; | |
using Hl7.Fhir.Model; |
NewerOlder