action patientview_save_patient_management { label: "savePatientManagement" description: "savePatientManagement" provider: patientview method: POST path: "/patientmanagement/{userId}/group/{groupId}/identifier/{identifierId}" encoding: json input: { type: "object" properties: { condition: { type: "object" properties: { asserter: { type: "string" } category: { type: "string" } code: { type: "string" } date: { type: "string" format: "date-time" } description: { type: "string" } fullDescription: { type: "string" } group: { type: "object" properties: { address1: { type: "string" } address2: { type: "string" } address3: { type: "string" } childGroups: { type: "array" items: { type: "object" additionalProperties: true } } code: { type: "string" } contactPoints: { type: "array" items: { type: "object" properties: { contactPointType: { type: "object" properties: { description: { type: "string" } id: { type: "integer" format: "int64" } lookupType: { type: "object" properties: { created: { type: "string" format: "date-time" } description: { type: "string" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } type: { type: "string" enum: ["GROUP", "MENU", "ROLE", "CODE_STANDARD", "CODE_TYPE", "FEATURE_TYPE", "RELATIONSHIP_TYPE", "IDENTIFIER", "CONTACT_POINT_TYPE", "STATISTIC_TYPE", "NEWS_TYPE", "GENDER", "IBD_CROHNSLOCATION", "IBD_CROHNSPROXIMALTERMINALILEUM", "IBD_CROHNSPERIANAL", "IBD_CROHNSBEHAVIOUR", "IBD_UCEXTENT", "IBD_EGIMCOMPLICATION", "IBD_SURGERYMAINPROCEDURE", "IBD_SMOKINGSTATUS", "IBD_FAMILYHISTORY", "LINK_TYPE"] } } } value: { type: "string" enum: ["UNIT_WEB_ADDRESS", "TRUST_WEB_ADDRESS", "PV_ADMIN_NAME", "PV_ADMIN_PHONE", "PV_ADMIN_EMAIL", "UNIT_ENQUIRIES_PHONE", "UNIT_ENQUIRIES_EMAIL", "APPOINTMENT_PHONE", "APPOINTMENT_EMAIL", "OUT_OF_HOURS_INFO"] } } } content: { type: "string" } created: { type: "string" format: "date-time" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } } } } created: { type: "string" format: "date-time" } fhirResourceId: { type: "string" format: "uuid" } groupFeatures: { type: "array" items: { type: "object" properties: { created: { type: "string" format: "date-time" } feature: { type: "object" properties: { created: { type: "string" format: "date-time" } description: { type: "string" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } name: { type: "string" } } } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } } } } groupType: { type: "object" properties: { created: { type: "string" format: "date-time" } description: { type: "string" } descriptionFriendly: { type: "string" } displayOrder: { type: "integer" format: "int64" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } lookupType: { type: "object" additionalProperties: true } value: { type: "string" } } } id: { type: "integer" format: "int64" } lastImportDate: { type: "string" format: "date-time" } lastUpdate: { type: "string" format: "date-time" } links: { type: "array" items: { type: "object" properties: { created: { type: "string" format: "date-time" } displayOrder: { type: "integer" format: "int32" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } link: { type: "string" } linkType: { type: "object" additionalProperties: true } name: { type: "string" } } } } locations: { type: "array" items: { type: "object" properties: { address: { type: "string" } created: { type: "string" format: "date-time" } email: { type: "string" } id: { type: "integer" format: "int64" } label: { type: "string" } lastUpdate: { type: "string" format: "date-time" } name: { type: "string" } phone: { type: "string" } web: { type: "string" } } } } name: { type: "string" } parentGroups: { type: "array" items: { type: "object" additionalProperties: true } } postcode: { type: "string" } sftpUser: { type: "string" } shortName: { type: "string" } visible: { type: "boolean" } visibleToJoin: { type: "boolean" } } } id: { type: "integer" format: "int64" } identifier: { type: "string" } links: { type: "array" items: { type: "object" additionalProperties: true } } notes: { type: "string" } severity: { type: "string" } status: { type: "string" } } } encounters: { type: "array" items: { type: "object" properties: { date: { type: "string" format: "date-time" } encounterType: { type: "string" } group: { type: "object" additionalProperties: true } id: { type: "integer" format: "int64" } identifier: { type: "string" } links: { type: "array" items: { type: "object" additionalProperties: true } } observations: { type: "array" items: { type: "object" properties: { applies: { type: "string" format: "date-time" } bodySite: { type: "string" } comments: { type: "string" } comparator: { type: "string" } diagram: { type: "string" } group: { type: "object" additionalProperties: true } id: { type: "integer" format: "int64" } identifier: { type: "string" } location: { type: "string" } name: { type: "string" } temporaryUuid: { type: "string" } units: { type: "string" } value: { type: "string" } } } } procedures: { type: "array" items: { type: "object" properties: { bodySite: { type: "string" } id: { type: "integer" format: "int64" } type: { type: "string" } } } } status: { type: "string" } } } } groupCode: { type: "string" } groupId: { type: "integer" format: "int64" } identifier: { type: "string" } identifierId: { type: "integer" format: "int64" } observations: { type: "array" items: { type: "object" additionalProperties: true } } patient: { type: "object" properties: { address1: { type: "string" } address2: { type: "string" } address3: { type: "string" } address4: { type: "string" } contacts: { type: "array" items: { type: "object" properties: { id: { type: "integer" format: "int64" } system: { type: "string" } use: { type: "string" } value: { type: "string" } } } } dateOfBirth: { type: "string" format: "date-time" } dateOfBirthNoTime: { type: "string" } forename: { type: "string" } gender: { type: "string" } group: { type: "object" additionalProperties: true } groupCode: { type: "string" } identifier: { type: "string" } identifiers: { type: "array" items: { type: "object" properties: { id: { type: "integer" format: "int64" } label: { type: "string" } value: { type: "string" } } } } postcode: { type: "string" } practitioners: { type: "array" items: { type: "object" properties: { address1: { type: "string" } address2: { type: "string" } address3: { type: "string" } address4: { type: "string" } allowInviteGp: { type: "boolean" } contacts: { type: "array" items: { type: "object" additionalProperties: true } } gender: { type: "string" } groupCode: { type: "string" } identifier: { type: "string" } inviteDate: { type: "string" format: "date-time" } name: { type: "string" } postcode: { type: "string" } role: { type: "string" } } } } surname: { type: "string" } } } practitioners: { type: "array" items: { type: "object" additionalProperties: true } } userId: { type: "integer" format: "int64" } } required: ["groupId", "identifierId", "userId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }