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 identifier: index: 3 elements: system: {index: 4} value: {index: 5} required: [value, system] appointment: elements: reference: {index: 6} 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: 7 actor: type: Reference short: Use only logical reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 8 elements: reference: {index: 9} type: pattern: {type: Uri, value: Patient} index: 10 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: 11 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: 12 system: {index: 13} value: {index: 14} required: [value, system] required: [identifier, type] package_version: 2.5.12-beta extensions: changeConferenceType: url: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType type: Extension index: 0 elements: value: choices: [] index: 2 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]