{
"description": "Logisk modell av Frenda Get Appointment, inkl. klinik, behandlare och behandling.",
"_filename": "StructureDefinition-frenda-get-appointment.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": "FrendaGetAppointment",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "FHIR Appointment",
"identity": "fhir"
} ],
"abstract": false,
"type": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-get-appointment",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Frenda Appointment (Logical Model)",
"package_version": "0.1.2",
"snapshot": {
"element": [ {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "frenda-get-appointment",
"min": 0,
"definition": "Logisk modell av Frenda Get Appointment, inkl. klinik, behandlare och behandling.",
"isModifier": false,
"short": "Frenda Appointment (Logical Model)",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"max": "*",
"id": "frenda-get-appointment",
"condition": [ "ele-1" ],
"base": {
"max": "*",
"min": 0,
"path": "Element"
}
}, {
"path": "frenda-get-appointment.id",
"min": 0,
"definition": "Extern teknisk identifierare",
"isModifier": false,
"short": "Extern teknisk identifierare",
"mapping": [ {
"map": "Appointment.identifier.value",
"identity": "fhir"
}, {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "frenda-get-appointment.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "frenda-get-appointment.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "frenda-get-appointment.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "frenda-get-appointment.start",
"min": 1,
"definition": "Starttid (UTC)",
"short": "Starttid (UTC)",
"mapping": [ {
"map": "Appointment.start",
"identity": "fhir"
} ],
"type": [ {
"code": "dateTime"
} ],
"max": "1",
"id": "frenda-get-appointment.start",
"base": {
"max": "1",
"min": 1,
"path": "frenda-get-appointment.start"
}
}, {
"path": "frenda-get-appointment.duration",
"min": 0,
"definition": "Varaktighet i minuter",
"short": "Varaktighet i minuter",
"mapping": [ {
"map": "Appointment.minutesDuration",
"identity": "fhir"
} ],
"type": [ {
"code": "integer"
} ],
"max": "1",
"id": "frenda-get-appointment.duration",
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.duration"
}
}, {
"path": "frenda-get-appointment.status",
"min": 0,
"definition": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"short": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"mapping": [ {
"map": "Appointment.status",
"identity": "fhir"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-appointment-status"
},
"max": "1",
"id": "frenda-get-appointment.status",
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.status"
}
}, {
"path": "frenda-get-appointment.reason",
"min": 0,
"definition": "Fri text: orsak/anteckning",
"short": "Fri text: orsak/anteckning",
"mapping": [ {
"map": "Appointment.reason",
"identity": "fhir"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "frenda-get-appointment.reason",
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.reason"
}
}, {
"id": "frenda-get-appointment.isWebBooked",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.isWebBooked"
},
"path": "frenda-get-appointment.isWebBooked",
"type": [ {
"code": "boolean"
} ],
"short": "Bokad via webben",
"definition": "Bokad via webben"
}, {
"id": "frenda-get-appointment.isCancellationAvailable",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.isCancellationAvailable"
},
"path": "frenda-get-appointment.isCancellationAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Tillåter avbokning",
"definition": "Tillåter avbokning"
}, {
"id": "frenda-get-appointment.isRescheduleAvailable",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.isRescheduleAvailable"
},
"path": "frenda-get-appointment.isRescheduleAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Tillåter ombokning",
"definition": "Tillåter ombokning"
}, {
"id": "frenda-get-appointment.canAppointmentBeRescheduled",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.canAppointmentBeRescheduled"
},
"path": "frenda-get-appointment.canAppointmentBeRescheduled",
"type": [ {
"code": "boolean"
} ],
"short": "Kan ombokas (policy/kontroll)",
"definition": "Kan ombokas (policy/kontroll)"
}, {
"id": "frenda-get-appointment.canAppointmentBeCancelled",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.canAppointmentBeCancelled"
},
"path": "frenda-get-appointment.canAppointmentBeCancelled",
"type": [ {
"code": "boolean"
} ],
"short": "Kan avbokas (policy/kontroll)",
"definition": "Kan avbokas (policy/kontroll)"
}, {
"id": "frenda-get-appointment.minChangeHours",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.minChangeHours"
},
"path": "frenda-get-appointment.minChangeHours",
"type": [ {
"code": "integer"
} ],
"short": "Minsta timmar före ändring/avbokning",
"definition": "Minsta timmar före ändring/avbokning"
}, {
"id": "frenda-get-appointment.webReschedulingCount",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.webReschedulingCount"
},
"path": "frenda-get-appointment.webReschedulingCount",
"type": [ {
"code": "integer"
} ],
"short": "Antal genomförda ombokningar via webben",
"definition": "Antal genomförda ombokningar via webben"
}, {
"id": "frenda-get-appointment.webReschedulingCountAllowed",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.webReschedulingCountAllowed"
},
"path": "frenda-get-appointment.webReschedulingCountAllowed",
"type": [ {
"code": "integer"
} ],
"short": "Max antal ombokningar via webben",
"definition": "Max antal ombokningar via webben"
}, {
"id": "frenda-get-appointment.webCode",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.webCode"
},
"path": "frenda-get-appointment.webCode",
"type": [ {
"code": "string"
} ],
"short": "Extern kod för webbokning (om förekommer)",
"definition": "Extern kod för webbokning (om förekommer)"
}, {
"path": "frenda-get-appointment.clinic",
"min": 1,
"definition": "Klinikuppgifter",
"short": "Klinikuppgifter",
"mapping": [ {
"map": "Appointment.participant.actor(Organization|Location) | HealthcareService",
"identity": "fhir"
} ],
"type": [ {
"code": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-clinic"
} ],
"max": "1",
"id": "frenda-get-appointment.clinic",
"base": {
"max": "1",
"min": 1,
"path": "frenda-get-appointment.clinic"
}
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "frenda-get-appointment.treater",
"min": 0,
"definition": "Behandlare",
"short": "Behandlare",
"mapping": [ {
"map": "Appointment.participant.actor(PractitionerRole|Practitioner)",
"identity": "fhir"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "1",
"id": "frenda-get-appointment.treater",
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater"
}
}, {
"path": "frenda-get-appointment.treater.id",
"min": 0,
"definition": "Behandlarens tekniska ID",
"isModifier": false,
"short": "Behandlarens tekniska ID",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "frenda-get-appointment.treater.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "frenda-get-appointment.treater.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "frenda-get-appointment.treater.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "frenda-get-appointment.treater.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "frenda-get-appointment.treater.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"id": "frenda-get-appointment.treater.name",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.name"
},
"path": "frenda-get-appointment.treater.name",
"type": [ {
"code": "string"
} ],
"short": "Fullständigt namn (visningsnamn)",
"definition": "Fullständigt namn (visningsnamn)"
}, {
"id": "frenda-get-appointment.treater.firstName",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.firstName"
},
"path": "frenda-get-appointment.treater.firstName",
"type": [ {
"code": "string"
} ],
"short": "Förnamn",
"definition": "Förnamn"
}, {
"id": "frenda-get-appointment.treater.lastName",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.lastName"
},
"path": "frenda-get-appointment.treater.lastName",
"type": [ {
"code": "string"
} ],
"short": "Efternamn",
"definition": "Efternamn"
}, {
"id": "frenda-get-appointment.treater.title",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.title"
},
"path": "frenda-get-appointment.treater.title",
"type": [ {
"code": "string"
} ],
"short": "Titel",
"definition": "Titel"
}, {
"id": "frenda-get-appointment.treater.hsaIdentity",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.hsaIdentity"
},
"path": "frenda-get-appointment.treater.hsaIdentity",
"type": [ {
"code": "string"
} ],
"short": "HSA-id",
"definition": "HSA-id"
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "frenda-get-appointment.treatment",
"min": 0,
"definition": "Behandling/åtgärd",
"short": "Behandling/åtgärd",
"mapping": [ {
"map": "Appointment.appointmentType | Appointment.serviceType | Appointment.description | Appointment.reason",
"identity": "fhir"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "1",
"id": "frenda-get-appointment.treatment",
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment"
}
}, {
"path": "frenda-get-appointment.treatment.id",
"min": 0,
"definition": "Behandlingens tekniska ID",
"isModifier": false,
"short": "Behandlingens tekniska ID",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "frenda-get-appointment.treatment.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "frenda-get-appointment.treatment.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "frenda-get-appointment.treatment.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "frenda-get-appointment.treatment.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "frenda-get-appointment.treatment.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"id": "frenda-get-appointment.treatment.name",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.name"
},
"path": "frenda-get-appointment.treatment.name",
"type": [ {
"code": "string"
} ],
"short": "Behandlingsnamn",
"definition": "Behandlingsnamn"
}, {
"id": "frenda-get-appointment.treatment.duration",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.duration"
},
"path": "frenda-get-appointment.treatment.duration",
"type": [ {
"code": "integer"
} ],
"short": "Rekommenderad varaktighet (min)",
"definition": "Rekommenderad varaktighet (min)"
}, {
"id": "frenda-get-appointment.treatment.calendarTreatmentType",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.calendarTreatmentType"
},
"path": "frenda-get-appointment.treatment.calendarTreatmentType",
"type": [ {
"code": "string"
} ],
"short": "Typ i kalender (t.ex. 'Akut')",
"definition": "Typ i kalender (t.ex. 'Akut')"
}, {
"id": "frenda-get-appointment.treatment.description",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.description"
},
"path": "frenda-get-appointment.treatment.description",
"type": [ {
"code": "string"
} ],
"short": "Beskrivning",
"definition": "Beskrivning"
}, {
"path": "frenda-get-appointment.treatmentType",
"min": 0,
"definition": "Typ/klass av behandling (t.ex. 'Akut')",
"short": "Typ/klass av behandling (t.ex. 'Akut')",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "example",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-treatment-type"
},
"max": "1",
"id": "frenda-get-appointment.treatmentType",
"base": {
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatmentType"
}
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.0.1"
} ]
},
"status": "draft",
"id": "75e11254-fb55-4ab4-8fe3-825259a8ef0b",
"kind": "logical",
"url": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-get-appointment",
"version": "0.1.2",
"differential": {
"element": [ {
"id": "frenda-get-appointment",
"path": "frenda-get-appointment",
"short": "Frenda Appointment (Logical Model)",
"definition": "Logisk modell av Frenda Get Appointment, inkl. klinik, behandlare och behandling."
}, {
"id": "frenda-get-appointment.id",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.id",
"type": [ {
"code": "string"
} ],
"short": "Extern teknisk identifierare",
"mapping": [ {
"map": "Appointment.identifier.value",
"identity": "fhir"
} ],
"definition": "Extern teknisk identifierare"
}, {
"id": "frenda-get-appointment.start",
"max": "1",
"min": 1,
"path": "frenda-get-appointment.start",
"type": [ {
"code": "dateTime"
} ],
"short": "Starttid (UTC)",
"mapping": [ {
"map": "Appointment.start",
"identity": "fhir"
} ],
"definition": "Starttid (UTC)"
}, {
"id": "frenda-get-appointment.duration",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.duration",
"type": [ {
"code": "integer"
} ],
"short": "Varaktighet i minuter",
"mapping": [ {
"map": "Appointment.minutesDuration",
"identity": "fhir"
} ],
"definition": "Varaktighet i minuter"
}, {
"path": "frenda-get-appointment.status",
"min": 0,
"definition": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"short": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"mapping": [ {
"map": "Appointment.status",
"identity": "fhir"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-appointment-status"
},
"max": "1",
"id": "frenda-get-appointment.status"
}, {
"id": "frenda-get-appointment.reason",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.reason",
"type": [ {
"code": "string"
} ],
"short": "Fri text: orsak/anteckning",
"mapping": [ {
"map": "Appointment.reason",
"identity": "fhir"
} ],
"definition": "Fri text: orsak/anteckning"
}, {
"id": "frenda-get-appointment.isWebBooked",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.isWebBooked",
"type": [ {
"code": "boolean"
} ],
"short": "Bokad via webben",
"definition": "Bokad via webben"
}, {
"id": "frenda-get-appointment.isCancellationAvailable",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.isCancellationAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Tillåter avbokning",
"definition": "Tillåter avbokning"
}, {
"id": "frenda-get-appointment.isRescheduleAvailable",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.isRescheduleAvailable",
"type": [ {
"code": "boolean"
} ],
"short": "Tillåter ombokning",
"definition": "Tillåter ombokning"
}, {
"id": "frenda-get-appointment.canAppointmentBeRescheduled",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.canAppointmentBeRescheduled",
"type": [ {
"code": "boolean"
} ],
"short": "Kan ombokas (policy/kontroll)",
"definition": "Kan ombokas (policy/kontroll)"
}, {
"id": "frenda-get-appointment.canAppointmentBeCancelled",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.canAppointmentBeCancelled",
"type": [ {
"code": "boolean"
} ],
"short": "Kan avbokas (policy/kontroll)",
"definition": "Kan avbokas (policy/kontroll)"
}, {
"id": "frenda-get-appointment.minChangeHours",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.minChangeHours",
"type": [ {
"code": "integer"
} ],
"short": "Minsta timmar före ändring/avbokning",
"definition": "Minsta timmar före ändring/avbokning"
}, {
"id": "frenda-get-appointment.webReschedulingCount",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.webReschedulingCount",
"type": [ {
"code": "integer"
} ],
"short": "Antal genomförda ombokningar via webben",
"definition": "Antal genomförda ombokningar via webben"
}, {
"id": "frenda-get-appointment.webReschedulingCountAllowed",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.webReschedulingCountAllowed",
"type": [ {
"code": "integer"
} ],
"short": "Max antal ombokningar via webben",
"definition": "Max antal ombokningar via webben"
}, {
"id": "frenda-get-appointment.webCode",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.webCode",
"type": [ {
"code": "string"
} ],
"short": "Extern kod för webbokning (om förekommer)",
"definition": "Extern kod för webbokning (om förekommer)"
}, {
"id": "frenda-get-appointment.clinic",
"max": "1",
"min": 1,
"path": "frenda-get-appointment.clinic",
"type": [ {
"code": "https://canonical.fhir.link/servicewell/frenda-wof-connect-flc/StructureDefinition/frenda-clinic"
} ],
"short": "Klinikuppgifter",
"mapping": [ {
"map": "Appointment.participant.actor(Organization|Location) | HealthcareService",
"identity": "fhir"
} ],
"definition": "Klinikuppgifter"
}, {
"id": "frenda-get-appointment.treater",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Behandlare",
"mapping": [ {
"map": "Appointment.participant.actor(PractitionerRole|Practitioner)",
"identity": "fhir"
} ],
"definition": "Behandlare"
}, {
"id": "frenda-get-appointment.treater.id",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.id",
"type": [ {
"code": "string"
} ],
"short": "Behandlarens tekniska ID",
"definition": "Behandlarens tekniska ID"
}, {
"id": "frenda-get-appointment.treater.name",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.name",
"type": [ {
"code": "string"
} ],
"short": "Fullständigt namn (visningsnamn)",
"definition": "Fullständigt namn (visningsnamn)"
}, {
"id": "frenda-get-appointment.treater.firstName",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.firstName",
"type": [ {
"code": "string"
} ],
"short": "Förnamn",
"definition": "Förnamn"
}, {
"id": "frenda-get-appointment.treater.lastName",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.lastName",
"type": [ {
"code": "string"
} ],
"short": "Efternamn",
"definition": "Efternamn"
}, {
"id": "frenda-get-appointment.treater.title",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.title",
"type": [ {
"code": "string"
} ],
"short": "Titel",
"definition": "Titel"
}, {
"id": "frenda-get-appointment.treater.hsaIdentity",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treater.hsaIdentity",
"type": [ {
"code": "string"
} ],
"short": "HSA-id",
"definition": "HSA-id"
}, {
"id": "frenda-get-appointment.treatment",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Behandling/åtgärd",
"mapping": [ {
"map": "Appointment.appointmentType | Appointment.serviceType | Appointment.description | Appointment.reason",
"identity": "fhir"
} ],
"definition": "Behandling/åtgärd"
}, {
"id": "frenda-get-appointment.treatment.id",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.id",
"type": [ {
"code": "string"
} ],
"short": "Behandlingens tekniska ID",
"definition": "Behandlingens tekniska ID"
}, {
"id": "frenda-get-appointment.treatment.name",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.name",
"type": [ {
"code": "string"
} ],
"short": "Behandlingsnamn",
"definition": "Behandlingsnamn"
}, {
"id": "frenda-get-appointment.treatment.duration",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.duration",
"type": [ {
"code": "integer"
} ],
"short": "Rekommenderad varaktighet (min)",
"definition": "Rekommenderad varaktighet (min)"
}, {
"id": "frenda-get-appointment.treatment.calendarTreatmentType",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.calendarTreatmentType",
"type": [ {
"code": "string"
} ],
"short": "Typ i kalender (t.ex. 'Akut')",
"definition": "Typ i kalender (t.ex. 'Akut')"
}, {
"id": "frenda-get-appointment.treatment.description",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatment.description",
"type": [ {
"code": "string"
} ],
"short": "Beskrivning",
"definition": "Beskrivning"
}, {
"id": "frenda-get-appointment.treatmentType",
"max": "1",
"min": 0,
"path": "frenda-get-appointment.treatmentType",
"type": [ {
"code": "code"
} ],
"short": "Typ/klass av behandling (t.ex. 'Akut')",
"binding": {
"strength": "example",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-treatment-type"
},
"definition": "Typ/klass av behandling (t.ex. 'Akut')"
} ]
},
"contact": [ {
"name": "Service Well AB",
"telecom": [ {
"value": "https://servicewell.se",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element"
}