#1

GET http://tx.fhir.org/r4/metadata HTTP/1.0
Accept: application/fhir+json; fhirVersion=4.0
User-Agent: fhir/publisher
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:4010
content-type:application/fhir+json
date:Tue, 29 Apr 2025 12:22:52 GMT
pragma:no-cache
server:nginx
x-request-id:216-925821

{"resourceType" : "CapabilityStatement","id" : "FhirServer","text" : {"status" : "generated","div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Local User Conformance Statement</h2><p>FHIR v4.0.1 released 20250416055350.550Z. Server version 3.7.10 built 20250416055350.550Z</p><table class=\"grid\"><tr><th>Resource Type</th><th>Profile</th><th>Read</th><th>V-Read</th><th>Search</th><th>Update</th><th>Updates</th><th>Create</th><th>Delete</th><th>History</th></tr>\n</table>\n<p>Operations</p>\n<ul>\n <li>expand: see OperationDefinition/fso-expand</li>\n <li>lookup: see OperationDefinition/fso-lookup</li>\n <li>validate-code: see OperationDefinition/fso-validate-code</li>\n <li>translate: see OperationDefinition/fso-translate</li>\n <li>closure: see OperationDefinition/fso-closure</li>\n <li>versions: see OperationDefinition/fso-versions</li>\n</ul>\n</div>"},"extension" : [{"extension" : [{"url" : "definition","valueCanonical" : "http://hl7.org/fhir/uv/tx-tests/FeatureDefinition/test-version"},{"url" : "value","valueCode" : "1.7.6"},{"extension" : [{"url" : "name","valueCode" : "mode"},{"url" : "value","valueCode" : "tx.fhir.org"}],"url" : "qualifier"}],"url" : "http://hl7.org/fhir/uv/application-feature/StructureDefinition/feature"},{"extension" : [{"url" : "definition","valueCanonical" : "http://hl7.org/fhir/uv/tx-ecosystem/FeatureDefinition/CodeSystemAsParameter"},{"url" : "value","valueBoolean" : true}],"url" : "http://hl7.org/fhir/uv/application-feature/StructureDefinition/feature"}],"url" : "http://tx.fhir.org/r4/CapabilityStatement/tx","version" : "4.0.1-3.7.10","name" : "FHIRReferenceServer","title" : "FHIR Reference Server Conformance Statement","status" : "active","date" : "2025-04-29T12:22:52.595Z","contact" : [{"telecom" : [{"system" : "other","value" : "http://healthintersections.com.au/"}]}],"description" : "Standard Conformance Statement for the open source Reference FHIR Server provided by Health Intersections","kind" : "instance","instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server","http://hl7.org/fhir/CapabilityStatement/terminology-server"],"software" : {"name" : "Reference Server","version" : "3.7.10","releaseDate" : "2025-04-16T05:53:50.550Z"},"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},"resource" : [{"type" : "CodeSystem","interaction" : [{"code" : "read","documentation" : "Read a code system"},{"code" : "search-type","documentation" : "Search the code systems. Not that there a few major code systems that are not available through this API (SCT, LOINC etc)"}],"operation" : [{"name" : "validate-code","definition" : "http://hl7.org/fhir/OperationDefinition/CodeSystem-validate-code"},{"name" : "lookup","definition" : "http://hl7.org/fhir/OperationDefinition/CodeSystem-lookup"}]},{"type" : "ValueSet","interaction" : [{"code" : "read","documentation" : "Read a ValueSet"},{"code" : "search-type","documentation" : "Search the value sets"}],"operation" : [{"name" : "validate-code","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-validate-code"},{"name" : "expand","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-expand"}]}],"interaction" : [{"code" : "transaction"}],"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

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
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://hl7.org/fhir/fhir-types","code":"ImplementationGuide"}},{"name":"displayLanguage","valueCode":"da-DK"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"008630b0-5c18-40be-a9e6-7a920ea21284"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"},{"name":"diagnostics","valueBoolean":true}]}
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:1573
content-type:application/fhir+json
date:Tue, 29 Apr 2025 12:23:03 GMT
last-modified:Tue, 29 Apr 2025 12:23:03 GMT
pragma:no-cache
server:nginx
x-request-id:216-925966

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "http://hl7.org/fhir/fhir-types"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "http://hl7.org/fhir/fhir-types"},{"name" : "code","valueCode" : "ImplementationGuide"},{"name" : "message","valueString" : "A definition for CodeSystem 'http://hl7.org/fhir/fhir-types' could not be found, so the code cannot be validated"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id","valueString" : "UNKNOWN_CODESYSTEM"}],"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://hl7.org/fhir/fhir-types' could not be found, so the code cannot be validated"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}},{"name" : "diagnostics","valueString" : "0 0 : start\r\n0 0: tx-op\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Analysing\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Parameters: disp-lang=da-DK, default-to-latest\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Validate \"[http://hl7.org/fhir/fhir-types#ImplementationGuide (\"\")]\"\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Check \"http://hl7.org/fhir/fhir-types#ImplementationGuide\"\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Didn't find CodeSystem \"http://hl7.org/fhir/fhir-types\"\r\n"}]}

#3

GET http://tx.fhir.org/r4/metadata HTTP/1.0
Accept: application/fhir+json; fhirVersion=4.0
User-Agent: fhir/publisher
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:4010
content-type:application/fhir+json
date:Tue, 29 Apr 2025 12:23:31 GMT
pragma:no-cache
server:nginx
x-request-id:216-926304

{"resourceType" : "CapabilityStatement","id" : "FhirServer","text" : {"status" : "generated","div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Local User Conformance Statement</h2><p>FHIR v4.0.1 released 20250416055350.550Z. Server version 3.7.10 built 20250416055350.550Z</p><table class=\"grid\"><tr><th>Resource Type</th><th>Profile</th><th>Read</th><th>V-Read</th><th>Search</th><th>Update</th><th>Updates</th><th>Create</th><th>Delete</th><th>History</th></tr>\n</table>\n<p>Operations</p>\n<ul>\n <li>expand: see OperationDefinition/fso-expand</li>\n <li>lookup: see OperationDefinition/fso-lookup</li>\n <li>validate-code: see OperationDefinition/fso-validate-code</li>\n <li>translate: see OperationDefinition/fso-translate</li>\n <li>closure: see OperationDefinition/fso-closure</li>\n <li>versions: see OperationDefinition/fso-versions</li>\n</ul>\n</div>"},"extension" : [{"extension" : [{"url" : "definition","valueCanonical" : "http://hl7.org/fhir/uv/tx-tests/FeatureDefinition/test-version"},{"url" : "value","valueCode" : "1.7.6"},{"extension" : [{"url" : "name","valueCode" : "mode"},{"url" : "value","valueCode" : "tx.fhir.org"}],"url" : "qualifier"}],"url" : "http://hl7.org/fhir/uv/application-feature/StructureDefinition/feature"},{"extension" : [{"url" : "definition","valueCanonical" : "http://hl7.org/fhir/uv/tx-ecosystem/FeatureDefinition/CodeSystemAsParameter"},{"url" : "value","valueBoolean" : true}],"url" : "http://hl7.org/fhir/uv/application-feature/StructureDefinition/feature"}],"url" : "http://tx.fhir.org/r4/CapabilityStatement/tx","version" : "4.0.1-3.7.10","name" : "FHIRReferenceServer","title" : "FHIR Reference Server Conformance Statement","status" : "active","date" : "2025-04-29T12:23:31.623Z","contact" : [{"telecom" : [{"system" : "other","value" : "http://healthintersections.com.au/"}]}],"description" : "Standard Conformance Statement for the open source Reference FHIR Server provided by Health Intersections","kind" : "instance","instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server","http://hl7.org/fhir/CapabilityStatement/terminology-server"],"software" : {"name" : "Reference Server","version" : "3.7.10","releaseDate" : "2025-04-16T05:53:50.550Z"},"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},"resource" : [{"type" : "CodeSystem","interaction" : [{"code" : "read","documentation" : "Read a code system"},{"code" : "search-type","documentation" : "Search the code systems. Not that there a few major code systems that are not available through this API (SCT, LOINC etc)"}],"operation" : [{"name" : "validate-code","definition" : "http://hl7.org/fhir/OperationDefinition/CodeSystem-validate-code"},{"name" : "lookup","definition" : "http://hl7.org/fhir/OperationDefinition/CodeSystem-lookup"}]},{"type" : "ValueSet","interaction" : [{"code" : "read","documentation" : "Read a ValueSet"},{"code" : "search-type","documentation" : "Search the value sets"}],"operation" : [{"name" : "validate-code","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-validate-code"},{"name" : "expand","definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-expand"}]}],"interaction" : [{"code" : "transaction"}],"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"}]}]}

#4

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
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":"https://www.iso.org/obp/ui/","code":"iso:code:3166:DK#DK-85"}},{"name":"displayLanguage","valueCode":"da-DK"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"cache-id","valueId":"008630b0-5c18-40be-a9e6-7a920ea21284"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"},{"name":"diagnostics","valueBoolean":true}]}
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:1561
content-type:application/fhir+json
date:Tue, 29 Apr 2025 12:23:39 GMT
last-modified:Tue, 29 Apr 2025 12:23:39 GMT
pragma:no-cache
server:nginx
x-request-id:216-926444

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "system","valueUri" : "https://www.iso.org/obp/ui/"},{"name" : "x-caused-by-unknown-system","valueCanonical" : "https://www.iso.org/obp/ui/"},{"name" : "code","valueCode" : "iso:code:3166:DK#DK-85"},{"name" : "message","valueString" : "A definition for CodeSystem 'https://www.iso.org/obp/ui/' could not be found, so the code cannot be validated"},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id","valueString" : "UNKNOWN_CODESYSTEM"}],"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 'https://www.iso.org/obp/ui/' could not be found, so the code cannot be validated"},"location" : ["Coding.system"],"expression" : ["Coding.system"]}]}},{"name" : "diagnostics","valueString" : "0 0 : start\r\n0 0: tx-op\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Analysing\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Parameters: disp-lang=da-DK, default-to-latest\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Validate \"[https://www.iso.org/obp/ui/#iso:code:3166:DK#DK-85 (\"\")]\"\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Check \"https://www.iso.org/obp/ui/#iso:code:3166:DK#DK-85\"\r\n0 0: 0ms http://hl7.org/fhir/ValueSet/@all: Didn't find CodeSystem \"https://www.iso.org/obp/ui/\"\r\n"}]}

