Skip to content

Instantly share code, notes, and snippets.

View vitorpacheco's full-sized avatar

Vitor Pacheco vitorpacheco

  • Solutis Tecnologias
  • Brasil, Salvador - BA
View GitHub Profile
@vitorpacheco
vitorpacheco / gist:c697b42c85022a86d8547afcbc1f80c9
Last active October 26, 2017 13:40
observation fco completa
curl -X POST \
'http://localhost:8000/api/v1/fhir/$process-message' \
-H 'accept: application/fhir+json' \
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjU5YmE5MzlkNDI0ZmU5MzA2NzZiZDMzNCIsIm5hbWUiOiJWaXRvciBQYWNoZWNvIENvc3RhIiwic3VybmFtZSI6IkNvc3RhIiwicGVybWlzc2lvbnMiOlsiYXBwOmhvbWUiLCJhcHA6Y29tcG9zaWNhbyIsImFwcDpkYXNoYm9hcmQiLCJhcHA6YXRlbmRpbWVudG8iLCJhcHA6cGFjaWVudGUiLCJhcHA6cHJvbnR1YXJpbyIsImFwcDpvcmdhbml6YWNhbyIsImFwcDpwcm9maXNzaW9uYWwiLCJhcHA6YWRtaW5pc3RyYWRvciJdLCJtYWlsIjoidml0b3IuY29zdGFAc29sdXRpcy5jb20uYnIiLCJpYXQiOjE1MDY5NjEzMzMsImV4cCI6MTUxNDczNzMzMywic3ViIjoidml0b3IuY29zdGFAc29sdXRpcy5jb20uYnIifQ.GQSp7Ln9S9jhSiDyJyGqgjOMRKGeJuG_d287lFoctMdaoFBeeT_BcELZxUqpEC29og0ExP-pWAOoq9LpIG_-lDj5HHw-dtc1x0uOpT934lqC25QdcJTrQa0onjf51WRynQ3BskfUj7joj9thPe4zYWMmVYXJKjsup_Of4FB-5R-Uojs5PMk13jcWoKesLh3dfQmwoJxiQUHkESV8J1FPljucgMppBCgdUwz-PzFRnF1w5jUXWeSM0Q0alkw9nnOghKJsdBYgSzl0mlmwUuhzE3CCQ5fsLDHZRjM5h9MgWrR1X0a2EY_lBQVRqvyRBdhBROUlaea5ZJJGr3vzlXNTEP9GBtj7vKd6KDkkB6zM75ZJ01jm9HbFMYprQ
{
"resourceType": "Observation",
"id": "openEHR-EHR-SECTION.ovl-ficha_industria_saudavel-adhoc-011.v1.0.0",
"identifier": [
{
"value": "openEHR-EHR-SECTION.ovl-ficha_industria_saudavel-adhoc-011.v1.0.0"
}
],
"component": [
{
{
"resourceType": "Bundle",
"type": "message",
"entry": [
{
"resource": {
"resourceType": "MessageHeader",
"event": {
"system": "http://hl7.org/fhir/message-events",
"code": "admin-notify",
{
"resourceType": "Bundle",
"type": "message",
"entry": [
{
"resource": {
"resourceType": "MessageHeader",
"event": "admin-notify"
}
},
@vitorpacheco
vitorpacheco / launch.json
Created August 8, 2017 19:01
Debug VSCode
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
<dynamicTypes>
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="application/json" enabled="true" />
<add mimeType="*/*" enabled="false" />
</dynamicTypes>
<staticTypes>
desktop.ini
Thumbs.db
thumbs.db
*.plist
.mediaartlocal
@vitorpacheco
vitorpacheco / phpcs.sublime-settings
Created February 21, 2014 03:56
phpcs.sublime-settings
{
"phpcs_additional_args": {
"--standard": "PSR2",
"-n": ""
},
// Show outline for errors
"phpcs_outline_for_errors": false,
// Show the errors in the quick panel so you can then goto line
@vitorpacheco
vitorpacheco / Preferences.sublime-settings
Created February 21, 2014 03:55
Preferences.sublime-settings
{
"bold_folder_labels": true,
"color_scheme": "Packages/User/Monokai Soda.tmTheme",
"font_face": "Source Code Pro Semibold",
"font_size": 9,
"highlight_line": true,
"highlight_modified_tabs": false,
"ignored_packages":
[
"Vintage"
public function js() {
$uneb = array();
$uneb['basePath'] = Router::url('/');
$uneb['params'] = array(
'controller' => $this->request->params['controller'],
'action' => $this->request->params['action'],
'named' => $this->request->params['named'],
);
if (is_array(Configure::read('Js'))) {
$uneb = Set::merge($uneb, Configure::read('Js'));