Class TBSFHIRLibraryHelper

Unit

Declaration

type TBSFHIRLibraryHelper = class(TBSLibraryHelper)

Description

function GetByName(AName:string): TBSFHIRDefinition; function AddNew : TBSFHIRDefinition;

Hierarchy

  • TBSLibraryHelper
  • TBSFHIRLibraryHelper

Overview

Methods

Public function LoadFromStream(const AStream:TStream):Boolean;
Public function LoadFromFile(const AFileName:String):Boolean;
Public procedure AddType(const Value:TBSFHIRDefinition);
Public function GetType(const AName:String; const AVersion:TBSFHIRVersion; const AVendor: BSString):TBSFHIRDefinition;
Public procedure ImplementType(AObject:TBSTypedObject; ADefinition:TBSType);
Public function CreateResource(const AName:String; AFHIRVersion:TBSFHIRVersion; const AVendor:String):TBSFHIRObject; overload;
Public function CreateResource(const AName:String; AFHIRVersion:TBSFHIRVersion; const AVendor:String; const AData:BSString; AEncoding:TBSFHIRFormat=ffmtJSON):TBSFHIRObject; overload;
Public procedure JSONToFHIRObject(const ASourceValue:TBSValue; const ATargetObject:TBSFHIRObject;const APath:String='');
Public procedure XMLToFHIRObject(const ASourceNode: TBSXMLNode; const ATargetObject:TBSFHIRObject;const APath:String='');

Description

Methods

Public function LoadFromStream(const AStream:TStream):Boolean;
 
Public function LoadFromFile(const AFileName:String):Boolean;
 
Public procedure AddType(const Value:TBSFHIRDefinition);
 
Public function GetType(const AName:String; const AVersion:TBSFHIRVersion; const AVendor: BSString):TBSFHIRDefinition;

Gets specified definition. if type not exists returns nil.

Public procedure ImplementType(AObject:TBSTypedObject; ADefinition:TBSType);
 
Public function CreateResource(const AName:String; AFHIRVersion:TBSFHIRVersion; const AVendor:String):TBSFHIRObject; overload;
 
Public function CreateResource(const AName:String; AFHIRVersion:TBSFHIRVersion; const AVendor:String; const AData:BSString; AEncoding:TBSFHIRFormat=ffmtJSON):TBSFHIRObject; overload;
 
Public procedure JSONToFHIRObject(const ASourceValue:TBSValue; const ATargetObject:TBSFHIRObject;const APath:String='');
 
Public procedure XMLToFHIRObject(const ASourceNode: TBSXMLNode; const ATargetObject:TBSFHIRObject;const APath:String='');
 

Generated by PasDoc 0.15.0.