#5

POST http://tx.fhir.org/r4/CodeSystem/$validate-code? HTTP/1.0
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":"codeableConcept","valueCodeableConcept":{"coding":[{"system":"http://ehealth.sundhed.dk/cs/message-medium"}]}},{"name":"displayLanguage","valueCode":"da-DK"},{"name":"default-to-latest-version","valueBoolean":true},{"name":"tx-resource","resource":{"resourceType":"CodeSystem","id":"ehealth-message-medium","text":{"status":"generated","div":"<div>!-- Narrative removed --></div>"},"url":"http://ehealth.sundhed.dk/cs/message-medium","version":"3.5.1","name":"MessageMedium","title":"Message Medium","status":"active","experimental":false,"date":"2019-01-29T00:00:00+00:00","publisher":"Den telemedicinske infrastruktur (eHealth Infrastructure)","contact":[{"name":"Den telemedicinske infrastruktur (eHealth Infrastructure)","telecom":[{"system":"url","value":"http://ehealth.sundhed.dk"}]}],"description":"Message medium types","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"DK","display":"Denmark"}]}],"caseSensitive":true,"content":"complete","concept":[{"code":"nemsms","display":"NemSMS","designation":[{"language":"da","value":"NemSMS"}]},{"code":"eboks","display":"eBoks","designation":[{"language":"da","value":"eBoks"}]}]}},{"name":"cache-id","valueId":"008630b0-5c18-40be-a9e6-7a920ea21284"},{"name":"x-system-cache-id","valueString":"dc8fd4bc-091a-424a-8a3b-6198ef146891"},{"name":"diagnostics","valueBoolean":true}]}
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:1529
content-type:application/fhir+json
date:Tue, 29 Apr 2025 12:23:39 GMT
last-modified:Tue, 29 Apr 2025 12:23:39 GMT
pragma:no-cache
server:nginx
x-request-id:216-926447

