description: Device profile as used in AORTA and outside the AORTA infra package_name: vzvz.fhir.nl-vzvz-core derivation: constraint name: NLVZVZDevice type: Device elements: identifier: index: 0 slicing: rules: open discriminator: - {path: system, type: value} min: 1 max: 1 slices: aorta-app-id: match: {system: null} schema: constraint: aai-01: human: OID root should be separated from extension for AORTA app-id source: http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-Device severity: error expression: "iif($this.system.contains('http://fhir.nl/fhir/NamingSystem/aorta-app-id') or \n$this.system.contains('2.16.840.1.113883.2.4.6.6') or\n$this.system.contains('2.16.840.1.113883.2.4.3.111.3.16'), \n$this.value.contains('2.16.840.1.113883.2.4.6.6').not() and\n$this.value.contains('2.16.840.1.113883.2.4.3.111.3.16').not()\n,true)" index: 1 elements: system: short: applicationID binding: {strength: required, valueSet: 'http://vzvz.nl/fhir/ValueSet/aorta-device'} index: 2 deviceName: {index: 3} owner: type: Reference constraint: only-ura-01: {human: System must be the canonical URL or OID defined in NamingSystem ura, source: 'http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-Device', severity: error, expression: 'identifier.system = ''http://fhir.nl/fhir/NamingSystem/ura'' or identifier.system = ''urn:oid:2.16.528.1.1007.3.3'''} refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization'] index: 4 package_version: 0.3.1 class: profile kind: resource url: http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-Device base: http://hl7.org/fhir/StructureDefinition/Device version: 0.10.1 required: [identifier]