https://github.com/LinuxForHealth/FHIR/
fhir-server-config.json
{
"__comment": "config for internal fhir-server deployments",
"fhirServer": {
"core": {
"conditionalDeleteMaxNumber": 100,
"defaultPrettyPrint": true,
"serverRegistryResourceProviderEnabled": false,
"ifNoneMatchReturnsNotModified": true
},
"security": {
"cors": true,
"basic": {
"enabled": false
},
"certificates": {
"enabled": false,
"authFilter": {
"enabled": false,
"authorizedClientCertClientCN": "",
"authorizedClientCertIssuerOU": ""
}
},
"oauth": {
"enabled": true,
"regUrl": "https://<host>/auth/realms/master/clients-registrations/openid-connect",
"authUrl": "https://<host>/auth/realms/master/protocol/openid-connect/auth",
"tokenUrl": "https://<host>/auth/realms/master/protocol/openid-connect/token",
"smart": {
"enabled": true,
"scopes": ["openid", "profile", "fhirUser", "launch/patient", "offline_access",
"patient/*.read",
"patient/AllergyIntolerance.read",
"patient/CarePlan.read",
"patient/CareTeam.read",
"patient/Condition.read",
"patient/Device.read",
"patient/DiagnosticReport.read",
"patient/DocumentReference.read",
"patient/Encounter.read",
"patient/ExplanationOfBenefit.read",
"patient/Goal.read",
"patient/Immunization.read",
"patient/Location.read",
"patient/Medication.read",
"patient/MedicationRequest.read",
"patient/Observation.read",
"patient/Organization.read",
"patient/Patient.read",
"patient/Practitioner.read",
"patient/PractitionerRole.read",
"patient/Procedure.read",
"patient/Provenance.read",
"patient/RelatedPerson.read"],
"capabilities": [
"sso-openid-connect",
"launch-standalone",
"client-public",
"client-confidential-symmetric",
"permission-offline",
"context-standalone-patient",
"permission-patient"
]
}
}
},
"audit": {
"serviceClassName": "com.ibm.fhir.audit.impl.NopService",
"serviceProperties": {
}
},
"persistence": {
"factoryClassname": "com.ibm.fhir.persistence.jdbc.FHIRPersistenceJDBCFactory",
"common": {
"__comment": "Configuration properties common to all persistence layer implementations",
"updateCreateEnabled": true
},
"datasources": {
"default": {
"type": "postgresql",
"currentSchema": "fhirdata"
}
}
},
"bulkdata": {
"enabled": true,
"core": {
"api": {
"url": "https://localhost:9443/ibm/api/batch",
"user": "fhiradmin",
"password": "change-password",
"truststore": "resources/security/fhirTrustStore.p12",
"truststorePassword": "change-password",
"trustAll": true
},
"defaultImportProvider": "in",
"defaultExportProvider": "out"
},
"storageProviders": {
"in" : {
"type": "file",
"fileBase": "/output/bulkdata/in",
"duplicationCheck": false,
"validateResources": false
},
"out" : {
"type": "file",
"fileBase": "/output/bulkdata/out"
}
}
},
"operations": {
"erase": {
"enabled": true,
"allowedRoles": [
"FHIROperationAdmin",
"FHIRUsers"
]
}
}
}
}