{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : false},{"name" : "message","valueString" : "Unknown code '' in the CodeSystem 'http://ehealth.sundhed.dk/cs/message-medium' version '3.5.1'"},{"name" : "codeableConcept","valueCodeableConcept" : {"coding" : [{"system" : "http://ehealth.sundhed.dk/cs/message-medium"}]}},{"name" : "issues","resource" : {"resourceType" : "OperationOutcome","issue" : [{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id","valueString" : "Unknown_Code_in_Version"}],"severity" : "error","code" : "code-invalid","details" : {"coding" : [{"system" : "http://hl7.org/fhir/tools/CodeSystem/tx-issue-type","code" : "invalid-code"}],"text" : "Unknown code '' in the CodeSystem 'http://ehealth.sundhed.dk/cs/message-medium' version '3.5.1'"},"location" : ["CodeableConcept.coding[0].code"],"expression" : ["CodeableConcept.coding[0].code"]}]}},{"name" : "diagnostics","valueString" : "0 0 : start\r\n16 16: tx-op\r\n16 0: 0ms http://hl7.org/fhir/ValueSet/@all: Analysing\r\n16 0: 0ms http://hl7.org/fhir/ValueSet/@all: Parameters: disp-lang=da-DK, default-to-latest\r\n16 0: 0ms http://hl7.org/fhir/ValueSet/@all: Validate \"[http://ehealth.sundhed.dk/cs/message-medium# (\"\")]\"\r\n16 0: 0ms http://hl7.org/fhir/ValueSet/@all: Check \"http://ehealth.sundhed.dk/cs/message-medium#\"\r\n16 0: 0ms http://hl7.org/fhir/ValueSet/@all: Using CodeSystem \"http://ehealth.sundhed.dk/cs/message-medium|3.5.1\" (content = complete)\r\n"}]}