Terminology Server Log



1

Request: 

GET http://tx.fhir.org/r4/metadata?_summary=true HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1519
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:03:14 GMT
pragma:no-cache
server:nginx
x-request-id:127-461420

{"resourceType" : "CapabilityStatement","id" : "FhirServer","meta" : {"tag" : [{"system" : "http://hl7.org/fhir/v3/ObservationValue","code" : "SUBSETTED","display" : "Subsetted"}]},"url" : "http://tx.fhir.org/r4/metadata","version" : "4.0.1-3.4.3","name" : "FHIR Reference Server Conformance Statement","status" : "active","date" : "2024-03-22T19:03:14.013Z","contact" : [{"telecom" : [{"system" : "other","value" : "http://healthintersections.com.au/"}]}],"kind" : "instance","instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"],"software" : {"name" : "Reference Server","version" : "3.4.3","releaseDate" : "2024-03-18T13:03:01.265Z"},"implementation" : {"description" : "FHIR Server running at http://tx.fhir.org/r4","url" : "http://tx.fhir.org/r4"},"fhirVersion" : "4.0.1","format" : ["application/fhir+xml","application/fhir+json"],"rest" : [{"mode" : "server","security" : {"cors" : true},"operation" : [{"name" : "expand","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-expand"},{"name" : "lookup","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-lookup"},{"name" : "validate-code","definition" : "http://hl7.org/fhir/OperationDefinition/Resource-validate"},{"name" : "translate","definition" : "http://hl7.org/fhir/OperationDefinition/ConceptMap-translate"},{"name" : "closure","definition" : "http://hl7.org/fhir/OperationDefinition/ConceptMap-closure"},{"name" : "versions","definition" : "http://tx.fhir.org/r4/OperationDefinition/fso-versions"}]}]}


2

Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido","version":"*","code":"no-medication-info"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1149
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:44 GMT
last-modified:Fri, 22 Mar 2024 19:12:44 GMT
pragma:no-cache
server:nginx
x-request-id:127-465376

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido|*"},{"name" : "code","valueCode" : "no-medication-info"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}


3

Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","version":"*","code":"ATM"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1086
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:45 GMT
last-modified:Fri, 22 Mar 2024 19:12:45 GMT
pragma:no-cache
server:nginx
x-request-id:127-465384

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento|*"},{"name" : "code","valueCode" : "ATM"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}


4

Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador","version":"*","code":"AUTH"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1103
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:45 GMT
last-modified:Fri, 22 Mar 2024 19:12:45 GMT
pragma:no-cache
server:nginx
x-request-id:127-465386

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador|*"},{"name" : "code","valueCode" : "AUTH"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}


5

Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS","version":"*","code":"0301100039"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1077
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:45 GMT
last-modified:Fri, 22 Mar 2024 19:12:45 GMT
pragma:no-cache
server:nginx
x-request-id:127-465387

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS|*"},{"name" : "code","valueCode" : "0301100039"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}


6

Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","code":"RAC"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:979
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:54 GMT
last-modified:Fri, 22 Mar 2024 19:12:54 GMT
pragma:no-cache
server:nginx
x-request-id:127-465415

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "code","valueCode" : "RAC"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' could not be found, so the code cannot be validated"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' could not be found, so the code cannot be validated"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}


7

Request: 

