Skip to content

Instantly share code, notes, and snippets.

{
"openapi": "3.0.2",
"info": {
"title": "AWS FHIR Server",
"description": "This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)",
"termsOfService": "http://swagger.io/terms/",
"contact": {
"email": "apiteam@swagger.io"
},
"license": {
const { rejects } = require('assert');
const https = require('https');
const http = require('http');
const SLACKCHANNEL = process.env.URL;
function get(url) {
return new Promise((resolve, reject) => {
(url.startsWith('https') ? https : http).get(url, (resp) => {
let data = '';
db.organizacion.find().forEach( function(organizacion) {
db.internacionEstados.insert([
{
"organizacion" : organizacion._id,
"ambito" : "internacion",
"capa" : "estadistica",
"estados" : [
{
"key" : "disponible",
"label" : "Disponible",
@liquid36
liquid36 / importacion-mama-cama.js
Last active April 14, 2020 13:58
Script para transformar los datos del viejo sistema de Internacion
var MongoClient = require('mongodb').MongoClient;
var url = '';
async function store(CamaEstados, { organizacion, ambito, capa, cama }, estado) {
return await CamaEstados.update(
{
idOrganizacion: organizacion,
ambito,
capa,
idCama: cama,
@liquid36
liquid36 / DERMATOLOGOS.md
Created November 23, 2019 00:56
Dermatologos IA

Primero de todo uní cada semana dentro de los zips en un solo lugar. Una carpeta por clasificacion:

  • COMMON NEVI
  • ATYPICAL NEVI
  • CONGENITAL NEVI
  • DERMATOFIBROMA
  • MELANOMA
  • MISCELLANEOUS
  • SCC % AK
  • SEB K
@liquid36
liquid36 / command.sh
Last active August 7, 2018 21:45
Carpoolear docker example
mkdir carpoolear
git clone https://github.com/STS-Rosario/carpoolear_backend backend
# change branch if necesasary
cd carpoolear_backend
git checkout new-branch
cd ..
# Donwload docker-compose.yml in this gist
wget https://gist.githubusercontent.com/liquid36/0c35515184063a16f629174c36957333/raw/b3e0e15aa61ebfc7edc75f507518315d2a2484a7/docker-compose.yml
version: '2'
services:
andes:
image: mongo
container_name: andes
volumes:
- andes:/data/db
ports:
- "27017:27017"