Eksempel på Appointment
<Appointment xmlns="http://hl7.org/fhir>
<id value="a3465744-9f65-ced0-e063-2a20b40ab76b"/>
<meta>
<lastUpdated value="2025-11-24T13:37:37+01:00"/>
<profile value="http://helsenorge.no/fhir/StructureDefinition/hn-basis-appointment"/>
<tag>
<system value="http://helsenorge.no/fhir/paminnelse"/>
<code value="1"/>
</tag>
</meta>
<contained>
<DocumentReference>
<id value="aa7546d0-e90c-4f07-9c63-e011aa060733"/>
<meta>
<profile value="http://hl7.no/fhir/StructureDefinition/no-basis-DocumentReference"/>
</meta>
<masterIdentifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.578.1.12.4.1.2.5604"/>
</masterIdentifier>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.578.1.12.4.3.1.3.40.20.1870.2.1"/>
</identifier>
<status value="current"/>
<content>
<attachment>
<contentType value="application/pdf"/>
<url value="urn:ihe:iti:xds:2010:0b785744-fa5f-103d-e063-2a20b40ac93b"/>
<title value="XDS Document Reference"/>
</attachment>
</content>
</DocumentReference>
</contained>
<contained>
<Organization>
<id value="87711"/>
<meta>
<profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Organization"/>
</meta>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.101"/>
<value value="993467049"/>
</identifier>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.2"/>
<value value="87711"/>
</identifier>
<name value="Oslo universitetssykehus HF"/>
</Organization>
</contained>
<contained>
<Location>
<id value="9ad34267-b7b9-4880-a9d9-d05496c49e72"/>
<meta>
<profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Location"/>
</meta>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.102"/>
<value value="4001031"/>
</identifier>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="HOSP"/>
</coding>
</type>
<managingOrganization>
<reference value="#365c7bbf-85b3-425f-af35-60a5be04f234"/>
</managingOrganization>
</Location>
</contained>
<contained>
<Organization>
<id value="365c7bbf-85b3-425f-af35-60a5be04f234"/>
<meta>
<profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Organization"/>
</meta>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.101"/>
<value value="993467049"/>
</identifier>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.2"/>
<value value="87711"/>
</identifier>
<name value="Oslo universitetssykehus HF"/>
</Organization>
</contained>
<contained>
<Location>
<id value="aedb800d-59ea-4961-a245-39f16ff5a35a"/>
<meta>
<profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Location"/>
</meta>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.102"/>
<value value="109801"/>
</identifier>
<name value="Ortopedisk poliklinikk, Ullevål"/>
<description value="Kirkeveien 166, Bygg 6, inngang B, 1. etg."/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="HU"/>
</coding>
</type>
<telecom>
<system value="phone"/>
<value value="23 02 74 42"/>
<use value="work"/>
</telecom>
<address>
<text value="POSTBOKS 4950 NYDALEN"/>
</address>
<managingOrganization>
<reference value="#033d8c8f-5e80-4b74-8056-cc00f831cc40"/>
</managingOrganization>
</Location>
</contained>
<contained>
<Organization>
<id value="033d8c8f-5e80-4b74-8056-cc00f831cc40"/>
<meta>
<profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Organization"/>
</meta>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.102"/>
<value value="4213199"/>
</identifier>
<name value="Ortopedisk avdeling, Ullevål"/>
<telecom>
<system value="phone"/>
<value value="915 02770"/>
<use value="work"/>
</telecom>
</Organization>
</contained>
<contained>
<Organization>
<id value="5670b1df-2aea-4cd3-af96-c2e866373987"/>
<meta>
<profile value="http://helsenorge.no/fhir/StructureDefinition/kommunikasjonspart-Organization"/>
</meta>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.2"/>
<value value="143665"/>
</identifier>
<type>
<coding>
<system value="urn:oid:2.16.578.1.12.4.1.1.8624"/>
<code value="01"/>
</coding>
</type>
<partOf>
<reference value="#ba88ccbf-d9e8-4b95-b3be-668843e320d7"/>
</partOf>
</Organization>
</contained>
<contained>
<Organization>
<id value="ba88ccbf-d9e8-4b95-b3be-668843e320d7"/>
<meta>
<profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Organization"/>
</meta>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.101"/>
<value value="993467049"/>
</identifier>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.2"/>
<value value="87711"/>
</identifier>
</Organization>
</contained>
<contained>
<Flag>
<id value="fcf8ac7b-4044-463d-938c-51daba8e06b6"/>
<meta>
<profile value="http://helsenorge.no/fhir/StructureDefinition/hn-basis-Flag"/>
</meta>
<status value="active"/>
<code>
<coding>
<system value="http://helsenorge.no/fhir/CodeSystem/hn-appointment-flag-code-cs"/>
<code value="canAcknowledge"/>
</coding>
<text value="Timen/opphold kan bekreftes av innbygger"/>
</code>
<subject>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.1"/>
<value value="08718340110"/>
</identifier>
</subject>
</Flag>
</contained>
<contained>
<Flag>
<id value="5f9239b7-225a-4407-8c1d-19d2d64e47e8"/>
<meta>
<profile value="http://helsenorge.no/fhir/StructureDefinition/hn-basis-Flag"/>
</meta>
<status value="active"/>
<code>
<coding>
<system value="http://helsenorge.no/fhir/CodeSystem/hn-appointment-flag-code-cs"/>
<code value="canChangeAppointmentDialog"/>
</coding>
<text value="Innbygger kan be om endret time"/>
</code>
<subject>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.1"/>
<value value="08718340110"/>
</identifier>
</subject>
</Flag>
</contained>
<contained>
<Flag>
<id value="71dfd17d-e7d5-472c-ae3b-18717fd45afa"/>
<meta>
<profile value="http://helsenorge.no/fhir/StructureDefinition/hn-basis-Flag"/>
</meta>
<status value="active"/>
<code>
<coding>
<system value="http://helsenorge.no/fhir/CodeSystem/hn-appointment-flag-code-cs"/>
<code value="canHaveAppointmentDetails"/>
</coding>
<text value="Det finnes ytterlige timedetaljer på time/timeavtale som kan hentes"/>
</code>
<subject>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.1"/>
<value value="08718340110"/>
</identifier>
</subject>
</Flag>
</contained>
<contained>
<Flag>
<id value="7f494e69-fea7-4e13-b7d4-fbaf41323866"/>
<meta>
<profile value="http://helsenorge.no/fhir/StructureDefinition/hn-basis-Flag"/>
</meta>
<status value="active"/>
<code>
<coding>
<system value="http://helsenorge.no/fhir/CodeSystem/hn-appointment-flag-code-cs"/>
<code value="canInitiateDialog"/>
</coding>
<text value="Dialog kan initieres"/>
</code>
<subject>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.1"/>
<value value="08718340110"/>
</identifier>
</subject>
</Flag>
</contained>
<identifier>
<system value="http://dips.no/fhir/namingsystem/dips-bookingid"/>
<value value="a3465744-9f65-ced0-e063-2a20b40ab76b"/>
<assigner>
<reference value="#87711"/>
</assigner>
</identifier>
<status value="booked"/>
<serviceCategory>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/service-category"/>
<code value="27"/>
</coding>
</serviceCategory>
<appointmentType>
<coding>
<system value="http://helsenorge.no/fhir/CodeSystem/Hn-AppointmentTypeProposed-New-Codes-cs"/>
<code value="Poliklinisktime"/>
</coding>
</appointmentType>
<description value="Behandling"/>
<supportingInformation>
<reference value="#aa7546d0-e90c-4f07-9c63-e011aa060733"/>
</supportingInformation>
<supportingInformation>
<reference value="#5670b1df-2aea-4cd3-af96-c2e866373987"/>
</supportingInformation>
<supportingInformation>
<reference value="#fcf8ac7b-4044-463d-938c-51daba8e06b6"/>
</supportingInformation>
<supportingInformation>
<reference value="#5f9239b7-225a-4407-8c1d-19d2d64e47e8"/>
</supportingInformation>
<supportingInformation>
<reference value="#71dfd17d-e7d5-472c-ae3b-18717fd45afa"/>
</supportingInformation>
<supportingInformation>
<reference value="#7f494e69-fea7-4e13-b7d4-fbaf41323866"/>
</supportingInformation>
<start value="2026-01-23T13:00:00+01:00"/>
<end value="2026-01-23T14:00:00+01:00"/>
<patientInstruction value="Se innkallingsbrev"/>
<participant>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="LOC"/>
</coding>
<text value="Location"/>
</type>
<actor>
<reference value="#aedb800d-59ea-4961-a245-39f16ff5a35a"/>
</actor>
<status value="accepted"/>
</participant>
<participant>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="LOC"/>
</coding>
<text value="Location"/>
</type>
<actor>
<reference value="#9ad34267-b7b9-4880-a9d9-d05496c49e72"/>
</actor>
<status value="accepted"/>
</participant>
<participant>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="PART"/>
</coding>
<text value="Participation"/>
</type>
<actor>
<reference value="Patient/cdp179067720"/>
<type value="Patient"/>
<identifier>
<system value="urn:oid:2.16.578.1.12.4.1.4.1"/>
<value value="08718340110"/>
</identifier>
</actor>
<status value="accepted"/>
</participant>
</Appointment>