23 typescript profile as an adapter #49
sdk-tests.yml
on: pull_request
Matrix: test-csharp-sdk
Matrix: test-typescript-ccda-example
Matrix: test-typescript-sdk-r4
Annotations
3 errors
|
test-typescript-sdk-r4 (latest)
Process completed with exit code 2.
|
|
test-typescript-ccda-example (latest)
Process completed with exit code 2.
|
|
error: expect(received).toMatchObject(expected):
test/unit/typeschema/transformer/ccda.test.ts#L16
@@ -1,44 +1,118 @@
{
"base": {
"kind": "complex-type",
- "name": "Extension",
+ "name": "Element",
"package": "hl7.fhir.r5.core",
- "url": "http://hl7.org/fhir/StructureDefinition/Extension",
+ "url": "http://hl7.org/fhir/StructureDefinition/Element",
"version": "5.0.0",
},
+ "constraints": {
+ "url": {
+ "patternValue": {
+ "type": "uri",
+ "value": "http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor",
+ },
+ },
+ },
+ "dependencies": [
+ {
+ "kind": "complex-type",
+ "name": "CodeableReference",
+ "package": "hl7.fhir.r5.core",
+ "url": "http://hl7.org/fhir/StructureDefinition/CodeableReference",
+ "version": "5.0.0",
+ },
+ {
+ "kind": "complex-type",
+ "name": "Element",
+ "package": "hl7.fhir.r5.core",
+ "url": "http://hl7.org/fhir/StructureDefinition/Element",
+ "version": "5.0.0",
+ },
+ {
+ "kind": "complex-type",
+ "name": "Extension",
+ "package": "hl7.fhir.r5.core",
+ "url": "http://hl7.org/fhir/StructureDefinition/Extension",
+ "version": "5.0.0",
+ },
+ {
+ "kind": "primitive-type",
+ "name": "uri",
+ "package": "hl7.fhir.r5.core",
+ "url": "http://hl7.org/fhir/StructureDefinition/uri",
+ "version": "5.0.0",
+ },
+ ],
+ "description": "Characteristics or strengths of individuals, families, community situations or societies that mitigate risks and promote positivewell-being and healthy development; attributes that help to successfully navigate difficult situations; factors that may contribute to or explain positive outcomes. A trait or habit that "protects" people and makes them less likely to get a chronic disease that include, but are not limited to exercise, healthy eating, managing weight, managing blood pressure and cholesterol, managing mental health, feeling happy, strong emotional support and social connections.",
+ "extensions": undefined,
"fields": {
"extension": {
+ "array": true,
+ "binding": undefined,
+ "choiceOf": undefined,
+ "choices": undefined,
+ "enum": undefined,
+ "excluded": false,
+ "max": undefined,
+ "min": undefined,
+ "reference": undefined,
+ "required": false,
"type": {
"kind": "complex-type",
"name": "Extension",
"package": "hl7.fhir.r5.core",
"url": "http://hl7.org/fhir/StructureDefinition/Extension",
"version": "5.0.0",
},
},
"url": {
+ "array": false,
+ "binding": undefined,
+ "choiceOf": undefined,
+ "choices": undefined,
+ "enum": undefined,
+ "excluded": false,
+ "max": undefined,
+ "min": undefined,
+ "reference": undefined,
+ "required": true,
"type": {
"kind": "primitive-type",
"name": "uri",
"package": "hl7.fhir.r5.core",
"url": "http://hl7.org/fhir/StructureDefinition/uri",
"version": "5.0.0",
},
},
"value": {
+ "array": false,
+ "binding": undefined,
+ "choiceOf": undefined,
"choices": [
"valueCodeableReference",
],
+ "enum": undefined,
+ "excluded": false,
+ "max": undefined,
+ "min": undefined,
+ "reference": undefined,
+ "required": true,
+ "type": undefined,
},
"valueCodeableReference": {
+ "array": false,
+ "binding": undefined,
+ "choiceOf": "value",
+ "choices": undefined,
+ "enum": undefined,
+ "excluded": false,
+ "max": undefined,
+ "min": undefined,
+ "reference": undefined,
+ "required": false,
"type": {
"kind": "complex-type",
"name": "CodeableReference",
"package": "hl7.fhir.r5.core",
"url": "http://hl7.org/fhir/StructureDefinition/CodeableReference",
@@ -51,7 +125,7 @@
"name": "ProtectiveFactor",
"pack
|