Skip to content

Instantly share code, notes, and snippets.

@snopoke
Created March 10, 2023 14:56
Show Gist options
  • Save snopoke/ad8913a97154d41abc90861bc86334e9 to your computer and use it in GitHub Desktop.
Save snopoke/ad8913a97154d41abc90861bc86334e9 to your computer and use it in GitHub Desktop.
FHIR capability statement
{
"resourceType": "CapabilityStatement",
"url": "https://www.commcarehq.org/a/<domain>/fhir/capability.json",
"name": "CommCare <domain>",
"title": "CommCare FHIR capability statement",
"status": "draft",
"date": "<dateTime>",
"publisher": "Dimagi",
"kind": "capability",
"implementation": {
"description": "FHIR API for <> CommCare project space",
"url": "https://www.commcarehq.org/a/<domain>/fhir/"
},
"fhirVersion": "R4",
"format": [
"json"
],
"rest": [
{
"mode": "server",
"security": {
"cors": false,
"service": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/restful-security-service",
"code": "Basic"
}
]
}
]
},
"resource": [
{
"type": "Patient",
"interaction": [
{
"code": "read"
},
{
"code": "search-type"
}
],
"versioning": "no-version",
"readHistory": false,
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"referencePolicy": [
"local"
],
"searchInclude": [],
"searchRevInclude": [],
"searchParam": [
{
"name": "identifier",
"definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier",
"type": "token",
"documentation": "Only supports search by patient ID"
}
]
}
],
"interaction": [
{
"code": "transaction"
},
{
"code": "search-system"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment