{
"description": "Logical Model for a Frenda clinic, including cost locations.",
"_filename": "StructureDefinition-frenda-clinic.json",
"package_name": "servicewell.fhir.frenda-wof-connect-flc",
"date": "2026-10-12T08:47:37+00:00",
"derivation": "specialization",
"publisher": "Service Well AB",
"fhirVersion": "4.0.1",
"name": "FrendaClinic",
"abstract": false,
"type": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-clinic",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Frenda Clinic (Logical Model)",
"package_version": "0.1.2",
"snapshot": {
"element": [ {
"id": "frenda-clinic",
"max": "*",
"min": 0,
"base": {
"max": "*",
"min": 0,
"path": "Base"
},
"path": "frenda-clinic",
"short": "Frenda Clinic (Logical Model)",
"definition": "Logical Model for a Frenda clinic, including cost locations.",
"isModifier": false
}, {
"id": "frenda-clinic.id",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.id"
},
"path": "frenda-clinic.id",
"type": [ {
"code": "string"
} ],
"short": "Unique identifier for the clinic.",
"definition": "Unique identifier for the clinic."
}, {
"id": "frenda-clinic.name",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.name"
},
"path": "frenda-clinic.name",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.hsaIdentity",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.hsaIdentity"
},
"path": "frenda-clinic.hsaIdentity",
"type": [ {
"code": "string"
} ],
"short": "HSA identity for the clinic (from Sweden's HSA directory)",
"definition": "HSA identity for the clinic (from Sweden's HSA directory)"
}, {
"id": "frenda-clinic.competenceCode",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.competenceCode"
},
"path": "frenda-clinic.competenceCode",
"type": [ {
"code": "string"
} ],
"short": "Competence code for the clinic, which defines competence available within the clinic.",
"definition": "Competence code for the clinic, which defines competence available within the clinic."
}, {
"id": "frenda-clinic.countyCode",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.countyCode"
},
"path": "frenda-clinic.countyCode",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.address",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.address"
},
"path": "frenda-clinic.address",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.postalCode",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.postalCode"
},
"path": "frenda-clinic.postalCode",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.city",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.city"
},
"path": "frenda-clinic.city",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.phone",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.phone"
},
"path": "frenda-clinic.phone",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.eMail",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-clinic.eMail"
},
"path": "frenda-clinic.eMail",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.searchDateLimit",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.searchDateLimit"
},
"path": "frenda-clinic.searchDateLimit",
"type": [ {
"code": "dateTime"
} ],
"short": "Maximum search end date for appointments. Configurable per clinic in Frenda Journal.",
"definition": "Maximum search end date for appointments. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.childPatientThreshold",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.childPatientThreshold"
},
"path": "frenda-clinic.childPatientThreshold",
"type": [ {
"code": "integer"
} ],
"short": "Age threshold used to determine whether a patient is considered a child or an adult. Global value for all clinics.",
"definition": "Age threshold used to determine whether a patient is considered a child or an adult. Global value for all clinics."
}, {
"id": "frenda-clinic.isNewBookingAvailable",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.isNewBookingAvailable"
},
"path": "frenda-clinic.isNewBookingAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Indicates whether the clinic allows new appointments via the web interface. Configurable per clinic in Frenda Journal.",
"definition": "Indicates whether the clinic allows new appointments via the web interface. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.isRescheduleAvailable",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.isRescheduleAvailable"
},
"path": "frenda-clinic.isRescheduleAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Indicates whether the clinic allows rescheduling via the web interface. Configurable per clinic in Frenda Journal.",
"definition": "Indicates whether the clinic allows rescheduling via the web interface. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.isCancellationAvailable",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "frenda-clinic.isCancellationAvailable"
},
"path": "frenda-clinic.isCancellationAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Indicates whether the clinic allows cancellations via the web interface. Configurable per clinic in Frenda Journal.",
"definition": "Indicates whether the clinic allows cancellations via the web interface. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.costLocations",
"max": "*",
"min": 1,
"base": {
"max": "*",
"min": 1,
"path": "frenda-clinic.costLocations"
},
"path": "frenda-clinic.costLocations",
"type": [ {
"code": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-location"
} ],
"short": "All active cost locations for the clinic. The unique ID of a cost location can be used when creating an appointment to specify which cost location a new patient should be listed under.",
"definition": "All active cost locations for the clinic. The unique ID of a cost location can be used when creating an appointment to specify which cost location a new patient should be listed under."
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.0.1"
} ]
},
"status": "draft",
"id": "b5c815d6-e743-48aa-9f4c-431cba0095b5",
"kind": "logical",
"url": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-clinic",
"version": "0.1.2",
"differential": {
"element": [ {
"id": "frenda-clinic",
"path": "frenda-clinic",
"short": "Frenda Clinic (Logical Model)",
"definition": "Logical Model for a Frenda clinic, including cost locations."
}, {
"id": "frenda-clinic.id",
"max": "1",
"min": 1,
"path": "frenda-clinic.id",
"type": [ {
"code": "string"
} ],
"short": "Unique identifier for the clinic.",
"definition": "Unique identifier for the clinic."
}, {
"id": "frenda-clinic.name",
"max": "1",
"min": 1,
"path": "frenda-clinic.name",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.hsaIdentity",
"max": "1",
"min": 1,
"path": "frenda-clinic.hsaIdentity",
"type": [ {
"code": "string"
} ],
"short": "HSA identity for the clinic (from Sweden's HSA directory)",
"definition": "HSA identity for the clinic (from Sweden's HSA directory)"
}, {
"id": "frenda-clinic.competenceCode",
"max": "1",
"min": 1,
"path": "frenda-clinic.competenceCode",
"type": [ {
"code": "string"
} ],
"short": "Competence code for the clinic, which defines competence available within the clinic.",
"definition": "Competence code for the clinic, which defines competence available within the clinic."
}, {
"id": "frenda-clinic.countyCode",
"max": "1",
"min": 1,
"path": "frenda-clinic.countyCode",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.address",
"max": "1",
"min": 1,
"path": "frenda-clinic.address",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.postalCode",
"max": "1",
"min": 1,
"path": "frenda-clinic.postalCode",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.city",
"max": "1",
"min": 1,
"path": "frenda-clinic.city",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.phone",
"max": "1",
"min": 1,
"path": "frenda-clinic.phone",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.eMail",
"max": "1",
"min": 0,
"path": "frenda-clinic.eMail",
"type": [ {
"code": "string"
} ]
}, {
"id": "frenda-clinic.searchDateLimit",
"max": "1",
"min": 1,
"path": "frenda-clinic.searchDateLimit",
"type": [ {
"code": "dateTime"
} ],
"short": "Maximum search end date for appointments. Configurable per clinic in Frenda Journal.",
"definition": "Maximum search end date for appointments. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.childPatientThreshold",
"max": "1",
"min": 1,
"path": "frenda-clinic.childPatientThreshold",
"type": [ {
"code": "integer"
} ],
"short": "Age threshold used to determine whether a patient is considered a child or an adult. Global value for all clinics.",
"definition": "Age threshold used to determine whether a patient is considered a child or an adult. Global value for all clinics."
}, {
"id": "frenda-clinic.isNewBookingAvailable",
"max": "1",
"min": 1,
"path": "frenda-clinic.isNewBookingAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Indicates whether the clinic allows new appointments via the web interface. Configurable per clinic in Frenda Journal.",
"definition": "Indicates whether the clinic allows new appointments via the web interface. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.isRescheduleAvailable",
"max": "1",
"min": 1,
"path": "frenda-clinic.isRescheduleAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Indicates whether the clinic allows rescheduling via the web interface. Configurable per clinic in Frenda Journal.",
"definition": "Indicates whether the clinic allows rescheduling via the web interface. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.isCancellationAvailable",
"max": "1",
"min": 1,
"path": "frenda-clinic.isCancellationAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Indicates whether the clinic allows cancellations via the web interface. Configurable per clinic in Frenda Journal.",
"definition": "Indicates whether the clinic allows cancellations via the web interface. Configurable per clinic in Frenda Journal."
}, {
"id": "frenda-clinic.costLocations",
"max": "*",
"min": 1,
"path": "frenda-clinic.costLocations",
"type": [ {
"code": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-location"
} ],
"short": "All active cost locations for the clinic. The unique ID of a cost location can be used when creating an appointment to specify which cost location a new patient should be listed under.",
"definition": "All active cost locations for the clinic. The unique ID of a cost location can be used when creating an appointment to specify which cost location a new patient should be listed under."
} ]
},
"contact": [ {
"name": "Service Well AB",
"telecom": [ {
"value": "https://servicewell.se",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}