{"info":{"_postman_id":"e8ad9384-88cc-f073-9ecc-b7a2e0109b11","name":"Ontoserver 5.0: example FHIR Terminology requests","description":"Example usage of FHIR Terminology Services\n\nYou will need to set the global variable url to your FHIR endpoint.\n\nFor Ontoserver, set it to\n\nhttp://ontoserver.csiro.au/stu3-latest\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"AuditEvent Examples","item":[{"name":"{{url}}/AuditEvent","id":"59ea7047-993c-7036-9539-08051b416968","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"AuditEvent\",\n  \"type\": {\n    \"system\": \"http://ontoserver.csiro.org/CodeSystem/ontoserver-reporting\",\n    \"code\": \"code-selected\",\n    \"display\": \"Code Selected\"\n  },\n  \"action\": \"E\",\n  \"recorded\": \"2017-06-02T22:04:27+11:00\",\n  \"outcome\": \"0\",\n  \"agent\": [\n    {\n      \"requestor\": false\n    }\n  ],\n  \"source\": {\n    \"site\": \"IT Department\",\n    \"identifier\": {\n      \"value\": \"John's Laptop\"\n    }\n  },\n  \"entity\": [\n    {\n      \"name\": \"selected code\",\n      \"identifier\": {\n        \"system\": \"http://snomed.info/sct\",\n        \"value\": \"127949000\"\n      },\n      \"detail\": [{\n          \"type\": \"searchPath\",\n          \"value\": \"/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=refset/32570061000036105&filter=elbow&count=10\"\n        },\n        {\n          \"type\": \"valueSetExpansionUrl\",\n          \"value\": \"http://snomed.info/sct?fhir_vs=refset/32570061000036105\"\n        },\n        {\n          \"type\": \"valueSetExpansionFilter\",\n          \"value\": \"elbow\"\n        },\n        {\n          \"type\": \"indexInSearchResult\",\n          \"value\": \"2\"\n        }\n      ]\n    }\n  ]\n}"},"url":"{{url}}/AuditEvent","description":"Create an AuditEvent resource to indicate the selection of a code following a search (ValueSet $expand with filter)"},"response":[],"_postman_id":"59ea7047-993c-7036-9539-08051b416968"}],"id":"7cae88e7-d722-40be-a310-828d5475ce7f","description":"Examples demonstrating the use of the AuditEvent resource","_postman_id":"7cae88e7-d722-40be-a310-828d5475ce7f"},{"name":"Batch Examples","item":[{"name":"Batch $lookup","id":"3d315601-0411-66af-383c-9b27ffded89e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/fhir+json"},{"key":"Accept","value":"application/fhir+json"}],"body":{"mode":"raw","raw":"{\n   \"type\" : \"batch\",\n   \"resourceType\" : \"Bundle\",\n   \"entry\" : [\n      {\n         \"request\" : {\n            \"method\" : \"POST\",\n            \"url\" : \"CodeSystem/$lookup\"\n         },\n         \"resource\" : {\n            \"resourceType\" : \"Parameters\",\n            \"parameter\" : [\n               {\n                  \"valueUri\" : \"http://loinc.org\",\n                  \"name\" : \"system\"\n               },\n               {\n                  \"valueCode\" : \"23245-4\",\n                  \"name\" : \"code\"\n               }\n            ]\n         }\n      },\n      {\n         \"resource\" : {\n            \"parameter\" : [\n               {\n                  \"name\" : \"system\",\n                  \"valueUri\" : \"http://snomed.info/sct\"\n               },\n               {\n                  \"valueCode\" : \"17311000168105\",\n                  \"name\" : \"code\"\n               }\n            ],\n            \"resourceType\" : \"Parameters\"\n         },\n         \"request\" : {\n            \"method\" : \"POST\",\n            \"url\" : \"CodeSystem/$lookup\"\n         }\n      }\n   ]\n}\n"},"url":"{{url}}","description":"The request sends two lookups - one of a LOINC code and one of a SNOMED CT code."},"response":[],"_postman_id":"3d315601-0411-66af-383c-9b27ffded89e"}],"id":"fe2f7db3-54dc-e885-f5b4-bd6dbc632d49","_postman_id":"fe2f7db3-54dc-e885-f5b4-bd6dbc632d49"},{"name":"Closure Examples","item":[{"name":"Step 1","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var jsonData = JSON.parse(responseBody);","tests[\"Response body is ConceptMap\"] = jsonData.resourceType === 'ConceptMap';","tests[\"ConceptMap is empty\"] = typeof jsonData.element === 'undefined';",""]}}],"id":"91d97079-5fd4-146a-183e-70b8b3830a01","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\" : \"Parameters\",\n  \"parameter\" : [\n    {\n      \"name\" : \"name\",\n      \"valueString\" : \"49088976-d54d-4d19-b868-3d4c18cebabb\"\n    }\n  ]\n}"},"url":"{{url}}/$closure","description":"Initialise the closure table"},"response":[],"_postman_id":"91d97079-5fd4-146a-183e-70b8b3830a01"},{"name":"Step 2","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var jsonData = JSON.parse(responseBody);","tests[\"Response body is ConceptMap\"] = jsonData.resourceType === 'ConceptMap';","tests[\"ConceptMap is empty\"] = typeof jsonData.element === 'undefined';",""]}}],"id":"4989d0a7-aaa2-eb90-4894-1884c5f4fc26","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\" : \"Parameters\",\n  \"parameter\" : [\n    {\n      \"name\" : \"name\",\n      \"valueString\" : \"49088976-d54d-4d19-b868-3d4c18cebabb\"\n    },\n    {\n      \"name\" : \"concept\",\n      \"valueCoding\" : {\n        \"system\" : \"http://snomed.info/sct\",\n        \"code\" : \"22298006\"\n      }\n    }\n  ]\n}"},"url":"{{url}}/$closure","description":"Adding an initial concept to the table should not generate an entry in the resulting ConceptMap."},"response":[],"_postman_id":"4989d0a7-aaa2-eb90-4894-1884c5f4fc26"},{"name":"Step 3","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","var jsonData = JSON.parse(responseBody);","tests[\"Response body is ConceptMap\"] = jsonData.resourceType === 'ConceptMap';","tests[\"ConceptMap is not empty\"] = typeof jsonData.group !== 'undefined';","tests[\"ConceptMap has one group\"] = jsonData.group.length === 1;","tests[\"ConceptMap has one element\"] = jsonData.group[0].element.length === 1;","tests[\"ConceptMap expected source value\"] = jsonData.group[0].element[0].code === '22298006';","tests[\"ConceptMap expected target value\"] = jsonData.group[0].element[0].target[0].code === '128599005';","tests[\"ConceptMap expected target relationship\"] = jsonData.group[0].element[0].target[0].equivalence === 'subsumes';","","",""]}}],"id":"141bc8cd-77ed-624a-b855-5058d12b6ea4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\" : \"Parameters\",\n  \"parameter\" : [\n    {\n      \"name\" : \"name\",\n      \"valueString\" : \"49088976-d54d-4d19-b868-3d4c18cebabb\"\n    },\n    {\n      \"name\" : \"concept\",\n      \"valueCoding\" : {\n        \"system\" : \"http://snomed.info/sct\",\n        \"code\" : \"128599005\"\n      }\n    }\n  ]\n}"},"url":"{{url}}/$closure","description":"Adding a second concept to the table should generate an entry in the resulting ConceptMap."},"response":[],"_postman_id":"141bc8cd-77ed-624a-b855-5058d12b6ea4"},{"name":"Step 4","id":"35cfae00-bd06-e40c-8a37-15ec845c7993","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\" : \"Parameters\",\n  \"parameter\" : [\n    {\n      \"name\" : \"name\",\n      \"valueString\" : \"49088976-d54d-4d19-b868-3d4c18cebabb\"\n    },\n    {\n      \"name\" : \"concept\",\n      \"valueCoding\" : {\n        \"system\" : \"http://snomed.info/sct\",\n        \"code\" : \"301095005\"\n      }\n    },\n    {\n      \"name\" : \"concept\",\n      \"valueCoding\" : {\n        \"system\" : \"http://snomed.info/sct\",\n        \"code\" : \"298705000\"\n      }\n    },\n    {\n      \"name\" : \"concept\",\n      \"valueCoding\" : {\n        \"system\" : \"http://snomed.info/sct\",\n        \"code\" : \"282729004\"\n      }\n    }\n  ]\n}"},"url":"{{url}}/$closure","description":"Adding multiple extra concepts may result in multiple maps."},"response":[],"_postman_id":"35cfae00-bd06-e40c-8a37-15ec845c7993"},{"name":"Step 5","id":"c5913d21-99a0-1e28-22e3-2553854245d9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\" : \"Parameters\",\n  \"parameter\" : [\n    {\n      \"name\" : \"name\",\n      \"valueString\" : \"49088976-d54d-4d19-b868-3d4c18cebabb\"\n    },\n    {\n      \"name\" : \"version\",\n      \"valueId\" : \"0\"\n    }\n  ]\n}"},"url":"{{url}}/$closure","description":"Reset to version 0 should give us all the edges computed so far."},"response":[],"_postman_id":"c5913d21-99a0-1e28-22e3-2553854245d9"}],"id":"67ce94c0-ebd8-93fb-6bea-b5b315bc2d98","description":"Example usage of the $closure operation.\nYou will need to set the global variable url to your FHIR endpoint.\nFor Ontoserver, set it to\nhttp://52.63.0.196:8080/fhir","_postman_id":"67ce94c0-ebd8-93fb-6bea-b5b315bc2d98"},{"name":"CodeSystem Examples","item":[{"name":"Search all CodeSystems, return their names and urls","id":"08dd0954-2222-aa3d-c94d-9fa7a1afd5c5","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/CodeSystem?_elements=name,url","host":["{{url}}"],"path":["CodeSystem"],"query":[{"key":"_elements","value":"name,url"}]}},"response":[],"_postman_id":"08dd0954-2222-aa3d-c94d-9fa7a1afd5c5"},{"name":"Create/Update a Code System","id":"c9d6a519-5279-981e-f6cd-2a9b088f9d4d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/fhir+json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"CodeSystem\",\n  \"id\": \"v3-EducationLevel\",\n  \"meta\": {\n    \"lastUpdated\": \"2016-03-23T00:00:00.000+11:00\"\n  },\n  \"text\": {\n    \"status\": \"generated\",\n    \"div\": \"<div>!-- Snipped for Brevity --></div>\"\n  },\n  \"extension\": [\n    {\n      \"url\": \"http://hl7.org/fhir/StructureDefinition/valueset-oid\",\n      \"valueUri\": \"urn:oid:2.16.840.1.113883.5.1077\"\n    }\n  ],\n  \"url\": \"http://hl7.org/fhir/v3/EducationLevel\",\n  \"version\": \"2016-03-23\",\n  \"name\": \"v3 Code System EducationLevel\",\n  \"status\": \"active\",\n  \"experimental\": false,\n  \"publisher\": \"HL7, Inc\",\n  \"contact\": [\n    {\n      \"telecom\": [\n        {\n          \"system\": \"other\",\n          \"value\": \"http://hl7.org\"\n        }\n      ]\n    }\n  ],\n  \"date\": \"2016-03-23T00:00:00+11:00\",\n  \"description\": \" Years of education that a person has completed\",\n  \"caseSensitive\": true,\n  \"valueSet\": \"http://hl7.org/fhir/ValueSet/v3-EducationLevel\",\n  \"content\": \"complete\",\n  \"concept\": [\n    {\n      \"code\": \"ASSOC\",\n      \"display\": \"Associate's or technical degree complete\",\n      \"definition\": \"Associate's or technical degree complete\"\n    },\n    {\n      \"code\": \"BD\",\n      \"display\": \"College or baccalaureate degree complete\",\n      \"definition\": \"College or baccalaureate degree complete\"\n    },\n    {\n      \"code\": \"ELEM\",\n      \"display\": \"Elementary School\",\n      \"definition\": \"Elementary School\"\n    },\n    {\n      \"code\": \"GD\",\n      \"display\": \"Graduate or professional Degree complete\",\n      \"definition\": \"Graduate or professional Degree complete\"\n    },\n    {\n      \"code\": \"HS\",\n      \"display\": \"High School or secondary school degree complete\",\n      \"definition\": \"High School or secondary school degree complete\"\n    },\n    {\n      \"code\": \"PB\",\n      \"display\": \"Some post-baccalaureate education\",\n      \"definition\": \"Some post-baccalaureate education\"\n    },\n    {\n      \"code\": \"POSTG\",\n      \"display\": \"Doctoral or post graduate education\",\n      \"definition\": \"Doctoral or post graduate education\"\n    },\n    {\n      \"code\": \"SCOL\",\n      \"display\": \"Some College education\",\n      \"definition\": \"Some College education\"\n    },\n    {\n      \"code\": \"SEC\",\n      \"display\": \"Some secondary or high school education\",\n      \"definition\": \"Some secondary or high school education\"\n    }\n  ]\n}"},"url":"{{url}}/CodeSystem/v3-EducationLevel"},"response":[],"_postman_id":"c9d6a519-5279-981e-f6cd-2a9b088f9d4d"},{"name":"Read a Code System (as XML)","id":"05776d7c-ab37-3690-c552-d66d9c3339b6","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/CodeSystem/v3-EducationLevel?_format=xml","host":["{{url}}"],"path":["CodeSystem","v3-EducationLevel"],"query":[{"key":"_format","value":"xml"}]},"description":"Reads the latest version of a CodeSystem "},"response":[],"_postman_id":"05776d7c-ab37-3690-c552-d66d9c3339b6"},{"name":"Delete a Code System","id":"36e70ebc-deb6-a017-7b0c-b07e632f86c2","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{url}}/CodeSystem/v3-EducationLevel"},"response":[],"_postman_id":"36e70ebc-deb6-a017-7b0c-b07e632f86c2"},{"name":"Search all CodeSystems with URLs starting with http://snomed.info","id":"68b3260a-5b7d-549c-f64d-8505a07fd812","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/CodeSystem?url:below=http://snomed.info","host":["{{url}}"],"path":["CodeSystem"],"query":[{"key":"url:below","value":"http://snomed.info"}]}},"response":[],"_postman_id":"68b3260a-5b7d-549c-f64d-8505a07fd812"}],"id":"cb04d3e3-c831-bc48-4422-46df47e98058","_postman_id":"cb04d3e3-c831-bc48-4422-46df47e98058"},{"name":"ConceptMap Examples","item":[{"name":"Search all ConceptMaps (in XML)","id":"246a5b83-9a9c-626b-288a-3c65e71fd727","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ConceptMap?_format=xml","host":["{{url}}"],"path":["ConceptMap"],"query":[{"key":"_format","value":"xml"}]}},"response":[],"_postman_id":"246a5b83-9a9c-626b-288a-3c65e71fd727"},{"name":"Create/Update a Concept Map","id":"16abe74a-7c9b-bed7-9b7e-381e8dbcf23c","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"ConceptMap\",\n  \"name\": \"Education Level Mapping\",\n  \"meta\": {\n    \"profile\": [\n      \"http://hl7.org/fhir/StructureDefinition/shareableconceptmap\"\n    ]\n  },\n  \"status\": \"draft\",\n  \"contact\": [\n    {\n      \"telecom\": [\n        {\n          \"value\": \"john.smith@example.com\"\n        }\n      ],\n      \"name\": \"John Smith\"\n    }\n  ],\n  \"group\": [\n    {\n      \"source\": \"http://hl7.org/fhir/v3/EducationLevel\",\n      \"target\": \"http://snomed.info/sct\",\n      \"element\": [\n        {\n          \"target\": [\n            {\n              \"code\": \"473461003\",\n              \"equivalence\": \"equivalent\"\n            }\n          ],\n          \"code\": \"HS\"\n        },\n        {\n          \"target\": [\n            {\n              \"code\": \"224300008\",\n              \"equivalence\": \"specializes\"\n            }\n          ],\n          \"code\": \"BD\"\n        }\n      ]\n    }\n  ],\n  \"url\": \"http://example.com/educationLevelMapping\",\n  \"description\": \"A mapping between v3 education levels and snomed\",\n  \"text\": {\n    \"status\": \"generated\",\n    \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><h2>Education Level Mapping</h2><tt>http://example.com/educationLevelMapping</tt><p>A mapping between v3 education levels and snomed</p></div>\"\n  },\n  \"sourceUri\": \"http://hl7.org/fhir/ValueSet/v3-EducationLevel\",\n  \"date\": \"2016-07-01\",\n  \"experimental\": true,\n  \"version\": \"1\",\n  \"identifier\": {\n    \"system\": \"urn:ietf:rfc:3986\",\n    \"value\": \"edLvlMap\"\n  },\n  \"publisher\": \"Example Inc.\",\n  \"copyright\": \"Copyright Example Inc, 2016\",\n  \"targetUri\": \"http://snomed.info/sct?fhir_vs=isa/365460000\",\n  \"id\": \"v3-snomed-education-map\"\n}"},"url":"{{url}}/ConceptMap/v3-snomed-education-map"},"response":[],"_postman_id":"16abe74a-7c9b-bed7-9b7e-381e8dbcf23c"},{"name":"Create a ConceptMap (using a POST) from XML","id":"6f084090-f122-e1ca-ef57-077be88da105","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/fhir+xml"}],"body":{"mode":"raw","raw":"<ConceptMap xmlns=\"http://hl7.org/fhir\">\n    <meta>\n        <versionId value=\"1\"/>\n        <lastUpdated value=\"2016-07-25T16:06:02.659+10:00\"/>\n        <profile value=\"http://ns.electronichealth.net.au/fhir/StructureDefinition/ncts/profile/ConceptMap/general-concept-map/1.0.0\"/>\n    </meta>\n    <text>\n        <status value=\"generated\"/>\n        <div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <h2>Procedure map</h2>\n            <tt>Procedure map.url</tt>\n            <p>Procedure map</p>\n        </div>\n    </text>\n    <sourceUri value=\"Procedures implicit123.url\"/>\n    <targetUri value=\"Surgical procedures.url\"/>\n    <url value=\"Procedure map.url\"/>\n    <identifier>\n        <system value=\"Procedure map.identifier.namespace\"/>\n        <value value=\"Procedure map.Identifier\"/>\n    </identifier>\n    <version value=\"1\"/>\n    <name value=\"Procedure map\"/>\n    <status value=\"draft\"/>\n    <experimental value=\"true\"/>\n    <publisher value=\"me\"/>\n    <date value=\"2016-07-21\"/>\n    <description value=\"Procedure map\"/>\n    <copyright value=\"copy\"/>\n    <group>\n        <source value=\"Procedures.url\"/>\n        <target value=\"http://snomed.info/sct\"/>\n        <element>\n            <code value=\"1\"/>\n            <target>\n                <code value=\"133860004\"/>\n                <equivalence value=\"inexact\"/>\n            </target>\n        </element>\n        <element>\n            <code value=\"2\"/>\n            <target>\n                <code value=\"133860004\"/>\n                <equivalence value=\"inexact\"/>\n            </target>\n        </element>\n        <element>\n            <code value=\"3\"/>\n            <target>\n                <code value=\"119631007\"/>\n                <equivalence value=\"inexact\"/>\n            </target>\n        </element>\n    </group>\n</ConceptMap>"},"url":"{{url}}/ConceptMap","description":"Unlike a PUT, which will update a resource if it doesn't already exist, a POST will only create a new resource. The resource body (XML in this case) and the URL must not specify an ID (the ID will be generated by the server)."},"response":[],"_postman_id":"6f084090-f122-e1ca-ef57-077be88da105"},{"name":"Read a specific version of a Concept Map, in XML","id":"654a27a8-a2b1-1e74-6296-85d108c924cc","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ConceptMap/v3-snomed-education-map/_history/1?_format=application/fhir+xml","host":["{{url}}"],"path":["ConceptMap","v3-snomed-education-map","_history","1"],"query":[{"key":"_format","value":"application/fhir+xml"}]}},"response":[],"_postman_id":"654a27a8-a2b1-1e74-6296-85d108c924cc"},{"name":"Delete a ConceptMap","id":"99b6b770-138a-3c46-124c-d1288ec022bb","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{url}}/ConceptMap/v3-snomed-education-map"},"response":[],"_postman_id":"99b6b770-138a-3c46-124c-d1288ec022bb"},{"name":"Search for ConceptMaps with names containing 'edu'","id":"1d57cf65-0bf9-a46a-e7cd-cd7ff8f5d32e","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ConceptMap?name:contains=edu","host":["{{url}}"],"path":["ConceptMap"],"query":[{"key":"name:contains","value":"edu"}]}},"response":[],"_postman_id":"1d57cf65-0bf9-a46a-e7cd-cd7ff8f5d32e"}],"id":"272f6cba-0bdf-2968-0b2c-c64604aa9390","_postman_id":"272f6cba-0bdf-2968-0b2c-c64604aa9390"},{"name":"Expand Examples","item":[{"name":"Expand implicit ValueSet (with filter)","id":"c686e983-220d-aa39-e223-a877d0f0d343","request":{"method":"GET","header":[{"key":"Accept","value":"application/fhir+json"},{"key":"Content-Type","value":"application/fhir+json"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":""}]},"url":{"raw":"{{url}}/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=refset/142321000036106&count=10&filter=met","host":["{{url}}"],"path":["ValueSet","$expand"],"query":[{"key":"fhir_vs","value":"refset/142321000036106"},{"key":"count","value":"10"},{"key":"filter","value":"met"}]},"description":"This requests expands an implicit SNOMED CT ValueSet and applies a filter ('filter=met')\nOnly the first 10 results are requested ('count=10')\n"},"response":[],"_postman_id":"c686e983-220d-aa39-e223-a877d0f0d343"},{"name":"Expand List of SCT-AU Reference Sets in JSON","id":"8aa4ddf9-d11c-51b9-7a03-2d4ce6e4791e","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ValueSet/$expand?url=http%3A%2F%2Fsnomed.info%2Fsct%2F32506021000036107%2Fversion%2F20160630%3Ffhir_vs%3Drefset&_format=json","host":["{{url}}"],"path":["ValueSet","$expand"],"query":[{"key":"url","value":"http%3A%2F%2Fsnomed.info%2Fsct%2F32506021000036107%2Fversion%2F20160630%3Ffhir_vs%3Drefset"},{"key":"_format","value":"json"}]}},"response":[],"_postman_id":"8aa4ddf9-d11c-51b9-7a03-2d4ce6e4791e"},{"name":"Expand SCT-AU Medicinal product reference set in XML","id":"e839afa1-e6c7-a3d3-7cfb-425b9a9a9bff","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ValueSet/$expand?url=http%3A%2F%2Fsnomed.info%2Fsct%2F32506021000036107%2Fversion%2F20160630%3Ffhir_vs%3Drefset%2F929360061000036106&_format=xml","host":["{{url}}"],"path":["ValueSet","$expand"],"query":[{"key":"url","value":"http%3A%2F%2Fsnomed.info%2Fsct%2F32506021000036107%2Fversion%2F20160630%3Ffhir_vs%3Drefset%2F929360061000036106"},{"key":"_format","value":"xml"}]}},"response":[],"_postman_id":"e839afa1-e6c7-a3d3-7cfb-425b9a9a9bff"},{"name":"Expand explicit ValueSet","id":"e8ab1c87-2411-ae25-b704-9f3d2a46374a","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{url}}/ValueSet/education-levels/$expand"},"response":[],"_postman_id":"e8ab1c87-2411-ae25-b704-9f3d2a46374a"},{"name":"Expand implicit value set of all concepts subsumed by General Anaesthesia Procedure","id":"b7492f2b-51c7-55e5-a00e-68bbf9a0f220","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=isa/50697003","host":["{{url}}"],"path":["ValueSet","$expand"],"query":[{"key":"fhir_vs","value":"isa/50697003"}]}},"response":[],"_postman_id":"b7492f2b-51c7-55e5-a00e-68bbf9a0f220"},{"name":"Expand with boost factors","id":"6bdcfd5a-bea3-5d7f-e067-6a3f6e97db97","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"Parameters\",\n  \"parameter\": [{\n      \"name\": \"count\",\n      \"valueInteger\": 10\n    },\n    {\n      \"name\": \"filter\",\n      \"valueString\": \"aspirin\"\n    },\n    {\n      \"name\": \"valueSet\",\n      \"resource\": {\n        \"resourceType\": \"ValueSet\",\n        \"url\": \"http://csiro.au/example/ValueSet/boost1\",\n        \"compose\": {\n          \"include\": [{\n            \"system\": \"http://snomed.info/sct\",\n            \"filter\": [{\n              \"property\": \"concept\",\n              \"op\": \"is-a\",\n              \"value\": \"30560011000036108\"\n            }],\n            \"extension\": [{\n              \"url\": \"http://ontoserver.csiro.au/profiles/boost\",\n              \"valueDecimal\": 0.01\n            }]\n          }, {\n            \"system\": \"http://snomed.info/sct\",\n            \"filter\": [{\n              \"property\": \"concept\",\n              \"op\": \"is-a\",\n              \"value\": \"30404011000036106\"\n            }],\n            \"extension\": [{\n              \"url\": \"http://ontoserver.csiro.au/profiles/boost\",\n              \"valueDecimal\": 10.01\n            }]\n          }, {\n            \"valueSet\": [\n              \"http://snomed.info/sct?fhir_vs=refset/30513011000036104\"\n            ],\n            \"extension\": [{\n              \"url\": \"http://ontoserver.csiro.au/profiles/boost\",\n              \"valueDecimal\": 5.0\n            }]\n          }]\n        }\n      }\n    }\n  ]\n}"},"url":"{{url}}/ValueSet/$expand","description":"Expand a ValueSet where different elements of the ValueSet are modified by boost factors"},"response":[],"_postman_id":"6bdcfd5a-bea3-5d7f-e067-6a3f6e97db97"}],"id":"802a4571-0930-0392-c6b3-7bd068a6dfe3","_postman_id":"802a4571-0930-0392-c6b3-7bd068a6dfe3"},{"name":"Lookup Examples","item":[{"name":"Lookup a SNOMED code","id":"9da60fbf-6eb2-b2d5-13dc-922fca67192d","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/CodeSystem/$lookup?system=http://snomed.info/sct&code=263495000&_format=json","host":["{{url}}"],"path":["CodeSystem","$lookup"],"query":[{"key":"system","value":"http://snomed.info/sct"},{"key":"code","value":"263495000"},{"key":"_format","value":"json"}]}},"response":[],"_postman_id":"9da60fbf-6eb2-b2d5-13dc-922fca67192d"},{"name":"Lookup inactive status","id":"6af81072-fe32-9c29-0471-eec21fba9451","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":""}]},"url":{"raw":"{{url}}/CodeSystem/$lookup?system=http://snomed.info/sct&code=45313011000036107&property=inactive&version=http://snomed.info/sct/32506021000036107/version/20160630","host":["{{url}}"],"path":["CodeSystem","$lookup"],"query":[{"key":"system","value":"http://snomed.info/sct"},{"key":"code","value":"45313011000036107"},{"key":"property","value":"inactive"},{"key":"version","value":"http://snomed.info/sct/32506021000036107/version/20160630"}]}},"response":[],"_postman_id":"6af81072-fe32-9c29-0471-eec21fba9451"},{"name":"Lookup 2 properties: display and inactive status","id":"f3b8a7f5-c2ca-cc13-bd33-e9f82c0d8628","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":""}]},"url":{"raw":"{{url}}/CodeSystem/$lookup?system=http://snomed.info/sct&code=45313011000036107&property=inactive&version=http://snomed.info/sct/32506021000036107/version/20170430&property=display","host":["{{url}}"],"path":["CodeSystem","$lookup"],"query":[{"key":"system","value":"http://snomed.info/sct"},{"key":"code","value":"45313011000036107"},{"key":"property","value":"inactive"},{"key":"version","value":"http://snomed.info/sct/32506021000036107/version/20170430"},{"key":"property","value":"display"}]}},"response":[],"_postman_id":"f3b8a7f5-c2ca-cc13-bd33-e9f82c0d8628"},{"name":"Lookup a code's inactive status using a Coding (POST)","id":"3101115c-c1c1-0df2-47fc-e8a81a29936b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/fhir+json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"Parameters\",\n  \"parameter\": [\n    {\n      \"name\": \"coding\",\n      \"valueCoding\": {\n        \"system\": \"http://snomed.info/sct\",\n        \"code\": \"45313011000036107\"\n      }\n    },\n    {\n      \"name\": \"property\",\n      \"valueString\": \"inactive\"\n    }\n  ]\n}"},"url":"{{url}}/CodeSystem/$lookup"},"response":[],"_postman_id":"3101115c-c1c1-0df2-47fc-e8a81a29936b"}],"id":"c3153b4d-30fb-0b04-21cd-7daeb43a9058","_postman_id":"c3153b4d-30fb-0b04-21cd-7daeb43a9058"},{"name":"Translate Examples","item":[{"name":"Simple automap","id":"cad373f2-1b2c-ade2-a643-2cdf259c7921","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ConceptMap/$translate?source=http://snomed.info/sct?fhir_vs&system=http://snomed.info/sct&code=90260006&target=http://hl7.org/fhir/ValueSet/substance-category","host":["{{url}}"],"path":["ConceptMap","$translate"],"query":[{"key":"fhir_vs","value":""},{"key":"system","value":"http://snomed.info/sct"},{"key":"code","value":"90260006"},{"key":"target","value":"http://hl7.org/fhir/ValueSet/substance-category"}]}},"response":[],"_postman_id":"cad373f2-1b2c-ade2-a643-2cdf259c7921"},{"name":"SImple translate","id":"2e69650f-2b7d-c4e8-60d7-4c5051476a56","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ConceptMap/102/$translate?code=ACNE&system=http://hl7.org/fhir/v2/0487&target=http:/snomed.info/sct","host":["{{url}}"],"path":["ConceptMap","102","$translate"],"query":[{"key":"code","value":"ACNE"},{"key":"system","value":"http://hl7.org/fhir/v2/0487"},{"key":"target","value":"http:/snomed.info/sct"}]}},"response":[],"_postman_id":"2e69650f-2b7d-c4e8-60d7-4c5051476a56"},{"name":"SImple translate in reverse","id":"96c2359f-693b-f6fa-4fc7-fbe27e2c3ad7","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ConceptMap/102/$translate?code=309068002&system=http://snomed.info/sct&reverse=true&target=http://hl7.org/fhir/v2/0487","host":["{{url}}"],"path":["ConceptMap","102","$translate"],"query":[{"key":"code","value":"309068002"},{"key":"system","value":"http://snomed.info/sct"},{"key":"reverse","value":"true"},{"key":"target","value":"http://hl7.org/fhir/v2/0487"}]}},"response":[],"_postman_id":"96c2359f-693b-f6fa-4fc7-fbe27e2c3ad7"}],"id":"55d32590-f668-4376-a8fd-f6b12104ba45","_postman_id":"55d32590-f668-4376-a8fd-f6b12104ba45"},{"name":"Validate Examples","item":[{"name":"Validate a ValueSet on the server","id":"4d09709f-af21-c08b-f573-2a50e59018e9","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"{{url}}/ValueSet/valueset-ActIncidentCode/$validate"},"response":[],"_postman_id":"4d09709f-af21-c08b-f573-2a50e59018e9"},{"name":"Validate an uploaded ValueSet (JSON)","id":"6a43fa85-1956-86be-faee-3b24c7b08a78","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/fhir+json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"ValueSet\",\n  \"meta\": {\n    \"versionId\": \"2\",\n    \"lastUpdated\": \"2016-07-21T17:50:36.456+11:00\",\n    \"profile\": [\n      \"http://hl7.org/fhir/StructureDefinition/shareablevalueset\"\n    ]\n  },\n  \"text\": {\n    \"status\": \"generated\",\n    \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><h2>ActIncidentCode Codes</h2><tt>http://hl7.org/fhir/vs/ActIncidentCode</tt><p>This value set includes sample ActIncidentCode codes.</p></div>\"\n  },\n  \"extension\": [\n    {\n      \"url\": \"http://hl7.org/fhir/StructureDefinition/valueset-oid\",\n      \"valueUri\": \"urn:oid:2.16.840.1.113883.4.642.2.446\"\n    }\n  ],\n  \"url\": \"http://hl7.org/fhir/vs/ActIncidentCode\",\n  \"version\": \"0.5.0\",\n  \"name\": \"ActIncidentCode Codes\",\n  \"status\": \"draft\",\n  \"experimental\": true,\n  \"publisher\": \"Financial Management\",\n  \"contact\": [\n    {\n      \"telecom\": [\n        {\n          \"system\": \"other\",\n          \"value\": \"http://hl7.org/fhir\"\n        }\n      ]\n    }\n  ],\n  \"description\": \"This value set includes sample ActIncidentCode codes.\",\n  \"copyright\": \"This is an example set\",\n  \"compose\": {\n    \"include\": [\n      {\n        \"system\": \"http://hl7.org/fhir/actincidentcode\",\n        \"concept\": [\n          {\n            \"code\": \"code1\"\n          },\n          {\n            \"code\": \"code2\"\n          },\n          {\n            \"code\": \"code3\"\n          }\n        ]\n      }\n    ]\n  }\n}"},"url":"{{url}}/ValueSet/$validate"},"response":[],"_postman_id":"6a43fa85-1956-86be-faee-3b24c7b08a78"}],"id":"49330118-8754-74b1-c029-0f272cdb5236","_postman_id":"49330118-8754-74b1-c029-0f272cdb5236"},{"name":"Validate-Code Examples","item":[{"name":"Validate Code","id":"21e2eb80-33e1-0c86-a107-9ad6e3bd558f","request":{"method":"GET","header":[{"key":"Accept","value":"application/fhir+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ValueSet/$validate-code?system=http://snomed.info/sct&code=122298005&url=http://snomed.info/sct?fhir_vs&display=foo","host":["{{url}}"],"path":["ValueSet","$validate-code"],"query":[{"key":"fhir_vs","value":""},{"key":"display","value":"foo"}]}},"response":[],"_postman_id":"21e2eb80-33e1-0c86-a107-9ad6e3bd558f"},{"name":"Check that a Coding exists in a SNOMED refset","id":"8902b62a-457a-7530-f20d-609b3990f20d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/fhir+json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"Parameters\",\n  \"parameter\": [\n    {\n      \"name\": \"identifier\",\n      \"valueUri\": \"http://snomed.info/sct?fhir_vs=refset/32570361000036108\"\n    },\n    {\n      \"name\": \"coding\",\n      \"valueCoding\": {\n        \"code\": \"241649002\",\n        \"system\": \"http://snomed.info/sct\"\n      }\n    }\n  ]\n}"},"url":"{{url}}/ValueSet/$validate-code"},"response":[],"_postman_id":"8902b62a-457a-7530-f20d-609b3990f20d"}],"id":"9c30a57d-aff2-29c1-2b4e-cdd47893a8ea","_postman_id":"9c30a57d-aff2-29c1-2b4e-cdd47893a8ea"},{"name":"ValueSet Examples","item":[{"name":"Search all ValueSets","id":"7f7d3ea1-678e-50d8-7626-f24e358b9f35","request":{"method":"GET","header":[{"key":"Accept","value":"application/fhir+json"}],"body":{"mode":"formdata","formdata":[{"key":"version","type":"text","value":"2.36"},{"key":"loincFile","type":"file","value":""},{"key":"multiAxialFile","type":"file","value":""}]},"url":"{{url}}/ValueSet","description":"This sends a simple search request to the ValueSet endpoint to find all available ValueSet definitions."},"response":[],"_postman_id":"7f7d3ea1-678e-50d8-7626-f24e358b9f35"},{"name":"Search all ValueSets - summary results","id":"1d0528de-a1fe-228b-75be-7cdd4ab89652","request":{"method":"GET","header":[{"key":"Accept","value":"application/fhir+json"}],"body":{"mode":"formdata","formdata":[{"key":"version","type":"text","value":"2.36"},{"key":"loincFile","type":"file","value":""},{"key":"multiAxialFile","type":"file","value":""}]},"url":{"raw":"{{url}}/ValueSet?_summary=true","host":["{{url}}"],"path":["ValueSet"],"query":[{"key":"_summary","value":"true"}]},"description":"This sends a simple search request to the ValueSet endpoint to find all available ValueSet definitions."},"response":[],"_postman_id":"1d0528de-a1fe-228b-75be-7cdd4ab89652"},{"name":"Create/Update a Value Set","id":"84c01b5a-c2f7-fcf5-b2f6-005af236492f","request":{"method":"PUT","header":[{"key":"Accept","value":"application/fhir+json"},{"key":"Content-Type","value":"application/fhir+json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"ValueSet\",\n  \"id\": \"valueset-ActIncidentCode\",\n  \"meta\": {\n    \"lastUpdated\": \"2015-04-03T14:24:32.000+11:00\",\n    \"profile\": [\n      \"http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition\"\n    ]\n  },\n  \"text\": {\n    \"status\": \"generated\",\n    \"div\": \"<div><p>This value set contains 3 concepts</p><h2>ActIncidentCode Codes</h2><p>This value set includes sample ActIncidentCode codes.</p><p><b>Copyright Statement:</b> This is an example set</p><p>This value set defines its own terms in the system http://hl7.org/fhir/actincidentcode</p><table class=\\\"codes\\\"><tr><td><b>Code</b></td><td><b>Definition</b></td></tr><tr><td>code1<a name=\\\"code1\\\"> </a></td><td/></tr><tr><td>code2<a name=\\\"code2\\\"> </a></td><td/></tr><tr><td>code3<a name=\\\"code3\\\"> </a></td><td/></tr></table></div>\"\n  },\n  \"extension\": [\n    {\n      \"url\": \"http://hl7.org/fhir/StructureDefinition/valueset-oid\",\n      \"valueUri\": \"urn:oid:2.16.840.1.113883.4.642.2.446\"\n    }\n  ],\n  \"url\": \"http://hl7.org/fhir/vs/ActIncidentCode\",\n  \"version\": \"0.5.0\",\n  \"name\": \"ActIncidentCode Codes\",\n  \"publisher\": \"Financial Management\",\n  \"contact\": [\n    {\n      \"telecom\": [\n        {\n          \"system\": \"other\",\n          \"value\": \"http://hl7.org/fhir\"\n        }\n      ]\n    }\n  ],\n  \"description\": \"This value set includes sample ActIncidentCode codes.\",\n  \"copyright\": \"This is an example set\",\n  \"status\": \"draft\",\n  \"experimental\": true,\n  \"compose\": {\n    \"include\": {\n      \"system\": \"http://hl7.org/fhir/actincidentcode\",\n      \"caseSensitive\": true,\n      \"concept\": [\n        {\n          \"code\": \"code1\"\n        },\n        {\n          \"code\": \"code2\"\n        },\n        {\n          \"code\": \"code3\"\n        }\n      ]\n    }\n  }\n}\n"},"url":"{{url}}/ValueSet/valueset-ActIncidentCode","description":"This creates a ValueSet\n(or updates it, if it already exists)"},"response":[],"_postman_id":"84c01b5a-c2f7-fcf5-b2f6-005af236492f"},{"name":"Delete a ValueSet","id":"0c1aae57-fe62-2647-e127-5ede9c2d08c9","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{url}}/ValueSet/valueset-ActIncidentCode"},"response":[],"_postman_id":"0c1aae57-fe62-2647-e127-5ede9c2d08c9"},{"name":"Search all ValueSets by name","id":"02cbc7c7-4641-0808-04ed-3662a86d5af5","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/ValueSet?name=act","host":["{{url}}"],"path":["ValueSet"],"query":[{"key":"name","value":"act"}]}},"response":[],"_postman_id":"02cbc7c7-4641-0808-04ed-3662a86d5af5"},{"name":"Create/Update a ValueSet using a filter and excludes","id":"632588b7-f17c-e95f-1bd4-3d3dcc8d59dc","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/fhir+json"}],"body":{"mode":"raw","raw":"{\n  \"resourceType\": \"ValueSet\",\n  \"url\": \"http://csiro.au/ValueSet/education-levels\",\n  \"version\": \"1\",\n  \"name\": \"Education Levels\",\n  \"status\": \"draft\",\n  \"compose\": {\n    \"include\": [\n      {\n        \"filter\": [\n          {\n            \"property\": \"concept\",\n            \"op\": \"is-a\",\n            \"value\": \"365460000\"\n          }\n        ],\n        \"system\": \"http://snomed.info/sct\",\n        \"version\": \"http://snomed.info/sct/32506021000036107/version/20160630\"\n      }\n    ],\n    \"exclude\": [\n      {\n        \"concept\": [\n          {\n            \"code\": \"224298008\"\n          },\n          {\n            \"code\": \"365460000\"\n          },\n          {\n            \"code\": \"473462005\"\n          },\n          {\n            \"code\": \"424587006\"\n          }\n        ],\n        \"system\": \"http://snomed.info/sct\",\n        \"version\": \"http://snomed.info/sct/32506021000036107/version/20160630\"\n      }\n    ]\n  },\n  \"description\": \"A selection of Education Levels\",\n  \"text\": {\n    \"status\": \"generated\",\n    \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><h2>Education Levels</h2><tt>http://csiro.au/ValueSet/education-levels</tt><p>A selection of Education Levels</p></div>\"\n  },\n  \"experimental\": true,\n  \"date\": \"2016-07-26\"\n}"},"url":"{{url}}/ValueSet/education-levels"},"response":[],"_postman_id":"632588b7-f17c-e95f-1bd4-3d3dcc8d59dc"}],"id":"453f08cb-46de-6fdb-8aea-dbbdc53e8179","_postman_id":"453f08cb-46de-6fdb-8aea-dbbdc53e8179"}]}