-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSfmTask.cs
59 lines (46 loc) · 1.27 KB
/
SfmTask.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Threading.Tasks;
using Hl7.Fhir.ElementModel;
using Hl7.Fhir.FhirPath;
using Hl7.Fhir.Model;
using Hl7.Fhir.Serialization;
using Hl7.Fhir.Specification;
using Hl7.Fhir.Support;
using Hl7.Fhir.Utility;
using Hl7.FhirPath;
using Hl7.FhirPath.Expressions;
using Hl7.Fhir.Validation;
using Hl7.Fhir.Specification.Source;
namespace FhirTool
{
class SfmTask : Task
{
static string sfmProfile = "http://ehelse.no/fhir/StructureDefinition/sfm-Task" ;
public SfmTask() : base()
{
this.Meta = new Meta();
this.Meta.Profile.Append(sfmProfile);
Intent = TaskIntent.Order;
Code = new CodeableConcept("http://ehelse.no/fhir/CodeSystem/sfm-task-types", "8", "Endring på multidosepasient", "SFM task code");
}
public SfmTask(Task t) : base()
{
// Is this possible?
}
void addFor(Patient pat)
{
Contained.Add(pat);
}
void addOwner(Practitioner pract)
{
Contained.Add(pract);
}
public Task getBase()
{
return (Task)this;
}
}
}