From fb4fe01ffd2053a8e4e70c38c3c2c65a3d4bdb81 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 20 Oct 2023 16:03:01 +0300 Subject: Alias Publication.Id to PublicationId Using "(field Publication Id)" will somehow default to PublishXRef.Id. Signed-off-by: Munyoki Kilyungi --- examples/phenotype.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/phenotype.scm') diff --git a/examples/phenotype.scm b/examples/phenotype.scm index 3165f6e..2745e95 100755 --- a/examples/phenotype.scm +++ b/examples/phenotype.scm @@ -93,7 +93,7 @@ (let ((pmid (field ("IF(Publication.PubMed_ID IS NULL, '', CONVERT(Publication.PubMed_Id, INT))" pmid))) - (publication-id (field Publication Id))) + (publication-id (field Publication Id PublicationId))) (if (string-null? pmid) (string->identifier "unpublished" (number->string publication-id)) -- cgit v1.2.3