FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageservicewell.fhir.se.frenda-wof-connect-flc
Resource TypeStructureDefinition
IdStructureDefinition-frenda-clinic.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/servicewell/servicewell.fhir.se.frenda-wof-connect-flc/StructureDefinition-frenda-clinic.html
URLhttps://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-clinic
Version0.1.1
Statusdraft
Date2026-03-31T18:53:53+00:00
NameFrendaClinic
TitleFrenda Clinic (Logical Model)
DescriptionLogical Model for a Frenda clinic, including cost locations.
Typehttps://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-clinic
Kindlogical

Resources that use this resource

StructureDefinition
servicewell.fhir.se.frenda-wof-connect-flc#currentfrenda-booking-responseFrenda Booking Response (Logical Model)
servicewell.fhir.se.frenda-wof-connect-flc#currentfrenda-clinic-treatmentsFrenda Clinic Treatments (Logical Model)
servicewell.fhir.se.frenda-wof-connect-flc#currentfrenda-get-appointmentFrenda Appointment (Logical Model)

Resources that this resource uses

StructureDefinition
servicewell.fhir.se.frenda-wof-connect-flc#currentfrenda-locationFrenda Cost Location (Logical Model)

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition frenda-clinic

NameFlagsCard.TypeDescription & Constraintsdoco
.. frenda-clinic 0..*BaseFrenda Clinic (Logical Model)
... id 1..1stringUnique identifier for the clinic.
... name 1..1string
... hsaIdentity 1..1stringHSA identity for the clinic (from Sweden's HSA directory)
... competenceCode 1..1stringCompetence code for the clinic, which defines competence available within the clinic.
... countyCode 1..1string
... address 1..1string
... postalCode 1..1string
... city 1..1string
... phone 1..1string
... eMail 0..1string
... searchDateLimit 1..1dateTimeMaximum search end date for appointments. Configurable per clinic in Frenda Journal.
... childPatientThreshold 1..1integerAge threshold used to determine whether a patient is considered a child or an adult. Global value for all clinics.
... isNewBookingAvailable 1..1booleanIndicates whether the clinic allows new appointments via the web interface. Configurable per clinic in Frenda Journal.
... isRescheduleAvailable 1..1booleanIndicates whether the clinic allows rescheduling via the web interface. Configurable per clinic in Frenda Journal.
... isCancellationAvailable 1..1booleanIndicates whether the clinic allows cancellations via the web interface. Configurable per clinic in Frenda Journal.
... costLocations 1..*frenda-locationAll 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.

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "frenda-clinic",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-clinic",
  "version": "0.1.1",
  "name": "FrendaClinic",
  "title": "Frenda Clinic (Logical Model)",
  "status": "draft",
  "date": "2026-03-31T18:53:53+00:00",
  "publisher": "Service Well AB",
  "contact": [
    {
      "name": "Service Well AB",
      "telecom": [
        {
          "system": "url",
          "value": "https://servicewell.se"
        }
      ]
    }
  ],
  "description": "Logical Model for a Frenda clinic, including cost locations.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-clinic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "frenda-clinic",
        "path": "frenda-clinic",
        "short": "Frenda Clinic (Logical Model)",
        "definition": "Logical Model for a Frenda clinic, including cost locations.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "frenda-clinic.id",
        "path": "frenda-clinic.id",
        "short": "Unique identifier for the clinic.",
        "definition": "Unique identifier for the clinic.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.name",
        "path": "frenda-clinic.name",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.hsaIdentity",
        "path": "frenda-clinic.hsaIdentity",
        "short": "HSA identity for the clinic (from Sweden's HSA directory)",
        "definition": "HSA identity for the clinic (from Sweden's HSA directory)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.hsaIdentity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.competenceCode",
        "path": "frenda-clinic.competenceCode",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.competenceCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.countyCode",
        "path": "frenda-clinic.countyCode",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.countyCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.address",
        "path": "frenda-clinic.address",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.address",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.postalCode",
        "path": "frenda-clinic.postalCode",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.postalCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.city",
        "path": "frenda-clinic.city",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.city",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.phone",
        "path": "frenda-clinic.phone",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.phone",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.eMail",
        "path": "frenda-clinic.eMail",
        "min": 0,
        "max": "1",
        "base": {
          "path": "frenda-clinic.eMail",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.searchDateLimit",
        "path": "frenda-clinic.searchDateLimit",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.searchDateLimit",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "frenda-clinic.childPatientThreshold",
        "path": "frenda-clinic.childPatientThreshold",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.childPatientThreshold",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "frenda-clinic.isNewBookingAvailable",
        "path": "frenda-clinic.isNewBookingAvailable",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.isNewBookingAvailable",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "frenda-clinic.isRescheduleAvailable",
        "path": "frenda-clinic.isRescheduleAvailable",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.isRescheduleAvailable",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "frenda-clinic.isCancellationAvailable",
        "path": "frenda-clinic.isCancellationAvailable",
        "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.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "frenda-clinic.isCancellationAvailable",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "frenda-clinic.costLocations",
        "path": "frenda-clinic.costLocations",
        "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.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "frenda-clinic.costLocations",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-location"
          }
        ]
      }
    ]
  },
  "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",
        "path": "frenda-clinic.id",
        "short": "Unique identifier for the clinic.",
        "definition": "Unique identifier for the clinic.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.name",
        "path": "frenda-clinic.name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.hsaIdentity",
        "path": "frenda-clinic.hsaIdentity",
        "short": "HSA identity for the clinic (from Sweden's HSA directory)",
        "definition": "HSA identity for the clinic (from Sweden's HSA directory)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.competenceCode",
        "path": "frenda-clinic.competenceCode",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.countyCode",
        "path": "frenda-clinic.countyCode",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.address",
        "path": "frenda-clinic.address",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.postalCode",
        "path": "frenda-clinic.postalCode",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.city",
        "path": "frenda-clinic.city",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.phone",
        "path": "frenda-clinic.phone",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.eMail",
        "path": "frenda-clinic.eMail",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "frenda-clinic.searchDateLimit",
        "path": "frenda-clinic.searchDateLimit",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "frenda-clinic.childPatientThreshold",
        "path": "frenda-clinic.childPatientThreshold",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "frenda-clinic.isNewBookingAvailable",
        "path": "frenda-clinic.isNewBookingAvailable",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "frenda-clinic.isRescheduleAvailable",
        "path": "frenda-clinic.isRescheduleAvailable",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "frenda-clinic.isCancellationAvailable",
        "path": "frenda-clinic.isCancellationAvailable",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "frenda-clinic.costLocations",
        "path": "frenda-clinic.costLocations",
        "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.",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-location"
          }
        ]
      }
    ]
  }
}