Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | 1x 1x | module.exports.makeResource = (_args, _logger) => {
return {
profile: {
reference: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1',
},
searchInclude: [
'*',
'AllergyIntolerance:patient',
'CarePlan:patient',
'Condition:patient',
'DocumentReference:patient',
'Encounter:patient',
'Flag:patient',
'Immunization:patient',
'MedicationStatement:patient',
'Observation:patient',
'Patient:general-practitioner',
'Patient:organization',
'Procedure:patient',
],
searchParam: [
{
documentation: 'The ID of the resource',
name: '_id',
type: 'string',
},
{
documentation: 'A postalCode specified in an address',
name: 'address-postalcode',
type: 'string',
},
{
documentation: "The patient's date of birth",
name: 'birthdate',
type: 'date',
},
{
documentation: 'A value in an email contact',
name: 'email',
type: 'string',
},
{
documentation: 'A portion of the family name of the patient',
name: 'family',
type: 'string',
},
{
documentation: 'Gender of the patient',
name: 'gender',
type: 'string',
},
{
documentation: 'A portion of the given name of the patient',
name: 'given',
type: 'string',
},
{
documentation: 'A patient identifier',
name: 'identifier',
type: 'token',
},
{
documentation:
'A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text',
name: 'name',
type: 'string',
},
{
documentation: 'A value in a phone contact',
name: 'bar',
type: 'string',
},
],
type: 'Patient',
};
};
|