Created
February 21, 2020 15:00
-
-
Save guillett/d46356008b13ee6f7a742f4a9d116ead to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let start = moment('2020-03-04T14:10:00') | |
// Timezone management hack | |
start = start.add(start.utcOffset(), 'minutes') | |
const appointment = { | |
scheduledstart: start.format(), | |
scheduledend: start.add(10, 'minutes').format(), | |
ownerid: { | |
id: '01e81fe8-901a-ea11-a810-000d3a898f87' // [E] Bagneux PMI Naudin | |
}, | |
cap_motif: { | |
id: 'daaea0ba-60de-e711-80d7-0050568308a3' // 2. Protection de l'enfance | |
}, | |
cap_demandeur: { | |
id: '16a41e6b-10d3-e911-a830-000d3a47c8cb' // NOM Prénom BT | |
}, | |
cap_beneficiaire: { | |
id: '16a41e6b-10d3-e911-a830-000d3a47c8cb' // NOM Prénom BT | |
}, | |
cap_professionnel: { | |
id: '74fc132a-0d70-e911-8153-5065f38bd461' // NOM Prénom BC | |
}, | |
equipment: { | |
id: '6f2fbf26-981a-ea11-a810-000d3a898f87' // Consultation médecin enfant Beauvois Bagneux Naudin [I/E] | |
}, | |
cap_sousmotif: { | |
id: '46ffa237-dd0c-e811-80da-0050568308a3' // a. Information préoccupante | |
}, | |
cap_centreid: { | |
id: '57949477-951a-ea11-a810-000d3a898f87' // Bagneux PMI Naudin | |
}, | |
mas_service: { | |
id: '2063ff6b-4365-e711-80c2-005056832ab0' // Consultation médecin enfant | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment