Function createSubjectContext

  • Creates a subject context with a specified type, base, and properties.

    Type Parameters

    Parameters

    • __namedParameters: {
          base: "schema" | "bloomSchema" | "fhir";
          properties: {
              [key in string | number | symbol]-?: "schema" | "bloomSchema" | "fhir"
          };
          type: S["@type"];
      }
      • base: "schema" | "bloomSchema" | "fhir"
      • properties: {
            [key in string | number | symbol]-?: "schema" | "bloomSchema" | "fhir"
        }
      • type: S["@type"]

    Returns {}

    An object representing the subject context.