FHIR IG analytics| Package | servicewell.fhir.se.frenda-wof-connect-flc |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-frenda-get-appointment.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/servicewell/servicewell.fhir.se.frenda-wof-connect-flc/StructureDefinition-frenda-get-appointment.html |
| URL | https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-get-appointment |
| Version | 0.1.1 |
| Status | draft |
| Date | 2026-03-31T18:53:53+00:00 |
| Name | FrendaGetAppointment |
| Title | Frenda Appointment (Logical Model) |
| Description | Logisk modell av Frenda Get Appointment, inkl. klinik, behandlare och behandling. |
| Type | https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-get-appointment |
| Kind | logical |
| StructureDefinition | ||
| servicewell.fhir.se.frenda-wof-connect-flc#current | post-create-appointment | Post Create Appointment (Extract Model) |
| StructureDefinition | ||
| servicewell.fhir.se.frenda-wof-connect-flc#current | frenda-clinic | Frenda Clinic (Logical Model) |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition frenda-get-appointment
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | Element | Frenda Appointment (Logical Model) Elements defined in Ancestors:@id, extension | |
![]() ![]() | 0..1 | string | Extern teknisk identifierare | |
![]() ![]() | 1..1 | dateTime | Starttid (UTC) | |
![]() ![]() | 0..1 | integer | Varaktighet i minuter | |
![]() ![]() | 0..1 | code | Status för bokningen (t.ex. booked | cancelled | fulfilled) Binding: http://servicewell.se/fhir/ValueSet/frenda-appointment-status (preferred) | |
![]() ![]() | 0..1 | string | Fri text: orsak/anteckning | |
![]() ![]() | 0..1 | boolean | Bokad via webben | |
![]() ![]() | 0..1 | boolean | Tillåter avbokning | |
![]() ![]() | 0..1 | boolean | Tillåter ombokning | |
![]() ![]() | 0..1 | boolean | Kan ombokas (policy/kontroll) | |
![]() ![]() | 0..1 | boolean | Kan avbokas (policy/kontroll) | |
![]() ![]() | 0..1 | integer | Minsta timmar före ändring/avbokning | |
![]() ![]() | 0..1 | integer | Antal genomförda ombokningar via webben | |
![]() ![]() | 0..1 | integer | Max antal ombokningar via webben | |
![]() ![]() | 0..1 | string | Extern kod för webbokning (om förekommer) | |
![]() ![]() | 1..1 | frenda-clinic | Klinikuppgifter | |
![]() ![]() | 0..1 | BackboneElement | Behandlare | |
![]() ![]() ![]() | 0..1 | string | Behandlarens tekniska ID | |
![]() ![]() ![]() | 0..1 | string | Fullständigt namn (visningsnamn) | |
![]() ![]() ![]() | 0..1 | string | Förnamn | |
![]() ![]() ![]() | 0..1 | string | Efternamn | |
![]() ![]() ![]() | 0..1 | string | Titel | |
![]() ![]() ![]() | 0..1 | string | HSA-id | |
![]() ![]() | 0..1 | BackboneElement | Behandling/åtgärd | |
![]() ![]() ![]() | 0..1 | string | Behandlingens tekniska ID | |
![]() ![]() ![]() | 0..1 | string | Behandlingsnamn | |
![]() ![]() ![]() | 0..1 | integer | Rekommenderad varaktighet (min) | |
![]() ![]() ![]() | 0..1 | string | Typ i kalender (t.ex. 'Akut') | |
![]() ![]() ![]() | 0..1 | string | Beskrivning | |
![]() ![]() | 0..1 | code | Typ/klass av behandling (t.ex. 'Akut') Binding: http://servicewell.se/fhir/ValueSet/frenda-treatment-type (example) | |
{
"resourceType": "StructureDefinition",
"id": "frenda-get-appointment",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"url": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-get-appointment",
"version": "0.1.1",
"name": "FrendaGetAppointment",
"title": "Frenda Appointment (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": "Logisk modell av Frenda Get Appointment, inkl. klinik, behandlare och behandling.",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "fhir",
"uri": "http://hl7.org/v3",
"name": "FHIR Appointment"
}
],
"kind": "logical",
"abstract": false,
"type": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-get-appointment",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
"derivation": "specialization",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.0.1"
}
],
"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.",
"min": 0,
"max": "*",
"base": {
"path": "Element",
"min": 0,
"max": "*"
},
"condition": [
"ele-1"
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "frenda-get-appointment.id",
"path": "frenda-get-appointment.id",
"representation": [
"xmlAttr"
],
"short": "Extern teknisk identifierare",
"definition": "Extern teknisk identifierare",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "fhir",
"map": "Appointment.identifier.value"
},
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "frenda-get-appointment.extension",
"path": "frenda-get-appointment.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "frenda-get-appointment.start",
"path": "frenda-get-appointment.start",
"short": "Starttid (UTC)",
"definition": "Starttid (UTC)",
"min": 1,
"max": "1",
"base": {
"path": "frenda-get-appointment.start",
"min": 1,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.start"
}
]
},
{
"id": "frenda-get-appointment.duration",
"path": "frenda-get-appointment.duration",
"short": "Varaktighet i minuter",
"definition": "Varaktighet i minuter",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.duration",
"min": 0,
"max": "1"
},
"type": [
{
"code": "integer"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.minutesDuration"
}
]
},
{
"id": "frenda-get-appointment.status",
"path": "frenda-get-appointment.status",
"short": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"definition": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.status",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "preferred",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-appointment-status"
},
"mapping": [
{
"identity": "fhir",
"map": "Appointment.status"
}
]
},
{
"id": "frenda-get-appointment.reason",
"path": "frenda-get-appointment.reason",
"short": "Fri text: orsak/anteckning",
"definition": "Fri text: orsak/anteckning",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.reason",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.reason"
}
]
},
{
"id": "frenda-get-appointment.isWebBooked",
"path": "frenda-get-appointment.isWebBooked",
"short": "Bokad via webben",
"definition": "Bokad via webben",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.isWebBooked",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.isCancellationAvailable",
"path": "frenda-get-appointment.isCancellationAvailable",
"short": "Tillåter avbokning",
"definition": "Tillåter avbokning",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.isCancellationAvailable",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.isRescheduleAvailable",
"path": "frenda-get-appointment.isRescheduleAvailable",
"short": "Tillåter ombokning",
"definition": "Tillåter ombokning",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.isRescheduleAvailable",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.canAppointmentBeRescheduled",
"path": "frenda-get-appointment.canAppointmentBeRescheduled",
"short": "Kan ombokas (policy/kontroll)",
"definition": "Kan ombokas (policy/kontroll)",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.canAppointmentBeRescheduled",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.canAppointmentBeCancelled",
"path": "frenda-get-appointment.canAppointmentBeCancelled",
"short": "Kan avbokas (policy/kontroll)",
"definition": "Kan avbokas (policy/kontroll)",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.canAppointmentBeCancelled",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.minChangeHours",
"path": "frenda-get-appointment.minChangeHours",
"short": "Minsta timmar före ändring/avbokning",
"definition": "Minsta timmar före ändring/avbokning",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.minChangeHours",
"min": 0,
"max": "1"
},
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.webReschedulingCount",
"path": "frenda-get-appointment.webReschedulingCount",
"short": "Antal genomförda ombokningar via webben",
"definition": "Antal genomförda ombokningar via webben",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.webReschedulingCount",
"min": 0,
"max": "1"
},
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.webReschedulingCountAllowed",
"path": "frenda-get-appointment.webReschedulingCountAllowed",
"short": "Max antal ombokningar via webben",
"definition": "Max antal ombokningar via webben",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.webReschedulingCountAllowed",
"min": 0,
"max": "1"
},
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.webCode",
"path": "frenda-get-appointment.webCode",
"short": "Extern kod för webbokning (om förekommer)",
"definition": "Extern kod för webbokning (om förekommer)",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.webCode",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.clinic",
"path": "frenda-get-appointment.clinic",
"short": "Klinikuppgifter",
"definition": "Klinikuppgifter",
"min": 1,
"max": "1",
"base": {
"path": "frenda-get-appointment.clinic",
"min": 1,
"max": "1"
},
"type": [
{
"code": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-clinic"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.participant.actor(Organization|Location) | HealthcareService"
}
]
},
{
"id": "frenda-get-appointment.treater",
"path": "frenda-get-appointment.treater",
"short": "Behandlare",
"definition": "Behandlare",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treater",
"min": 0,
"max": "1"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.participant.actor(PractitionerRole|Practitioner)"
}
]
},
{
"id": "frenda-get-appointment.treater.id",
"path": "frenda-get-appointment.treater.id",
"representation": [
"xmlAttr"
],
"short": "Behandlarens tekniska ID",
"definition": "Behandlarens tekniska ID",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "frenda-get-appointment.treater.extension",
"path": "frenda-get-appointment.treater.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "frenda-get-appointment.treater.modifierExtension",
"path": "frenda-get-appointment.treater.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "frenda-get-appointment.treater.name",
"path": "frenda-get-appointment.treater.name",
"short": "Fullständigt namn (visningsnamn)",
"definition": "Fullständigt namn (visningsnamn)",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treater.name",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.firstName",
"path": "frenda-get-appointment.treater.firstName",
"short": "Förnamn",
"definition": "Förnamn",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treater.firstName",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.lastName",
"path": "frenda-get-appointment.treater.lastName",
"short": "Efternamn",
"definition": "Efternamn",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treater.lastName",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.title",
"path": "frenda-get-appointment.treater.title",
"short": "Titel",
"definition": "Titel",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treater.title",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.hsaIdentity",
"path": "frenda-get-appointment.treater.hsaIdentity",
"short": "HSA-id",
"definition": "HSA-id",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treater.hsaIdentity",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatment",
"path": "frenda-get-appointment.treatment",
"short": "Behandling/åtgärd",
"definition": "Behandling/åtgärd",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treatment",
"min": 0,
"max": "1"
},
"type": [
{
"code": "BackboneElement"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.appointmentType | Appointment.serviceType | Appointment.description | Appointment.reason"
}
]
},
{
"id": "frenda-get-appointment.treatment.id",
"path": "frenda-get-appointment.treatment.id",
"representation": [
"xmlAttr"
],
"short": "Behandlingens tekniska ID",
"definition": "Behandlingens tekniska ID",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "frenda-get-appointment.treatment.extension",
"path": "frenda-get-appointment.treatment.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"description": "Extensions are always sliced by (at least) url",
"rules": "open"
},
"short": "Additional content defined by implementations",
"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.",
"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.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "frenda-get-appointment.treatment.modifierExtension",
"path": "frenda-get-appointment.treatment.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"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).",
"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.",
"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).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "frenda-get-appointment.treatment.name",
"path": "frenda-get-appointment.treatment.name",
"short": "Behandlingsnamn",
"definition": "Behandlingsnamn",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treatment.name",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatment.duration",
"path": "frenda-get-appointment.treatment.duration",
"short": "Rekommenderad varaktighet (min)",
"definition": "Rekommenderad varaktighet (min)",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treatment.duration",
"min": 0,
"max": "1"
},
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.treatment.calendarTreatmentType",
"path": "frenda-get-appointment.treatment.calendarTreatmentType",
"short": "Typ i kalender (t.ex. 'Akut')",
"definition": "Typ i kalender (t.ex. 'Akut')",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treatment.calendarTreatmentType",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatment.description",
"path": "frenda-get-appointment.treatment.description",
"short": "Beskrivning",
"definition": "Beskrivning",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treatment.description",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatmentType",
"path": "frenda-get-appointment.treatmentType",
"short": "Typ/klass av behandling (t.ex. 'Akut')",
"definition": "Typ/klass av behandling (t.ex. 'Akut')",
"min": 0,
"max": "1",
"base": {
"path": "frenda-get-appointment.treatmentType",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "example",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-treatment-type"
}
}
]
},
"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",
"path": "frenda-get-appointment.id",
"short": "Extern teknisk identifierare",
"definition": "Extern teknisk identifierare",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.identifier.value"
}
]
},
{
"id": "frenda-get-appointment.start",
"path": "frenda-get-appointment.start",
"short": "Starttid (UTC)",
"definition": "Starttid (UTC)",
"min": 1,
"max": "1",
"type": [
{
"code": "dateTime"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.start"
}
]
},
{
"id": "frenda-get-appointment.duration",
"path": "frenda-get-appointment.duration",
"short": "Varaktighet i minuter",
"definition": "Varaktighet i minuter",
"min": 0,
"max": "1",
"type": [
{
"code": "integer"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.minutesDuration"
}
]
},
{
"id": "frenda-get-appointment.status",
"path": "frenda-get-appointment.status",
"short": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"definition": "Status för bokningen (t.ex. booked | cancelled | fulfilled)",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "preferred",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-appointment-status"
},
"mapping": [
{
"identity": "fhir",
"map": "Appointment.status"
}
]
},
{
"id": "frenda-get-appointment.reason",
"path": "frenda-get-appointment.reason",
"short": "Fri text: orsak/anteckning",
"definition": "Fri text: orsak/anteckning",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.reason"
}
]
},
{
"id": "frenda-get-appointment.isWebBooked",
"path": "frenda-get-appointment.isWebBooked",
"short": "Bokad via webben",
"definition": "Bokad via webben",
"min": 0,
"max": "1",
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.isCancellationAvailable",
"path": "frenda-get-appointment.isCancellationAvailable",
"short": "Tillåter avbokning",
"definition": "Tillåter avbokning",
"min": 0,
"max": "1",
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.isRescheduleAvailable",
"path": "frenda-get-appointment.isRescheduleAvailable",
"short": "Tillåter ombokning",
"definition": "Tillåter ombokning",
"min": 0,
"max": "1",
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.canAppointmentBeRescheduled",
"path": "frenda-get-appointment.canAppointmentBeRescheduled",
"short": "Kan ombokas (policy/kontroll)",
"definition": "Kan ombokas (policy/kontroll)",
"min": 0,
"max": "1",
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.canAppointmentBeCancelled",
"path": "frenda-get-appointment.canAppointmentBeCancelled",
"short": "Kan avbokas (policy/kontroll)",
"definition": "Kan avbokas (policy/kontroll)",
"min": 0,
"max": "1",
"type": [
{
"code": "boolean"
}
]
},
{
"id": "frenda-get-appointment.minChangeHours",
"path": "frenda-get-appointment.minChangeHours",
"short": "Minsta timmar före ändring/avbokning",
"definition": "Minsta timmar före ändring/avbokning",
"min": 0,
"max": "1",
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.webReschedulingCount",
"path": "frenda-get-appointment.webReschedulingCount",
"short": "Antal genomförda ombokningar via webben",
"definition": "Antal genomförda ombokningar via webben",
"min": 0,
"max": "1",
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.webReschedulingCountAllowed",
"path": "frenda-get-appointment.webReschedulingCountAllowed",
"short": "Max antal ombokningar via webben",
"definition": "Max antal ombokningar via webben",
"min": 0,
"max": "1",
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.webCode",
"path": "frenda-get-appointment.webCode",
"short": "Extern kod för webbokning (om förekommer)",
"definition": "Extern kod för webbokning (om förekommer)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.clinic",
"path": "frenda-get-appointment.clinic",
"short": "Klinikuppgifter",
"definition": "Klinikuppgifter",
"min": 1,
"max": "1",
"type": [
{
"code": "https://canonical.fhir.link/servicewell/fhir.se.frenda-wof-connect-flc/StructureDefinition/frenda-clinic"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.participant.actor(Organization|Location) | HealthcareService"
}
]
},
{
"id": "frenda-get-appointment.treater",
"path": "frenda-get-appointment.treater",
"short": "Behandlare",
"definition": "Behandlare",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.participant.actor(PractitionerRole|Practitioner)"
}
]
},
{
"id": "frenda-get-appointment.treater.id",
"path": "frenda-get-appointment.treater.id",
"short": "Behandlarens tekniska ID",
"definition": "Behandlarens tekniska ID",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.name",
"path": "frenda-get-appointment.treater.name",
"short": "Fullständigt namn (visningsnamn)",
"definition": "Fullständigt namn (visningsnamn)",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.firstName",
"path": "frenda-get-appointment.treater.firstName",
"short": "Förnamn",
"definition": "Förnamn",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.lastName",
"path": "frenda-get-appointment.treater.lastName",
"short": "Efternamn",
"definition": "Efternamn",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.title",
"path": "frenda-get-appointment.treater.title",
"short": "Titel",
"definition": "Titel",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treater.hsaIdentity",
"path": "frenda-get-appointment.treater.hsaIdentity",
"short": "HSA-id",
"definition": "HSA-id",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatment",
"path": "frenda-get-appointment.treatment",
"short": "Behandling/åtgärd",
"definition": "Behandling/åtgärd",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
],
"mapping": [
{
"identity": "fhir",
"map": "Appointment.appointmentType | Appointment.serviceType | Appointment.description | Appointment.reason"
}
]
},
{
"id": "frenda-get-appointment.treatment.id",
"path": "frenda-get-appointment.treatment.id",
"short": "Behandlingens tekniska ID",
"definition": "Behandlingens tekniska ID",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatment.name",
"path": "frenda-get-appointment.treatment.name",
"short": "Behandlingsnamn",
"definition": "Behandlingsnamn",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatment.duration",
"path": "frenda-get-appointment.treatment.duration",
"short": "Rekommenderad varaktighet (min)",
"definition": "Rekommenderad varaktighet (min)",
"min": 0,
"max": "1",
"type": [
{
"code": "integer"
}
]
},
{
"id": "frenda-get-appointment.treatment.calendarTreatmentType",
"path": "frenda-get-appointment.treatment.calendarTreatmentType",
"short": "Typ i kalender (t.ex. 'Akut')",
"definition": "Typ i kalender (t.ex. 'Akut')",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatment.description",
"path": "frenda-get-appointment.treatment.description",
"short": "Beskrivning",
"definition": "Beskrivning",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "frenda-get-appointment.treatmentType",
"path": "frenda-get-appointment.treatmentType",
"short": "Typ/klass av behandling (t.ex. 'Akut')",
"definition": "Typ/klass av behandling (t.ex. 'Akut')",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "example",
"valueSet": "http://servicewell.se/fhir/ValueSet/frenda-treatment-type"
}
}
]
}
}