TemporaryId
Mixin Extends:
TempIdentifierModel, Helper
Helper class representing a Temporary Identifier.
Example:
// To save or insert, you can either use the .save() capability or clinical6
myTempIdentifier.save(); // insert without id
clinical6.insert(new TemporaryId({...}));
clinical6.update(myTempIdentifier);
Constructor Summary
| Public Constructor | ||
| public |
constructor(json: Object) Constructor for helper class representing a Temporary Identifier |
|
Method Summary
| Public Methods | ||
| public |
async save(): Promise<TemporaryId> Saves a temporary identifier (insert only without id) |
|
Public Constructors
Public Methods
public async save(): Promise<TemporaryId> source
Saves a temporary identifier (insert only without id)
Example:
import { TemporaryId } from 'clinical6';
// Inserts new temporaryId (no existing id)
const temporaryId = new TemporaryId(
"type": "temporary_identifiers",
"attributes": {
});
temporaryId.save();
Manual
Reference
Source
Test
