GET api/Lookups/Symptoms?commonOnly={commonOnly}
Get all conditions available for selection
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
commonOnly | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of SymptomModelName | Description | Type | Additional information |
---|---|---|---|
SymptomId |
Symptom ID |
globally unique identifier |
None. |
Symptom |
Symptom Name |
string |
None. |
Common |
Indicates if this is a "common" Symptom or not |
boolean |
None. |
ParentSymptoms |
IDs of Parent Symptoms in hierarchy |
Collection of globally unique identifier |
None. |
ChildSymptoms |
IDs of Child Symptoms in hierarchy |
Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SymptomId": "3ff0068c-09c6-42dd-8bb0-66591e9e3693", "Symptom": "sample string 2", "Common": true, "ParentSymptoms": [ "44191bc9-8860-4cb4-8ca3-e3a93ffc322d", "749fe541-1ccd-418e-9f35-740f1ce10203" ], "ChildSymptoms": [ "1318596b-edfa-47d4-890e-7904b25cb2d6", "e71d67d0-0c8a-4c91-a2be-74f24b6b35e4" ] }, { "SymptomId": "3ff0068c-09c6-42dd-8bb0-66591e9e3693", "Symptom": "sample string 2", "Common": true, "ParentSymptoms": [ "44191bc9-8860-4cb4-8ca3-e3a93ffc322d", "749fe541-1ccd-418e-9f35-740f1ce10203" ], "ChildSymptoms": [ "1318596b-edfa-47d4-890e-7904b25cb2d6", "e71d67d0-0c8a-4c91-a2be-74f24b6b35e4" ] } ]
application/xml, text/xml
Sample:
<ArrayOfSymptomModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <SymptomModel> <ChildSymptoms xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>1318596b-edfa-47d4-890e-7904b25cb2d6</d3p1:guid> <d3p1:guid>e71d67d0-0c8a-4c91-a2be-74f24b6b35e4</d3p1:guid> </ChildSymptoms> <Common>true</Common> <ParentSymptoms xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>44191bc9-8860-4cb4-8ca3-e3a93ffc322d</d3p1:guid> <d3p1:guid>749fe541-1ccd-418e-9f35-740f1ce10203</d3p1:guid> </ParentSymptoms> <Symptom>sample string 2</Symptom> <SymptomId>3ff0068c-09c6-42dd-8bb0-66591e9e3693</SymptomId> </SymptomModel> <SymptomModel> <ChildSymptoms xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>1318596b-edfa-47d4-890e-7904b25cb2d6</d3p1:guid> <d3p1:guid>e71d67d0-0c8a-4c91-a2be-74f24b6b35e4</d3p1:guid> </ChildSymptoms> <Common>true</Common> <ParentSymptoms xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>44191bc9-8860-4cb4-8ca3-e3a93ffc322d</d3p1:guid> <d3p1:guid>749fe541-1ccd-418e-9f35-740f1ce10203</d3p1:guid> </ParentSymptoms> <Symptom>sample string 2</Symptom> <SymptomId>3ff0068c-09c6-42dd-8bb0-66591e9e3693</SymptomId> </SymptomModel> </ArrayOfSymptomModel>