POST http://tx.fhir.org/r4/ValueSet/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","code":"RAC"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"valueSet","resource":{"resourceType":"ValueSet","id":"BRTipoDocumento-1.0","meta":{"versionId":"1","lastUpdated":"2020-03-12T13:26:59.33+00:00"},"language":"pt-BR","text":{"status":"generated","div":"
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0","version":"0.1.0","name":"BRTipoDocumento","title":"Tipo de Documento","status":"active","experimental":false,"date":"2020-03-12T13:26:58.6069366+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classifica o tipo de documento que está sendo trafegado.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"immutable":false,"compose":{"include":[{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","version":"*"}]}}},{"name":"tx-resource","resource":{"resourceType":"CodeSystem","id":"BRTipoDocumento","meta":{"lastUpdated":"2020-03-26T13:19:48.112+00:00"},"language":"pt-BR","text":{"status":"generated","div":"

This case-sensitive code system http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento defines the following codes:

CodeDisplayDefinition
CMD Conjunto Mínimo de DadosDocumento público que coleta os dados mínimos dos atendimentos em saúde realizados em qualquer estabelecimento de saúde do país, público ou privado, em cada contato assistencial.
SA Sumário de AltaRelato clínico objetivo sobre as intervenções realizadas, as instruções para continuidade do cuidado pós-alta e o estado de saúde do indivíduo ao final de sua permanência na internação em estabelecimentos de saúde como: hospital, clínica, hospital-dia, internação domiciliar e urgência.
RAC Registro de Atendimento ClínicoRegistro de dados essenciais de uma consulta realizada a um indivíduo no âmbito da atenção básica, especializada ou domiciliar (atendimento diário).
RIA Registro de Imunobiológico Administrado
RPM Registro de Prescrição de Medicamento
RDM Registro de Dispensação de Medicamento
REL Resultado de Exame(s) Laboratoriais(s)
RA Regulação Assistencial
ATM Atestado Médico/Odontológico
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","version":"0.1.0","name":"BRTipoDocumento","title":"Tipo de Documento","status":"active","experimental":false,"date":"2020-03-26T13:19:46.9743559+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classificação dos tipos de documentos compartilhados no Brasil.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"caseSensitive":true,"content":"complete","concept":[{"code":"CMD","display":"Conjunto Mínimo de Dados","definition":"Documento público que coleta os dados mínimos dos atendimentos em saúde realizados em qualquer estabelecimento de saúde do país, público ou privado, em cada contato assistencial."},{"code":"SA","display":"Sumário de Alta","definition":"Relato clínico objetivo sobre as intervenções realizadas, as instruções para continuidade do cuidado pós-alta e o estado de saúde do indivíduo ao final de sua permanência na internação em estabelecimentos de saúde como: hospital, clínica, hospital-dia, internação domiciliar e urgência."},{"code":"RAC","display":"Registro de Atendimento Clínico","definition":"Registro de dados essenciais de uma consulta realizada a um indivíduo no âmbito da atenção básica, especializada ou domiciliar (atendimento diário)."},{"code":"RIA","display":"Registro de Imunobiológico Administrado"},{"code":"RPM","display":"Registro de Prescrição de Medicamento"},{"code":"RDM","display":"Registro de Dispensação de Medicamento"},{"code":"REL","display":"Resultado de Exame(s) Laboratoriais(s)"},{"code":"RA","display":"Regulação Assistencial"},{"code":"ATM","display":"Atestado Médico/Odontológico"}]}},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]} Response: 200 access-control-allow-methods:GET, POST, PUT, PATCH, DELETE access-control-allow-origin:* access-control-expose-headers:Content-Location, Location cache-control:public, max-age=600 connection:keep-alive content-length:1172 content-type:application/fhir+json date:Fri, 22 Mar 2024 19:12:54 GMT last-modified:Fri, 22 Mar 2024 19:12:54 GMT pragma:no-cache server:nginx x-request-id:127-465416 {"resourceType" : "Parameters","parameter" : [{"name" : "version","valueString" : "0.1.0"},{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento|*"},{"name" : "code","valueCode" : "RAC"},{"name" : "display","valueString" : "Registro de Atendimento Clínico"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}

8

Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","code":"04"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1014
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:54 GMT
last-modified:Fri, 22 Mar 2024 19:12:54 GMT
pragma:no-cache
server:nginx
x-request-id:127-465417

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial"},{"name" : "code","valueCode" : "04"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' could not be found, so the code cannot be validated"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' could not be found, so the code cannot be validated"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}


9

Request: 

POST http://tx.fhir.org/r4/ValueSet/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","code":"04"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"valueSet","resource":{"resourceType":"ValueSet","id":"BRModalidadeAssistencial-1.0","meta":{"lastUpdated":"2020-03-12T13:17:22.715+00:00"},"language":"pt-BR","text":{"status":"generated","div":"
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0","version":"0.1.0","name":"BRModalidadeAssistencial","title":"Modalidade Assistencial","status":"active","experimental":false,"date":"2020-03-12T13:17:18.5012669+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classificação dos documentos e contatos assistenciais de acordo com as especificidades do modo, local e duração do atendimento.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"immutable":false,"compose":{"include":[{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","version":"*"}]}}},{"name":"tx-resource","resource":{"resourceType":"CodeSystem","id":"BRModalidadeAssistencial","meta":{"lastUpdated":"2020-03-11T18:15:59.439+00:00"},"language":"pt-BR","text":{"status":"generated","div":"

This case-sensitive code system http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial defines the following codes:

CodeDisplay
01 Atenção Básica
02 Atenção Domiciliar
03 Atenção Intermediária
04 Atenção Hospitalar
05 Atenção Psicossocial
06 Atenção à Urgência/Emergência
07 Ambulatorial Especializada
08 Assistência Farmacêutica
09 Assistência Ambulatorial
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","version":"0.1.0","name":"BRModalidadeAssistencial","title":"Modalidade Assistencial","status":"active","experimental":false,"date":"2020-03-11T18:16:19.9468275+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classifica os contatos assistenciais de acordo com as especificidades do modo, local e duração do atendimento","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"caseSensitive":true,"content":"complete","concept":[{"code":"01","display":"Atenção Básica"},{"code":"02","display":"Atenção Domiciliar"},{"code":"03","display":"Atenção Intermediária"},{"code":"04","display":"Atenção Hospitalar"},{"code":"05","display":"Atenção Psicossocial"},{"code":"06","display":"Atenção à Urgência/Emergência"},{"code":"07","display":"Ambulatorial Especializada"},{"code":"08","display":"Assistência Farmacêutica"},{"code":"09","display":"Assistência Ambulatorial"}]}},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]} Response: 200 access-control-allow-methods:GET, POST, PUT, PATCH, DELETE access-control-allow-origin:* access-control-expose-headers:Content-Location, Location cache-control:public, max-age=600 connection:keep-alive content-length:1195 content-type:application/fhir+json date:Fri, 22 Mar 2024 19:12:54 GMT last-modified:Fri, 22 Mar 2024 19:12:54 GMT pragma:no-cache server:nginx x-request-id:127-465418 {"resourceType" : "Parameters","parameter" : [{"name" : "version","valueString" : "0.1.0"},{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial|*"},{"name" : "code","valueCode" : "04"},{"name" : "display","valueString" : "Atenção Hospitalar"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}

10

Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","code":"RAC"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:338
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:54 GMT
last-modified:Fri, 22 Mar 2024 19:12:54 GMT
pragma:no-cache
server:nginx
x-request-id:127-465419

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : true},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "code","valueCode" : "RAC"},{"name" : "version","valueString" : "0.1.0"},{"name" : "display","valueString" : "Registro de Atendimento Clínico"}]}

--- 1 -----------------
Request: 

GET http://tx.fhir.org/r4/metadata?_summary=true HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1519
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:03:14 GMT
pragma:no-cache
server:nginx
x-request-id:127-461420

{"resourceType" : "CapabilityStatement","id" : "FhirServer","meta" : {"tag" : [{"system" : "http://hl7.org/fhir/v3/ObservationValue","code" : "SUBSETTED","display" : "Subsetted"}]},"url" : "http://tx.fhir.org/r4/metadata","version" : "4.0.1-3.4.3","name" : "FHIR Reference Server Conformance Statement","status" : "active","date" : "2024-03-22T19:03:14.013Z","contact" : [{"telecom" : [{"system" : "other","value" : "http://healthintersections.com.au/"}]}],"kind" : "instance","instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"],"software" : {"name" : "Reference Server","version" : "3.4.3","releaseDate" : "2024-03-18T13:03:01.265Z"},"implementation" : {"description" : "FHIR Server running at http://tx.fhir.org/r4","url" : "http://tx.fhir.org/r4"},"fhirVersion" : "4.0.1","format" : ["application/fhir+xml","application/fhir+json"],"rest" : [{"mode" : "server","security" : {"cors" : true},"operation" : [{"name" : "expand","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-expand"},{"name" : "lookup","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-lookup"},{"name" : "validate-code","definition" : "http://hl7.org/fhir/OperationDefinition/Resource-validate"},{"name" : "translate","definition" : "http://hl7.org/fhir/OperationDefinition/ConceptMap-translate"},{"name" : "closure","definition" : "http://hl7.org/fhir/OperationDefinition/ConceptMap-closure"},{"name" : "versions","definition" : "http://tx.fhir.org/r4/OperationDefinition/fso-versions"}]}]}

