(ParseConformance) The parser that holds FHIR version information, and has base FHIR structures loaded in it
The bundle including structure definitions whose snapshot should be generated
The bundle passed into the constructor whose structure definitions should have snapshots generated
A string that represents all options possible in STU3 and R4 for choice elements, ex: value[x], effective[x], etc.) It is used to create a regex that tests that value[x] matches valueQuantity in an ElementDefinition.path.
The parser containing FHIR versioning and base profile information
A field that tracks what profiles have been processed during the .generate() operation, so that profiles are not processed multiple times in a single run.
Generates a snapshot for all structure definitions in the bundle. If a structure definition in the bundle is a base FHIR structure definition, it is assumed the structure definition already has a snapshot, and it is ignored.
Gets a StructureDefinition based on the url and type. First determines if the url represents a base resource in the FHIR spec, then looks through the bundle passed to the constructor of the class to find the structure.
The url of the profile to retrieve
The type of resource the profile constrains (ex: Composition, or Patient, or Person, etc.)
Generates a snapshot for the specified structure definition. If the structure definition is based on another custom profile, that custom profile is found in the bundle passed to the constructor, and the snapshot is generated for the base profile, as well (recursively).
The profile to create a snapshot for
Creates a bundle out of StructureDefinition resources. This is just for making it easier to pass a bundle to the constructor of this class.
Generated using TypeDoc
Responsible for creating snapshots on StructureDefinition resources based on the differential of the profile.