Contraindications
Contraindications in FHIR are returned as an AllergyIntolerance or they may be recorded as an Observation or a Condition (or potentially in some cases a Procedure).
In order to retrieve the allergies for a Patient the below query can be used:
GET /AllergyIntolerance?patient=Patient/[id]
The response to the above query will be a FHIR bundle of the allergies in CareCentric for the patient.
In order to allow the specific Observations and Conditions (and if needed Procedures) which represent “contraindications”, Graphnet has created a FHIR ValueSet containing all the Snomed codes that represent items which could be considered contraindications.
In order to retrieve this contraindication data a query can be issued for both the Observation and Condition resources, and within the query, a FHIR ValueSet URI is used to limit the results to items with a matching contraindication code.
This would therefore be achieved using the below queries:
Observations:
GET /Observation?patient=Patient/[id]&code:in=https://fhir.graphnethealth.com/ValueSet/Contraindications
Conditions:
GET /Condition?patient=Patient/[id]&code:in=https://fhir.graphnethealth.com/ValueSet/Contraindications
Procedures:
GET /Procedure?patient=Patient/[id]&code:in=https://fhir.graphnethealth.com/ValueSet/Contraindications
The response to the above queries will be a FHIR bundle of the relevant Observation, Condition or Procedure entries in CareCentric for the patient.