FHIR Chat · Practioner Resource · implementers

Stream: implementers

Topic: Practioner Resource


view this post on Zulip Rajdeep Gupta (Jan 16 2019 at 12:49):

Detail and codes related to my issue :
I am creating a new practitioner resource like below :
var practitioner = new Practitioner();
-Adding meta info to practitioner object like below :
var metObj = new Meta();
-I want to save long value (i.e ticks) instead of DateTime value for "Meta.LastUpdated" property like given below :
metObj.LastUpdated = DateTime.Now.Ticks;
-Also, i want to save list of long data type value in "Meta.LastUpdate" property like given below :
List lastUpdatedLst = new List();
lastUpdatedLst.Add(DateTime.Now.Ticks);
metaObj.LastUpdatedList = lastUpdatedLst;
Could you please help me out out to achieve this! implementers

view this post on Zulip Lloyd McKenzie (Jan 16 2019 at 13:59):

You can't change the data type from what it is in the standard. (If you could, it wouldn't be a standard... :))


Last updated: Apr 12 2022 at 19:14 UTC