This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Badges |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
ARCH="amd64" | |
U_NAME=$(uname -m) | |
if [ "${U_NAME}" = "aarch64" ]; then | |
ARCH="arm64" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright (c) 2021 by InterSystems Corporation. | |
Cambridge, Massachusetts, U.S.A. All rights reserved. | |
Confidential property of InterSystems Corporation. */ | |
Class PEX.Msg.Message Extends (Ens.MessageBody, %CSP.Page, %XML.Adaptor) | |
{ | |
Property Base64Image As %Stream.GlobalCharacter; | |
Property BinaryImage As %Stream.GlobalBinary; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "NHSI/E WDS Temp Staffing (Sample Draft API Spec)", | |
"description": "This is NHSI/E WDS Temp Staffing API Specifications (Sample Draft API Spec)", | |
"termsOfService": "http://nhsdigital.nhs.uk/", | |
"contact": { | |
"name": "NHSI/E WDS Team", | |
"email": "medi.harsini1@nhs.net" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class User.Util | |
{ | |
ClassMethod EmptyToNull(dyna As %DynamicObject) As %DynamicObject | |
{ | |
set iter = dyna.%GetIterator() | |
while iter.%GetNext(.key , .value ) { | |
if value = "" { | |
do dyna.%Set(key,"","null") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Description | |
Class PackageName.ClassName Extends %RegisteredObject | |
{ | |
/// Description | |
ClassMethod Test() As %Status | |
{ | |
Set sc = $$$OK | |
#define posix ##class(%Library.PosixTime).CurrentTimeStamp() | |
Set me = ..%New() |