--- 2 -----------------
Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido","version":"*","code":"no-medication-info"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1149
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:44 GMT
last-modified:Fri, 22 Mar 2024 19:12:44 GMT
pragma:no-cache
server:nginx
x-request-id:127-465376

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido|*"},{"name" : "code","valueCode" : "no-medication-info"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRDadoAusenteOuDesconhecido' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}

--- 3 -----------------
Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","version":"*","code":"ATM"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1086
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:45 GMT
last-modified:Fri, 22 Mar 2024 19:12:45 GMT
pragma:no-cache
server:nginx
x-request-id:127-465384

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento|*"},{"name" : "code","valueCode" : "ATM"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}

--- 4 -----------------
Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador","version":"*","code":"AUTH"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1103
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:45 GMT
last-modified:Fri, 22 Mar 2024 19:12:45 GMT
pragma:no-cache
server:nginx
x-request-id:127-465386

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador|*"},{"name" : "code","valueCode" : "AUTH"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoIdentificador' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}

--- 5 -----------------
Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS","version":"*","code":"0301100039"}},{"name":"displayLanguage","valueString":"en, en-US"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:1077
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:45 GMT
last-modified:Fri, 22 Mar 2024 19:12:45 GMT
pragma:no-cache
server:nginx
x-request-id:127-465387

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS|*"},{"name" : "code","valueCode" : "0301100039"},{"name" : "version","valueString" : "*"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS' version '*' could not be found, so the code cannot be validated. Valid versions: []"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTabelaSUS' version '*' could not be found, so the code cannot be validated. Valid versions: []"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}

