description: This profile defines the requirements for the Patient resource in a Specialty message. package_name: surescripts.specialty derivation: constraint name: Patient type: Patient elements: identifier: {mustSupport: true, index: 0} name: index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: officialName: match: {use: official} schema: mustSupport: true pattern: type: HumanName value: {use: official} _required: true index: 2 elements: use: pattern: {type: Code, value: official} index: 3 family: {index: 4} given: {index: 5} required: [given, family, use] telecom: mustSupport: true index: 6 elements: system: {index: 7} value: {index: 8} use: {mustSupport: true, index: 9} required: [value, system] gender: {index: 10} birthDate: {index: 11} address: index: 12 elements: line: {mustSupport: true, index: 13} city: {mustSupport: true, index: 14} state: {mustSupport: true, index: 15} postalCode: {mustSupport: true, index: 16} communication: mustSupport: true index: 17 elements: language: {mustSupport: true, index: 18} package_version: 1.1.0-beta class: profile kind: resource url: http://fhirdocs.surescripts.net/fhir/specialty/StructureDefinition/Patient base: http://hl7.org/fhir/StructureDefinition/Patient version: null required: [gender, name, address, identifier, birthDate]