Generated Narrative: StructureDefinition ch-core-ext-entry-resource-cross-references Name Flags Card. Type Description & Constraints Extension 0..* Extension Entry Resource Cross References #xD; extension 3..* Extension Extension #xD; Slices for extension Content/Rules for all slices #xD; extension:entry 1..1 Extension Reference to the related entry #xD; extension 0..0 Extension #xD; url 1..1 uri "entry" #xD; Slices for value[x] 0..1 base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta Value of extension Slice: Unordered, Open by type:$this #xD; value[x]:valueReference 0..1 Reference() Reference to the entry resource in an other container i.e. Bundle #xD; reference 0..0 Literal reference, Relative, internal or absolute URL #xD; type 1..1 uri Entry resource type #xD; identifier 1..1 Identifier Identifier of entry #xD; extension:container 1..1 Extension Reference to the related container resource #xD; extension 0..0 Extension #xD; url 1..1 uri "container" #xD; Slices for value[x] 0..1 base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta Value of extension Slice: Unordered, Open by type:$this #xD; value[x]:valueReference 0..1 Reference() Reference to the container resource i.e. Bundle.composition containinig the referenced entry #xD; reference 0..0 Literal reference, Relative, internal or absolute URL #xD; type 1..1 uri Container resource type #xD; identifier 1..1 Identifier Identifier of container #xD; extension:relationcode 1..1 Extension Reference to the related document #xD; extension 0..0 Extension #xD; url 1..1 uri "relationcode" #xD; Slices for value[x] 1..1 code Value of extension Slice: Unordered, Open by type:$this #xD; value[x]:valueCode 1..1 code The type of relationship between the elements in the documents. Binding: DocumentRelationshipType (required) #xD; url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ext-entry-resource-cross-references" #xD; value[x] 0..0 Value of extension #xD; Documentation for this format
Extension to make a reference beween resources as entries in i.e. document bundles.
All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Extensions are always sliced by (at least) url
exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
Source of the definition for the extension code - a logical name or a URL.
The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
Reference to the entry resource in an other container i.e. Bundle
Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Literal reference, Relative, internal or absolute URL
A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
The resource type of the referenced entry
This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.
Aa resource (or, for logical models, the URI of the logical model).
When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).
Plain text narrative that identifies the resource in addition to the resource reference.
This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
Reference to the related container resource
Reference to the container resource i.e. Bundle.composition containinig the referenced entry
The resource type of the container containing the referenced entry
A identifier of the container containing the referenced entry
The type of relationship between the elements in the documents.