--- 6 -----------------
Request: 

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","code":"RAC"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]}


Response: 

200
access-control-allow-methods:GET, POST, PUT, PATCH, DELETE
access-control-allow-origin:*
access-control-expose-headers:Content-Location, Location
cache-control:public, max-age=600
connection:keep-alive
content-length:979
content-type:application/fhir+json
date:Fri, 22 Mar 2024 19:12:54 GMT
last-modified:Fri, 22 Mar 2024 19:12:54 GMT
pragma:no-cache
server:nginx
x-request-id:127-465415

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "code","valueCode" : "RAC"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' could not be found, so the code cannot be validated"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' could not be found, so the code cannot be validated"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]}

--- 7 -----------------
Request: 

POST http://tx.fhir.org/r4/ValueSet/$validate-code? HTTP/1.0
Accept-Charset: UTF-8
Accept: application/fhir+json; fhirVersion=4.0
Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8
User-Agent: fhir/publisher

{"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","code":"RAC"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"valueSet","resource":{"resourceType":"ValueSet","id":"BRTipoDocumento-1.0","meta":{"versionId":"1","lastUpdated":"2020-03-12T13:26:59.33+00:00"},"language":"pt-BR","text":{"status":"generated","div":"
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0","version":"0.1.0","name":"BRTipoDocumento","title":"Tipo de Documento","status":"active","experimental":false,"date":"2020-03-12T13:26:58.6069366+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classifica o tipo de documento que está sendo trafegado.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"immutable":false,"compose":{"include":[{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","version":"*"}]}}},{"name":"tx-resource","resource":{"resourceType":"CodeSystem","id":"BRTipoDocumento","meta":{"lastUpdated":"2020-03-26T13:19:48.112+00:00"},"language":"pt-BR","text":{"status":"generated","div":"

This case-sensitive code system http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento defines the following codes:

CodeDisplayDefinition
CMD Conjunto Mínimo de DadosDocumento público que coleta os dados mínimos dos atendimentos em saúde realizados em qualquer estabelecimento de saúde do país, público ou privado, em cada contato assistencial.
SA Sumário de AltaRelato clínico objetivo sobre as intervenções realizadas, as instruções para continuidade do cuidado pós-alta e o estado de saúde do indivíduo ao final de sua permanência na internação em estabelecimentos de saúde como: hospital, clínica, hospital-dia, internação domiciliar e urgência.
RAC Registro de Atendimento ClínicoRegistro de dados essenciais de uma consulta realizada a um indivíduo no âmbito da atenção básica, especializada ou domiciliar (atendimento diário).
RIA Registro de Imunobiológico Administrado
RPM Registro de Prescrição de Medicamento
RDM Registro de Dispensação de Medicamento
REL Resultado de Exame(s) Laboratoriais(s)
RA Regulação Assistencial
ATM Atestado Médico/Odontológico
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","version":"0.1.0","name":"BRTipoDocumento","title":"Tipo de Documento","status":"active","experimental":false,"date":"2020-03-26T13:19:46.9743559+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classificação dos tipos de documentos compartilhados no Brasil.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"caseSensitive":true,"content":"complete","concept":[{"code":"CMD","display":"Conjunto Mínimo de Dados","definition":"Documento público que coleta os dados mínimos dos atendimentos em saúde realizados em qualquer estabelecimento de saúde do país, público ou privado, em cada contato assistencial."},{"code":"SA","display":"Sumário de Alta","definition":"Relato clínico objetivo sobre as intervenções realizadas, as instruções para continuidade do cuidado pós-alta e o estado de saúde do indivíduo ao final de sua permanência na internação em estabelecimentos de saúde como: hospital, clínica, hospital-dia, internação domiciliar e urgência."},{"code":"RAC","display":"Registro de Atendimento Clínico","definition":"Registro de dados essenciais de uma consulta realizada a um indivíduo no âmbito da atenção básica, especializada ou domiciliar (atendimento diário)."},{"code":"RIA","display":"Registro de Imunobiológico Administrado"},{"code":"RPM","display":"Registro de Prescrição de Medicamento"},{"code":"RDM","display":"Registro de Dispensação de Medicamento"},{"code":"REL","display":"Resultado de Exame(s) Laboratoriais(s)"},{"code":"RA","display":"Regulação Assistencial"},{"code":"ATM","display":"Atestado Médico/Odontológico"}]}},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]} Response: 200 access-control-allow-methods:GET, POST, PUT, PATCH, DELETE access-control-allow-origin:* access-control-expose-headers:Content-Location, Location cache-control:public, max-age=600 connection:keep-alive content-length:1172 content-type:application/fhir+json date:Fri, 22 Mar 2024 19:12:54 GMT last-modified:Fri, 22 Mar 2024 19:12:54 GMT pragma:no-cache server:nginx x-request-id:127-465416 {"resourceType" : "Parameters","parameter" : [{"name" : "version","valueString" : "0.1.0"},{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento|*"},{"name" : "code","valueCode" : "RAC"},{"name" : "display","valueString" : "Registro de Atendimento Clínico"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]} --- 8 ----------------- Request: POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0 Accept-Charset: UTF-8 Accept: application/fhir+json; fhirVersion=4.0 Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8 User-Agent: fhir/publisher {"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","code":"04"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]} Response: 200 access-control-allow-methods:GET, POST, PUT, PATCH, DELETE access-control-allow-origin:* access-control-expose-headers:Content-Location, Location cache-control:public, max-age=600 connection:keep-alive content-length:1014 content-type:application/fhir+json date:Fri, 22 Mar 2024 19:12:54 GMT last-modified:Fri, 22 Mar 2024 19:12:54 GMT pragma:no-cache server:nginx x-request-id:127-465417 {"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial"},{"name" : "code","valueCode" : "04"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' could not be found, so the code cannot be validated"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' could not be found, so the code cannot be validated"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]} --- 9 ----------------- Request: POST http://tx.fhir.org/r4/ValueSet/$validate-code? HTTP/1.0 Accept-Charset: UTF-8 Accept: application/fhir+json; fhirVersion=4.0 Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8 User-Agent: fhir/publisher {"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","code":"04"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"valueSet","resource":{"resourceType":"ValueSet","id":"BRModalidadeAssistencial-1.0","meta":{"lastUpdated":"2020-03-12T13:17:22.715+00:00"},"language":"pt-BR","text":{"status":"generated","div":"
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0","version":"0.1.0","name":"BRModalidadeAssistencial","title":"Modalidade Assistencial","status":"active","experimental":false,"date":"2020-03-12T13:17:18.5012669+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classificação dos documentos e contatos assistenciais de acordo com as especificidades do modo, local e duração do atendimento.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"immutable":false,"compose":{"include":[{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","version":"*"}]}}},{"name":"tx-resource","resource":{"resourceType":"CodeSystem","id":"BRModalidadeAssistencial","meta":{"lastUpdated":"2020-03-11T18:15:59.439+00:00"},"language":"pt-BR","text":{"status":"generated","div":"

This case-sensitive code system http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial defines the following codes:

CodeDisplay
01 Atenção Básica
02 Atenção Domiciliar
03 Atenção Intermediária
04 Atenção Hospitalar
05 Atenção Psicossocial
06 Atenção à Urgência/Emergência
07 Ambulatorial Especializada
08 Assistência Farmacêutica
09 Assistência Ambulatorial
"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"informative","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://www.saude.gov.br/fhir/r4/ImplementationGuide/br.gov.saude.rnds.rac"}]}}],"url":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial","version":"0.1.0","name":"BRModalidadeAssistencial","title":"Modalidade Assistencial","status":"active","experimental":false,"date":"2020-03-11T18:16:19.9468275+00:00","publisher":"Ministério da Saúde do Brasil","contact":[{"telecom":[{"system":"url","value":"http://www.saude.gov.br"}]}],"description":"Classifica os contatos assistenciais de acordo com as especificidades do modo, local e duração do atendimento","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"BR"}]}],"caseSensitive":true,"content":"complete","concept":[{"code":"01","display":"Atenção Básica"},{"code":"02","display":"Atenção Domiciliar"},{"code":"03","display":"Atenção Intermediária"},{"code":"04","display":"Atenção Hospitalar"},{"code":"05","display":"Atenção Psicossocial"},{"code":"06","display":"Atenção à Urgência/Emergência"},{"code":"07","display":"Ambulatorial Especializada"},{"code":"08","display":"Assistência Farmacêutica"},{"code":"09","display":"Assistência Ambulatorial"}]}},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]} Response: 200 access-control-allow-methods:GET, POST, PUT, PATCH, DELETE access-control-allow-origin:* access-control-expose-headers:Content-Location, Location cache-control:public, max-age=600 connection:keep-alive content-length:1195 content-type:application/fhir+json date:Fri, 22 Mar 2024 19:12:54 GMT last-modified:Fri, 22 Mar 2024 19:12:54 GMT pragma:no-cache server:nginx x-request-id:127-465418 {"resourceType" : "Parameters","parameter" : [{"name" : "version","valueString" : "0.1.0"},{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial|*"},{"name" : "code","valueCode" : "04"},{"name" : "display","valueString" : "Atenção Hospitalar"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"severity" : "error","code" : "not-found","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "not-found"}],"text" : "A definition for CodeSystem 'http://www.saude.gov.br/fhir/r4/CodeSystem/BRModalidadeAssistencial' version '*' could not be found, so the code cannot be validated. Valid versions: [0.1.0]"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}}]} --- 10 ----------------- Request: POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0 Accept-Charset: UTF-8 Accept: application/fhir+json; fhirVersion=4.0 Content-Type: application/fhir+json; fhirVersion=4.0;charset=UTF-8 User-Agent: fhir/publisher {"resourceType":"Parameters","parameter":[{"name":"coding","valueCoding":{"system":"http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento","code":"RAC"}},{"name":"displayLanguage","valueString":"pt-BR"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"7b611ba0-a005-473f-8c7a-bbb84da06892"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"}]} Response: 200 access-control-allow-methods:GET, POST, PUT, PATCH, DELETE access-control-allow-origin:* access-control-expose-headers:Content-Location, Location cache-control:public, max-age=600 connection:keep-alive content-length:338 content-type:application/fhir+json date:Fri, 22 Mar 2024 19:12:54 GMT last-modified:Fri, 22 Mar 2024 19:12:54 GMT pragma:no-cache server:nginx x-request-id:127-465419 {"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : true},{"name" : "system","valueUri" : "http://www.saude.gov.br/fhir/r4/CodeSystem/BRTipoDocumento"},{"name" : "code","valueCode" : "RAC"},{"name" : "version","valueString" : "0.1.0"},{"name" : "display","valueString" : "Registro de Atendimento Clínico"}]}