AllergyIntolerance Reponse
Possible status codes:
Status code 200 - success - the resource information is in the body as shown below.
Status code 400 - bad request - one or more request parameters was invalid.
Status code 401 - unauthorized (a valid bearer token is required).
Status code 404 - not found (the resource specified was not found).
Status code 500 - internal error.
Examples:
Request: GET /AllergyIntolerance/1
Response:
{
"resourceType": "AllergyIntolerance",
"id": "1",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "inactive"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "unconfirmed"
}
]
},
"code": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "7986"
}
],
"text": "Penicillins"
},
"patient": {
"reference": "https://fhir.pcisgold.com/fhir/Patient/1000.1000"
}
}
Request: GET /AllergyIntolerance?patient=1000.1000
Response:
{
"resourceType": "Bundle",
"type": "searchset",
"total": 9,
"entry": [
{
"resource": {
"resourceType": "AllergyIntolerance",
"id": "1",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "inactive"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "unconfirmed"
}
]
},
"code": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "7986"
}
],
"text": "Penicillins"
},
"patient": {
"reference": "https://fhir.pcisgold.com/fhir/Patient/1000.1000"
}
},
"search": {
"mode": "match"
}
},
{
"resource": {
"resourceType": "AllergyIntolerance",
"id": "1006",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "inactive"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "unconfirmed"
}
]
},
"code": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "409137002"
}
],
"text": "No known drug allergy(situation)"
},
"patient": {
"reference": "https://fhir.pcisgold.com/fhir/Patient/1000.1000"
}
},
"search": {
"mode": "match"
}
},
...
...
...