Class TReference

Unit

Declaration

type TReference = class(TDataType)

Description

A reference from one resource to another. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Hierarchy

Overview

Methods

Public constructor Create; override;

Properties

Public property reference : string read Getreference write Setreference;
Public property referenceElement : Tstring read GetreferenceElement write SetreferenceElement;
Public property type_ : string read Gettype_ write Settype_;
Public property type_Element : Turi read Gettype_Element write Settype_Element;
Public property identifier : TIdentifier read Getidentifier write Setidentifier;
Public property display : string read Getdisplay write Setdisplay;
Public property displayElement : Tstring read GetdisplayElement write SetdisplayElement;

Description

Methods

Public constructor Create; override;
 

Properties

Public property reference : string read Getreference write Setreference;

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.

Public property referenceElement : Tstring read GetreferenceElement write SetreferenceElement;
 
Public property type_ : string read Gettype_ write Settype_;

The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

Public property type_Element : Turi read Gettype_Element write Settype_Element;
 
Public property identifier : TIdentifier read Getidentifier write Setidentifier;

An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

Public property display : string read Getdisplay write Setdisplay;

Plain text narrative that identifies the resource in addition to the resource reference.

Public property displayElement : Tstring read GetdisplayElement write SetdisplayElement;
 

Generated by PasDoc 0.15.0.