PackagesCanonicalsLogsProblems
    Packages
    no.nhn.fhir.helsenorge.profiles@2.5.14-beta
    http://helsenorge.no/fhir/StructureDefinition/hn-basis-AppointmentResponse
{
  "description": "Basisprofil for AppointmentResponse used in 'ny timeløsning'.",
  "_filename": "StructureDefinition-hn-basis-AppointmentResponse.json",
  "package_name": "no.nhn.fhir.helsenorge.profiles",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "HnBasisAppointmentResponse",
  "abstract": false,
  "type": "AppointmentResponse",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "hn-basis-AppointmentResponse",
  "package_version": "2.5.14-beta",
  "status": "draft",
  "id": "f87f42b2-329d-46aa-8fb9-113f1bbd4fc8",
  "kind": "resource",
  "url": "http://helsenorge.no/fhir/StructureDefinition/hn-basis-AppointmentResponse",
  "version": "1.0.1",
  "differential": {
    "element": [ {
      "id": "AppointmentResponse.extension:changeConferenceType",
      "max": "1",
      "min": 0,
      "path": "AppointmentResponse.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType" ]
      } ],
      "sliceName": "changeConferenceType",
      "definition": "Patient can ask for anouther type of conference"
    }, {
      "id": "AppointmentResponse.extension:changeConferenceType.value[x]",
      "path": "AppointmentResponse.extension.value[x]",
      "definition": "Type of conference that Patient askes for"
    }, {
      "id": "AppointmentResponse.identifier",
      "max": "1",
      "min": 1,
      "path": "AppointmentResponse.identifier"
    }, {
      "id": "AppointmentResponse.identifier.system",
      "min": 1,
      "path": "AppointmentResponse.identifier.system"
    }, {
      "id": "AppointmentResponse.identifier.value",
      "min": 1,
      "path": "AppointmentResponse.identifier.value"
    }, {
      "id": "AppointmentResponse.appointment.reference",
      "max": "0",
      "path": "AppointmentResponse.appointment.reference"
    }, {
      "id": "AppointmentResponse.participantType.coding",
      "path": "AppointmentResponse.participantType.coding",
      "constraint": [ {
        "key": "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 > '' )"
      } ]
    }, {
      "id": "AppointmentResponse.actor",
      "min": 1,
      "path": "AppointmentResponse.actor",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
      } ],
      "short": "Use only logical reference",
      "definition": "Only use of logical reference is allowed for reference to an patient in this profile"
    }, {
      "id": "AppointmentResponse.actor.reference",
      "max": "0",
      "path": "AppointmentResponse.actor.reference"
    }, {
      "id": "AppointmentResponse.actor.type",
      "min": 1,
      "path": "AppointmentResponse.actor.type",
      "patternUri": "Patient"
    }, {
      "id": "AppointmentResponse.actor.identifier",
      "min": 1,
      "path": "AppointmentResponse.actor.identifier",
      "constraint": [ {
        "key": "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'"
      } ]
    }, {
      "id": "AppointmentResponse.actor.identifier.type.coding",
      "path": "AppointmentResponse.actor.identifier.type.coding",
      "constraint": [ {
        "key": "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'"
      } ]
    }, {
      "id": "AppointmentResponse.actor.identifier.system",
      "min": 1,
      "path": "AppointmentResponse.actor.identifier.system"
    }, {
      "id": "AppointmentResponse.actor.identifier.value",
      "min": 1,
      "path": "AppointmentResponse.actor.identifier.value"
    } ]
  },
  "baseDefinition": "http://hl7.no/fhir/StructureDefinition/no-basis-AppointmentResponse"
}