Examples
Example: Searching for Appointments Based on a Patient Identifier
The following is an example of a Search request where Appointments are retrieved based on a patient identifier.
Request
Search [baseURL]/Appointment/[patient]
Body
| Bundle |
| id : eeff3099-b836-4dbb-be09-9280c326c621 |
| meta |
| lastUpdated : 2022-01-27T15:19:28.966+01:00 |
| type : searchset |
| total : 6 |
| link |
| relation : self |
| url : <host>/fhir/Appointment?patient%3Aidentifier=urn%3Aoid%3A1.2.752.129.2.1.3.1%7C198004185941 |
| entry |
| fullUrl : <host>/fhir/Appointment/284242 |
| resource |
| id : 284242 |
| extension |
| url : https://cambio.se/fhir/StructureDefinition/common-serviceProvider |
| value |
| reference : Organization/1066 |
| type : Organization |
| extension |
| url : http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1 |
| value |
| system : https://cambio.codes/cs/permitted-patient-appointment-actions |
| code : MA |
| display : Message Allowed |
| status : booked |
| supportingInformation |
| reference : Encounter/284234 |
| type : Encounter |
| start : 2020-01-07T12:00:00+01:00 |
| end : 2020-01-07T12:15:00+01:00 |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 11103 |
| actor |
| reference : Patient/11103 |
| type : Patient |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 1066 |
| actor |
| reference : Location/1066 |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : SE162321000024-6901 |
| display : Cambio COSMIC Webbtidbok |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PPRF |
| text : 539311 |
| actor |
| reference : Practitioner/539311 |
| type : Practitioner |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| display : Andersson, Johan |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 548 |
| actor |
| reference : HealthcareService/548 |
| type : HealthcareService |
| display : MVK booking with pf 15 min |
| required : required |
| status : accepted |
| entry |
| fullUrl : <host>/fhir/Appointment/284231 |
| resource |
| id : 284231 |
| extension |
| url : https://cambio.se/fhir/StructureDefinition/common-serviceProvider |
| value |
| reference : Organization/1066 |
| type : Organization |
| extension |
| url : http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1 |
| value |
| system : https://cambio.codes/cs/permitted-patient-appointment-actions |
| code : MA |
| display : Message Allowed |
| status : booked |
| supportingInformation |
| reference : Encounter/284234 |
| type : Encounter |
| start : 2020-01-07T13:15:00+01:00 |
| end : 2020-01-07T13:30:00+01:00 |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 11103 |
| actor |
| reference : Patient/11103 |
| type : Patient |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 1066 |
| actor |
| reference : Location/1066 |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : SE162321000024-6901 |
| display : Cambio COSMIC Webbtidbok |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PPRF |
| text : 538646 |
| actor |
| reference : Practitioner/538646 |
| type : Practitioner |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : TST5565594230-12NS |
| display : Svensson, Stina |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 548 |
| actor |
| reference : HealthcareService/548 |
| type : HealthcareService |
| display : MVK booking with pf 15 min |
| required : required |
| status : accepted |
| entry |
| fullUrl : <host>/fhir/Appointment/298364 |
| resource |
| id : 298364 |
| extension |
| url : https://cambio.se/fhir/StructureDefinition/common-serviceProvider |
| value |
| reference : Organization/1066 |
| type : Organization |
| extension |
| url : http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1 |
| value |
| system : https://cambio.codes/cs/permitted-patient-appointment-actions |
| code : MA |
| display : Message Allowed |
| status : booked |
| supportingInformation |
| reference : Encounter/298367 |
| type : Encounter |
| start : 2020-06-08T08:00:00+02:00 |
| end : 2020-06-08T08:30:00+02:00 |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 11103 |
| actor |
| reference : Patient/11103 |
| type : Patient |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 1066 |
| actor |
| reference : Location/1066 |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : SE162321000024-6901 |
| display : Cambio COSMIC Webbtidbok |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PPRF |
| text : 534566 |
| actor |
| reference : Practitioner/534566 |
| type : Practitioner |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 12345 |
| display : Karlsson, Kalle |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 412 |
| actor |
| reference : HealthcareService/412 |
| type : HealthcareService |
| display : MVK booking with referral |
| required : required |
| status : accepted |
| entry |
| fullUrl : <host>/fhir/Appointment/310028 |
| resource |
| id : 310028 |
| extension |
| url : https://cambio.se/fhir/StructureDefinition/common-serviceProvider |
| value |
| reference : Organization/1066 |
| type : Organization |
| extension |
| url : http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1 |
| value |
| system : https://cambio.codes/cs/permitted-patient-appointment-actions |
| code : MA |
| display : Message Allowed |
| status : booked |
| supportingInformation |
| reference : Encounter/310031 |
| type : Encounter |
| start : 2020-09-23T11:00:00+02:00 |
| end : 2020-09-23T11:30:00+02:00 |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 11103 |
| actor |
| reference : Patient/11103 |
| type : Patient |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 1066 |
| actor |
| reference : Location/1066 |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : SE162321000024-6901 |
| display : Cambio COSMIC Webbtidbok |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PPRF |
| text : 534637 |
| actor |
| reference : Practitioner/534637 |
| type : Practitioner |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 4564464646123131 |
| display : Larsson, Lisa |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 1604 |
| actor |
| reference : HealthcareService/1604 |
| type : HealthcareService |
| display : A: Vårdtjänst med ansvarig vårdpersonal |
| required : required |
| status : accepted |
| entry |
| fullUrl : <host>/fhir/Appointment/315378 |
| resource |
| id : 315378 |
| extension |
| url : https://cambio.se/fhir/StructureDefinition/common-serviceProvider |
| value |
| reference : Organization/1066 |
| type : Organization |
| extension |
| url : http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1 |
| value |
| system : https://cambio.codes/cs/permitted-patient-appointment-actions |
| code : MA |
| display : Message Allowed |
| status : booked |
| supportingInformation |
| reference : Encounter/315381 |
| type : Encounter |
| start : 2020-12-03T16:15:00+01:00 |
| end : 2020-12-03T16:45:00+01:00 |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 11103 |
| actor |
| reference : Patient/11103 |
| type : Patient |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 1066 |
| actor |
| reference : Location/1066 |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : SE162321000024-6901 |
| display : Cambio COSMIC Webbtidbok |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PPRF |
| text : 534637 |
| actor |
| reference : Practitioner/534637 |
| type : Practitioner |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 4564464646123131 |
| display : Larsson, Lisa |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 411 |
| actor |
| reference : HealthcareService/411 |
| type : HealthcareService |
| display : MVK booking without conditions |
| required : required |
| status : accepted |
| entry |
| fullUrl : <host>/fhir/Appointment/315460 |
| resource |
| id : 315460 |
| extension |
| url : https://cambio.se/fhir/StructureDefinition/common-serviceProvider |
| value |
| reference : Organization/1066 |
| type : Organization |
| extension |
| url : http://cambio.se/fhir/StructureDefinition/common-permittedPatientActions/v1 |
| value |
| system : https://cambio.codes/cs/permitted-patient-appointment-actions |
| code : MA |
| display : Message Allowed |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/appointment-encounterClass |
| value |
| code : VIDEOCONF |
| display : videoconferencing |
| status : booked |
| supportingInformation |
| reference : Encounter/315463 |
| type : Encounter |
| start : 2020-12-04T15:00:00+01:00 |
| end : 2020-12-04T15:30:00+01:00 |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 11103 |
| actor |
| reference : Patient/11103 |
| type : Patient |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 1066 |
| actor |
| reference : Location/1066 |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : SE162321000024-6901 |
| display : Cambio COSMIC Webbtidbok |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PPRF |
| text : 534637 |
| actor |
| reference : Practitioner/534637 |
| type : Practitioner |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 4564464646123131 |
| display : Larsson, Lisa |
| required : required |
| status : accepted |
| participant |
| type |
| coding |
| system : http://terminology.hl7.org/CodeSystem/v3-ParticipationType |
| code : PART |
| text : 411 |
| actor |
| reference : HealthcareService/411 |
| type : HealthcareService |
| display : MVK booking without conditions |
| required : required |
| status : accepted |