FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagese.electronichealth.fhir.nppr.r5
Resource TypeStructureDefinition
IdStructureDefinition-NPPRContactPoint.json
FHIR VersionR5
Sourcehttps://simplifier.net/resolve?scope=se.electronichealth.fhir.nppr.r5@0.1.0-alpha&canonical=http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRContactPoint
URLhttp://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRContactPoint
Statusactive
NameNPPRContactPoint
Realmse
DescriptionProfile for expressing telecom details with valid value formats
TypeContactPoint
Kindcomplex-type

Resources that use this resource

StructureDefinition
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPatientNPPRPatient
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPersonNPPRPerson
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPractitionerNPPRPractitioner
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRRelatedPersonNPPRRelatedPerson

Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "id": "NPPRContactPoint",
  "url": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRContactPoint",
  "name": "NPPRContactPoint",
  "status": "active",
  "description": "Profile for expressing telecom details with valid value formats",
  "fhirVersion": "5.0.0",
  "kind": "complex-type",
  "abstract": false,
  "type": "ContactPoint",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ContactPoint",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ContactPoint",
        "path": "ContactPoint",
        "constraint": [
          {
            "key": "nppr-telecom-phone-1",
            "human": "If telecom.system = #phone, value should follow format +46123456789",
            "source": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRContactPoint",
            "severity": "warning",
            "expression": "value.matches('^\\\\+[1-9][0-9]+[%content%]#39;) or system != 'phone'"
          },
          {
            "key": "nppr-telecom-url-1",
            "human": "If telecom.system = #url, value should follow valid format. Example: https://example.com",
            "source": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRContactPoint",
            "severity": "warning",
            "expression": "value.matches('(https?|ftp)://(-\\\\.)?([^\\\\s/?\\\\.#-]+\\\\.?)+(/[^\\\\s]*)?[%content%]#39;) or system != 'url'"
          },
          {
            "key": "nppr-telecom-email-1",
            "human": "If telecom.system = #email, value should follow valid format Example: test@test.com",
            "source": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRContactPoint",
            "severity": "warning",
            "expression": "value.matches('^[\\\\w.-]{1,64}@(?!.{254})[\\\\w.-]+\\\\.[A-Za-z]{2,4}[%content%]#39;) or system != 'email'"
          }
        ]
      },
      {
        "id": "ContactPoint.system",
        "path": "ContactPoint.system",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system"
        }
      },
      {
        "id": "ContactPoint.value",
        "path": "ContactPoint.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ContactPoint.use",
        "path": "ContactPoint.use",
        "mustSupport": true
      },
      {
        "id": "ContactPoint.period",
        "path": "ContactPoint.period",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ContactPoint.period.start",
        "path": "ContactPoint.period.start",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ContactPoint.period.end",
        "path": "ContactPoint.period.end",
        "mustSupport": true
      }
    ]
  }
}