description: Basisprofil for AppointmentResponse used in 'ny timeløsning'. package_name: no.nhn.fhir.helsenorge.profiles derivation: constraint name: HnBasisAppointmentResponse type: AppointmentResponse elements: extension: type: Extension url: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType index: 0 slicing: slices: changeConferenceType: match: {} schema: type: Extension url: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType index: 0 elements: value: choices: [] index: 2 requestedSlot: match: {} schema: {type: Extension, short: Requested Slot for appointment change, url: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-requested-slot', index: 3} min: 0 max: 1 identifier: index: 4 elements: system: {index: 5} value: {index: 6} required: [value, system] appointment: elements: reference: {index: 7} participantType: elements: coding: constraint: inv-4: {human: If code is used in a codable consept the system must be used, source: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-AppointmentResponse', severity: error, expression: code > '' implies (system > '' )} index: 8 actor: type: Reference short: Use only logical reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 9 elements: reference: {index: 10} type: pattern: {type: Uri, value: Patient} index: 11 identifier: constraint: inv-a: {human: 'Only urn:oid:2.16.578.1.12.4.1.4.1 (FNR) or urn:oid:2.16.578.1.12.4.1.4.2 (DNR) are allowed as systems to identify patient in this profile.', source: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-AppointmentResponse', severity: error, expression: 'system = ''urn:oid:2.16.578.1.12.4.1.4.1'' or system = ''urn:oid:2.16.578.1.12.4.1.4.2'''} index: 12 elements: type: elements: coding: constraint: inv-3: {human: Only FNR or DNR number are allowed as codes to identify patient in this profile., source: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-AppointmentResponse', severity: error, expression: code = 'FNR' or code = 'DNR'} index: 13 system: {index: 14} value: {index: 15} required: [value, system] required: [identifier, type] package_version: 2.5.37 extensions: changeConferenceType: url: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType type: Extension index: 0 elements: value: choices: [] index: 2 requestedSlot: {url: 'http://helsenorge.no/fhir/StructureDefinition/hn-basis-requested-slot', min: 0, max: 1, type: Extension, short: Requested Slot for appointment change, index: 3} class: profile kind: resource url: http://helsenorge.no/fhir/StructureDefinition/hn-basis-AppointmentResponse base: http://hl7.no/fhir/StructureDefinition/no-basis-AppointmentResponse version: 1.0.1 required: [identifier, actor]