FHIR_JSONconstconst FHIR_JSON: StandardUrnFHIR JSON, the syntax.
The FHIR plugin of Integrations (commons integrations-fhir 0001-integrations-fhir-plugin): R4 and US Core as registry entries with their licence as data, a codec for FHIR JSON and for NDJSON to and from the abstract typed tree, a loader that reads StructureDefinitions, CodeSystems and ValueSets the user supplies into schemas, profiles and terminologies (it embeds none of them), and the acknowledgement port of OperationOutcome.
A JSON object is one transaction whose id is its resourceType; a property is a segment (a primitive: one element with an empty id, typed number, boolean or null where the JSON is, a text otherwise, and the type is no part of a path) or a loop (an object); an array is a run of siblings of one id. Whether one sibling is an array is not in the JSON, so a codec is made with the set of repeating paths that the StructureDefinitions give (repeatingPaths), and writes an array for those and for any id that occurs twice.
FHIR_JSONconstconst FHIR_JSON: StandardUrnFHIR JSON, the syntax.
FHIR_NDJSONconstconst FHIR_NDJSON: StandardUrnFHIR NDJSON (one resource a line), the syntax of bulk data.
FHIR_R4constconst FHIR_R4: StandardUrnFHIR R4 (4.0.1), the resources.
US_COREconstconst US_CORE: StandardUrnUS Core, the implementation guide.
STANDARDSconstconst STANDARDS: readonly Standard[]The standards the plugin registers.
EMBEDDEDconstconst EMBEDDED: readonly EmbeddedContent[]The files of standards content the package embeds: none.
jsonCodecfunctionfunction jsonCodec(more?: ReadonlySet<string>): CodecThe codec of FHIR JSON: one resource a text. repeating is the set of paths that are arrays even where one occurs (repeatingPaths).
ndjsonCodecfunctionfunction ndjsonCodec(repeating?: ReadonlySet<string>): CodecThe codec of NDJSON: one resource a line, each a transaction.
repeatingPathsfunctionfunction repeatingPaths(schemas: readonly Schema[]): ReadonlySet<string>The paths that are arrays in the schemas: those whose cardinality allows more than one. For jsonCodec.
loaderconstno test imports itconst loader: LoaderThe loader of FHIR definitions the user supplies: StructureDefinition, CodeSystem and ValueSet JSON.
acksconstno test imports itconst acks: AckPortThe acknowledgement port of FHIR: an OperationOutcome made from a status, and read back into findings that hold codes and paths only.
fhirPluginfunctionfunction fhirPlugin(repeating?: ReadonlySet<string>): StandardsPluginThe plugin of FHIR JSON.
fhirNdjsonPluginfunctionfunction fhirNdjsonPlugin(repeating?: ReadonlySet<string>): StandardsPluginThe plugin of FHIR NDJSON.