Questiona about timezones

Grahame Grieve <grahame@healthintersections.com.au> Wed, 26 September 2018 01:21 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 76A3F130DF6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 25 Sep 2018 18:21:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.651
X-Spam-Level:
X-Spam-Status: No, score=-2.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=healthintersections-com-au.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K0jP1hpJOEqB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 25 Sep 2018 18:21:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D36FB130DED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 25 Sep 2018 18:21:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1g4yTs-0008Qf-K7 for ietf-http-wg-dist@listhub.w3.org; Wed, 26 Sep 2018 01:19:08 +0000
Resent-Date: Wed, 26 Sep 2018 01:19:08 +0000
Resent-Message-Id: <E1g4yTs-0008Qf-K7@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <grahameg@gmail.com>) id 1g4yTm-0008Py-96 for ietf-http-wg@listhub.w3.org; Wed, 26 Sep 2018 01:19:02 +0000
Received: from mail-it1-x129.google.com ([2607:f8b0:4864:20::129]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <grahameg@gmail.com>) id 1g4yTk-0002cL-9f for ietf-http-wg@w3.org; Wed, 26 Sep 2018 01:19:01 +0000
Received: by mail-it1-x129.google.com with SMTP id c23-v6so753156itd.5 for <ietf-http-wg@w3.org>; Tue, 25 Sep 2018 18:18:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=healthintersections-com-au.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=SE/1L96LUXeXa/i12rGDX/EFvXLY7kMNqwsJ+s0imtQ=; b=xpdbju3K5g8vO2g+xXoo+uQG7oFuR0TRb9b3tZ0kyoXFrNsBEox/GoqLa52jGTBrzL /rL9fAKlU+CqMlmSFTTvMWRjxQBDdV4pDCnoWhJKDiQox0xi7ZuMTNX6SYm64Bss9JJh BMy1hkHHV8NibedxwTBMYll7JL8ekkpICbkfUyoA/HenH5wPB8zSMhWTfSyOYkftfxm0 O6qos4gwjDJhzZDEAuFfYWzAQ704flRyD2TvU5xrOkVACpHv76Nz3x7vtgUNHEYYVhcH VQylUYzCm9EM+Pf5A/LYsWujD1LG+SrY5+rM3+FqvsEUGcE/BE643ULXDMd/YQNpD7zM hQDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SE/1L96LUXeXa/i12rGDX/EFvXLY7kMNqwsJ+s0imtQ=; b=lRhLTmQ0bosLu1PObk7iYM9+3Cnp1R6DDDSyA97Et7vLIM5/HpRzR0sx+NBGv0YDDN id1QX3MQpNwkZo+7kIerFubJwaRPnqcYXnZrcevtvlGUtQMBOtCMhqYnMVfltupyTuAT yCmDBsUHq4RUDZnywgXjdLPRpFMU8YYXCpa4Lwiw+Dul0YYafS0NXs+0lcgHCs8/krKs l0mi/tS9jch5EuZK/iTbEELIf+LSGHxWCYnRxXbczx/5/vhLNtBpT2Nvb8t1cSaubF3d +XOyjZDmACxIx8sOdcboCM8WMA30JvTJ3MC+R0R4fodbMJCLPR0MYWRPaEk1H/anki4B ZGbg==
X-Gm-Message-State: ABuFfogVB3zqgZSKh+ncrIKrUgc+lwpyZ2nbbIgaIZCX7BUxXWvFdlmT xJ/sFCJj4ZMRT/Tp6nltJyfXpPL3Cn5IO/XIyZIBGUHtj4Y=
X-Google-Smtp-Source: ACcGV63P8lWXRjNYcSw5/HYsuRpM2cvLiohWjUs5520WEBNQLUEub61BwYQAImm18hwnBGE9TLVhEj9wpmRtgAyGO3s=
X-Received: by 2002:a24:fa49:: with SMTP id v70-v6mr3132939ith.59.1537924719042; Tue, 25 Sep 2018 18:18:39 -0700 (PDT)
MIME-Version: 1.0
From: Grahame Grieve <grahame@healthintersections.com.au>
Date: Wed, 26 Sep 2018 11:18:27 +1000
Message-ID: <CAG47hGZ+CMTqqLf86kjSdsxgUtM1cLYS12TasPLOJNrOieqe0g@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000091e6050576bc00a4"
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1g4yTk-0002cL-9f 0e24a8b820a4da9e16313af6208c8f68
X-Original-To: ietf-http-wg@w3.org
Subject: Questiona about timezones
Archived-At: <https://www.w3.org/mid/CAG47hGZ+CMTqqLf86kjSdsxgUtM1cLYS12TasPLOJNrOieqe0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35929
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi

We've run into a problem with the FHIR HTTP API to do with timezones (FHIR
= HTTP API for healthcare). TImezones are hard to deal with, and we can't
nail everything down (duh!). There's cases where the server needs to know
the client's timezone to perform certain tasks correctly on behalf of the
client, and the client wants to know the server's timezone to fully
understand certain outputs

The classic response is for this to be handled by javascript client side,
but that doesn't work for a data (json) API. Note also that in principle,
servers should not have a timezone, but in practice, every clinical system
in the world does have a timezone, and it matters a whole lot. If we care
about legacy data, we have to have the client knowing what the server
defaults to... and we really care about legacy data. And various clinical
protocols have operational ties to timezones, not just offsets (giving
medications at the right time really does matter)

Has anyone got any comments on this?

I like the header described in
https://tools.ietf.org/html/draft-sharhalakis-httptz-05 and would specify
it for both directions, but that's not blessed by the http-wg?

Grahame

-- 
-----
http://www.healthintersections.com.au / grahame@healthintersections.com.au
/ +61 411 867 065