forked from IHTSDO/snowstorm-perf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fhir-requests.http
101 lines (84 loc) · 4.41 KB
/
fhir-requests.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
### Example SNOMED CT FHIR requests to Snowstorm, in a format that can be used in some IDE's including Visual Studio Code
### See https://github.com/Huachao/vscode-restclient
### URL to test against (change as appropriate)
@baseUrl = https://snowstorm.snomedtools.org/fhir
#### R1: Code System Lookup of Clinical Finding
GET {{baseUrl}}/CodeSystem/$lookup
?system=http://snomed.info/sct
&code=404684003
#### R2: Code System Lookup of "427623005 |Obstetric umbilical artery Doppler (procedure)|"
GET {{baseUrl}}/CodeSystem/$lookup
?system=http://snomed.info/sct
&code=427623005
#### R3: Code System Lookup of medicinal product including normalForm and sufficientlyDefined properties. Properties are listed here: [https://www.hl7.org/fhir/snomedct.html#props]
GET {{baseUrl}}/CodeSystem/$lookup
?system=http://snomed.info/sct
&code=322236009
&property=normalForm
&property=sufficientlyDefined
#### R4: Code System Lookup of "427623005 |Obstetric umbilical artery Doppler (procedure)|" in Swedish Extension
#### This example allows use of language headers to specify Swedish language.
GET {{baseUrl}}/CodeSystem/$lookup
?system=http://snomed.info/sct
&version=http://snomed.info/sct/45991000052106
&code=427623005
&displayLanguage=sv
#### R5: Check if "195967001 |Asthma (disorder)|" is a type of "50043002 |Disorder of respiratory system (disorder)|" in the January 2020 International version
GET {{baseUrl}}/CodeSystem/$subsumes
?system=http://snomed.info/sct
&version=http://snomed.info/sct/900000000000207008/version/20220131
&codeA=50043002
&codeB=195967001
#### R6: Expansion of an implicit value set using ECL (limited to 10 results) - see [https://www.hl7.org/fhir/snomedct.html#implicit]
GET {{baseUrl}}/ValueSet/$expand
?url=http://snomed.info/sct?fhir_vs=ecl/<<27624003
&count=10
#### R7: Expansion of an implicit value set using ECL against a specific edition/version
GET {{baseUrl}}/ValueSet/$expand
?url=http://snomed.info/sct/900000000000207008/version/20220131?fhir_vs=ecl/<<27624003
#### R8: Expansion of an implicit value set using ISA
GET {{baseUrl}}/ValueSet/$expand
?url=http://snomed.info/sct?fhir_vs=isa/27624003
#### R9: Expansion of an implicit value set against the Swedish Edition, including synonyms
GET {{baseUrl}}/ValueSet/$expand
?url=http://snomed.info/sct/45991000052106?fhir_vs=ecl/<<27624003
&includeDesignations=true
&count=10
&displayLanguage=sv
#### R10: Term filtering - ValueSet of all <<763158003 |Medicinal product (product)| containing the word aspirin. This is not case sensitive.
GET {{baseUrl}}/ValueSet/$expand
?url=http://snomed.info/sct?fhir_vs=ecl/<<763158003
&filter=Aspirin
#### R11: Validate a code and term against an implicit value set
GET {{baseUrl}}/ValueSet/$validate-code
?url=http://snomed.info/sct?fhir_vs=ecl/<<34014006
&code=840539006
&system=http://snomed.info/sct
&display=COVID-19
#### R12: Validate a code against an implicit value set expanded against a specific SNOMED release
GET {{baseUrl}}/ValueSet/$validate-code
?url=http://snomed.info/sct/900000000000207008/version/20220131?fhir_vs=ecl/<<34014006
&code=840539006
&system=http://snomed.info/sct
#### R13: Refset - list all SNOMED concepts mapped to ICD-O ECL here is ^446608001 |ICD-O simple map reference set|
#### The ECL here is "^446608001 |ICD-O simple map reference set|". The "^" must be URL encoded to "%5E".
GET {{baseUrl}}/ValueSet/$expand
?url=http://snomed.info/sct?fhir_vs=ecl/%5E446608001
&count=20
#### R14: Find ICD-10 Map target for 254153009 |Familial expansile osteolysis (disorder)|
GET {{baseUrl}}/ConceptMap/$translate
?code=254153009
&system=http://snomed.info/sct
&targetsystem=http://hl7.org/fhir/sid/icd-10
#### R15: Find all Maps target for 254153009 |Familial expansile osteolysis (disorder)|, in a specific version (and Edition) of SNOMED CT
GET {{baseUrl}}/ConceptMap/$translate
?code=254153009
&system=http://snomed.info/sct
&version=http://snomed.info/sct/900000000000207008/version/20220131
#### R16: Find ICD-10-CM Map target for 254153009 |Familial expansile osteolysis (disorder)|.
#### The version parameter is required if the US Edition is not the default version on the server.
GET {{baseUrl}}/ConceptMap/$translate
?code=254153009
&system=http://snomed.info/sct
&targetsystem=http://hl7.org/fhir/sid/icd-10-cm
&version=http://snomed.info/sct/731000124108