PackagesCanonicalsLogsProblems
    Packages
    smart4health.eu.core@0.1.0
    http://fhir.smart4health.eu/StructureDefinition/s4h-patient
description: Patient profile for the Smart4Health project.
package_name: smart4health.eu.core
derivation: constraint
name: S4hPatient
type: Patient
elements:
  name:
    elements:
      period:
        constraint:
          per-1: {human: 'If present, start SHALL have a lower value than end', source: 'http://hl7.org/fhir/StructureDefinition/DocumentReference', severity: error}
        index: 0
  photo:
    constraint:
      att-1: {human: 'If the Attachment has data, it SHALL have a contentType', source: 'http://hl7.org/fhir/StructureDefinition/Attachment', severity: error}
    index: 1
  contact:
    elements:
      organization:
        type: Reference
        constraint:
          ref-1: {human: SHALL have a contained resource if a local reference is provided, source: 'http://hl7.org/fhir/StructureDefinition/DocumentReference', severity: error}
        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-uv-ips']
        index: 2
      period:
        constraint:
          per-1: {human: 'If present, start SHALL have a lower value than end', source: 'http://hl7.org/fhir/StructureDefinition/DocumentReference', severity: error}
        index: 3
  generalPractitioner:
    type: Reference
    constraint:
      ref-1: {human: SHALL have a contained resource if a local reference is provided, source: 'http://hl7.org/fhir/StructureDefinition/DocumentReference', severity: error}
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-uv-ips', 'http://hl7.org/fhir/uv/ips/StructureDefinition/Practitioner-uv-ips', 'http://hl7.org/fhir/uv/ips/StructureDefinition/PractitionerRole-uv-ips']
    index: 4
  managingOrganization:
    type: Reference
    constraint:
      ref-1: {human: SHALL have a contained resource if a local reference is provided, source: 'http://hl7.org/fhir/StructureDefinition/DocumentReference', severity: error}
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-uv-ips']
    index: 5
  link:
    elements:
      other:
        constraint:
          ref-1: {human: SHALL have a contained resource if a local reference is provided, source: 'http://hl7.org/fhir/StructureDefinition/DocumentReference', severity: error}
        index: 6
package_version: 0.1.0
class: profile
kind: resource
url: http://fhir.smart4health.eu/StructureDefinition/s4h-patient
base: http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips
version: null