Created
June 24, 2020 17:56
-
-
Save bbarreto/c53b49542a7c2da70c2c326faf9ff6d9 to your computer and use it in GitHub Desktop.
Criação de Sala de Vídeo sem Identificação Única de Paciente
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
POST /api/createRoom HTTP/1.1 | |
Host: seusite.telemedicina.drtis.com.br | |
accesskey: SUA_CHAVE_DE_ACESSO | |
Content-Type: application/json | |
{ | |
"doctor": { | |
"id": "abc123", | |
"name": "José da Silva", | |
"classDocumentType": "CRM", | |
"classDocumentUf": "RJ", | |
"classDocument": "309850" | |
}, | |
"appointmentTime": "2020-06-24T14:45:00Z", | |
"queue": { | |
"id": "cardiologia" | |
}, | |
"patient": { | |
"externalId": "23092", | |
"name": "Nome do Paciente", | |
"birthdate": "2018-01-01T03:00:00Z", | |
"cpf":"94898295100", | |
"customFields": [ | |
{ | |
"field": "cns", | |
"label": "CNS (SUS)", | |
"value": "90823498240" | |
}, | |
{ | |
"field": "convenio", | |
"label": "Convênio", | |
"value": "Top Platinum Apartamento" | |
}, | |
{ | |
"field": "associateNumber", | |
"label": "Número do associado", | |
"value": "823057501" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment